* Re: dxterm escape code documentation
1998-03-05 5:00 ` agnew
@ 1998-03-05 5:00 ` Alan Frisbie
0 siblings, 0 replies; 3+ messages in thread
From: Alan Frisbie @ 1998-03-05 5:00 UTC (permalink / raw)
In article <1998Mar5.090332.1@gems.vcu.edu>,
agnew@gems.vcu.edu writes:
> In article <34FE61C3.6FC@GECITS-AP.com>, David Knodel
> <David.Knodel@GECITS-AP.com> writes:
>> I'm unable to find documentation for escape sequences for
>> "dxterm", the DECwindows terminal emulator. What I'd
>> like to be able to do is to send an escape sequence which
>> sets the title of the dxterm (and hopefully the icon title
>> as well).
> here's something from Tom Wade that i've been running since i last
> chipped out my flint knive from a rock.... ;-)
> UD$MED:[AGNEW.GLOBAL]DECWINDOW_SET_ICON_WINDOW_NAMES.COM;1
Thanks. I would like to know how to use an escape sequence
to shrink the window to an icon. (Actually, I would like to
know where to find the entire list of escape sequences, as I
can't seem to locate them.)
Alan
--
-- "From:" line deliberatly munged to prevent harvesting by spambots.
-- Alan E. Frisbie Frisbie "@" Flying-Disk.Com
-- Flying Disk Systems, Inc. (Remove quotes before replying)
^ permalink raw reply [flat|nested] 3+ messages in thread
* dxterm escape code documentation
@ 1998-03-05 5:00 David Knodel
1998-03-05 5:00 ` agnew
0 siblings, 1 reply; 3+ messages in thread
From: David Knodel @ 1998-03-05 5:00 UTC (permalink / raw)
I'm unable to find documentation for escape sequences for
"dxterm", the DECwindows terminal emulator. What I'd
like to be able to do is to send an escape sequence which
sets the title of the dxterm (and hopefully the icon title
as well). I've got some sort of documentation CD which
I'm accessing with "dxbook", but as far as I can tell,
my attempts at searches on it imply that no such information
is to be found therein.
Any information would make me happier than
a pig in s...omething pigs like to be in.
Thanks,
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dxterm escape code documentation
1998-03-05 5:00 dxterm escape code documentation David Knodel
@ 1998-03-05 5:00 ` agnew
1998-03-05 5:00 ` Alan Frisbie
0 siblings, 1 reply; 3+ messages in thread
From: agnew @ 1998-03-05 5:00 UTC (permalink / raw)
In article <34FE61C3.6FC@GECITS-AP.com>, David Knodel <David.Knodel@GECITS-AP.com> writes:
> I'm unable to find documentation for escape sequences for
> "dxterm", the DECwindows terminal emulator. What I'd
> like to be able to do is to send an escape sequence which
> sets the title of the dxterm (and hopefully the icon title
> as well). I've got some sort of documentation CD which
> I'm accessing with "dxbook", but as far as I can tell,
> my attempts at searches on it imply that no such information
> is to be found therein.
>
> Any information would make me happier than
> a pig in s...omething pigs like to be in.
>
> Thanks,
> David
here's something from Tom Wade that i've been running since i last
chipped out my flint knive from a rock.... ;-)
Jim
UD$MED:[AGNEW.GLOBAL]DECWINDOW_SET_ICON_WINDOW_NAMES.COM;1
$! Set the Window name to reflect the host name.
$ esc[0,8]=27
$ cr[0,8]=13
$ lf[0,8]=10
$ USERNAME = F$GETJPI( 0,"USERNAME" )
$ host := 'F$Getsyi ("SCSNODE")'
$ proc_name = F$Getjpi (0, "prcnam")
$ window_text = "''host'::''username' ""''proc_name'"""
$ icon_text = "''host'''cr'''lf'''username'"
$ window_string = esc + "]21;" + window_text + esc + "\"
$ icon_string = esc + "]2L;" + icon_text + esc + "\"
$ Write SYS$OUTPUT window_string+icon_string
$ Exit
$!------------------------------ Cut Here ----------------------------------
$! T_WADE%ccvax.ucd.ie@PUCC.PRINCETON.EDU
$!The following escape sequences are the 7-bit equivalents of the OSC/ST
$!strings recently posted to the net.
$!<ESC>]21;Name on Window<ESC>\
$!sets the text on the title bar of the window.
$!<ESC>]2L;Icon Name<ESC>\
$!sets the Icon name. In both cases <ESC> is the Ascii Escape character
$!(decimal 27). The command procedure below will, when run from your LOGIN.COM,
$!automatically set the title bar and icon name to reflect your current node
$!name, process name and username. The Title bar becomes:
$!node::username [process-name], e.g. CCVAX::RTA1 [SpeakerToVaxes]
$!and the Icon becomes node
$! username
$!e.g. CCVAX
$! RTA1
------------------------------------------------------------------------------
Tom Wade | Internet: T.Wade@cc.ucd.ie (all domain mailers).
Speaker To VAXes | Bitnet: T_WADE@CCVAX
EuroKom | PSI-Mail: PSI%27243154000712::T.WADE
University College | DEC EASYnet: DECWRL::"t.wade@cc.ucd.ie" (VMS Mail)
Belfield | JANET: t.wade%cc.ucd.ie@UK.AC.EARN-RELAY
Dublin 4 | X400: [Address Exceeds 65536 byte buffer]
Ireland | Telex: (0500) 91178 UCD EI ("TO: WADE" at start)
--------------------+----------------------------------------------------------
Voice: +353-1-697890| Official Disclaimer: "This is not a disclaimer"
Fax: +353-1-838605|
-------------------------------------------------------------------------------
UD$MED:[AGNEW.GLOBAL]DECW_GLOBAL.COM;1
$ CREATE/TERMINAL/DETACH/LITTLE_FONT/WINDOW_ATTRIBUTES=(BACKGROUND=BLUE,FOREGROUND=WHITE,X_POSITION=5,Y_POSITION=100)
$ SPAWN/NOWAIT/INPUT=NL: RUN SYS$SYSTEM:DECW$CALENDAR
$ EXIT
$ SPAWN/NOWAIT/INPUT=NL: RUN SYS$SYSTEM:DECW$CLOCK
$ SPAWN/NOWAIT/INPUT=NL: RUN SYS$SYSTEM:DECW$CALC
$ SPAWN/NOWAIT/INPUT=NL: RUN SYS$SYSTEM:DECW$BOOKREADER
$ CREATE/TERMINAL/DETACH/LITTLE_FONT/WINDOW_ATTRIBUTES=(BACKGROUND=BLUE,FORGROUND=WHITE,X_POSITION=5,Y_POSITION=120,INITIAL_STATE=ICON)
$ CREATE/TERMINAL/DETACH/LITTLE_FONT/WINDOW_ATTRIBUTES=(BACKGROUND=BLUE,FORGROUND=WHITE,X_POSITION=5,Y_POSITION=140,INITIAL_STATE=ICON)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-05 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-05 5:00 dxterm escape code documentation David Knodel
1998-03-05 5:00 ` agnew
1998-03-05 5:00 ` Alan Frisbie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox