Package: yafc
Version: 1.3.5-2
Severity: minor
Hello,
Here are my prompt strings defined in .yafc/yafcrc:
prompt2 "yafc %{\e[33;37;1m%}%h%{\e[0m\e[33;33;1m%}%#%{\e[0m%} "
prompt3 "yafc
%{\e[33;34;1m%}%u%{\e[0m\e[33;33;1m%}@%{\e[0m\e[33;37;1m%}%h%{\e[0m%}
%{\e[33;32;1m%}%42~%{\e[0m\e[33;33;1m%}%#%{\e[0m%} "
The \e seems to be ignored by yafc, here is the result:
yafc [33;34;1muser[0m[33;33;1m@[0m[33;37;1mhosname[0m
[33;32;1m/path[0m[33;33;1m$[0m
I couldn't reproduce this bug with upstream version, neither by
recompiling the debian version. I guess it's because the distributed
binary isn't compiled against libreadline.
In any case, I guess it would be a good idea to use the libreadline
instead of libedit. :)
Best regards,
Celelibi
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.10.11 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages yafc depends on:
ii libbsd0 0.7.0-2
ii libc6 2.19-17
ii libedit2 3.1-20140620-2
ii libgssapi3-heimdal 1.6~rc2+dfsg-9
ii libhcrypto4-heimdal 1.6~rc2+dfsg-9
ii libheimbase1-heimdal 1.6~rc2+dfsg-9
ii libroken18-heimdal 1.6~rc2+dfsg-9
ii libssh-4 0.6.3-4
yafc recommends no packages.
yafc suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]