Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!stanford.edu!agate!ucbvax!ucdavis!csusac!unify!openlook!openlook-request From: Stuart.Marks@Eng.Sun.COM (Stuart Marks) Newsgroups: comp.windows.open-look Subject: Re: xterm titles in olwm Message-ID: Date: 22 Apr 91 21:00:30 GMT Lines: 25 I can't for the life of me get control sequences to alter the title of my xterms. I have RTFM, and the FAQ in comp.windows.x, but neither of those methods work. Any clues as to what I am doing wrong? If it matters, Sparc SunOS 4.1, openwindows 2.0. Well, it could be that the FM is out of date. :-) Here are the escape sequences I use. Note that \e is escape, ^G is control-G, and "..." is the text of the label. \e]0;...^G sets both icon and window \e]1;...^G sets icon label \e]2;...^G sets window title Previous versions of xterm accepted anything other than ^G to terminate the string. Starting with X11R4 (I believe) xterm became more restrictive, and requires that the string be terminated with a ^G. The xterm with OpenWindows 2.0 is pretty much identical to the X11R4 xterm. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.