summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-11-18 05:06:35 +0000
committersabetts <sabetts>2003-11-18 05:06:35 +0000
commitcf7ad617d4ce46c6bac6ac28e5323ab53e3ef17b (patch)
tree93a685a928d7ac7ae2960bf7441415f597ff6090 /doc
parent5c658d8011fd459418a94e3524df0a72e08cd11b (diff)
downloadratpoison-cf7ad617d4ce46c6bac6ac28e5323ab53e3ef17b.zip
* contrib/rpshowall.sh: store ratpoison binary location in
RATPOISON env var. * src/ratpoison.h (FD_CLOEXEC): new define (set_close_on_exec): new prototype * src/main.c (ratpoison_longopts): add "interactive" option. (ratpoison_opts): likewise (print_help): print a help line for interactive option. (set_close_on_exec): new function (read_startup_files): call set_close_on_exec on file pointer (main): parse interactive command line option and pass it to send_command. * src/events.c (execute_remote_command): pass the interactive bit to command. * src/communications.c (send_command): send an interactive bit at the beginning of the message. Take an interactive argument. All callers updated. Prototype updated. * src/actions.c (cmd_source): call set_close_on_exec on file pointer.
Diffstat (limited to 'doc')
-rw-r--r--doc/ratpoison.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index 7d7eec4..6f22aff 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -1248,6 +1248,10 @@ $ ratpoison -c split -c split
Here ratpoison would split the current frame twice.
+@item -i, --interactive
+Force ratpoison to execute commands in interactive mode. This is used
+in conjuction with the @option{-c} option.
+
@end table
@node Startup file, Command Index, Command Line Arguments, Top