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

Re: top and window resizing



Message from Helmut Geyer (Helmut.Geyer@IWR.Uni-Heidelberg.De) on 6-4-97:
> Sam Ockman <ockman@cs.stanford.edu> wrote (in the thread on ncurses):
> 
> >: Now that I think about it, the program "top" is another offender that it
> >: would be nice to figure out someway to make it so the xterm-window can
> >: resize it.)
> 
> Well, it surely works for me (I wrote most of the currently used code
> in top). top does a resize when it gets a SIGWINCH, which is what
> xterm should send to it via the shell.
> Could you please specify your problems? 

Sure...

Start with an 80x24 xterm...

Run top...everything works fine...

Grab corner...expand to 80x32...everything still works...number of lines
shown expands...

Grab corner...expand to 90x32....length of lines shown stays 80 (but
note...if I restart and expand from 80 to 90 as my first operation, the
line expands on any subsequent expansion of xterm, line lengths stay the
same...)

Go from 90x32 to 90x25...works okay...

Expand back to 90x32....first shows a few lines from scroll back buffer,
then redraws and shows 25 lines only.

Anyone else able to reproduce this behavior?

top -v says procps version 1.11

dpkg -l on procps says 1.11.6

Thanks,
Sam

-- 
VA Research Linux Workstations        |  The World's Best Linux Workstations
                                      |	          Featuring RedHat
http://www.varesearch.com             |  Now offering VarStation II Systems
Sam Ockman - (415)934-3666, ext. 133  |     Based on the Intel Pentium II


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: