home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / demacs / dem_inst.msg < prev    next >
Internet Message Format  |  1992-09-08  |  6KB

  1. From: dsimmons@CS.Cornell.EDU (Daniel G. Simmons)
  2. Newsgroups: comp.binaries.ibm.pc.archives
  3. Subject: Re: Help with installing Demacs
  4. Date: 19 Dec 91 17:14:31 GMT
  5. Updated: 3 Apr 92 by Keith Petersen
  6.  
  7. To Install Demacs: (according to Danny Simmons...)
  8. ------------------
  9. - These instructions assume you want the english version, and you have an
  10.   ibm compatible 386 or 486...
  11. - I also assume that you do not have any conflicts that would make problems
  12.   running programs compiled with djgpp.  (i.e. You're not running emm386 from
  13.   the Windows or something.)  If you don't know about this one, post a 
  14.   message and someone will come running with an answer.  I don't really know
  15.   all the details, but my 386 w/DOS 5.0 not loaded high, 5MB RAM, 1MB used for
  16.   a cache, etc.  Works...
  17.  
  18. 1. Download the 2 files, and get a copy of pkunzip.
  19.     - dem120e.zip
  20.     - dem120s.zip
  21.  
  22. 2. Make a directory to hold the files.  For the remainder of these
  23.    instructions I will use the name c:\demacs, but you can substitute
  24.    whatever you would like.
  25.  
  26. 3. Unpack -- a short list of commands to type follows:
  27.     c:\> cd \demacs
  28.     c:\demacs> pkunzip -d dem120e.zip
  29.     c:\demacs> pkunzip -d dem120s.zip
  30.     c:\demacs> pkunzip -d etc.zip
  31.     c:\demacs> pkunzip -d lisp.zip
  32.     c:\demacs> copy edired.zip lisp        -- just trust me on this one...
  33.     c:\demacs> erase *.zip      -- or move them elsewhere out of your way
  34.     c:\demacs> cd lisp
  35.     c:\demacs\lisp> pkunzip -d edired.zip
  36.     c:\demacs\lisp> erase edired.zip
  37.  
  38. 4. Set up environment variables:
  39.    Either put these in a batch file called emacs, which you will run
  40.    once at the start of any session where you want to use demacs, or
  41.    put them all in your autoexec.bat.  You may very well have to
  42.    increase your environment space, by adding a /e:xxxx (say 512) to
  43.    the shell line in your config.sys...
  44.  
  45.     Autoexec.bat
  46.     ------------
  47.     set TERM=ibmpc
  48.     set TERMCAP=c:\demacs\termcap
  49.     set HOME=c:\demacs
  50.     set GO32TMP=c:\tmp -- you may need to create a tmp directory...
  51.     set TZ=MST         -- mountain standard time
  52.     set USER=danny     -- hey, that's me!
  53.     set EMACSLOADPATH=c:\emacs\lisp
  54.     set EMACSEXECPATH=d:\emacs\etc
  55.     set DEMACS_KEEP=1024         -- assumes you have extended RAM
  56.     set SHELL=c:\command.com
  57.  
  58. 5. Copy the executables to some directory in your path.  For the sake
  59.    of this example, I will assume that you have a directory called
  60.    c:\bin in your path...  You could put the demacs directory in your
  61.    path and just copy them in there, but that's up to you.
  62.  
  63.     c:\> copy \demacs\bin\demacspc.exe \bin\demacs.exe
  64.     c:\> copy \demacs\bin\demacs \bin
  65.  
  66. 6. Edit the _emacs file.  This is a file of E-Lisp commands that are executed
  67.    each time you start Demacs.  It has to be edited to tell demacs that you
  68.    have an IBMPC type machine not one of the Japanese clones.  Also, I have 
  69.    found it necessary to add a line at the end to tell it where the Info
  70.    directory is so that the TEXINFO system works.  So, whip out an editor,
  71.    (EDLIN if you must) and do the following.
  72.  
  73.     1. Remove the semi-colon at the beginning of line 13...
  74.         ;(setq dos-machine-type 'ibmpc)
  75.        becomes:
  76.         (setq dos-machine-type 'ibmpc)
  77.  
  78.     2. Add a line at the end of the file which reads:
  79.         (setq Info-directory "c:/demacs/info")
  80.  
  81.     3. Optionally, remove the semi-colon at the beginning of line 19 if you
  82.        want to switch delete and backspace.  Normally, emacs uses ctrl-h to
  83.        mean "help", but that seems super weird to most PC users, so...
  84.         ;(load-library "term/bobcat") ; swap BS (C-h) and DEL
  85.        becomes:
  86.         (load-library "term/bobcat") ; swap BS (C-h) and DEL
  87.  
  88. 7. Try running it...
  89.     c:\> demacs
  90.  
  91. 8. Once    it loads up, look at the tutorial...  C-h t
  92.    Then look at TEXTINFO (where the real info is)...  C-h i
  93.  
  94.    Note: If you chose to do item number 3 in instruction 6 (swap C-h and DEL),
  95.          then you will be typing DEL t or DEL i for those things.  Of course,
  96.      either way you can just press F1 instead of C-h or DEL, because of
  97.      the new mappings for DEMACS to a PC keyboard.
  98.  
  99.  
  100. I hope this helps...  I just gleaned this from my experience hacking
  101. around with the system.  Maybe, this could be added to the
  102. distribution if other people find it helpful.  If so, mail me and I'll
  103. send it along to the WONDERFUL people who did this port.  BTW, hats
  104. off to you, Manabu Higashida and Hirano Satoshi!
  105.  
  106.  
  107. -- 
  108. Daniel G. Simmons              dsimmons@cs.cornell.edu
  109. ---------------------------------------------------------------
  110. Some trust in chariots and some in horses, but we trust in the
  111. name of the Lord our god. -- Psalm 20:7
  112.  
  113.  
  114. From: dsimmons@CS.Cornell.EDU (Daniel G. Simmons)
  115. Newsgroups: comp.binaries.ibm.pc.archives
  116. Subject: Re: Help with installing Demacs
  117. Date: 20 Dec 91 04:49:56 GMT
  118.  
  119. As an addendum to "Help with installing Demacs" which I posted above,
  120. it is also important to have ansi.sys in your config.sys (nnansi.sys
  121. only works if you re-assemble it with a small modification to enable
  122. key re-definition).
  123.  
  124. Also, if you have extended memory, you need to put himem.sys in your
  125. config.sys to enable it...
  126.  
  127. Finally, Timo is quite right in saying that this discussion belongs in
  128. comp.emacs or comp.editors or somewhere else.  I've posted this last
  129. message to both groups (cbip.archives and comp.emacs) for the purpose
  130. of continuity (and making sure the info gets to the original poster),
  131. but anything else should go to comp.emacs or gnu.emacs.help or
  132. somewhere.
  133.  
  134. Sorry Timo, I didn't realize where I was posting--just read the letter and 
  135. hit the key for follow-up you know. :-)
  136.  
  137. -- 
  138. Daniel G. Simmons              dsimmons@cs.cornell.edu
  139. ---------------------------------------------------------------
  140. Some trust in chariots and some in horses, but we trust in the
  141. name of the Lord our god. -- Psalm 20:7
  142.