home *** CD-ROM | disk | FTP | other *** search
- =======================================================================
- emacsp2.doc GNU Emacs 18.58.3 for OS/2 2.0 -- Patch 2 23-June-1992
- =======================================================================
-
- This is the second patch for GNU Emacs 18.58.3 for OS/2 (as far as
- I know). It really is a little collection of patches. It includes
- the following files:
-
- doc.cmd Updated version of doc.cmd
- emacsp2.diff Patches
- emacsp2.doc This file
- lib.el Updated version of lib.el
- os2.c New source module emacs/src/os2.c
- site-init.ex Example site-init file
-
- You need the GNU patch utility to apply the patches and emx/gcc to
- recompile Emacs.
-
- Some of the patches have already been posted to emx-list, but these
- are newer versions.
-
-
-
- 1. Installation
- ---------------
-
- - Unpack the file (UNZIP NOT PKUNZIP!) in a temporary directory.
-
- - Copy lib.el to emacs/lisp and os2.c and doc.cmd to emacs/src.
-
- - If you did apply the older patches posted to emx-list, substitute
- the appropriate files by the old ones.
-
- - CD to emacs/src and apply the patches. If GNU patch is reachable
- under patch and /tmp is the temporary directory, for example:
- cd emacs/src
- patch </tmp/emacsp2.diff
- del *.orig
- The following files will be changed:
- editfns.c, emacs.c, fileio.c, keyboard.c, s-os2.h, ymakefile
-
- - Recompile Emacs. Look at emacs.doc for information about how to
- do it. You certainly need emx/gcc.
-
- - Have a look at site-init.ex, DO NOT REPLACE SITE-INIT.EL WITH IT!
-
- Here are the problems solved:
-
-
-
- 2. Ctrl-Break-Problem
- ---------------------
-
- Emacs for OS/2 18.58.3 terminates without any requests when you press
- Ctrl-Break. Though this behavior is perhaps not surprising, you can
- loose data after pressing this key accidently.
-
- A new variable has been introduced: ctrl-break-action. Its values have
- the following meanings:
-
- 0 : Do nothing, just return C-@.
- 1 : Like C-g C-g, termination with request.
- 2 : Terminate program immediatly without request.
- 3 : Force an abnormal program termination (dump core) without request.
-
- The default value is 1. It is strongly recommended not to use a value
- of 2 or higher unless you do exactly know what you do.
- You can change this variable in the usual way, adding a line like the
- following to your .emacs file:
-
- (setq ctrl-break-action 0)
-
- Because C-@ is not binded to any command, Emacs signals an error after
- pressing it (certainly only in cases 0 and 1!).
-
-
-
- 3. File Names
- -------------
-
- Under Unix, Emacs detects the sequence "//" in file names you entered.
- It then throws away all characters before and starts at the root.
-
- Under OS/2, several other sequences should have the same effect. This
- patch enables, the following ones:
- //, \\, /\, \/, /x:, \x:
- where x is an arbitrary character. Note that "abc/x:def" does NOT start
- at the root of drive x:, but at the current path of it: "x:def". Enter
- "abc/x:/def" if you want to start at the root.
-
- The sequences //, \\, /\, \/ at the start of a name have special meaning
- under some network software, thus they are NOT changed!
-
-
-
- 4. Compiling Lisp Libraries
- ---------------------------
-
- The former code to compile the important Lisp Libraries had several
- problems. The Library path was hard wired, every Library was recompiled
- and em-keys.el and os2.el were not compiled.
-
- After replacing it with the new one, the Libraries are always searched
- in emacs/lisp, only changed or not yet compiled Libraries are compiled
- and the OS/2 extension Libraries are compiled, too.
-
-
-
- 5. Adding Libraries to the dumped Emacs
- ---------------------------------------
-
- The file site-init.ex is an example how to load big Lisp Packages into
- dumped Emacs. In this example, emacs/lisp/local/dired.elc is quite a big
- package. If you just add the line
- (load "local/dired")
- to site-init.el, you will get a "Pure Lisp Storage Exhausted" Error.
- If you had such problems, look at site-init.ex.
-
- DO NOT OVERWRITE YOUR SITE-INIT.EL WITH THIS FILE !!!!!!
-
-
- 6. User Full Name
- -----------------
-
- OS/2 is not a multi-user system, so emx supports no user-administration
- facilities. It may, though, perhaps sometimes useful to have the user's
- full name available (for example when creating an entry to a ChangeLog
- file). You can now set the environment variable USERFULLNAME to your
- full name. The function user-full-name then returns its value. If you do
- not set this variable, the function returns "unknown".
-
-
-
-
- Any comments welcome.
-
- No warranty.
-
- Joerg Viola
- Potstiege 7
- D-4400 Muenster
- Germany
-
- joerg_viola@ms.maus.de
-
- ---------------------------------- END ---------------------------------------
-