summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-09-27 01:00:45 +0000
committersabetts <sabetts>2006-09-27 01:00:45 +0000
commitb80a2d14bf72a4758eca46156a7c3ad606473bb7 (patch)
tree7a86b490490b7c947d331c02e618c07d5239db18 /doc
parentad859c2d9b0f19ff55ea016d23a97853ef99b89e (diff)
downloadratpoison-b80a2d14bf72a4758eca46156a7c3ad606473bb7.zip
*** empty log message ***
Diffstat (limited to 'doc')
-rw-r--r--doc/ratpoison.128
-rw-r--r--doc/ratpoison.texi39
2 files changed, 64 insertions, 3 deletions
diff --git a/doc/ratpoison.1 b/doc/ratpoison.1
index 98dc999..ab2f234 100644
--- a/doc/ratpoison.1
+++ b/doc/ratpoison.1
@@ -1,4 +1,4 @@
-.TH RATPOISON 1 2005-01-28
+.TH RATPOISON 1 2006-06-07
\# This man page is free software; you can redistribute it and/or modify
\# it under the terms of the GNU General Public License as published by
\# the Free Software Foundation; either version 2, or (at your option)
@@ -143,6 +143,9 @@ running as window manager for the given display/screen for
this to work.
Do not forget to quote the command if it contains
spaces.
+For example:
+.br
+\fBratpoison \-c "echo hallo world"\fP
.SH KEY BINDINGS
To avoid conflicts with other programs, all default ratpoison
key bindings start with an escape key, per default
@@ -199,8 +202,10 @@ is called.
Possible events are:
.ta 10
.br
+\fBdeletewindow\fP Run after a window is withdrawn.
+.br
\fBkey\fP Run whenever a top level key is pressed.
-(by default \fBC-t\fP)
+(by default \fBC\-t\fP)
.br
\fBquit\fP Run before exiting ratpoison.
.br
@@ -293,8 +298,25 @@ to \fIkey\fP without modifiers or \fBC\-\fP\fIkey\fP if \fIkey\fP
has no modifiers.
(If \fBset topkmap\fP was called with an argument other than \fBtop\fP
that will be used instead of \fBtop\fP.)
+.cmd exchangedown ( C\-t C\-Down )
+Exchange the window in the current frame with the window in the frame below the current frame.
+.cmd exchangeleft ( C\-t C\-Left )
+Exchange the window in the current frame with the window in the frame left of the current frame.
+.cmd exchangeright ( C\-t C\-Right )
+Exchange the window in the current frame with the window in the frame right of the current frame.
+.cmd exchangeup ( C\-t C\-Up )
+Exchange the window in the current frame with the window in the frame above the current frame.
.cmd exec shell\-command ( C\-t ! )
Spawn a shell executing \fIshell\-command\fP.
+.cmd execa shell\-command
+Spawn a shell executing \fIshell\-command\fP, without remembering
+the current frame, so that _NET_WM_PID declaring programs will be
+placed into the frame active when they open a window instead of
+the frame active when ratpoison gets this command.
+.cmd execf frame shell\-command
+Spawn a shell executing \fIshell\-command\fP, showing _NET_WM_PID
+supporting programs in the given frame instead of the frame selected
+when this program is run.
.cmd fdump [ screenno ]
Output the defining data for all frames of the current screen, or
for screen number \fIscreenno\fP if this is specified.
@@ -459,7 +481,7 @@ To show it is waiting for a key, ratpoison will change the
rat cursor to a square if \fBwaitcursor\fP is set.
This command is perhaps best described with its usage in the default
-configuration: By pressing \fBC-t\fP, which is the only key in the keymap
+configuration: By pressing \fBC\-t\fP, which is the only key in the keymap
\fBtop\fP, the command "\fBreadkey root\fP" is executed. The next key
then executes the command in keymap \fBroot\fP belonging to this command.
.cmd redisplay ( C\-t l )
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index f0579b2..adc013f 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -1196,6 +1196,18 @@ Move to the frame right of the current frame.
@item C-t Up
Move to the frame above the current frame.
+@item C-t C-Down
+Exchange the window in the current frame with the window in the frame below it.
+
+@item C-t C-Left
+Exchange the window in the current frame with the window in the frame to the left of it.
+
+@item C-t C-Right
+Exchange the window in the current frame with the window in the frame to the rigth of it.
+
+@item C-t C-Up
+Exchange the window in the current frame with the window in the frame above it.
+
@end table
@node Hooks, The Status Bar, Keystrokes, Top
@@ -1435,10 +1447,37 @@ Set the prefix to @var{key}. For example @samp{escape C-b} sets the
prefix key to @key{C-b}.
@end deffn
+@deffn Command exchangedown
+Exchange the current frame with the one below it.
+@end deffn
+
+@deffn Command exchangeleft
+Exchange the current frame with the one to the left of it.
+@end deffn
+
+@deffn Command exchangeright
+Exchange the current frame with the one to the right of it.
+@end deffn
+
+@deffn Command exchangeup
+Exchange the current frame with the one above it.
+@end deffn
+
@deffn Command exec @var{command}
Execute a shell command. By default, @kbd{C-t !} does this.
@end deffn
+@deffn Command execa @var{command}
+Execute a shell command but don't record which frame it was executed
+from. The client's windows will pop up in whatever frame is current.
+@end deffn
+
+@deffn Command execf @var{command} @var{frame}
+Execute a shell command and choose which frame the client's first
+window will open in. The client must be netwm compliant for this to
+work.
+@end deffn
+
@deffn Command getenv @var{env}
Display the value of the environment variable, @var{env}.
@end deffn