* Re: More questions re: DECTerms
1993-05-14 15:35 More questions re: DECTerms Jack Twilley
@ 1993-05-14 20:36 ` Alfred von Campe
0 siblings, 0 replies; 2+ messages in thread
From: Alfred von Campe @ 1993-05-14 20:36 UTC (permalink / raw)
In article <TWILLEY.93May14103539@quahog.nl.nuwc.navy.mil>, twilley@quahog.nl.nuwc.navy.mil (Jack Twilley) writes:
>Currently, while running multiple session managers, it is difficult to
>determine which icon is representing a DECTerm on which host. Is there
>a way to modify the default titles from 'DECTerm 1' to 'MEL 1' or
>'DINO 3'? (hostname followed by DECTerm number) Thanks again. :-)
No, there is no way to do this automatically from DECterm (it's on our long
list of feature requests, though).. However, you can either change the title
manually, or have separate resource files for each DECterm and then start each
DECterm in a unique way, or you can put an escape sequence in your LOGIN.COM
to always set the title to the node name, etc. Here's a small command procedure
which will set the title an icon name to whatever is passed in P1 (it will use
the nodename if nothing is specified):
$! This command procedure sets a DECterm's title to P1 and its iconname to P2.
$! If P1 is not specified, then the nodename is used. If P2 is not specified,
$! then P1 is used.
$!
$ OSC = ""
$ ST = ""
$ OSC[0,8] = 157
$ ST[0,8] = 156
$!
$ If P1 .EQS. "" then P1 = F$GetSyI("NODENAME")
$ If P2 .EQS. "" then P2 = P1
$!
$ Write Sys$Output "''OSC' 21;''P1' ''ST' ''OSC' 2L;''P2' ''ST'"
$ Exit
Alfred
--
+----------------------------------------------------------------------+
| US Mail: Alfred von Campe, 905D Ridgefield Circle, Clinton, MA 01510 \
| Ma-Bell: (508) 365-3982 (H), (508) 635-8619 (W), (508) 635-8673 (fax) \
| Internet: alfred@hannah.enet.dec.com \
+--------------------------------------------+-----------------------------+
| Why is common sense so uncommon? | I'd rather be flying N4381Q |
+--------------------------------------------+-----------------------------+
^ permalink raw reply [flat|nested] 2+ messages in thread