by shigemk2




rlwrap はキーボードからコマンドへの入力に GNU readline ライブラリを使えるようにするラッパーです。コマンドごとに個別の入力履歴を記録し、これまでに入力した単語やユーザが指定したファイルに含まれる単語を使って Tab 補完をすることができます。

rlwrap is a wrapper that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is kept between invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.

ではGNU Readlineとは

The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines, and perform csh-like history expansion on previous commands.

GNU readline - Wikipedia

The GNU Readline Library