rlwrap can be used (and not just for psql!)
rlwrap can be used (and not just for psql!)
Posted Feb 16, 2011 19:01 UTC (Wed) by cortana (subscriber, #24596)Parent article: PostgreSQL, OpenSSL, and the GPL
A safer/saner way to restore readline functionality:
$ rlwrap psql -n
rlwrap is a really great program. It will add readline functionality to any other line-oriented program.
