home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!unlinfo.unl.edu!cse!gberigan
- From: gberigan@cse.unl.edu (Life...)
- Subject: Re: ProTerm 3.0/VT-100 emulator/vi editor
- Message-ID: <1992Aug29.053640.29733@unlinfo.unl.edu>
- Sender: news@unlinfo.unl.edu
- Nntp-Posting-Host: cse.unl.edu
- Organization: Megadodo Publications, Light City, Ursa Minor Beta
- References: <9208271553.AA29219@apple.com>
- Date: Sat, 29 Aug 1992 05:36:40 GMT
- Lines: 80
-
- pauley@VNET.IBM.COM ("P. H. Benson ", Paul) writes:
- >derich@netcom.com (Scott A. Steinbrink) writes:
-
- >>I'm having a problem having my Proterm 3.0 emulate VT-100 on my APple IIGS
-
- >There are a couple of things you can do. You can reset the keys on the
- >UNIX by the stty command. I forget the actual values, but they are pretty
- >obvious. Or, you can just use the j, k, l, & m keys to move the cursor
- >while in vi.
-
- You can also set up your .exrc file. Remember, you normally cannot use
- the arrow keys in insert mode, and you don't ever want to hold them down
- for repeating with ProTERM. It tends to garble them into each other.
- Anyway, here is how I have my .exrc file set up:
-
- set autowrite wrapmargin=8 report=1
- map G:r ~/sig
- map !}fmt -72
- map {!}sort -b
- map! OP A
- map! OQ B
- map! OR C
- map! OS D
- map! Om E
- map! Ol F
- map! Oy 9
- map! Ox 8
- map! Ow 7
- map! Ov 6
- map! Ou 5
- map! Ot 4
- map! Os 3
- map! Or 2
- map! Oq 1
- map! Op 0
- map! OM
- map! On a a
- map h 1G
- map H 1G
- map F G
- map V
- map U
- map T k
- map S j
- map Q i
- map P x
- map L O
- map M dd
- map K D
- map J DjdG$
- map! OA ka
- map! OD ha
- map! OC la
- map! OB ja
- map! L
- map! Q
- map! R
-
- I even remapped my numeric keypad to be a hex keypad:
-
- A B C D
- 7 8 9 -
- 4 5 6 ,
- 1 2 3
- 0 . ^M
-
- Unfortunately the + and - keys on the GS aren't getting mapped to E and
- F in vi, for some strange reason.
-
- >Pauley
- >GEnie: P.Benson1
- >The opinions are my own and not IBM's.
-
- -- gberigan@cse.unl.edu (Life...)
-
- /// ____ \\\ "Sorry, did I say something wrong? Pardon me for
- | |/ / \ \| | breathing, which I never do anyway so I don't even
- \\_|\____/|_// know why I bother to say it oh God I'm so depressed.
- \_)\\/ Here's another one of those self-satisfied doors.
- `-' Life... don't talk to me about life...."
-