diff options
author | sabetts <sabetts> | 2003-02-10 13:58:04 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-02-10 13:58:04 +0000 |
commit | 4cacfe9c7bf4fea269a7f99879bc3f1e6ea9d45b (patch) | |
tree | 7bfe9a98ffb8f72267bfaf32d670dda6edc443b5 | |
parent | 8a2994e78d00efda379242387d955a42afc10330 (diff) | |
download | ratpoison-4cacfe9c7bf4fea269a7f99879bc3f1e6ea9d45b.zip |
*** empty log message ***
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | doc/ratpoison.texi | 19 |
2 files changed, 23 insertions, 0 deletions
@@ -1,6 +1,10 @@ ratpoison NEWS --- history of user-visible changes. -*- outline -*- * Changes since 1.1.1 +** New commands 'resize', 'shrink' +resize resizes a frame and shrink shrinks a frame to the size of the +window in it. + ** Shell command exit status When a shell command fails to execute then a message is reported in ratpoison: "Command not found." diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index f5618d3..c5749a1 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -456,6 +456,10 @@ Set the padding around the edge of the screen. When called non-interactively with no arguments, the current setting is returned. +@item defresizeunit @var{pixels} +Set the number of pixels a frame will grow or shrink by when being +dynamically resized. + @item deftransgravity @var{g} Set the default alignment for transient windows. See the @command{gravity} command. @@ -640,6 +644,16 @@ Redisplay the current window, just like @kbd{C-t l} would do. @item remove Kill the current frame. This is a no-op if there is only one frame. +@item resize @var{horizontal} @var{vertical} +Resize the current frame by @var{horizontal} pixels horizontally, and +@var{vertical} pixels vertically. If no arguments are given and the +command is called interactively, ratpoison will let the user +dynamically resize the frame using @kbd{C-p} to shrink vertically, +@kbd{C-n} to grow vertically, @kbd{C-b} to shrink horizontally, +@kbd{C-f} to grow horizontally, and @kbd{s} to shrink the frame to the +size of the window (See the @command{shrink} command). When you have +resized the frame to your liking, press @kbd{Return} to finish. + @item restart Restart ratpoison. @@ -694,6 +708,11 @@ Go to a window by name. A shortcut is @kbd{C-t '}. @item setenv @var{env} @var{value} Set the environment variable @var{env} to @var{value} +@item shrink +If a window has resize increment hints, such as xterms, the window may +not be able to take up the whole frame. In this case, use this command +to suck the frame up to the to window, reclaiming any wasted space. + @item source @var{file} Read a text file containing ratpoison commands. |