Use the libedit library (replacement for readline)
Name Category Description
asterisk net-misc Asterisk: A Modular Open Source PBX System
bc sys-devel Handy console-based calculator utility
chrony net-misc NTP client and server programs
dash app-shells Debian Almquist Shell
groonga app-text An Embeddable Fulltext Search Engine
libisoburn dev-libs Creation/expansion of ISO-9660 filesystems on CD/DVD media supported by libburn
libpcre dev-libs Perl-compatible regular expression library
libpcre2 dev-libs Perl-compatible regular expression library
lldb dev-util The LLVM debugger
llvm sys-devel Low Level Virtual Machine
openssh net-misc Port of OpenBSD's free SSH release
php dev-lang The PHP language runtime engine
rc app-shells A reimplementation of the Plan 9 shell
swi-prolog dev-lang free, small, and standard compliant Prolog compiler
uim app-i18n Simple, secure and flexible input method library
varnish www-servers Varnish is a state-of-the-art, high-performance HTTP accelerator
xdebug-client dev-php Xdebug client for the Common Debugger Protocol (DBGP)
xfsprogs sys-fs xfs filesystem utilities

Thank you!