*BSD News Article 66165


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sesqui.net!uuneo.neosoft.com!web.nmti.com!peter
From: peter@nmti.com (Peter da Silva)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Silly but annoying vi question
Date: 15 Apr 1996 22:37:59 GMT
Organization: Network/development platform support, NMTI
Lines: 27
Message-ID: <4kuj47$jcs@web.nmti.com>
References: <4knefr$n34@cronkite.ocis.temple.edu> <4krjcj$m2f@doctor.nl2k.edmonton.ab.ca>
NNTP-Posting-Host: sonic.nmti.com

In article <4krjcj$m2f@doctor.nl2k.edmonton.ab.ca>,
The Doctor <doctor@nl2k.edmonton.AB.ca> wrote:
> In article <4knefr$n34@cronkite.ocis.temple.edu>,
> Mary Kingston <mary@thunder.ocis.temple.edu> wrote:
> >I am having what I can only describe as a very silly problem
> >working in VI on my BSDI 2.1 system.  My cursor keys won't 
> >reposition the cursor when I am in command mode.  Instead,
> >they insert the "A", "B", "C", or "D" character from the
> >arrow escape sequence into the file.  

> >If anyone can recommend a fix for me, I would appreciate it.
> >I have tried what I know to get it right but it just isn't
> >working.

> This is an annoyance with ANY vi editor.

> just dd the lines involved and go from there.

Bullshit.

Just set your terminal to generate "^[ [ x" instead of "^[ O x" (for x
in {A B C D ...})...
-- 
Peter da Silva    (NIC: PJD2)      `-_-'             1601 Industrial Boulevard
Bailey Network Management           'U`             Sugar Land, TX  77487-5013
+1 713 274 5180         "Har du kramat din varg idag?"                     USA
Bailey pays for my technical expertise.        My opinions probably scare them