david@varian.UUCP (David Brown) (09/26/86)
: This is a shar archieve. Extract with sh, not csh. : The rest of this file will extract: : README joverc.uu joverc.clif.uu jovemacros.uu echo extracting - README sed 's/^X//' > README << '/*EOF' X WORDSTAR EMULATION FOR JOVE X XA few weeks ago, I posted a request for help in customizing a version X(any version) of emacs for WordStar emulation. I got a couple of Xreplies, including one from Clif Sothoron (lll-crg!seismo!BRL.ARPA!cbsoth) Xwho provided me with a .joverc customization file for jove. XI discovered that some of the key names have changed (I'm running Xversion 4.5, which is in the contributed software on the 4.3BSD Xdistribution tape), and made a few other changes and additions X(e.g. reformat paragraph). X XI've included both his version and mine; both are uuencoded because Xthey include binary characters (I'm amazed that Clif's mail arrived here Xintact). As Clif states in his letter, the macro file is in a binary Xformat that is machine dependent; it has to be generated from within Xjove. I've included my macro file, which contains only one macro (^Y - Xdelete line); it was generated on a VAX 11/750 running ULTRIX 1.2. XI don't currently use the other bind-key-to-macro definitions. X XCreating macros is described in section 15.5 of the jove manual: X X This will be a bit more difficult if you have ^X already X bound to something unusual (e.g. next-line for WordStar emulation) X X type ^X( or ESC X start-remembering X type the keystokes to be stored in the macro X type ^X) or ESC X stop-remembering X ESC X name-keyboard-macro somename X ESC X write-macros-to-file .jovemacros X X In .joverc, put some read-macros-from-file and bind-macro-to-key X statements. X XIn order to put ^S and ^Q into .joverc (using vi), I used stty Xto temporarily change my start and stop characters. X XI haven't tested these customizations very much, so I'm sure there's Xplenty of room for improvement. I would appreciate feedback and fixes; Xalso, if anyone converts them to other versions of emacs (e.g. GNU, Xmicroemacs, etc.), I am also interested. X X David Brown (415) 945-2199 X Varian Instruments 2700 Mitchell Dr. Walnut Creek, Ca. 94598 X {zehntel,dual,amd,fortune,rtech,lll-crg,ista,ptsfa,csi}!varian!david X X XCURRENT PROBLEMS AND NOTES: X XFor some reason, specifying a file name on the command line causes Xauto-fill-mode not to be turned on. X XI've bound ^U to yank (unkill a line). X X^S and ^Q are bound to keys and "allow-^S-and^Q is set, so terminals Xthat require flow control at high baud rates (e.g. DEC VT100 at 9600 baud) Xwill have problems. X XThere seem to be some problems with reverse video on terminals with the Xmagic cookie problem (attributes require a space), but this is more Xlikely a problem in jove or a termcap entry rather than a problem with Xthis customization. I normally use a TVI955 (with no-space attributes Xselected); I noticed a problem when I was demonstrating jove briefly to Xsomething with a TVI925, and haven't investigated further. The editor Xworks OK, you just get annoying reverse video on the screen. X XSome of the things that are not implemented: X ^Kx, ^Kd - various ways to exit X ^Qz, ^Qw - scroll continuously up and down X block commands X margin and tab setting X centering X ruler lines X some of the search parameters X Copy, delete, rename, print files (shell-type activities) X print controls X dot commands X X X XREPLIES RECEIVED (thanks Clif & Earl!): X XDate: Thu, 11 Sep 86 9:09:34 EDT XFrom: Clif Sothoron <varian!lll-crg!seismo!BRL.ARPA!cbsoth> X X I rebound the keys for the jove editor to make jove resemble XWordstar. The macros created for this purpose are in binary form and are Xmachine dependent.See the jove manaul for writing your own I had to redo Xthe macros for VAX, Perkin-Elmer and Gould machines(all running UNIX). XThe actual jove tailorings file is not machine specific. By the way I am Xunable to post to net.emacs. Could you post this? X X X------------------------- X XDate: Wed, 10 Sep 86 08:21:31 PDT XFrom: varian!pyramid!pyrps5.earls (Earl Stutes) X XThere are 2 wordstar .ml files in the maclib that is shipped with XUnipress emacs. I have not tried it, but there is a conversion Xpackage to "fix up" .ml files so they can be used by GNU. One of Xthese things ought to work for you. X XMicro emacs has key binding and macro capability, but the language is Xnot even mocklisp, so the key binding job could be quite extensive. I Xlike MicroEmacs and use it exclusively on my PC at home. But then again XI am a emacs hacker here at work, so I don't do much in the way of X"funny" ie. non-emacs key binding because most of the key bindings are Xclose enough to GNU that I just use them that way. You will notice that Xthere is an extensive demo of key binding in MicroEmacs 3.7. The author Xincludes a file that makes it into a menu driven editor. I could not Xget this to load on my PC, because the stack required was too large for Xthe support package that comes with my compiler. Maybe it is exactly Xwhat you are looking for, or at least close enough to make the job easy. X /*EOF echo extracting - joverc.uu sed 's/^X//' > joverc.uu << '/*EOF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W;B : XM"F)I;F0M=&\M:V5Y('-C<F]L;"UU<" 7"F)I;F0M=&\M:V5Y(&YE>'0M<&%G XF92 #( IB:6YD+71O+6ME>2!P<F5V:6]U<RUP86=E(!(*"B @"@IE X Xend /*EOF echo extracting - jovemacros.uu sed 's/^X//' > jovemacros.uu << '/*EOF' Xbegin 644 .jovemacros X2 ! 9K;&EN90 1$Q$9 X Xend /*EOF -- David Brown (415) 945-2199 Varian Instruments 2700 Mitchell Dr. Walnut Creek, Ca. 94598 {zehntel,dual,amd,fortune,rtech,lll-crg,rtgvax,ptsfa,csi}!varian!david