Date: Mon, 10 Jul 2000 00:32:33 +0200 (CEST) From: Paul Herman <pherman@frenchfries.net> To: cjclark@alum.mit.edu Cc: Mark Ovens <mark@dogma.freebsd-uk.eu.org>, questions@FreeBSD.ORG Subject: Re: Question about the use of ssh-agent(1) Message-ID: <Pine.BSF.4.21.0007100027400.2764-100000@bagabeedaboo.security.at12.de> In-Reply-To: <20000709151543.G394@dialin-client.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Jul 2000, Crist J. Clark wrote: > xterm xterm -n "$USER@$HOST" & > > And I do not want to use the alias. > > This is actually one of those things I have always meant to ask > about. Is there a better way to do that? Setting 'XTerm.title: > $USER@$HOST' in .Xresources would not have the desired effect for > several reasons. in .bashrc / .bash_login depending on your xterms, something like: xtitle () { echo -n -e "\033]0;$*\007"; } if [ "x$TERM" = xxterm ] then xtitle $USER@$HOST fi This also depends on what you mean by a "better way to do that." I use(d) this in a "alias cd=" to display the path in the window title every time pwd changed. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007100027400.2764-100000>