home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apple2 / 19638 < prev    next >
Encoding:
Text File  |  1992-08-29  |  2.3 KB  |  93 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!unlinfo.unl.edu!cse!gberigan
  3. From: gberigan@cse.unl.edu (Life...)
  4. Subject: Re: ProTerm 3.0/VT-100 emulator/vi editor
  5. Message-ID: <1992Aug29.053640.29733@unlinfo.unl.edu>
  6. Sender: news@unlinfo.unl.edu
  7. Nntp-Posting-Host: cse.unl.edu
  8. Organization: Megadodo Publications, Light City, Ursa Minor Beta
  9. References: <9208271553.AA29219@apple.com>
  10. Date: Sat, 29 Aug 1992 05:36:40 GMT
  11. Lines: 80
  12.  
  13. pauley@VNET.IBM.COM ("P. H. Benson ", Paul) writes:
  14. >derich@netcom.com (Scott A. Steinbrink) writes:
  15.  
  16. >>I'm having a problem having my Proterm 3.0 emulate VT-100 on my APple IIGS
  17.  
  18. >There are a couple of things you can do.  You can reset the keys on the
  19. >UNIX by the stty command.  I forget the actual values, but they are pretty
  20. >obvious.  Or, you can just use the j, k, l, & m keys to move the cursor
  21. >while in vi.
  22.  
  23. You can also set up your .exrc file.  Remember, you normally cannot use
  24. the arrow keys in insert mode, and you don't ever want to hold them down
  25. for repeating with ProTERM.  It tends to garble them into each other.
  26. Anyway, here is how I have my .exrc file set up:
  27.  
  28. set autowrite wrapmargin=8 report=1
  29. map     G:r ~/sig
  30. map     !}fmt -72
  31. map     {!}sort -b
  32. map!  OP  A
  33. map!  OQ  B
  34. map!  OR  C
  35. map!  OS  D
  36. map!  Om  E
  37. map!  Ol  F
  38. map!  Oy  9
  39. map!  Ox  8
  40. map!  Ow  7
  41. map!  Ov  6
  42. map!  Ou  5
  43. map!  Ot  4
  44. map!  Os  3
  45. map!  Or  2
  46. map!  Oq  1
  47. map!  Op  0
  48. map!  OM  
  49. map!  On  a a
  50. map  h  1G
  51. map  H  1G
  52. map  F  G
  53. map  V  
  54. map  U  
  55. map  T  k
  56. map  S  j
  57. map  Q   i
  58. map  P   x
  59. map  L   O
  60. map  M   dd
  61. map  K   D
  62. map  J   DjdG$
  63. map! OA  ka
  64. map! OD  ha
  65. map! OC  la
  66. map! OB  ja
  67. map! L  
  68. map! Q  
  69. map! R  
  70.  
  71. I even remapped my numeric keypad to be a hex keypad:
  72.  
  73.         A B C D
  74.         7 8 9 -
  75.         4 5 6 ,
  76.         1 2 3 
  77.          0  . ^M
  78.  
  79. Unfortunately the + and - keys on the GS aren't getting mapped to E and
  80. F in vi, for some strange reason.
  81.  
  82. >Pauley
  83. >GEnie: P.Benson1
  84. >The opinions are my own and not IBM's.
  85.  
  86. -- gberigan@cse.unl.edu (Life...)
  87.  
  88. ///   ____   \\\  "Sorry, did I say something wrong?  Pardon me for
  89. | |/ /    \ \| |   breathing, which I never do anyway so I don't even 
  90.  \\_|\____/|_//    know why I bother to say it oh God I'm so depressed.
  91.      \_)\\/        Here's another one of those self-satisfied doors.
  92.        `-'         Life... don't talk to me about life...."
  93.