From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e6db89f9a04d8ea4,start X-Google-Attributes: gidfee84,public From: csh@ncsu.edu (Charles S Henkel) Subject: Can't get a getty started on serial port Date: 1995/06/09 Message-ID: #1/1 X-Deja-AN: 104152232 distribution: world organization: NCSU Nuclear Engineering x-attribution: csh reply-to: csh@ncsu.edu (Chuck Henkel) newsgroups: comp.unix.osf.osf1 Can someone point out likely mistakes I am making which are preventing me from getting a getty to issue a login prompt on a vt220 terminal attached to the serial port. Basic configuration: vt220 using software flow control; 9600 baud; 8 bits no parity; no modem control ("data leads only"). I know the connection is good because I can tip to the serial port from the alpha and type on the vt220 screen. gettydefs entry: 9600# B9600 CS8 CLOCAL # B9600 SANE IXANY TAB3 #login: #9600 invocation: /usr/sbin/getty tty00 9600 vt100 (Note: invoked as root from the command line, not from inittab) Note: I don't provide the optional(?) line discipline argument to the getty command line. What are the possible values for this? Is it necessary? stty -a output, after getty has started: speed 9600 baud; 0 rows; 0 columns erase = ^H; werase ; kill = ^U; intr = ^C; quit = ^\; susp = ^Z dsusp ; eof = ^D; eol ; eol2 ; stop = ^S start = ^Q; lnext ; discard ; reprint ; status time = 0; min = 1 -parenb -parodd cs8 -cstopb hupcl cread clocal -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff -imaxbel isig icanon -xcase echo -echoe -echok -echonl -noflsh -mdmbuf -nohang -tostop -echoctl -echoprt -echoke -altwerase -iexten -nokerninfo opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tabs -onoeot behavior: Nothing! When the getty is running, the vt220 echos typed characters. If the getty is not running, no character echo. Thanks for your suggestions. -- Chuck Henkel NCSU Nuclear Engineering