
This is not an xmonad question per-se, but... In using xmonad my xterms get shrunken and expanded much more often than with a regular window manager. When this happens how do I prevent them from losing the text that was hidden by the shrinking? Is there some sort of config option - or should I be using an alternative terminal? Tim

timd:
This is not an xmonad question per-se, but...
In using xmonad my xterms get shrunken and expanded much more often than with a regular window manager. When this happens how do I prevent them from losing the text that was hidden by the shrinking? Is there some
losing text? does refresh help (^L)
sort of config option - or should I be using an alternative terminal?
I use xterm, and it seems to work fairly well, 'cept that it sometimes doesn't know its been resized. You're using a modern xterm? -- Don

losing text: If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace. ^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed to. timd@tcc15:~/src/xmonad$ xterm -version XTerm(222) Don't know if that's modern or not. The distribution is reasonably up to date, however. -----Original Message----- From: Donald Bruce Stewart [mailto:dons@cse.unsw.edu.au] Sent: Thursday, 24 May 2007 11:45 AM To: Tim Docker Cc: xmonad@haskell.org Subject: Re: [Xmonad] resizeing xterms timd:
This is not an xmonad question per-se, but...
In using xmonad my xterms get shrunken and expanded much more often than with a regular window manager. When this happens how do I prevent
them from losing the text that was hidden by the shrinking? Is there some
losing text? does refresh help (^L)
sort of config option - or should I be using an alternative terminal?
I use xterm, and it seems to work fairly well, 'cept that it sometimes doesn't know its been resized. You're using a modern xterm? -- Don

timd:
losing text:
If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace.
^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed to.
ah, I see. xterm's ^L clears :/ some apps are smarter and repaint. Maybe people can recommend another terminal more friendly to resizing? -- Don

gnome-terminal seems to work ok, I just assumed that xterm would also, given it was in the xmonad default config. Thanks -----Original Message----- From: Donald Bruce Stewart [mailto:dons@cse.unsw.edu.au] Sent: Thursday, 24 May 2007 11:59 AM To: Tim Docker Cc: xmonad@haskell.org Subject: Re: [Xmonad] resizeing xterms timd:
losing text:
If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace.
^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed
to.
ah, I see. xterm's ^L clears :/ some apps are smarter and repaint. Maybe people can recommend another terminal more friendly to resizing? -- Don

On Wed, May 23, 2007 at 07:29:18PM -0700, brad clawsie wrote:
On Thu, May 24, 2007 at 11:59:24AM +1000, Donald Bruce Stewart wrote:
Maybe people can recommend another terminal more friendly to resizing?
try urxvt
Seconded. I started using this when I tried out dwm for exactly these reasons. Then I went back to wmii where it wasn't an issue, but carried on with urxvt because I liked it. Now I'm using xmonad, I'm glad of that. :-) -Andy -- Andy Gimblett Computer Science Department University of Wales Swansea http://www.cs.swan.ac.uk/~csandy/

24.05.2007 в 11:59:24 +1000 Donald Bruce Stewart написал:
timd:
losing text:
If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace.
^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed to.
ah, I see. xterm's ^L clears :/ some apps are smarter and repaint.
Maybe people can recommend another terminal more friendly to resizing?
rxvt-unicode rewraps lines on resizing. And it does not seem to have http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347308.

stepan:
24.05.2007 ? 11:59:24 +1000 Donald Bruce Stewart ???????:
timd:
losing text:
If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace.
^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed to.
ah, I see. xterm's ^L clears :/ some apps are smarter and repaint.
Maybe people can recommend another terminal more friendly to resizing?
rxvt-unicode rewraps lines on resizing. And it does not seem to have http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347308.
I've summarised this thread, and the recommendation to use urxvt/rxvt-unicode on the faq page on xmonad.org. Thanks guys -- Don

Hi Tim, I had the same problem with (Gentoo's) xterm, under larswm. Now, my xterm almost never changes size (my left-hand 'track' in larswm is almost always the same size). So I set the larswm 'tile_resize' property to False, which apparently does not send a resize to a window when re-tiling. And if larswm must show it in a smaller space, it just shows the available top-left part of that window. It might be useful to have this kind of property in xmonad, somehow. Groetjes, <>< Marnix -- Marnix Klooster | Software Engineer, ERP LN Enterprise Server | Infor | (+31 or 0)342-428511 | marnix.klooster@infor.com | Infor Global Solutions (Barneveld) BV | P.O. box 143 | 3770 AC Barneveld | The Netherlands
-----Original Message----- From: xmonad-bounces@haskell.org [mailto:xmonad-bounces@haskell.org] On Behalf Of Tim Docker Sent: Thursday, 24 May, 2007 3:58 To: Donald Bruce Stewart Cc: xmonad@haskell.org Subject: RE: [Xmonad] resizeing xterms
losing text:
If I make the window narrower (via xmonad meta-h), the text on the right hand side is hidden When I make it wider (meta-l), the hidden text doesn't return, I just see whitespace.
^L clears the screen, and if I shift-pgup to scroll backwards, the entire line history has been truncated at the minimum width I narrowed to.
timd@tcc15:~/src/xmonad$ xterm -version XTerm(222)
Don't know if that's modern or not. The distribution is reasonably up to date, however.
-----Original Message----- From: Donald Bruce Stewart [mailto:dons@cse.unsw.edu.au] Sent: Thursday, 24 May 2007 11:45 AM To: Tim Docker Cc: xmonad@haskell.org Subject: Re: [Xmonad] resizeing xterms
timd:
This is not an xmonad question per-se, but...
In using xmonad my xterms get shrunken and expanded much more often than with a regular window manager. When this happens how do I prevent
them from losing the text that was hidden by the shrinking? Is there some
losing text? does refresh help (^L)
sort of config option - or should I be using an alternative terminal?
I use xterm, and it seems to work fairly well, 'cept that it sometimes doesn't know its been resized. You're using a modern xterm?
-- Don _______________________________________________ Xmonad mailing list Xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (6)
-
Andy Gimblett
-
brad clawsie
-
dons@cse.unsw.edu.au
-
Marnix Klooster
-
Stepan Golosunov
-
Tim Docker