icon titles...

karron at MCIRPS2.MED.NYU.EDU karron at MCIRPS2.MED.NYU.EDU
Sat Oct 20 01:22:15 AEST 1990


>Date: Wed, 17 Oct 90 21:24:54 -0400
>From: Dong Chen <dong at wam.umd.edu>
>Message-Id: <9010180124.AA18109 at epsl.umd.edu>
>To: karron%CMCL2.NYU.EDU at cunyvm.cuny.edu
>Subject: Re: icon titles...
>Newsgroups: comp.sys.sgi
>In-Reply-To: <9010141055.AA11217 at mcirps2.med.nyu.edu>
>Organization: University of Maryland at College Park
>
>In article <9010141055.AA11217 at mcirps2.med.nyu.edu> you write:
>>To change the icon title:
>>        echo "\033P3.yTITLE\033\\"
>
>I tried this,but it didn't work.
>actully, nothing happened,no error massage.
>Change window name command works fine.
>Could you send me your script?.
>
>
>Dong Chen
>

I have heard that you need IRIX 3.3.1 (or 3.3 ??) for this
trick to work. This is what I use to annotate my windows and
icons after a cd, pushd,popd. Note this is a built in function
in tcsh. You have to alias cd, pushd,popd in csh.

-------------------------------------------------------------------------------

#! /bin/sh
TITLE=`pwd`
TITLE=`basename $TITLE`
echo "\033P3.y${TITLE}\033\\ ""\033P1.y${LOGNAME} on ${HOST} at ${TITLE}\033\\"

-------------------------------------------------------------------------------
I have not quite gotten all of the quoted escaped backslashes and escaped
quotes to work with a trailing \c to suppress the newline, but the newline
after the cd does not look too bad.


+-----------------------------------------------------------------------------+
| karron at nyu.edu                          Dan Karron                          |
| . . . . . . . . . . . . . .             New York University Medical Center  |
| 560 First Avenue           \ \    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 340 5210               \**\__________________________________________ |
| Please Note :Soon to move to dan at karron.med.nyu.edu 128.122.135.3  (Mid Oct)|
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list