[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 24 Nov 2002 20:32:52 -0700
Perrault, Brian <address@hidden> [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.
stty whatever < /dev/ttyS0
Hope that helps.
- Bug, Perrault, Brian, 2002/11/22