This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Trouble in RXVT with line wrap
- To: Sandeep Tamhankar <sandman at Interwoven dot com>, "David A. Cobb" <superbiskit at home dot com>
- Subject: Re: Trouble in RXVT with line wrap
- From: Randall R Schulz <rrschulz at cris dot com>
- Date: Tue, 03 Jul 2001 18:27:07 -0700
- Cc: Cygwin General MailList <cygwin at cygwin dot com>
Hi,
Here's a little more on the promt business. It has proved popular with
fellow nerds in my office:
My PS1 for any terminal (emulator) that supports it (xterm, xterm-color,
vt100, vt102, vt220, cytwin, at least) is this:
PS1=$'\[\e]0; \u :: \W (\w)\a\]\!> '
# Note:
# This sequence:
# ESC]0;
# ^ zero
# Starts the title setting sequence. Everything from there to
# the CTRL-G (also "\a" within $'...') is put in the window title.
# Some terminal emulators (notably TeraTerm) put a pretty stingy
# limit on how much they'll display, but you don't have to limit
# the length you attempt to put there
I don't mind the information typically put into prompts, but I _hate_ to
have it literally in the prompt!
Randall
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/