INFO-UNIX Digest V1#204

CHERRY.PASA at XEROX.ARPA CHERRY.PASA at XEROX.ARPA
Thu Nov 7 02:11:54 AEST 1985


Ref: Help needed with gettytab.c (john at sol1.UUCP (john))

>Could someone please tell me what I'm doing wrong with gettytab.c
>I'm trying to setup a speed table that cycles through 1200 baud then
>300 baud and then 2400 baud.

Try this.  Its quite a bit easier

/etc/gettydefs:

1200# B1200 # B1200 CS8 CREAD IGNPAR ISTRIP ICRNL IXON IXANY ISIG ICANON
ECHO ECHOE ECHOK OPOST ONLCR TAB1 #\r\nlogin: #300

300# B300 # B300 CS8 CREAD IGNPAR ISTRIP ICRNL IXON IXANY ISIG ICANON
ECHO ECHOE ECHOK OPOST ONLCR TAB1 #\r\nlogin: #2400

2400# B2400 # B2400 CS8 CREAD IGNPAR ISTRIP ICRNL IXON IXANY ISIG ICANON
ECHO ECHOE ECHOK OPOST ONLCR TAB1 #\r\nlogin: #1200


Cherry.Pasa at Xerox.Arpa



More information about the Comp.unix mailing list