[comp.os.minix] Hooking up a HP terminal to Minix 1.4a

wsincc@eutrc3.urc.tue.nl (Wim van Dorst) (09/05/89)

Hello World,

At this moment I am typing this via /dev/tty2 from my Minix
system at a remote host, ergo the ttydriver works great. Next to
me there is a HP2392A terminal asking to be hooked on this
computer (An 8088 PC clone with Minix 1.4a), but ...

I can connect the terminal to a modem, works fine
I can connect the modem to /dev/tty1, works fine
I can connect the terminal to /dev/tty1, nothing

I did:
change NR_RS_LINE in minix/kernel/tty.h to 2
added the line  "1c1" to /etc/ttys (and reboot)
set terminal to 1200 baud 8 bits no parity no handshaking
stty 1200 8 -even -odd < /dev/tty1
twiddle with as much settings as possible 
all to no avail

Which important part am I missing here? Has anyone done such a
thing before, hook up a terminal especially a HP2392A? Which
settings a best (implying which work).

I would be most thankful for any reponse, either via the net or
by e-mail.

Wim van Dorst, wsincc@tuews1.win.tue.nl

hundt@occlusal.rutgers.edu (Thomas M. Hundt) (09/12/89)

Wim van Dorst:
|I can connect the terminal to a modem, works fine
|I can connect the modem to /dev/tty1, works fine
|I can connect the terminal to /dev/tty1, nothing

You need a null modem between terminal and PC.

Reason is (basically) that wires 2 and 3 in the RS-232 cable
need to be switched (one is Transmit Data, one is Receive Data). 
The terminal and PC both are wired similarly and thus conflict. 
Note that this is a simplified description; there are also
handshaking lines that need to be taken care of. 

-Tom Hundt