Hi all,

I've been experiencing glitches while customizing lftp's prompt with
ANSI sequences: when a command line is too long, the wrapping tends to
get messed up.

This happens on all versions I've tried so far (at present, it's 3.7.6
with Readline 5.1 on Linux) and all terminal emulators. I managed to
customize tcsh's prompt with similar ANSI sequences just fine, FWIW.

The string I'm using for lftp's prompt is:

set cmd:prompt          "\033[34;43m\033[7m\w:\033[0m\] "

Any thoughts or suggestions are welcome. TIA...


-- 
~> cat /etc/redhat-release && uname -a
Scientific Linux SL release 5.2 (Boron)
Linux acerrimo.local 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 06:49:06 EST 
2008 i686 athlon i386 GNU/Linux

Reply via email to