pcw / pcw.1

Evan Gates aa84127 






































Evan Gates 40154d1 
Evan Gates aa84127 













.TH PCW 1 pcw-VERSION
.SH NAME
pcw \- popup chat window

.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

.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.
.SH SYNOPSIS
.B pcw
.RB [ \-t
.IR terminal ]
.RB [ \-v ]
.IR dir

.B cw
.RB [ \-c|\-f ]
.RB [ \-q ]
.RB [ \-v ]
.IR infile
.IR outfile

.SH OPTIONS
.TP
.IR " dir"
the root of the directory tree you want to monitor (ii defaults to ~/irc)
.TP
.IR " infile"
the file to monitor for changes and print to stdout
.TP
.IR " outfile"
the file to write user input to
.TP
.BI \-t " terminal"
the terminal program to use (defaults to urxvt) (assumes -title and -e flags)
.TP
.BI \-c
if infile or outfile don't exist create them
.TP
.BI \-f
if infile or outfile don't exist create them as fifos (pcw does this, when a user messages you ii creates the out file but doesn't create the in fifo until you explicitly '/j user msg' so we create the fifo and wait for ii to connect to it when you '/j user msg')
.TP
.BI \-q
quiet, don't print the "opening file" and "new text starts here" messages on stderr
.TP
.BI \-v
prints version information and exits

.SH AUTHORS
Copyright \(co 2010 by Evan Gates <evan.gates (at) gmail (dot) com>
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.