[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#903678: resize vs. xrandr



On Fri, Jul 13, 2018 at 06:41:18AM +0800, 積丹尼 Dan Jacobson wrote:
> Package: xterm
> Version: 333-1
> Severity: wishlist
> File: /usr/share/man/man1/resize.1.gz
> 
> Man resize does not mention what to do in the case one does in a running
> xterm:
> $ seq 222
> $ xrandr --output LVDS-1 --mode 1024x576
> $ # mention the correct resize recipe here, so that
> $ seq 222 # will show 222 at the bottom of the screen too, just like the
> first time, even thought now there are less rows.

man xterm says that's the expected (default) behavior:

       resizeGravity (class ResizeGravity)
               Affects  the behavior when the window is resized to be taller or
               shorter.  NorthWest specifies that the top line of text  on  the
               screen  stay  fixed.   If  the window is made shorter, lines are
               dropped from the bottom; if the window  is  made  taller,  blank
               lines  are  added  at  the  bottom.  This is compatible with the
               behavior in X11R4.  SouthWest (the default) specifies  that  the
               bottom  line of text on the screen stay fixed.  If the window is
               made taller, additional saved lines will be scrolled  down  onto
               the  screen;  if  the  window  is  made  shorter,  lines will be
               scrolled off the top of the screen, and the top saved lines will
               be dropped.

i.e., "SouthWest (the default) specifies that the bottom line of text on the
screen stay fixed."

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


Reply to: