home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / emacs / 3818 < prev    next >
Encoding:
Text File  |  1992-12-18  |  6.1 KB  |  159 lines

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