News for hackers. Stuff that matters.
Re:2-in-1 calculator app adds up to surprise hit for retired... by patrec on Tuesday September 20, 2022 @03:13AM (#32908649)
It does! Via readline. There must be a problem with your build.

Also, you can get this functionality for even your broken build (or other interactive commandline apps that have no edit history) by just doing something like:

    alias qalc='rlrwap qalc'
Re:2-in-1 calculator app adds up to surprise hit for retired... by mrb on Tuesday September 20, 2022 @03:25AM (#32908726)
Ah, i must not have compiled it with libreadline-dev... And I didn't know about rlwrap!