Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!mit-eddie!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.unix.amiga Subject: Re: Console Windows Message-ID: <1991Feb13.191725.19719@msuinfo.cl.msu.edu> Date: 13 Feb 91 19:17:25 GMT References: Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 28 pateros@ecse.rpi.edu (Chuck Pateros) writes: >Is there a way to either make the consoles act JUST like vt100s, >or can I somehow tell the remote machine how to handle my console >window (amiga) terminal? You can teach VI to recognize your arrow keys. Fisrt, determine what each arrow key produces. (1) Now, setup a files called ".exrc" in your home directory, in it put stuff like map j (downarrow) map k (uparrow) map h (leftarrow) map l (rightarrow) (1) To determine what your arrow keys are can be easy, if their not mapped funny. In VI use the following keysequence i ^v (arrowkey) The ^v (control-v) is to let you insert a control character. Usually the first char of a special key, like arrows, in an esc. On the keyboard I'm on now, the result of doing the above for uparrow is: map k Ox The up arrow being an esc, O, x I think VT100 arrows are esc, [, A B C and D