Next: Input, Previous: Using Other Window Managers, Up: Top
The following is a list of commands that don't fit in any existing chapters.
This is a pretty useless command. By default, it is bound to C-t g and its purpose is to abort the current chain of keystrokes (just like C-g in `Emacs').
Allows you to name a ratpoison command something else. For instance, if you frequently open emacs you may want to make an alias called `emacs' that loads emacs. You would do it like this:
alias emacs exec emacsAn alias is treated exactly like a colon command in that you can call it from the colon prompt, bind it to a key, and call it non-interactively with ratpoison -c.
Banish the rat cursor to the lower right corner of the curren window. If there isn't a window in the current frame, it banishes the rat cursor to the lower right corner of the frame.
Set the padding around the edge of the screen.
When called with no arguments, the current setting is returned.
Set whether the rat cursor should change into a square when waiting for a key. A non-zero number means change the cursor. Zero means don't change the cursor.
When called with no arguments, the current setting is returned.
Set how many lines of history should be recorded.
When called with no arguments, the current setting is returned.
Set whether to remove multiple equal lines from history, even if not adjacent.
When called with no arguments, the current setting is returned.
Set whether to expand ! using readline's libhistory in input.
When called with no arguments, the current setting is returned.
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.
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.
key is an optional argument. When key is omitted, send a C-t to the current window. Otherwise, send the key described by key to the current window. Note that some applications by default ignore the synthetic key that is sent using this command as it is considered a security hole. xterm is one such application.
For example, if your `Emacs' window is focused,
meta M-xWould cause emacs to prompt for an extended command.
This command is only useful when called non-interactively. prompt prompts the user for input using prompt and returns the input.
Display the x y coordinates of the rat cursor relative to the current window or current frame if no window is focused.
Warp the rat to the specified location relative to the current rat position.
click the rat button down if state is `down' or release the button if state is `up'.
Extend the current window to the whole size of its current frame and redisplay it. This can be used to:
- redisplay normal windows or bring transient windows to the full size of the frame as only normal windows are maximized by ratpoison.
- fix xterms that didn't catch ratpoison's initial maximize event.
Set the value of a ratpoison variable.
Here is a list of variables that can be set:
- framesels
- winliststyle
- barpadding
- bgcolor
- fgcolor
- winname
- winfmt
- waitcursor
- inputwidth
- barborder
- border
- padding
- font
- bargravity
- maxsizegravity
- transgravity
- wingravity
- maxundos
- resizeunit
- historysize
- historycompaction
- historyexpansion
- msgwait
- framemsgwait
- startupmessage
- warp
When called interactively prompt for a frame and swap its window with the window in the current frame. An optional second argument allows swapping of windows between arbitrary frames.