On Thu, Apr 20, 2000 at 09:39:24PM +0100, Kenn Humborg mentioned:
> IIRC, there is a special marker that you can stick into a prompt string
> to delimit the portion that is non-printing, so readline knows to ignore
> it. Let's have a look at the bash man page...
>> $ man bash
> When executing interactively, bash displays the primary prompt PS1 when it is ready to read
> \[ 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
Arg. That problem has plagued me for about five years. Mutter.
"The fool must be beaten with a stick, for an intelligent person
the merest hint is sufficient" -- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!