Commits

Anonymous committed ed7ccf3

change man page and config.def.h to reflect changes

  • Participants
  • Parent commits f09b27b

Comments (0)

Files changed (2)

File config.def.h

 void win_cmd(char *path, char *channel, char *out, char *in, char *nick)
 {
 	char prompt[32]; // sizeof(channel)
-	char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", in, NULL };
+	char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, NULL };
 
 	snprintf(prompt, sizeof(prompt), "%s> ", channel);
 
 
 /*
  * The default command
- * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", in, NULL };
+ * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, NULL };
  *
  * Use this if for some reason you really don't want to use srw, it's not
  * necessary, but it makes everything much nicer, there's a reason, it's the
  * default...
- * char *cmd[] = { "urxvt", "-title", path, "-e", "cw", "-i", out, "-o", in, NULL };
+ * 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.
+ * Use this if you want colors, bell on your nick, right aligned nicks, and
+ * better line wrapping.  Place cw_color.sh somehwere in your path, and if you
+ * want change the default NICK in it
  * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw_color.sh", "-i", out, "-o", in, "-n", nick, NULL };
  *
- * 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 and you don't want to print the
- * date, try one of these. Read the man page to understand the arguments to cw
- * and cw_color.sh these are set up to work with both stock ii and the emg patch
- * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw_color.sh", "-i", out, "-o", in, "-m", "|>!", "-d", " ", "-f", "2", "-n", nick, NULL };
- * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", in, "|>!", "-d", " ", "-f", "2", NULL };
- *
  * Use this if you want to use tabbed (http://tools.suckless.org/tabbed) so
  * that each new channel is it's own tab. Start tabbed with -d, then export the
  * window id as pcw_window_id, then start pcw. It would be fairly simple to do
  * all three steps in a script, have fun! (and you can add the color too if you
  * want)
- * char *cmd[] = { "urxvt", "-embed", getenv("pcw_window_id"), "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", in, NULL };
+ * char *cmd[] = { "urxvt", "-embed", getenv("pcw_window_id"), "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, NULL };
  *
  * Try this command to write notifications to dzen. Clickin on a specific
  * notification in dzen will then spawn a terminal for you on that channel.
 .I dir
 .YS
 .SY cw
-.BI \-i " infile"
-.BI \-o " outfile"
-.OP \-d delim
-.OP \-f field
-.OP \-m margin
+.I infile
+.I outfile
 .SY
 
 .SH OPTIONS
 .I dir
 the root of the directory tree to monitor (ii defaults to ~/irc)
 .TP
-.BI \-d " delim"
-a string containing all characters to use as delimiters when deciding which field to start printing
-.TP
-.BI \-f " field"
-a number representing which field to start printing at (0 and 1 both mean the first)
-.TP
-.BI \-i " infile"
+.I infile
 the file to monitor and print changes to stdout
 .TP
-.BI \-m " margin"
-a string of the characters used to decide where to wrap (try '>!' for default ii, '|!' with the emg patch)
+.I outfile
+the file to write user input to
 .TP
 .BI \-n " nick"
 set the nickname for use with the external command
 .TP
-.BI \-o " outfile"
-the file to write user input to
-.TP
 .B \-v
 print version information and exit