Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: fady@ronjon.es.hac.com (Fady Abushahla)
Subject: Re: Retitle a X/Motif (dxterm) window on the fly
Date: 1996/09/17	[thread overview]
Message-ID: <51na33$mlc@hacgate2.hac.com> (raw)
In-Reply-To: 323725AE.359037BA@star.enet.dec.com



How about doing the same thing on HP-UX platforms ?
I tried all the combinations you present, none of them work.

Thanks.

:
Fred Kleinsorge (kleinsorge@star.enet.dec.com) wrote:
: Laurence G. Esmonde Jr. wrote:
: > 
: > The X-Window's User's Guide (Vol 3) states, on page 638 - xterm control
: > sequences -- that the sequence
: > 
: > <esc> ] 2 ; <text> ^G
: > 
: > will change the title of the window at the top of the screen.  I
: > generated the sequence at the prompt by typing "echo $esc']2;Test
: > Title^G'".  I did this with "xterm" and it worked like a champ.  When I
: > tried the same thing on "dxterm" however, it just hung the terminal
: > window (although it was nice enough to accept a Ctrl-D, which then
: > closed the window).  Is this a known problem or should I just drink more
: > beer and ignore it?  Thanks!
: > 


:   I don't know if I should be flattered by this, or simply shake my head at
:   someone implementing terminal sequences without using the ANSI or ISO
:   standards to use as a guide (say, ANSI X3.64, or ISO 646).

:   <esc>] is the 7-bit version of OSC (0x9D - Operating System Control).  The
:   OSC code must be terminated by a ST (0x9C) - String Terminator).  The ^G is
:   outside the legal range of characters allowed inside a OSC control string,
:   so xterm probably did the right thing by aborting the control string (or
:   interpreting ^G as a terminator).  The documentation should have at least
:   by default used the ST as a terminator instead of the ^G.  DXTERM, needless
:   to say, did not terminate the string and is still waiting for a ST... which
:   may or may not be a correct handling of the ^G.  But the OSC sequence itself
:   is not compatable with dxterm.

:   The sequence looks a lot like the one I defined and implemented eons ago
:   that eventually formed the base code for dxterm.  The sequence on dxterm
:   should look like:

: 		<osc>21;new title text<st>
:   or in 7-bits	<esc>]21;new title text<esc>\

:   and the ICON text changes with:

: 		<osc>2L;new icon text<st>
:   or in 7-bits	<esc>]2L;new icon text<esc>\

:   There were a slew of other OSC sequences that were not included in dxterm
:   (like shrink to icon, expand from icon, move window, move icon, raise window,
:   lower window, attach keyboard, detach keyboard).



  parent reply	other threads:[~1996-09-17  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-11  4:00 Retitle a X/Motif (dxterm) window on the fly Laurence G. Esmonde Jr.
1996-09-11  4:00 ` Fred Kleinsorge
1996-09-12  4:00   ` T.E.Dickey
1996-09-17  4:00   ` Fady Abushahla [this message]
1996-09-16  4:00 ` Brandon Wallace
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