Anonymous avatar Anonymous committed f8cfb4b

add to README and man page that by default pcw depends on srw

Comments (0)

Files changed (2)

 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.  It's used to wrap cw with better line editing
+
 Installation
 ------------
 Edit config.mk to match your local setup. pcw is installed into
 
 .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
+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
 .SH OPTIONS
 .TP
 .IR " dir"
-the root of the directory tree you want to monitor (ii defaults to ~/irc)
+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
 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 you 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, 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
 .TP
 .BI \-v
 prints version information and exits
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.