[comp.unix.xenix] Xenix 2.3 getty

manes@marob.MASA.COM (Steve Manes) (12/14/88)

I just installed 2.3 and except for a bad N2 update disk and the update
program's insistence upon overwriting the 2.3 link library with the old 2.2
files, it works fine.

I like the new HDB and plan to use it instead of the patched-to-death BNU
I used in 2.2, but problem:

The new 2.3 getty seems to be bound very closely to the 2.3 BNU, especially
the Devices, Dialers and Systems files.  I ran into problems trying to use
my own baud-sensing getty with 2.3 BNU.  Actually, the problem is that
I can't get 2.3 getty to deal with a 7-bit dialin.   I've tried virtually
every gettydefs combination I can think of but I can't get getty to strip
those highbits on input.  This is a mega-bummer because the system has a LOT
of BBS traffic, especially calling from PC Pursuit where folks are at 7/E.
The impression is that the system has frozen on them at the "login:" prompt,
which it effectively has unless they switch to 8/N.

Anyone had any success with this in 2.3?
-- 
Steve Manes		Roxy Recorders, Inc.		Magpie-HQ BBS
UUCP : {rutgers|cmcl2}!hombre!magpie!manes		(212)420-0527
Smail: manes@MASA.COM

usenet@cps3xx.UUCP (Usenet file owner) (12/15/88)

No real solution to this other than having the user type ctrl-j
after their account name.  After that all preceeds well.  Anyone
with a better solution?  I've tried playing with the gettydefs
file without any sucess.


==larry

---------------------------
LARRY SHIELDS                        UUCP: ...!frith!lunapark!larry
P.O. Box 6159                        BIX:  lshields
E. Lansing, MI 48826                 Compuserve: 70277, 3677

BBS: lunapark 1200 7-1-E / 2400 8-1-N  24hrs  (517) 487-3356 login: bbs

sandy@turnkey.TCC.COM (Sanford 'Sandy' Zelkovitz) (12/16/88)

In article <417@marob.MASA.COM>, manes@marob.MASA.COM (Steve Manes) writes:
> 
> The new 2.3 getty seems to be bound very closely to the 2.3 BNU, especially
> the Devices, Dialers and Systems files.  I ran into problems trying to use
> my own baud-sensing getty with 2.3 BNU.  Actually, the problem is that
> I can't get 2.3 getty to deal with a 7-bit dialin.   I've tried virtually
> every gettydefs combination I can think of but I can't get getty to strip
> those highbits on input.  This is a mega-bummer because the system has a LOT
> of BBS traffic, especially calling from PC Pursuit where folks are at 7/E.
> The impression is that the system has frozen on them at the "login:" prompt,
> which it effectively has unless they switch to 8/N.
> 
> Anyone had any success with this in 2.3?
> -- 
> Steve Manes		Roxy Recorders, Inc.		Magpie-HQ BBS


Steve,
 
Basically what I did was to copy the old 2.2 ungetty into /usr/lib/uucp as
ungetty.old and modified my getty code to call /usr/lib/uucp/ungetty.old.
I found that I could not use the 2.3.1 ungetty because of incompatibility
<even though the manual says it is compatible!>. In my inittab entry for
the port(s), I just told it to use my auto-baud sensing getty, as usual.
Once this was all accomplished, I was back up as usual......
 
Sandy

-- 
Sanford <sandy> Zelkovitz               XBBS   714-898-8634
UUCP: ....att!hermix!alphacm!sandy      ....trwrb!ucla-an!alphacm!sandy
      ....uunet!turnkey!alphacm!sandy   ....ucbvax!ucivax!icnvax!alphacm!sandy
DATA: 714-898-8634                      VOICE: 714-894-7898

manes@marob.MASA.COM (Steve Manes) (12/17/88)

From article <1317@cps3xx.UUCP>, by usenet@cps3xx.UUCP (Usenet file owner):
> No real solution to this other than having the user type ctrl-j
> after their account name.  After that all preceeds well.  Anyone
> with a better solution?  I've tried playing with the gettydefs
> file without any sucess.

I notified SCO of the problem and they've placed the bug report on
escalated-something.   Getty is ignoring all initial flag settings
except SANE, RTSFLOW and CTSFLOW and apparently setting the terminal to
8/N + ISTRIP internally, which is exactly what I want.  However it's not
mapping CR to LF, as you noted.  With all the nice stuff in the new
getty, especially its reading Devices/Dialers for modem reset codes,
it's strange that SCO didn't also enable /etc/issue.  For that matter,
it would also be nice if getty could be updated to the
baud-querying/sensing technology of your average 1982 DOS BBS.  A CR at
some baud rates doesn't generate the parity error getty needs to cycle
gettydefs and a modem BREAK is arcana to most non-Unix folks.
-- 
Steve Manes		Roxy Recorders, Inc.		Magpie-HQ BBS
UUCP : {rutgers|cmcl2}!hombre!magpie!manes		(212)420-0527
Smail: manes@MASA.COM