Commits

Anonymous committed c38b935

update config.def.h to reflect cw argument changes

  • Participants
  • Parent commits b83b271

Comments (0)

Files changed (1)

 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", out, in, NULL };
+	char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", in, NULL };
 
 	snprintf(prompt, sizeof(prompt), "%s> ", channel);
 
 
 /*
  * The default command
- * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, NULL };
+ * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", 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", out, in, NULL };
+ * char *cmd[] = { "urxvt", "-title", path, "-e", "cw", "-i", out, "-o", 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,
  * 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 try one of these. Read the man page
- * to understand the margin argument, 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", "|>!", "-n", nick, NULL };
- * char *cmd[] = { "urxvt", "-title", path, "-e", "srw", "-p", prompt, "cw", out, in, "|>!", NULL };
+ * 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", out, in, NULL };
+ * char *cmd[] = { "urxvt", "-embed", getenv("pcw_window_id"), "-title", path, "-e", "srw", "-p", prompt, "cw", "-i", out, "-o", 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.
- * NOTE: alpha quality
+ * NOTE: alpha quality, more of a proof of concept, have fun with it
  * char *cmd[] = { "pcw_notify.sh", path, nick, NULL };
  */