From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 04:00:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A59916A4CF for ; Wed, 18 Aug 2004 04:00:25 +0000 (GMT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC91B43D58 for ; Wed, 18 Aug 2004 04:00:24 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.10/8.12.10) with ESMTP id i7I3wLFS078105; Tue, 17 Aug 2004 20:58:57 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.11/8.12.11) with ESMTP id i7I3wG58070793; Tue, 17 Aug 2004 20:58:16 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.11/8.12.11/Submit) id i7I3w4RE070778; Tue, 17 Aug 2004 20:58:04 -0700 (PDT) (envelope-from kline) Date: Tue, 17 Aug 2004 20:58:03 -0700 From: Gary Kline To: Duane Winner Message-ID: <20040818035803.GA13423@thought.org> References: <41222679.7080000@att.net> <4122351E.7040205@att.net> <20040817165757.GA88222@thought.org> <4122B61B.1050608@att.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4122B61B.1050608@att.net> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 18 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: Gary Kline cc: freebsd-questions@freebsd.org Subject: Re: xtset or xtermset tricks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 04:00:25 -0000 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