Anonymous avatar Anonymous committed 73ad825

more comments in config.def.h

Comments (0)

Files changed (1)

  * the channel name, 'out' for the out file and 'in' for the in fifo. If you
  * want to do something more complicated, write a script to put in your path and
  * execute (as with cw_color.sh), or hack away in here.
+ *
+ * These are just a few examples, and I trust that you can figure out how to do
+ * other stuff. Of note, pcw decides when to run the command based on the
+ * 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.
  */
 
 void win_cmd(char *path, char *channel, char *out, char *in, char *nick)
  * default...
  * char *cmd[] = { "urxvt", "-title", path, "-e", "cw", out, in, NULL };
  *
- *
  * Use this if you want colors and bell on your nick. You can first edit
  * cw_color.sh to change the nick if you don't want to use -n nick every time,
  * then place it in your path. It is not installed by default.
  * If you want the lines to wrap back to the end of the nicks instead of all
  * the way to the beginning of the terminal try one of these. Read the man page
  * to understand the margin argument, but in short it should be '>' for default
- * ii and '|' with my patch
+ * ii and '|' with the emg patch
  * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw_color.sh", "-i", out, "-o", in, "-m", ">", "-n", nick, NULL };
  * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw_color.sh", "-i", out, "-o", in, "-m", "|", "-n", nick, NULL };
  * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, ">", NULL };
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.