leendert@piring.cwi.nl (Leendert van Doorn) (03/15/90)
A friend of mine is running 386/ix and asked me to connect an (original:-) VT100 terminal to his system. Hooking up the terminal was rather easy, I connected it to COM1 (/dev/tty00) and executed the command: (stty 9600; echo "test message") </dev/tty00 >/dev/tty00 The result was what you might expect, the message was displayed on the terminal followed by the usual line-feed. The next part, I thought, was easy: adding the following description to /etc/inittab: asy1:23:respawn:/etc/getty /dev/tty00 9600 vt100 Later I found out, that it was beter to add this line to the file /etc/conf/cf.d/init.base, so it would last a little longer (/etc/inittab seems to be reconfigured at boot-time). This worked partially, a getty was spawned and read the input for a login name. When I typed my name followed by a cariage return, it executed login which immediatly exited. Login was executed (I know, because he asked me to change my password), but as soon as it seemed to read its input it finished. The problem probably has to do with some line settings that doesn't bother getty (who is always a little special when reading from a terminal) but does bother any other program that reads from standard input. Perhaps I have to alter /etc/gettydefs to obtain correct results. My question is simple: Am I overlooking something ? Do I need to change /etc/gettydefs or did someone at Interactive change login to accomodate the license requirements. The system was bought with a two user license (according to me: one console + one terminal = 2 users), but I doubt that anyone would go that far. Leendert -- Leendert van Doorn <leendert@cwi.nl> Centre for Mathematics and Computer Science <leendert@cs.vu.nl> Amoeba project / P.O. Box 4079 1009 AB Amsterdam / The Netherlands