[kwlug-disc] my new favourite command
opengeometry at yahoo.ca
Fri Dec 3 11:44:43 EST 2010
On Thu, Dec 02, 2010 at 03:49:20PM -0500, John Van Ostrand wrote:
> ----- Original Message -----
> > Hi list,
> > Just discovered the 'rlwrap' command. It is a wrapper that turns
> > any command line oriented program into a readline-capable interface.
> > For example, you can run netcat through rlwrap, and get history and
> > command editing:
> > rlwrap nc
> > This also works for things like xboard when connecting to a chess
> > server (this is where I first learned of it).
> > What other new commands have people learned lately?
> This is a side question. Is there another way to put readline functionality in a bash shell script?
> while :
> read cmd
> case "$cmd" in
Are you thinking something like "select" in Bash/Ksh? "select" will
give you menu, but I don't think it will go through Readline.
More information about the kwlug-disc_kwlug.org