* DECterm
@ 1995-10-19 4:00 Titus Purdin
1995-10-21 4:00 ` DECterm teresa.l.smith
1995-10-24 4:00 ` DECterm Paul DuBois
0 siblings, 2 replies; 3+ messages in thread
From: Titus Purdin @ 1995-10-19 4:00 UTC (permalink / raw)
In hist "csh & tcsh" book (pub. O'Reilly), Paul Dubois devotes a
whole section to "special displays," such as putting your pwd in
the title bar of an xterm window. The ftp archive associated with
the book also contains some information on this topic (mostly for
HP-UX. Does anyone know (or know where to find) the control
sequences to do similar tricks with dxterm?
titus sends
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DECterm
1995-10-19 4:00 DECterm Titus Purdin
@ 1995-10-21 4:00 ` teresa.l.smith
1995-10-24 4:00 ` DECterm Paul DuBois
1 sibling, 0 replies; 3+ messages in thread
From: teresa.l.smith @ 1995-10-21 4:00 UTC (permalink / raw)
In article <3086D8C4.41C6@arizona.edu>,
Titus Purdin <titus@arizona.edu> wrote:
>In hist "csh & tcsh" book (pub. O'Reilly), Paul Dubois devotes a
>whole section to "special displays," such as putting your pwd in
>the title bar of an xterm window. The ftp archive associated with
>the book also contains some information on this topic (mostly for
>HP-UX. Does anyone know (or know where to find) the control
>sequences to do similar tricks with dxterm?
>
>
> titus sends
When I invoke dxterm, the TERM variable is set to vt300. The following
escape codes work for this case:
# Make header of dec-window hostname:user current directory
echo "\033]21;$dir\033\ "
# Make icon hostname:user current directory
echo "\033]2L;$dir\033\ "
*** $dir variable is what you want to put in the window title,
e.g. (using ksh) dir="[`hostname | cut -f 1 -d '.'`:`whoami`] $PWD"
puts hostname, user and current working directory as title.
For xterm windows, the TERM variable is set to xterm. The following
escape codes work for this case:
# Make header of xterm hostname:user current directory
echo "\033]2;$dir\\07"
# Make icon hostname:user current directory
echo "\033]1;$dir\\07"
--
--------------------------------------------------------------------
| Teresa L. Smith | tls@ormaudib.cnet.att.com |
| "Any opinions are mine" | AT&T Microelectronics |
--------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: DECterm
1995-10-19 4:00 DECterm Titus Purdin
1995-10-21 4:00 ` DECterm teresa.l.smith
@ 1995-10-24 4:00 ` Paul DuBois
1 sibling, 0 replies; 3+ messages in thread
From: Paul DuBois @ 1995-10-24 4:00 UTC (permalink / raw)
Titus Purdin <titus@arizona.edu> writes:
>In hist "csh & tcsh" book (pub. O'Reilly), Paul Dubois devotes a
>whole section to "special displays," such as putting your pwd in
>the title bar of an xterm window. The ftp archive associated with
>the book also contains some information on this topic (mostly for
>HP-UX. Does anyone know (or know where to find) the control
>sequences to do similar tricks with dxterm?
While I was writing the book, I asked a similar question. I got a couple
of responses (which I can't seem to find at the moment), but neither of
them worked on the dxterm I have access to. If anyone has answers to
this, please send me a copy of your response and I'll add it to the
archive mentioned above.
--
Paul DuBois
dubois@primate.wisc.edu
Home page: http://www.primate.wisc.edu/homepage/dubois
Software: http://www.primate.wisc.edu/software
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-10-24 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-19 4:00 DECterm Titus Purdin
1995-10-21 4:00 ` DECterm teresa.l.smith
1995-10-24 4:00 ` DECterm Paul DuBois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox