www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <5.1.0.14.2.20010703182650.02442b88@pop3.cris.com> |
X-Sender: | rrschulz AT pop3 DOT cris DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 5.1 |
Date: | Tue, 03 Jul 2001 18:27:07 -0700 |
To: | Sandeep Tamhankar <sandman AT Interwoven DOT com>, |
"David A. Cobb" <superbiskit AT home DOT com> | |
From: | Randall R Schulz <rrschulz AT cris DOT com> |
Subject: | Re: Trouble in RXVT with line wrap |
Cc: | Cygwin General MailList <cygwin AT cygwin DOT com> |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |