From: "Robert Praetorius" <RPraetorius@AspenRes.Com>
To: Chris Abbey <cabbey@bresnanlink.net>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: odd bash wrapping due to ansi codes
Date: Tue, 19 Sep 2000 07:10:00 -0000 [thread overview]
Message-ID: <39C8000D.9495.1D41E706@localhost> (raw)
In-Reply-To: <4.3.2.7.0.20000917030431.00bd6a10@pop>
> '<0x1b>]0;\w<0x07><0x1b>[1m<0x1b>[34m\w<0x1b>[0m $ '
I've found that bash is happier when I wrap ANSI (or ANSIesque)
escape and control sequences inside \[ . . . \]. To quote from the
bash man page:
\[ begin a sequence of non-printing characters, which
could be used to embed a terminal control sequence
into the prompt
\] end a sequence of non-printing characters
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next prev parent reply other threads:[~2000-09-19 7:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-17 2:07 Chris Abbey
2000-09-19 7:10 ` Robert Praetorius [this message]
2000-09-19 20:36 ` [patch] " Chris Abbey
2000-09-19 21:23 ` Randall R Schulz
2000-09-19 22:24 ` Chris Abbey
2000-09-20 5:58 ` Andreas Eibach
2000-09-25 13:42 ` DJ Delorie
2000-09-25 18:20 ` DJ Delorie
2000-10-01 0:43 ` Chris Abbey
2000-10-01 3:34 ` [RE-patch] " Chris Abbey
2000-09-18 5:40 Earnie Boyd
2000-09-18 22:29 ` Chris Abbey
2000-09-19 6:46 Earnie Boyd
2000-09-25 17:10 Earnie Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39C8000D.9495.1D41E706@localhost \
--to=rpraetorius@aspenres.com \
--cc=cabbey@bresnanlink.net \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).