Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site vu44.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!mcvax!vu44!tstorm From: tstorm@vu44.UUCP (Theo van der Storm) Newsgroups: net.unix Subject: ma(pping) Re: h,j,k,l in vi Message-ID: <610@vu44.UUCP> Date: Wed, 27-Feb-85 18:49:33 EST Article-I.D.: vu44.610 Posted: Wed Feb 27 18:49:33 1985 Date-Received: Sat, 2-Mar-85 03:55:54 EST References: <8242@brl-tgr.ARPA> <726@ucbtopaz.CC.Berkeley.ARPA> <338@psivax.UUCP> Reply-To: tstorm@vu44.UUCP Distribution: net Organization: VU Informatica, Amsterdam Lines: 29 Keywords: termcap, visual Summary: In article <338@psivax.UUCP> friesen@psivax.UUCP (Stanley friesen) writes: >In article <726@ucbtopaz.CC.Berkeley.ARPA> mwm@ucbtopaz.UUCP \ (Praiser of Bob) writes: >> etc. etc. >>>If you have ever seen an adm-3a terminal you will know where h,j,k,l come etc. etc. > But 'vi' *doesn't* force h,j,k,l cursor control on you. >Every version of it that I have ever seen also supports the *real* >arrow keys on terminals that have them. Why not use them if you >don't like the ADM3-a approach. etc. etc. > You were probably using a version 2.XX which uses the ma(pping) definition of termcap. Imagine the following situation: The cursor-right key sends ctrl-L The redraw screen command of visual is ctrl-L Now map ctrl-L on l and ctrl-P on ctrl-L The redraw screen command of visual is now ctrl-P and one can use the arrow keys. Can anyone comment on the question why version 3.X does not use 'ma' anymore? -- Theo van der Storm, 52 20'N / 4 52'E, {seismo|decvax|philabs}!mcvax!vu44!tstorm