Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'bash variant' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
bash variant
Authored by: acdha on Jan 24, '03 02:18:54AM

I have this in my .bashrc:
PS1="\\[\\033]0;\\u@\\h:\\w\\007\\]\\u@\\h:\\w $ "

The escape sequence also works with xterm and Van Dyke's SecureCRT for Windows, so I have it in my .bashrc at work and my hosting company. It's really handy if you find yourself commonly using multiply-nested SSH connections.

I enable the current command, window size and hotkey display in my Terminal settings to complete things.



[ Reply to This | # ]
Fix the double slashes
Authored by: acdha on Jan 24, '03 03:21:12AM

That post looked right in the preview but was double-slashed in the post. Turn \\ into \.



[ Reply to This | # ]
bash variant
Authored by: jzkpr on Mar 24, '03 07:05:34PM

Will this work with GLTerm as well?

remote ssh locale to work as well. Any help is appreciated.



[ Reply to This | # ]