Date: Mon, 17 Apr 2000 10:22:29 -0700 (PDT) From: "Eric J. Schwertfeger" <ejs@bfd.com> To: Ryan Thompson <ryan@sasknow.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bash line wrapping with ANSI colours Message-ID: <Pine.BSF.4.10.10004171020320.59955-100000@harlie.bfd.com> In-Reply-To: <Pine.BSF.4.21.0004171057240.67131-100000@ren.sasknow.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Apr 2000, Ryan Thompson wrote: > I've recently begun mucking around with my bash prompts lately, and, due > to the use of quite a lot of colour, PS1 has become quite long in > characters (though, when displayed, is only about 15 columns, plus the > path). put a \[ before and after the ANSI codes. Anything between them will not get used to determine the length of the prompt, for word-wrapping purposes. > Has this been documented before? I couldn't find anything in the bash > manpage or the mailing lists like this. It smells like a bug, but has > probably been around far too long to be called anything but a feature :-) Yes, but I can't find my bookmark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004171020320.59955-100000>