Re: serial port question

2005-10-03 Thread Daniel O'Connor
On Tuesday 04 October 2005 04:39, M. Warner Losh wrote: > : how do I alter speed of serial port? minicom/cu is able to do it but I > : want to do it via stty. > : > : how can this be done? > > By using the lock device. Hah, don't be silly! (stty 1200 ; cat) /tmp/somefile :) -- Daniel O'Connor s

Re: serial port question

2005-10-03 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Divacky Roman <[EMAIL PROTECTED]> writes: : Hi, : : I need to set serial port to given parity/speed/etc. and then cat from it... : : when I: stty -f /dev/cuaa0 speed 1200 : its still at 9600 (the default setting) : : how do I alter speed of serial port

Re: serial port question

2005-10-02 Thread Gary Jennejohn
Divacky Roman writes: > Hi, > > I need to set serial port to given parity/speed/etc. and then cat from it... > > when I: stty -f /dev/cuaa0 speed 1200 > its still at 9600 (the default setting) > > how do I alter speed of serial port? minicom/cu is able to do it but I want t > o > do it via stty

serial port question

2005-10-02 Thread Divacky Roman
Hi, I need to set serial port to given parity/speed/etc. and then cat from it... when I: stty -f /dev/cuaa0 speed 1200 its still at 9600 (the default setting) how do I alter speed of serial port? minicom/cu is able to do it but I want to do it via stty. how can this be done? thnx for answer r