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