Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!cbatt!ihnp4!qantel!ptsfa!varian!david
From: david@varian.UUCP (David Brown)
Newsgroups: net.emacs,net.sources
Subject: WordStar emulation for jove
Message-ID: <609@varian.UUCP>
Date: Fri, 26-Sep-86 13:36:05 EDT
Article-I.D.: varian.609
Posted: Fri Sep 26 13:36:05 1986
Date-Received: Tue, 30-Sep-86 05:54:54 EDT
Distribution: net
Organization: Varian, Walnut Creek, CA
Lines: 231
Xref: watmath net.emacs:2317 net.sources:5644

: 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 
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'
Xbegin 644 .joverc
XM2!0"TR(!$*=6YB
XM:6YD+6ME>2 8"G5N8FEN9"UK97D@#@H*2!K;&EN
XM92 9"F)I;F0M;6%C2!F87-T+65X:70@&W@*8FEN9"UM86-R;RUT;RUK97D@9F%S="UE>&ET
XM(!L8"F)I;F0M;6%C2!F87-T+65X:70@&P0*"F)I;F0M=&\M:V5Y(&1E;&5T92UN97AT
XM+6-H87(@!PIB:6YD+71O+6ME>2!F;W)W87)D+7=O2!B86-K=V%R9"UW;W)D( $*8FEN9"UT;RUK97D@9F]R=V%R9"UC:&%R86-T
XM97(@! IB:6YD+71O+6ME>2!B86-K=V%R9"UC:&%R86-T97(@" IB:6YD+71O
XM+6ME>2!B86-K=V%R9"UC:&%R86-T97(@$PIB:6YD+71O+6ME>2!N97AT+6QI
XM;F4@& IB:6YD+71O+6ME>2!P2!S8W)O;&PM=7 @%PIB:6YD+71O
XM+6ME>2!N97AT+7!A9V4@ R *8FEN9"UT;RUK97D@<')E=FEO=7,M<&%G92 2
XM"F)I;F0M=&\M:V5Y(&5N9"UO9BUL:6YE(!%D"F)I;F0M=&\M:V5Y(&5N9"UO
XM9BUL:6YE(!$$"F)I;F0M=&\M:V5Y(&)E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     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