Path: utzoo!attcan!uunet!jarthur!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!Teknowledge.COM!unix!hplabs!hp-pcd!hplsla!hpubvwa!grlab!scott From: scott@grlab.UUCP (Scott Blachowicz) Newsgroups: comp.windows.x Subject: Re: Changing Title in hpterm Message-ID: Date: 14 Mar 90 13:33:28 GMT References: <20807@bellcore.bellcore.com> <7320005@hpfcso.HP.COM> Sender: news@grlab.UUCP Organization: Graphicus, Inc., Kirkland, WA USA Lines: 32 In-reply-to: stroyan@hpfcso.HP.COM's message of 11 Mar 90 23:38:53 GMT Regarding Re: Changing Title in hpterm; stroyan@hpfcso.HP.COM (Mike Stroyan) writes: >> Is it possible to change the title of an hpterm running under motif? >> Steve Jaffe > Yes, it is possible. The title can be changed with the following sequence. > &f0k D > I use this ksh function- > function hpterm_title { > echo "\033&f0k${#1}D$1\c" > } This apparently changes the WM_NAME property. I've also discovered that "key -1" changes the WM_ICON_NAME property...so the command echo "\033&f-1k5Dfooey\c" sets your hpterm's WM_ICON_NAME to "fooey". It seems some window managers (gwm 1.5d, at least) use WM_ICON_NAME for the name displayed in the window's icon where it used to use WM_NAME, so my ksh 'settitle' function also sets WM_ICON_NAME. Are there any other special little escape sequences that might be useful? I've been told in the past to go look at the "Term0 reference manual" but the stories I got about it's status didn't make sense. I heard things from "it doesn't exist anymore" to "the latest edition was 1986"[which is the one we have...maybe 1985?]. -- Scott Blachowicz E-mail: scott@grlab.UUCP USPS: Graphicus ..or.. ...!hpubvwa!grlab!scott 150 Lake Str S, #206 VoicePh: 206/828-4691 Kirkland, WA USA 98033 FAX: 206/828-4236