Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!eng.sun.COM!smarks From: smarks@eng.sun.COM (Stuart Marks, There go I but for the grace of Root) Newsgroups: comp.windows.x Subject: Re: Title bar flicker fix for XTerm Message-ID: <9010042243.AA05442@trantor.Eng.Sun.COM> Date: 4 Oct 90 22:43:25 GMT References: <1990Oct3.011511.2263@mlb.semi.harris.com> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 37 In reference to some comments about shell aliases to change the title string, soleil!mlb.semi.harris.com!beep!geg@rutgers.edu (Greg Garland) wrote: | Better call it something besides 'cd', though, like 'xcd'. I called it 'cd' | originally, but I noticed that when I ran sunview (to use some non-X stuff) | the escape sequences seem to cause the SunView 'shelltool's to hang. This occurs because xterm and shelltool use different escape sequences to set the title string. Xterm uses ^[]2;yourtexthere^G whereas SunView shelltool uses ^[]lyourtexthere^[\ By coincidence, X11R3 and earlier versions of xterm would accept a string similar to SunView's. You could set an xterm with the same sequence, except that the string would be terminated by ESC instead of ESC-backslash. So, if you programmed your shell to emit ^[]lyourtexthere^[ to set the title string for xterm, and then moved over a SunView shelltool, the shelltool would "hang" building up the title string. It would stay "hung" until it got ESC-backslash. This happened to me once. The resulting title string was quite amusing once I got the shelltool out of that mode. Now my shells base their title-setting sequences on the terminal type. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.