home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / coherent / 6562 < prev    next >
Encoding:
Text File  |  1993-01-04  |  2.3 KB  |  54 lines

  1. Newsgroups: comp.os.coherent
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!messina
  3. From: messina@netcom.com (Tony Porczyk)
  4. Subject: Home mapping in Stevie
  5. Message-ID: <1993Jan4.050137.3780@netcom.com>
  6. Organization: Messina Software
  7. Date: Mon, 4 Jan 1993 05:01:37 GMT
  8. Lines: 44
  9.  
  10.  
  11. Hi there,
  12.  
  13. Please disregard my previous post about MicroEMACS.  I decided it will
  14. be easier to explain vi to the user after doing some magic to .exrc
  15. then to teach them to perform finger acrobatics in 'me'.  On top of that
  16. MicroEmacs has no easy way of inserting a file at a cursor (without
  17. wiping out the buffer), outside of juggling buffers, which is not good
  18. for newbie users.  Stevie seems very nice, really fast, and (to me)
  19. much more intuitive than 'me'.  Anyway, I started playing with .exrc
  20. and in half an hour had a nice working skeleton for someone who is not
  21. a vi sympathizer :) There was just one problem - after a while my Home
  22. assignment (to 0 in both modes, with ^[0 in the insert mode, of
  23. course) stopped working.  I can't figure out what's going on.  I can
  24. map it just fine to any other key, not to Home.  Yet, when I quote
  25. Home using Ctrl-V it shows ^[[H, exactly what I have.  I have 30 key
  26. mappings, and they all work perfectly.  I am totally baffled.  Would
  27. someone want to take a look at it and perhaps even implement it on his
  28. own system and tell me if it works (try it for a while - it worked on
  29. mine for a short time).  Here is the uuencoded .exrc (quite short):
  30.  
  31. begin 666 .exrc
  32. M<V5T"6YU;6)E<@IS970)=W)A<&UA<F=I;CTP(" *;6%P"1M;,'@).G<-"FUA
  33. M< D;6S%X"3HA(&UO<F4@+V5T8R]H96QP+G9I#0IM87 )&ULR-$@)) IM87 )
  34. M&ULR> DZ<V5T('=R87!M87)G:6X], T*;6%P"1M;,W@).G-E="!W<F%P;6%R
  35. M9VEN/3$U#0IM87 )&ULT> EA7'1A8FQE+61O+6YO="UF;W)M870;"FUA< D;
  36. M6S5X"6%<96YD+6]F+71A8FQE&PIM87 )&ULW> DZ;F5X= T*;6%P"1M;.'@)
  37. M40IM87 )&ULY> DZ"FUA< D;6T@), IM87 )&UM5"08*;6%P"1M;5@D""FUA
  38. M<"$)&ULP> D;.G<-"FUA<"$)&ULQ> D;.B$@;6]R92 O971C+VAE;' N=FD-
  39. M"FUA<"$)&ULR-$@)&R0*;6%P(0D;6S)X"1LZ<V5T('=R87!M87)G:6X], T*
  40. M;6%P(0D;6S-X"1LZ<V5T('=R87!M87)G:6X],34-"FUA<"$)&ULT> E<=&%B
  41. M;&4M9&\M;F]T+69O<FUA= IM87 A"1M;-7@)7&5N9"UO9BUT86)L90IM87 A
  42. M"1M;-W@)&SIN97AT#0IM87 A"1M;.'@)&U$*;6%P(0D;6SEX"1LZ"FUA<"$)
  43. @&UM("1LP"FUA<"$)&UM5"1L&"FUA<"$)&UM6"1L""@H;
  44.  
  45. end
  46.  
  47.  
  48. Ps: I just tried it on a SUN (with different codes, of course), and it
  49. all worked beautifully.
  50.  
  51. t.
  52.  
  53.  
  54.