Source

srw / srw.1

Full commit
.TH SRW 1 srw-VERSION
.SH NAME
srw \- simple read wrapper

.SH DESCRIPTION
.B srw
srw is used to provide a simple line editing interface to a program. The output
of the program does not interupt the input to srw, and the input to srw is not
echoed.
.SH SYNOPSIS
.B srw
.RB [ \-p
.IR prompt ]
.RB [ \-v ]
.IR cmd
.RI [ args... ]
.SH OPTIONS
.TP
.IR " cmd"
the command to wrap, this and it's arguments must come last
.TP
.IR " args..."
the arguments passed to command
.TP
.BI \-p " prompt"
lets you override the default prompt (>)
.TP
.BI \-v
prints version information and exits

.SH USAGE
.TP
So far the left and right arrow keys and a few shortcuts work. Specifically ^A ^B ^E ^F ^K ^U ^W. Home, End, Delete, etc. do not work yet.
.SH AUTHORS
Copyright \(co 2010 by Evan Gates <evan.gates (at) gmail (dot) com>