From: ADVAX::"nat@drao.nrc.ca" "Natalie Prowse" 26-NOV-1990 19:00:04.72 To: , , , , , , , , , , , , , , CC: Subj: eve emulation in emacs Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Mon, 26 Nov 90 18:58:17 EST Received: from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP id AA04443 for everhart; Mon, 26 Nov 90 18:57:56 -0500 Received: from relay.CDNnet.CA by mcnc.mcnc.org (5.59/MCNC/6-11-90) id AA08574; Mon, 26 Nov 90 18:24:17 -0500 for arisia.dnet.ge.com!EVERHART Received: by relay.CDNnet.CA (4.1/1.14) id AA02292; Mon, 26 Nov 90 14:38:03 PST Date: 26 Nov 90 20:16 -0800 From: Natalie Prowse To: , , , , , , , , , , , , , , Message-Id: <210*nat@drao.nrc.CA> Subject: eve emulation in emacs (sorry if this is a repeat, I wasn't sure if it got through...) These are the files neccessary to generate eve-plus emulation in emacs. Keep in mind that my emulation is specific to local tailoring at our site, and may not be like the ve-plus you are used to. Some features of emacs have been encorporated in the place of eve-plus features because emacs does it better, other features of emacs have been mapped to keys and/or documented in the users reference, because I thought they were efficient/neat/great, and were not available in eve(plus). Cut and paste rectangular still does funny things if you try to insert a rectangle past the end of a line. if you wish to do this, you must fill out the columns with blanks first! John Sturdy is working on this problem for me, as I suspect I will be drawn and quartered if I spend any more time on this...;-) Some functions are mapped to more than one key, to provide redundancy where things might not otherwise seem intuitive. (look at the GOLD-mapping to alphabetic keyboard keys...) Take notice, when starting cold, evep emacs takes a while to load. You will get no response from your keyboard, until the bottom banner line shows the current time instead of 'time and load'. When the time is there, you are ready to roll... (I mucked with various ways of loading this file. It seems that evep.el gets loaded a couple of times, but moving the load around wrecked things. So I left it alone. If anyone can recommend a better way, please tell me!) On startup, evep emacs loads the file specified on the command line, into a buffer mapped to GOLD-1. You can then use GOLD-top-row-numeric keys to load additional files or switch buffers. Emacs has a very nice feature whereby you can load multiple files by giving a wildcard specification on the command line. Unfortunately, doing this causes buggy things to happen to the top-row numeric buffer-switching. I will work on it when I get time, and forward any enhancements to you. If you fix it before I do, send my a copy, and I will distribute it. In the mean time, load only one file on the unix command line when you start up emacs... If you have any questions, feel free to write an I will do my best to help. My address is (nat@drao.nrc.ca). I only know about getting this running on a DECSTATION 3100, but I am sure that if you have emacs running, you can make this emulation work on any machine. The package comes in VMS_SHARE format, as I must send and receive mail on a VMS machine. Unpack it on a VMS machine, and then send the files over to your unix system. There are 4 files as follows emacs. - The initalization file to tell emacs you are doing something special (put this in your home directory) RENAME this file to .emacs on your unix system. emacs.doc - a short reference to key-mappings and bindings. (Not all are included here, so explore and find out !) evep.el - the lisp code file that does the emulation em-fill.el - a set of smart paragraph fill routines from Bob Weiner (put the last 2 files in some sort of subdirectory like: yourdir/einit/ and then change the reference in the 'load-path' line on the .emacs file, to point to this subdirectory) You must tell the system what type of terminal you are using so that it can emulate properly. to do this, I have put aliases in my shell-script (C shell) like so: alias vt100 "set term=vt100" alias vt200 "set term=vt200" alias vt220 "set term=vt220" In my .login file, I default to a vt220 with the following line: set term=vt220 If I use another terminal, I just enter the terminal type once in my session, prior to using emacs. Ie. when I set host to the DECSTATION from my VS2000, it always tells me: type vt220 unknown So I must type : vt200 To set it to a known terminal type.... get the picture? (sorry if this is too grunt level for you unixz whizes...;-) In my shell script (.cshrc) file, I also alias this new version of emacs so that I can start up in the 'decterm' window with decent sized fonts. (Sorry, I know nothing about decwindows versions of emacs)...: alias em 'emacs -nw -l ~/.emacs' Anyway, files to follow... Natalie nat@drao.nrc.ca