kern/71254: ncurses: xterm vs. cons* termtypes or sc(4)

Mikhail Teterin mi at
Wed Sep 1 09:30:40 PDT 2004

>Number:         71254
>Category:       kern
>Synopsis:       ncurses: xterm vs. cons* termtypes or sc(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 16:30:38 GMT 2004
>Originator:     Mikhail Teterin
>Release:        FreeBSD 5.2-CURRENT i386
Virtual Estates, Inc.
System: FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Jun 17 13:17:12 EDT 2004 mteterin at i386

	For me the problem manifests itself, when I run top(1). There are
	some users here with long user names, which pushes COMMAND column in
	top's output to the very right -- 'D' is in the 80th position.

	This works fine in xterm, but on the consoles (cons25, cons30, etc.)
	the screen gets garbled -- an empty line is inserted between the
	column titles and the listing of processes.

	I don't think, the problem is top-specific. Either there is something
	about the cons* terminal types or the sc-console.

	Since manuall setting TERM to xterm on a console does not help, it
	is, probably, sc(4).


	Create a user with the longest name possible. Run top on the text


More information about the freebsd-bugs mailing list