On Fri, Jan 07, 2000 at 11:35:32AM +0000, John P. Looney wrote:
> And, to get around that, add this to root's bashrc :
[snip]
> In xterms, it'll set the title bar of the window to "root on hostname in
> ~/directory" - handy.
Or, for csh derivatives,
set prompt = "%{\e]2\;%n on %m in %~^g\e]1\;%m^g\r%}%m [%n] (%~)%# "
Replace the bit after the "}" with your regular terminal prompt
preference.
james
--
James Raftery (JBR54) - Programmer Hostmaster IE Domain Registry
Preferred Contact by Email: hostmaster at ucd.ie UCD Computing Services
Web: http://www.domainregistry.ie/ Computer Centre
Tel: (+353 1) 7062375 Fax: (+353 1) 7062862 Belfield, Dublin 4, IE
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!