Date: Tue, 17 Aug 2004 20:58:03 -0700 From: Gary Kline <kline@tao.thought.org> To: Duane Winner <duanewinner@att.net> Cc: freebsd-questions@freebsd.org Subject: Re: xtset or xtermset tricks? Message-ID: <20040818035803.GA13423@thought.org> In-Reply-To: <4122B61B.1050608@att.net> References: <41222679.7080000@att.net> <4122351E.7040205@att.net> <20040817165757.GA88222@thought.org> <4122B61B.1050608@att.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 17, 2004 at 09:51:23PM -0400, Duane Winner wrote: > > > Gary Kline wrote: > > Is there a way of using xtset/xtermset to retrieve the > > -n "Name"?? > > Hm, not sure. I just started with xtset myself this morning when I > decided I was getting sick of having 10 xterm windows all over my lawn > with the name 'xterm'. I never gave descriptive labels since I'm most > often ssh'd into other boxes and am more interested in where I am. > > Maybe, depending on how you start each xterm (icon/shortcut), you could > set a variable name (XTNAME="Mail") for each one, then run: > # xtset `echo $XTNAME` Yeah, sure there is some kludgey way of resetting the xterms. Looking at the issue from a hacker's perspective I can't see many options for resetting. Unless you wantedthe names always reset at 04:30 or whatever. Oh-well. > > But now, since I hammered out that little cd() function for .bashrc, I > found another little problem: > > If I su to another user (for instance, "su - root"), the title changes > as long as the other account has my the function in .bashrc, but when I > exit, the title still has the old credentials (example: root@mybox:~) > until I cd somewhere again. Sigh. > What happns if you omit the " - " when you su? gary -- Gary Kline kline@thought.org www.thought.org Public service Unix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818035803.GA13423>