NetBSD Problem Report #756
From gnats Fri Jan 27 12:19:36 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id MAA28703 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 27 Jan 1995 12:19:30 -0800
Message-Id: <199501271956.LAA14535@rocky.cedar.wa.com>
Date: Fri, 27 Jan 1995 11:56:14 -0800
From: Jeff Scofield <cedar!jeff@beaver.cs.washington.edu>
To: gnats-bugs@netbsd.org
Cc: jeff@beaver.cs.washington.edu
Subject: Minor nvi problem
X-Send-Pr-Version: 3.2
>Number: 756
>Category: bin
>Synopsis: nvi screen corruption
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 27 12:20:01 +0000 1995
>Closed-Date: Tue May 21 22:34:06 +0000 1996
>Last-Modified: Tue May 21 22:35:10 +0000 1996
>Originator: Jeff Scofield (cs.washington.edu!cedar!jeff)
>Release: 1.0
>Organization:
"Cedar River Software, Inc."
>Environment:
Machine = i486, OS = NetBSD 1.0
$ ex +':vers|:q'
Version 1.34, Wed Aug 17 11:37:48 1994
The CSRG, University of California, Berkeley.
$ ldd /usr/bin/vi
/usr/bin/vi:
-lcurses.2 => /usr/lib/libcurses.so.2.1 (0x1004f000)
-ltermlib.0 => /usr/lib/libtermlib.so.0.0 (0x1005a000)
-lutil.3 => /usr/lib/libutil.so.3.1 (0x1005c000)
-lc.12 => /usr/lib/libc.so.12.0 (0x1005e000)
System: NetBSD rita.cedar.wa.com 1.0 NetBSD 1.0 (RITA) #4: Thu Jan 19 16:42:40
PST 1995 dick@rita.cedar.wa.com:/usr/src/sys/arch/i386/compile/RITA i386
>Description:
nvi loses track of the proper screen contents after issuing a
specific sequence of :set commands.
>How-To-Repeat:
The following causes the failure for me every time. Note
that, after the first `:set all', each successive command
must be issued while the ``Enter return to continue:''
prompt is visible. In other words, enter the next colon
at that point rather than a return.
$ vi /etc/termcap # or any large file
:set all
:set nokeytime
:set all
Note that the ``:set nokeytime'' is intentionally an improper
vi command. It appears that this is essential. I don't
see a problem if I enter a proper command (such as ``:set
keytime=0'') at this point.
>Fix:
Since the problem shows up only in exceedingly specific
cases, it's easy to avoid it.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: mrg
State-Changed-When: Tue May 21 05:54:16 EDT 1996
State-Changed-Why:
this bug report has been forward to keith bostic.
State-Changed-From-To: analyzed->closed
State-Changed-By: mrg
State-Changed-When: Tue May 21 18:34:06 EDT 1996
State-Changed-Why:
nvi now has a better, more obvious, prompt.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.