Configuration Information [Automatically generated, do not change]: Machine: alpha OS: netbsd Compiler: cc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='alpha' -DCONF_OSTYPE='netbsd' -DCONF_MACHTYPE='alpha--netbsd' -DCONF_VENDOR='' -DLOCALEDIR='/usr/pkg/share/locale' +-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I/usr/include -O2 -mieee -I/usr/include uname output: NetBSD atlas.joerghoh.de 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Tue Mar 22 03:47:43 UTC 2005 [EMAIL PROTECTED]:/home/builds/ab/netbsd-2-0-2-RELEASE/alpha/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/alpha/compile/GENERIC alpha Machine Type: alpha--netbsd
Bash Version: 3.0
Patch Level: 16
Release Status: release
Description:
If I want to beautify my shell prompt, I encountered this really weird
problem. The intended prompt should be
[EMAIL PROTECTED] ~ $
but I there are some characters printed after the trailing "$"; if the
ANSI code for white color \033[1;317m is used, there is a "37m" garbage
printed after the $; if I remove that color definition, there is still
" $" garbage there.
(The coloring is in all cases ok)
Repeat-By:
[EMAIL PROTECTED] ~ $ 37mecho $PS1
\[\033[1;[EMAIL PROTECTED] \033[1;31m\W $ \033[1;37m
[EMAIL PROTECTED] ~ $ 37mexport PS1="\[\033[1;[EMAIL PROTECTED]
\033[1;31m\W $"
[EMAIL PROTECTED] ~ $ $export PS1="\[\033[1;[EMAIL PROTECTED]
\033[1;31m\W"
[EMAIL PROTECTED] ~m~export PS1="\[\033[1;[EMAIL PROTECTED] \033[1;31m"
[EMAIL PROTECTED] 1m
We tested this on alpha-netbsd and on i386-netbsd, each with bash
3.00.16, and there is this error on both plattforms. bash 2.05 doesn't
seem to be affected.
On my GNU/Linux-Box (Debian unstable) there is no such problem with
this bash version.
signature.asc
Description: Digital signature
_______________________________________________ Bug-bash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-bash
