mgetty on ptys?
Robert Barrell (75222.1012@CompuServe.COM)
Wed, 27 Dec 1995 16:50:11 +0100
Currently, I am trying to get mgetty version 0.98 to run under SCO ODT
Release 5. It works okay on a regular serial line modem port, but the modems
for which we would like to implement Caller-ID are attached to Annex-XL
terminal servers using rtelnet to establish connections as pty's. The problems
we are encountering are two:
1) On serial lines or rtelnet lines alike, the first call after mgetty is
brought up on the port is rejected as being a bad Caller-ID (even when
the Caller-ID is valid). On serial lines, this happens every other call:
first, third, etc.).
2) On rtelnet lines only, after the second call is successful, mgetty never
fully clears the line to make room for the third call. The logfile shows
that it gets as far as "waiting for line to clear (VTIME), read:...." but
it just sits there reading without timing out. I have tried changing the
VTIME value, compiling with -DBROKEN_VTIME (in which case I get the same
thing, but with "(select)" instead of "(VTIME)"); and have even tried
using an alarm call (which does time out, but keeps on looping without
getting back to the "waiting..." state). Most of the time, if I stop and
restart rtelnet for the pty to the modem, things will reset enough to
allow a new call (starting back with problem (1) again, though).
If anyone could shed some light on this, or could help me figure out how
to get mgetty working on pty's (BTW, regular /etc/getty works fine on the pty,
without any problems), I would greatly appreciated it. Thanks.
Rob