Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!amdahl!pyramid!cbmvax!uunet!mcvax!hansm From: hansm@cwi.nl (Hans Mulder) Newsgroups: comp.editors Subject: Re: function keys in vi Keywords: termcap vi Message-ID: <353@piring.cwi.nl> Date: 8 Jun 88 12:44:20 GMT References: <999@unccvax.UUCP> Organization: CWI, Amsterdam Lines: 19 In article <999@unccvax.UUCP> fwp@unccvax.UUCP (Rick Pasotto) writes: > Is there a way to :map function keys other than those defined by >f0 thru f9 in termcap? Just type :map and then press the key. You can put this sort of mapping in a .exrc file, but if you are using several different terminal types, you have a problem. Perhaps you could set EXINIT to "source $HOME/depends/on/ttytype". > My termcap has the correct sequences that the keys >send and :map will understand #12 as f12 ... Really? This version of vi (version 3.7, 6/7/85), interprets #12 as f1. >Rick Pasotto >mcnc!unccvax!fwp Hans Mulder hansm@cwi.nl mcvax!hansm