Re: Bug

[email protected] (Bob Proulx) Sun, 24 Nov 2002 20:32:52 -0700
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
Perrault, Brian <[email protected]> [2002-11-22 11:24:56 -0500]:
> 	When using stty, there is no option to select the device of interest
> before changing settings.  I.e. if I want to change ispeed or ispeed for
> /dev/ttyS0 instead of the default, there isn't a way to do that.
> 	Newer versions allow the flag -F DEVICENAME.  This one doesn't.
> 	How can I do this?

As you noted newer versions allow the -F option.  But older versions
operate on the standard input of the stty command.  Therefore you
would normally redirect standard input to select a different device.

Example:

  stty whatever < /dev/ttyS0

Hope that helps.

Bob