[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Readline fencepost error with long prompt

From: Andreas Schwab
Subject: Readline fencepost error with long prompt
Date: Sat, 25 Apr 2009 12:02:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='powerpc-suse-linux-gnu' 
-DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -O2 -g
uname output: Linux igel 2.6.30-rc3 #5 SMP Thu Apr 23 11:56:14 CEST 2009 ppc64 
ppc64 ppc64 GNU/Linux
Machine Type: powerpc-suse-linux-gnu

Bash Version: 4.0
Patch Level: 17
Release Status: release

        If the length of $PS1 exactly matches the screen width and it ends
        in invisible characters the cursor is placed to far to the right
        by the number of invisible characters.

        $ PS1="$(printf %80s .)\[\033[m\]"

Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]