Here's a little annoyance I've observed under the last several releases of
OSF/1 up to and including 2.1. In vi(1), if I search downwards in a file,
vi redraws the screen so that the found line is in the middle of the screen.
If I search upwards, vi redraws the screen so that the found line is at the
top of the screen. I would rather it always positioned the found line in the
middle of the screen (assuming of course that there are enough lines above
and below the found line). Is there a way to make vi do that?
Incidently, the vi shipped with Ultrix 4.4 (RISC) always positions the line in
the middle of the screen.
For completeness, here are the vi options for my OSF/1 vi:
:set all
autoindent nomodeline noshowmode
autoprint nonumber noslowopen
noautowrite nonovice nosourceany
nobeautify nooptimize tabstop=8
closepunct='".,;)]} paragraphs=IPLPPPQPP LIpplpipbp taglength=0
directory=/var/tmp partialcharacter=- tags=tags /usr/lib/tags
noedcompatible prompt term=xterm
noerrorbells noreadonly noterse
noexrc redraw timeout
flash remap ttytype=xterm
hardtabs=8 report=5 warn
noignorecase scroll=17 window=34
nolisp sections=NHSHH HUuhsh+c wrapscan
nolist shell=/usr/bin/csh wrapmargin=0
magic shiftwidth=8 nowriteany
mesg noshowmatch wraptype=word
Received on Fri Jan 20 1995 - 10:46:16 NZDT