Package: yafc Version: 1.3.7-3 Severity: wishlist Tags: patch Dear Maintainer, the yafc binary compiled against libedit2 no longer supports colored prompts & outputs due to a libedit issue, as you can see in Debian bugs #819439 and #782043. Building against libreadline recovers this functionality and is encouraged by the upstream developers of yafc.
To achieve this it is only needed to add libreadline7 as a dependency for yafc and libreadline-dev as a build-dependency, as well as a straightforward change in debian/rules for the yafc source. Sorry, I don't really know how to implement the changes in the dependencies, ^_^', but I attach a patch for the debian/rules file. In my system this procedure works just fine and recovers the colored interface. Cheers, Al. -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8), LANGUAGE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages yafc depends on: ii libbsd0 0.8.3-1 ii libc6 2.24-11+deb9u1 ii libgssapi-krb5-2 1.15-1 ii libreadline7 7.0-3 ii libssh-4 0.7.3-2 ii libssl1.0.2 1.0.2l-2 yafc recommends no packages. yafc suggests no packages. -- no debconf information
*** rules 2014-01-17 01:53:40.000000000 +0100 --- /usr/local/src/yafc/yafc-1.3.7/debian/rules 2017-09-04 23:29:57.868484017 +0200 *************** *** 8,14 **** override_dh_auto_configure: dh_auto_configure -- \ ! --without-readline \ --with-bash-completion=/usr/share/bash-completion/completions override_dh_installchangelogs: --- 8,15 ---- override_dh_auto_configure: dh_auto_configure -- \ ! --with-readline \ ! --without-editline \ --with-bash-completion=/usr/share/bash-completion/completions override_dh_installchangelogs: