Control: reassign -1 libedit2 3.1-20140620-2
Control: forcemerge 782043 -1
Control: affects -1 yafc

On 2016-03-28 16:27:47, Alberto Aparici wrote:
> Package: yafc
> Version: 1.3.7-1
> Severity: minor
> 
> Dear Maintainer,
> 
> yafc is known for offering a colorful prompt for ftp and sftp transfer.
> Prompt colors can be defined as explained in the relevant configuration file,
> yafcrc:
> 
> # you can put escape codes here, for example if you want a colored
> # prompt
> #  "%{\e[01;31m%}ftp%{\e[0m%}" will be "ftp" in red, if your terminal
> #  supports
> #  ISO 6429 (ANSI) color codes.
> 
> This feature is not working for version 1.3.7 of yafc under Debian
> Stretch. I have configured the "not connected" prompt as follows,
> 
> prompt1 "%{\e[01;32m%}yafc> "                    # not connected
> 
> but the terminal does not return colors. Rather, it displays
> 
> [01;32myafc> 
> 
> I have found this same behaviour on xfce4-terminal, xterm and Debian tty.
> You can find attached my complete yafcrc file, where the commands for a
> colored prompt can be found around line 220.
> 
> This feature did work, though not with the recommended syntax,, for version
> 1.1.3-2 of yafc under Debian Wheezy. In this version it was necessary to
> remove the braces "%{" and "%}", but otherwise everything behaved fine.
> I have tried several variations in this direction: removing braces,
> removing "\e", substituting "\e" by "\x1B", removing "\e" but keeping
> the braces... none of these syntaxes worked for version 1.3.7.

This is #782043 in libedit.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to