From 1320a80e669c272c80f50e670684b1b689dcf4b2 Mon Sep 17 00:00:00 2001 From: sabetts Date: Fri, 18 Oct 2002 09:03:42 +0000 Subject: * src/actions.c (read_split): a negative number means subtract the pixels from the frame's current size to get the new frame's size. --- doc/ratpoison.texi | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index c3371eb..3285f64 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -683,11 +683,17 @@ Set the environment variable @var{env} to @var{value} @item source @var{file} Read a text file containing ratpoison commands. -@item split -@item hsplit -Split the current window horizontally in two. The last accessed window +@item split @var{n} +@item hsplit @var{n} +Split the current window horizontally. The last accessed window not occupying a frame will be the second window. +@var{n} is either a ratio of the form @code{x/y} or a number. If it is +a ratio then the two frames are sized according to the ratio. If it is +a pixel, the original frame is resized to that many pixels. If @var{n} +has a minus sign before it, then the new frame will be that many +pixels. + @item startup_message @var{state} Turn on or off the startup_message. This is most useful in your .ratpoisonrc file. @var{state} can be @code{on} or @code{off}. @@ -706,10 +712,16 @@ Clear the value of the environment variable, @var{env}. @item version Print ratpoison version. By default, this is bound to @kbd{C-t v}. -@item vsplit -Split the current window vertically in two. The last accessed window not +@item vsplit @var{n} +Split the current window vertically. The last accessed window not occupying a frame will be the second window. +@var{n} is either a ratio of the form @code{x/y} or a number. If it is +a ratio then the two frames are sized according to the ratio. If it is +a pixel, the original frame is resized to that many pixels. If @var{n} +has a minus sign before it, then the new frame will be that many +pixels. + @item windows @var{fmt} This displays the Program Bar which displays the windows you currently have running. The number before each window name is used to jump to -- cgit v1.2.3