home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!unido!majestix!uho
- From: uho@informatik.uni-kiel.dbp.de (Ulrich Hoffmann)
- Newsgroups: comp.editors
- Subject: Re: elvis 1.6, Sun Sparc and cursors keys
- Keywords: elvis 1.6 cursor key troubles on Sun Sparc
- Message-ID: <10690@minnie.informatik.uni-kiel.dbp.de>
- Date: 20 Aug 92 14:49:40 GMT
- References: <1992Aug18.201352.2155@bmerh85.bnr.ca>
- Organization: Dept. of Computer Science, University of Kiel, FRG
- Lines: 41
-
- In <1992Aug18.201352.2155@bmerh85.bnr.ca> sjane@bmers248.bnr.ca (sjs) writes:
-
- >If you run into this problem, you can either get your sysadmin to change back
- >to elvis 1.5 or you can alter your .termcap file (ask a guru) to change your
- >:ku, :kd, :kr, :kl to be \E[A, \E[B, \E[C, \E[D. I'm not absolutely positive
- >if the latter solution will solve all your problems, because my sysadmin added
- >:ks & :ke back into elvis 1.6 for me.
-
- Alternatively you can leave your termcap unchanged but map the generated cursor key
- sequences to the appropriate commands in your .exrc file.
-
- sample entry:
-
- map [A k
-
- ^ ^ ^
- | | |
- | | + into this command
- | + this sequence
- + map in non insert mode
-
- Use map! instead of map to define for insert mode.
-
- The appropriate mappings in my .exrc:
- map [A k
- map [B j
- map [C l
- map [D h
- map! [A ka
- map! [B ja
- map! [C la
- map! [D ha
-
- Greetings,
-
-
- Ulrich
-
- Ulrich Hoffmann email: uh@informatik.uni-kiel.dbp.de
- Institut fuer Informatik, Universitaet Kiel Tel: +49 431 560426
- Preusserstr 1-9, D-2300 Kiel 1, Germany Fax: +49 431 566143
-