From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4fe508c41ebf274c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-14 13:55:57 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!f14d.dsg.dec.com!alfred From: alfred@f14d.dsg.dec.com (Alfred von Campe) Subject: Re: More questions re: DECTerms Message-ID: <1993May14.203610.18267@nntpd.lkg.dec.com> Sender: usenet@nntpd.lkg.dec.com (USENET News System) Reply-To: alfred@hannah.enet.dec.com Organization: Digital Equipment Corporation X-Newsreader: mxrn 6.18-4 References: Date: Fri, 14 May 1993 20:36:10 GMT In article , 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 | +--------------------------------------------+-----------------------------+