pcw / pcw.1

pcw \- popup chat window

.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.
By default pcw depends on srw to wrap cw for better line editing, but this can be changed by editing config.h before compiling.

.B cw
monitors a file and writes 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.

.SY pcw
.OP -v
.I dir
.SY cw
.I infile
.I outfile

.I dir
the root of the directory tree to monitor (ii defaults to ~/irc)
.I infile
the file to monitor and print changes to stdout
.I outfile
the file to write user input to
.B \-v
print version information and exit

when cw receives SIGWINCH it clears the screen and reprints the infile (useful with srw, hit C\-l if the terminal cuts off text after being resized)

Copyright \(co 2010 by Evan Gates <evan.gates (at) gmail (dot) com>

.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.