From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075316706563.tru64-unix-managers.marc@archive.invalid> From: Stephen Campbell Date: Fri, 20 Jan 1995 15:45:16 +0000 To: tru64-unix-managers Subject: vi search results positioning X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075316706563 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