🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.aos
Article #42

Re: CLEARDEVICE

#42
From: Mr. Bad Judgment
Date: Thu, 12 Oct 1989 15:06
41 lines
1793 bytes
On 11 Oct 89 10:46:30 GMT, lbsrdrt@cc.brunel.ac.uk (David Thomas) writes:
DG>Is there anyway round the problem that you can only use CLEARDEVICE
DG>from the Master Console (Pid 2) ?
DG>
DG>I'd like to be able to clear IAC lines that lock up, from another user
DG>console.
DG>

you only need to be at the OP console
if the terminal in question can't be
owned by you.  that is, if the console
line is currently owned by exec (i.e.,
enabled), you can disable it from any
terminal (assuming you can login as
OP), "assign @con#" (to establish "ownership"),
then do the cleardevice command, deassign,
and re-enable.  if becoming OP is a problem,
you may want to construct a secure OP daemon of
some kind which you could send messages to
via the "control" command, and it would then
do all the dirty work.

if the console line is not currently
owned by exec, simply proceed with "assign"
command, followed by cleardevice, etc.

if exec owns the line and you are unable
to disable it (because of noise pending on
the line), i'm not sure what your away-from-
the-OP-console alternatives are.

i believe that "ownership" in this context
refers strictly to whether or not your process
owns the console line, which is why it is not
merely sufficient to be OP (which is EXEC's
username) to clear enabled lines.

jim kohli
ge medical systems
we bring dog things to life (tm)
Technical Details
Message-ID: <1211@mrsvr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!mrsvr.UUCP!kohli@gemed.med.ge.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!mrsvr.UUCP!kohli@gemed.med.ge.com
From: kohli@gemed (Mr. Bad Judgment)
Newsgroups: comp.os.aos
Subject: Re: CLEARDEVICE
Message-ID: <1211@mrsvr.UUCP>
Date: 12 Oct 89 15:06:32 GMT
Sender: news@mrsvr.UUCP
Reply-To: kohli@gemed.med.ge.com (Mr. Bad Judgment)
Organization: Geo-Duckside Exploration Unit # 1
Lines: 41