ISC 2.0.2, How to set baud rate on serial ports?
Conor P. Cahill
cpcahil at virtech.uucp
Wed Aug 29 21:31:10 AEST 1990
In article <9008280005.aa24338 at PARIS.ICS.UCI.EDU> baxter at zola.ICS.UCI.EDU (Ira Baxter) writes:
>
>an ancient Z80 CP(shudder)M system at 9600 baud. I assume that UNIX
>on my 20Mhz 386 can catch any stream of characters I pitch at it
>without losing anything [if it can't, I'll just lower the baud rate
This isn't necessarily true (especially when the machine has other work
to do).
>Trying "stty 9600 < /dev/tty02 & stty -a /dev/tty02" also tells
The correct way to do this is as follows:
(stty 9600; stty -a) < /dev/tty02
Or, for your data capture:
(stty 9600; cat > capture_file) < /dev/tty02
>Par for the course is that "stty 9600 < /dev/tty02 & cat /dev/tty02"
>seems to pick up garbage when the Z80 transmits at 9600;
Describe garbage. I mean, do some of the characters get garbled, or do
you get additional junk data or do you loose some data?
This may be a simptom of flow control not being correctly set between
the system and your Z80 (on either side).
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.,
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.i386
mailing list