05 01 | 2013

rlwrap: give readline super powers to any command line tool

Written by Tanguy

Classified in : Homepage, Debian, Command line

Did you ever use a tool such as netcat, which has no history and does not allow you to edit the line you are typing?

% nc localhost smtp
220 cocorico.example.com ESMTP Postfix
HELO localhost
250 cocorico.example.com
MAIL FROM: <tanguy@localhost>
250 2.1.0 Ok
RCTP TO: <tanguy@localhost>
502 5.5.2 Error: command not recognized
^[[A Sh*t, line recall does not work!
502 5.5.2 Error: command not recognized

Read more rlwrap: give readline super powers to any command line tool

Archives