Subject: bin/12304: top(1) output garbled if header line(s) wider than terminal
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mkb@mukappabeta.de>
List: netbsd-bugs
Date: 03/01/2001 00:56:40
>Number:         12304
>Category:       bin
>Synopsis:       top(1) output garbled if header line(s) wider than terminal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 28 16:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Buelow
>Release:        1.5
>Organization:

mkb
>Environment:
	
System: NetBSD moghedien.mayn.de 1.5 NetBSD 1.5 (MOGGY) #0: Sat Dec 30 10:22:40 CET 2000 mkb@moghedien:/usr/src/sys/arch/vax/compile/MOGGY vax


>Description:

if one of the top header info lines is wider than the terminal (80 characters
here), the title header line of the processes list becomes interspersed
with the first processes line, resulting in visually garbled output:


Memory: 8720K Act, 1836K Inact, 244K Wired, 5248K Free, 2840K Swap, 94M Swap fre
e

  PID USERNAME P55 NICE   SIZE   RES run       TI42 30.03% 30.03U COMMAND


there seems to be a general problem with top output lines which are wider
than the terminal.  if I run top in a resized xterm with less columns than
any of the header lines, the lines will get wrapped around and corrupt
any following header lines aswell.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: