Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alfred@f14d.dsg.dec.com (Alfred von Campe)
Subject: Re: More questions re: DECTerms
Date: Fri, 14 May 1993 20:36:10 GMT	[thread overview]
Message-ID: <1993May14.203610.18267@nntpd.lkg.dec.com> (raw)
In-Reply-To: TWILLEY.93May14103539@quahog.nl.nuwc.navy.mil


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 |
+--------------------------------------------+-----------------------------+


      reply	other threads:[~1993-05-14 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-14 15:35 More questions re: DECTerms Jack Twilley
1993-05-14 20:36 ` Alfred von Campe [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox