Re: Bad behaviour in xterm after resizing.

2005-07-18 Thread Thomas Dickey
On Mon, Jul 18, 2005 at 06:56:13PM +0200, David Martínez Moreno wrote:
> Hello, Thomas.  I was testing some bug reports and I experienced a very
> strange thing, mostly cosmetic.  I'm not an xterm user, so I have no
> preferences, as far as I know.
> 
> To test:  Launch xterm, and resize its width to less than the prompt string. 
> Then xterm stacks the current text in the visible window.  The stacking is
> not right here, because every column I remove, another row appears with
> partial content.

xterm doesn't redraw the window as it resizes.  Shrinking the window causes
xterm to reallocate memory.  Growing the window, xterm reallocates memory
and fills the new cells with blanks.

Some applications redraw the window - "screen" for instance.  I've seen
some comments that indicate bash may redraw its prompt in this case too.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpG2a48M94LH.pgp
Description: PGP signature


Bad behaviour in xterm after resizing.

2005-07-18 Thread David Martínez Moreno
Hello, Thomas. I was testing some bug reports and I experienced a very 
strange thing, mostly cosmetic. I'm not an xterm user, so I have no 
preferences, as far as I know.

To test: Launch xterm, and resize its width to less than the prompt 
string. 
Then xterm stacks the current text in the visible window. The stacking is not 
right here, because every column I remove, another row appears with partial 
content.

Then you enlarge xterm. A lot of partial lines have appeared. Where no 
buffer 
existed, now I can scroll up and down by my partial prompts.

I attach an image of the two things.

xterm version 6.8.2.dfsg.1-2 (I think that carries xterm patchset #200).

Best regards,


Ender.
-- 
I find your lack of faith disturbing.
-- Darth Vader (Star Wars).
--
Debian developer


01-xterm_reduced.png
Description: PNG image


02-xterm_enlarged.png
Description: PNG image


pgpLr2OyyBFK0.pgp
Description: PGP signature