At 06:34 PM 18/3/95 GMT, [log in to unmask] wrote:
>As I Use A Remote Control (Reach Out) package to dial in
>to do LAN related activities, in addition to the nightly
>production, this "inabilility" to take the console from a
>virtual device has been a pain.
I have the following script saved as VTCONSOL.PUB.SYS. Use ALTSEC or ACDs
to control access to it. Works for 4.0!
--------------- clip --------------------------------
option nolist,nobreak
comment Pull console to current logon ldev (DTC or VT).
setvar hpmsgfence 2
continue
console !hpldevin
if (hpcierr = 3131) or (hpcierr = 3000)
if pos('PM', '!hpusercapf') = 0
echo You need PM capability.
else
debug cm;ma %1074 1 # term_ldev; exit
endif
endif
setvar hpmsgfence 0
-------------------------------------------------------
----
Jim Wowchuk Internet: [log in to unmask]
Vanguard Computer Services Compu$erve: 100036,106
_--_|\ Post: PO Box 18, North Ryde, NSW 2113
/ \ Phone: +61 (2) 888-9688
\.--.__/ <---Sydney NSW Fax: +61 (2) 888-3056
v Australia