From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 16:30:40 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0937C16A4CE for ; Wed, 1 Sep 2004 16:30:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D303B43D3F for ; Wed, 1 Sep 2004 16:30:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i81GUdhp072112 for ; Wed, 1 Sep 2004 16:30:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i81GUdIF072111; Wed, 1 Sep 2004 16:30:39 GMT (envelope-from gnats) Resent-Date: Wed, 1 Sep 2004 16:30:39 GMT Resent-Message-Id: <200409011630.i81GUdIF072111@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 241CE16A4CE for ; 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 ; 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])i81GSqfp097520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; 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]) i81GSenC059556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Sep 2004 12:28:40 -0400 (EDT) (envelope-from mteterin@250-217.customer.cloud9.net) Received: (from mteterin@localhost)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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/71254: ncurses: xterm vs. cons* termtypes or sc(4) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 16:30:40 -0000 >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 >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: >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: >Unformatted: