home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!newsun!gateway.novell.com!terry
- From: terry@npd.Novell.COM (Terry Lambert)
- Subject: Re: process-usage after ctrl-alt-del
- Message-ID: <1992Jul22.230205.10831@gateway.novell.com>
- Sender: news@gateway.novell.com (NetNews)
- Nntp-Posting-Host: thisbe.eng.sandy.novell.com
- Organization: Novell NPD -- Sandy, UT
- References: <31497@adm.brl.mil>
- Date: Wed, 22 Jul 1992 23:02:05 GMT
- Lines: 44
-
- In article <31497@adm.brl.mil> bosscha@rc7.nhl.nl (Freerk J. Bosscha) writes:
- >Hello,
- >
- >Is there anywhone who could send me a possible solution off the following
- >problem.
- >
- >We use MS-DOS pc's with kermit as terminal-emulater to login on an SCO-UNIX
- >box.
- >There is no problem if the user normaly terminate a session. But if he, as
- >good old DOS user stops with <CTRL>-<ALT>-<DEL> the session still keep op
- >running and sometimes use cpu-time. If a process keeps on consuming cpu-time
- >it will NOT be killed after a certain idle time.
- >Does anywhone know a way such a user can be allocated and then killed.
-
- Set your SCO up correctly, so that HUPCL is set and CLOCAL isn't; user
- processes will be sent a SIGHUP on the on-to-off carrier transition caused
- by the reset of the PC. When reset, it will drop carrier, at least for a
- few seconds. If it doesn't, buy a $15 com card that will. This will
- end up putting a getty on the port, whose open (and subsequent diplay of a
- "login:" prompt) will be blocked until DCD goes high again.
-
- Most PC com cards have terminal gender, and, as such, will provide DTR,
- which you should wire to the UNIX DCD input.
-
- The same trick will work for regular terminals that get switched off.
-
- In SCO UNIX, there is a tendency to have multiple entry points for a device;
- for instance, if you are using the built in serial port, make sure the getty
- is running on tty1A rather than tty1a -- this will ensure that modem control
- is observed. If you are using a multiport board, look in the manual or
- contact the manufacturer for info on how to get a modem control port.
- Remember that there are some flavors of multiport board where support is
- optional for modem control, and depends on which HW you buy. For instance,
- there are modem control and non-modem control versions of the DigiBoard
- and Altos multi-drop boxes, as well as version of both for terminal servers
- like the DecServer 100 (100 and 100-mc).
-
-
- Terry Lambert
- terry_lambert@gateway.novell.com
- terry@icarus.weber.edu
- ---
- Disclaimer: Any opinions in this posting are my own and not those of
- my present or previous employers.
-