Article View: comp.sys.nsc.32k
Article #1080Re: getty ignoring tty2
From: rommel
Date: Tue, 07 Apr 1987 07:25
Date: Tue, 07 Apr 1987 07:25
18 lines
1269 bytes
1269 bytes
After more carefull examination of the 2681 device driver (/usr/src/buts/
ns32000/io/sig2681.c) I found the bug that caused the problem with tty2
on the ICM2681. In the procedure siginit() a line appears:
if ( dev > (sig_cnt-2) ) {
sig_telco[dev] = OFF;
sig_ds[PORT(dev)] = 0;
}
"sig_cnt" appears in the config file, and is set to 4 (4 ports), so that
the if statement is only true for tty3 (ie console). Thus tty2 is assumed
to have full modem control when it too is a "telco" connection.
Changing the ">" to ">=" fixes the bug.
It makes me wonder how many other bugs were patched in the sysV.2
binary and not corrected in the source and .o files supplied by nsc.
Michael Katzmann (VK2BEA / G4NYV)
ATN Channel 7 Sydney
Technical Details
Message-ID:
<757@runx.ips.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!munnari!otc!metro!ipso!runx!rommelReferences:
<750@runx.ips.oz>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!munnari!otc!metro!ipso!runx!rommel From: rommel@runx.UUCP Newsgroups: comp.sys.nsc.32k Subject: Re: getty ignoring tty2 Message-ID: <757@runx.ips.oz> Date: Tue, 7-Apr-87 02:25:19 EST Article-I.D.: runx.757 Posted: Tue Apr 7 02:25:19 1987 Date-Received: Sat, 11-Apr-87 06:17:25 EST References: <750@runx.ips.oz> Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 17