Subject: bin/16210: vi hides lines
To: None <email@example.com>
From: Kimmo Suominen <firstname.lastname@example.org>
Date: 04/05/2002 21:55:19
>Synopsis: vi hides lines
>Arrival-Date: Fri Apr 05 18:56:00 PST 2002
>Originator: Kimmo Suominen
>Release: NetBSD 1.5ZC from 2002-03-21
System: NetBSD beowulf.gw.com 1.5ZC NetBSD 1.5ZC (GW-GENERIC) #45: Sun Mar 24 19:35:00 EST 2002 email@example.com:/net/beowulf/src-1/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
Our vi has changed -- try running
vi +5 .tcshrc
With the old vi (from 2001-10-22) the first line of the file is
displayed at the top of the screen, and the cursor is placed in
the beginning of the 5th line.
With the new vi (from 2002-03-21) the top line of the display
is the 5th line of the line. The cursor is placed at the top
left corner of the display (i.e. beginning of the 5th line).
The latter behaviour is unpleasant, especially with very short
files, e.g. mail drafts, where you want to keep seeing the To:,
cc: and other headers while you type.
Why is this different? Can I get the old behaviour back with
some simple adjustment? Vi has worked "the old way" for years
and years... :-/
Run vi as explained above...