[Info-vax] Decwindows display

Steven Schweda sms.antinode at gmail.com
Sat Mar 21 15:16:33 EDT 2009


bradhamilton wrote:

> I see my mistake now... [...]

   Perhaps not.  For example, you could have something in the
      $ IF (F$MODE() .EQS. "INTERACTIVE")
section of your SYS$LOGIN:LOGIN.COM like:

[...]
$    if (f$trnlnm( "DECW$DISPLAY") .eqs. "")
$    then
$       @ utility:setdisp.com
$    else
$       show display
$    endif
[...]

where utility:setdisp.com looks at the result from
      f$getdvi( "TT", "tt_accpornam")
and does an appropriate SET DISPLAY command.  Details will
depend on how many ways you might get connected (DECnet, LAT,
RSH, SSH, TELNET, ...), and for IP, whose IP software you use.
I suspect that a Web search for TT_ACCPORNAM will find some
examples suitable for adaptation.

   With enough automation, thought can become almost
unnecessary.



More information about the Info-vax mailing list