Anonymous avatar Anonymous committed dd65cff

general cleanup

Comments (0)

Files changed (2)

  * status of the last command it ran for a given 'path'. If the child is still
  * alive it will not run the command again (helpful for open terminals). This
  * does mean however that some ideas won't work out of the box, for instance
- * using urxvtc or screen.
+ * using urxvtc or screen. You should be able to add some static variables to
+ * win_cmd() though and keep track for yourself. Just make sure to exit() if
+ * you don't exec() as win_cmd() is being run as a child from pcw's fork()
  */
 
 void win_cmd(char *path, char *channel, char *out, char *in, char *nick)
 the file to write user input to
 .TP
 .B margin
-the character used to decide where to wrap (try '>' for default ii, '|' with the nickalign patch)
+the character used to decide where to wrap (try '>' for default ii, '|' with the emg patch)
 .TP
 .BI \-n " nick"
 set the nickname for use with the external command
 
 .SH NOTES
 .TP
-pcw will initially open a terminal for each channel you are in
+pcw will initially run the command for each channel you are in
 .TP
-when pcw receives SIGUSR1 it opens a terminal for each channel you are in that does not currently have an open terminal
+when pcw receives SIGUSR1 it runs the command for each channel you are in that does not currently have a running command
 .TP
 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)
 
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.