[haiku-bugs] [Haiku] #9509: Improve "top" utility screen redraw

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Wed, 06 Mar 2013 08:00:21 -0000

#9509: Improve "top" utility screen redraw
---------------------------------------------+---------------------------
 Reporter:  siarzhuk                         |        Owner:  nobody
     Type:  enhancement                      |       Status:  new
 Priority:  low                              |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:  R1/alpha4.1
 Keywords:  top                              |   Blocked By:
 Blocking:                                   |  Has a Patch:  0
 Platform:  All                              |
---------------------------------------------+---------------------------
 As was already explained in haiku-development (see discussion about
 Terminal clear behaviour from 5 March 2013), Haiku version of top command-
 line utility is not perfect in information output. The problem is that
 every teams information snapshot is pushed into Terminal history instead
 of overwriting it inplace as other OS' top implementations do. The source
 of problem is Haiku Terminal implementation of the "clear all" command
 (\E[2J) - it just fill the screen with empty lines pushing old ones in the
 history.
 Possible solution can be refactoring Haiku top to use alternate screen
 buffer technique instead of normal buffer that is used in current top
 implementation. That is the way other top implementation go.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9509>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: