From mteterin@250-217.customer.cloud9.net  Wed Sep  1 16:28:59 2004
Return-Path: <mteterin@250-217.customer.cloud9.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 241CE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Sep 2004 16:28:59 +0000 (GMT)
Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AF5A743D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Sep 2004 16:28:58 +0000 (GMT)
	(envelope-from mteterin@250-217.customer.cloud9.net)
Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])
	by corbulon.video-collage.com (8.12.11/8.12.11) with ESMTP id i81GSqfp097520
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 1 Sep 2004 12:28:53 -0400 (EDT)
	(envelope-from mteterin@250-217.customer.cloud9.net)
Received: from 250-217.customer.cloud9.net (mteterin@localhost [127.0.0.1])
	by 250-217.customer.cloud9.net (8.12.11/8.12.11) with ESMTP id i81GSenC059556
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 1 Sep 2004 12:28:40 -0400 (EDT)
	(envelope-from mteterin@250-217.customer.cloud9.net)
Received: (from mteterin@localhost)
	by 250-217.customer.cloud9.net (8.12.11/8.12.11/Submit) id i81GScAh059555;
	Wed, 1 Sep 2004 12:28:38 -0400 (EDT)
	(envelope-from mteterin)
Message-Id: <200409011628.i81GScAh059555@250-217.customer.cloud9.net>
Date: Wed, 1 Sep 2004 12:28:38 -0400 (EDT)
From: Mikhail Teterin <mi@aldan.algebra.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ncurses: xterm vs. cons* termtypes or sc(4)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71254
>Category:       conf
>Synopsis:       [ncurses] xterm vs. cons* termtypes or sc(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 01 16:30:38 GMT 2004
>Closed-Date:    
>Last-Modified:  Mon Jan 14 01:05:24 UTC 2008
>Originator:     Mikhail Teterin
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD mi.us.murex.com 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Jun 17 13:17:12 EDT 2004 mteterin@mi.us.murex.com:/opt/obj/misha/src/sys/Misha-g i386

>Description:
	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).

>How-To-Repeat:

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

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: rafan 
State-Changed-When: Sun Apr 29 08:08:11 UTC 2007 
State-Changed-Why:  
Dear submitter, 

Does this still occur in latest release, say 6.2-RELEASE  
or in HEAD? 

Regards, 
Rong-En Fan 


Responsible-Changed-From-To: freebsd-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sun Apr 29 08:08:11 UTC 2007 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71254 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Mon Apr 30 03:26:33 UTC 2007 
State-Changed-Why:  
Confirmed to still occur. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71254 
Responsible-Changed-From-To: rafan->freebsd-bugs 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Thu May 3 07:22:43 UTC 2007 
Responsible-Changed-Why:  
Put back into pool. There are detailed explanations on 
freebsd-bugs@ mailing by ncurses author. As he stated,  
ncurses can not fix this problem since it depends on 
many other program. However, I agree with mi@ that 
this is indeed a problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71254 
>Unformatted:
