[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which "baud"?



Thanks for the explanations everybody.

On Fri, Jun 09, 2000 at 01:18:05PM +0100, David Wright wrote:
 
> I think I warned you not to use the -F switch in my first posting
> to you. If you need to convince yourself, try typing the line you
> have typed above into a VC and an xterm. Then try and explain how
> the serial port speed changed when you switched between the VC and
> X! Alternatively, try running stty under strace and see if there's
> any trace of ttyS1 in the output.
> 
> Now try replacing "-F" with "<" and you should get the right answer.
$sudo stty -a < /dev/ttyS2
bash: /dev/ttyS2: Permission denied

$sudo stty -a -F /dev/ttyS2
speed 38400 baud; rows 25; columns 80; line = 0;

I get the same in rxvt, but not in xterm.  I see your point.  I
originally understood that you meant -F is not working at all, not that
it works erroneously.

My the permissions for /dev/ups -> /dev/ttyS2 are:
crw-rw----   1 root     root       4,  66 Jun  4 13:54 /dev/ttyS2

How do I get the < option to work?

Johann

-- 
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
     "Verily, verily, I say unto you, He that heareth my
      word, and believeth on him that sent me, hath
      everlasting life, and shall not come into
      condemnation; but is passed from death unto life."    
                               John 5:24



Reply to: