Anonymous avatar Anonymous committed 56ff65a

fix up man page

Comments (0)

Files changed (1)

 
 .SH DESCRIPTION
 .B pcw
-uses inotify to monitor a directory tree (created by ii) and open terminals running cw with the in and out files for each channel. pcw depends on srw to wrap cw for better line editing, but this can be changed either in the source code or with the -c command flag.
+uses inotify to monitor a directory tree (created by ii) and open terminals running cw with the in and out files for each channel.
+pcw depends on srw to wrap cw for better line editing, but this can be changed either in the source code or with the -c command flag.
 
 .B cw
-uses inotify to monitor a file and write changes to stdout as they happen, and sends text written on stdin to another file. It's meant for use with pcw and ii, but may come in handy elsewhere.
+uses inotify to monitor a file and write changes to stdout as they happen, and sends text written on stdin to another file.
+It's meant for use with pcw and ii, but may come in handy elsewhere.
+
 .SH SYNOPSIS
-.B pcw
-.RB [ \-c
-.IR command ]
-.RB [ \-v ]
-.IR dir
-
-.B cw
-.IR infile
-.IR outfile
+.SY pcw
+.OP \-c command
+.OP -v
+.I dir
+.YS
+.SY cw
+.I infile
+.I outfile
+.SY
 
 .SH OPTIONS
 .TP
-.IR " dir"
+.I dir
 the root of the directory tree to monitor (ii defaults to ~/irc)
 .TP
-.IR " infile"
-the file to monitor for changes and print to stdout
+.I infile
+the file to monitor and print changes to stdout
 .TP
-.IR " outfile"
+.I outfile
 the file to write user input to
 .TP
 .BI \-c " command"
-the command to run for each new channel, using %p %c %o and %i, defaults to "urxvt -title %p -e srw -p %c cw %o %i" which gives something along the lines of, "urxvt -title irc/irc.oftc.net/#suckless -e srw -p #suckless> irc/irc.oftc.net/#suckless/out irc/irc.oftc.net/#suckless/in
+the command to run for each new channel, replacing each of %p, %c, %o, and %i as follows, defaults to
+.br
+"urxvt -title %p -e srw -b -p %c cw %o %i"
+.P
+.RS
+.IR %p " \- path to the directory"
+.br
+.IR %c " \- channel, basename of the path (actually set to 'channel> ' to be used as prompt for srw)"
+.br
+.IR %o " \- path to the outfile"
+.br
+.IR %i " \- path to the infile"
+.RE
 .TP
-.BI \-v
-prints version information and exits
+.B \-v
+print version information and exit
 
-.SH AUTHORS
+.SH AUTHOR
 Copyright \(co 2010 by Evan Gates <evan.gates (at) gmail (dot) com>
+
 .SH SEE ALSO
+.BR ii (1),
 .BR srw (1)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.