NetBSD Problem Report #53798

From www@NetBSD.org  Mon Dec 17 17:55:05 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3EE877A0AE
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 17 Dec 2018 17:55:05 +0000 (UTC)
Message-Id: <20181217175504.2D3C67A1FE@mollari.NetBSD.org>
Date: Mon, 17 Dec 2018 17:55:04 +0000 (UTC)
From: scole_mail@gmx.com
Reply-To: scole_mail@gmx.com
To: gnats-bugs@NetBSD.org
Subject: tcsh and wsvt25 login issue
X-Send-Pr-Version: www-1.0

>Number:         53798
>Category:       misc
>Synopsis:       tcsh and wsvt25 login issue
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 18:00:00 +0000 2018
>Last-Modified:  Thu Dec 20 00:50:00 +0000 2018
>Originator:     scole_mail
>Release:        8.0 pkgsrc-2018Q3
>Organization:
none
>Environment:
NetBSD dstar 8.0_STABLE NetBSD 8.0_STABLE (GENERIC) #0: Fri Nov 30 13:53:15 PST 2018  scole@dstar:/home/scole/nbsd/cvs/8_0/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When I login with tcsh and a terminal that is wsvt25, the cursor
always jumps to line 28.  My console has about 66 lines with the
GENERIC kernel and some nvidia card.

The other shells I tried (sh/csh/bash) work as expected, just drawing
on the next lines.  I believe my /etc/ttys is more or less the i386
default with ttyE1/ttyE2/ttyE3 turned on.  The "console" which is set to
vt100 works as expected.

I understand I could change all ttys to vt100 or vt220, but it would
be nice if tcsh behaved the same as other shells.

I'm using standalone-tcsh-6.20.00nb2 tcsh and my /etc/ttys:

#
#       from: @(#)ttys  5.1 (Berkeley) 4/17/89
#       $NetBSD: ttys,v 1.20 2012/06/13 20:49:13 martin Exp $
#
# name  getty                           type    status          comments
#
console "/usr/libexec/getty Pc"         vt100   on secure
constty "/usr/libexec/getty Pc"         vt100   off secure
ttyE0   "/usr/libexec/getty Pc"         wsvt25  off secure
ttyE1   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE2   "/usr/libexec/getty Pc"         wsvt25  on secure
ttyE3   "/usr/libexec/getty Pc"         wsvt25  on secure

>How-To-Repeat:
login with tcsh to a wsvt25 console terminal (with more than 25 lines?)
>Fix:

>Audit-Trail:
From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/53798: tcsh and wsvt25 login issue
Date: Thu, 20 Dec 2018 03:48:55 +0300

 tcsh doesn't use editline or curses and implements its own line
 editing functionality, so this probably should be either a pkgsrc PR
 or a bug directly against tcsh.

 -uwe

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.