delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/18/06:18:40

Date: Thu, 18 Dec 1997 13:18:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jose de Jesus Castillo <jcastillo AT hst DOT nasa DOT gov>
cc: djgpp AT delorie DOT com
Subject: Re: EMACS and Win95/DOS
In-Reply-To: <679bd0$gss@post.gsfc.nasa.gov>
Message-ID: <Pine.SUN.3.91.971218131754.1611M-100000@is>
MIME-Version: 1.0

On Wed, 17 Dec 1997, Jose de Jesus Castillo wrote:

> Hello all, I just pulled down my djgpp binaries from ftp.cdrom.com and
> unzipped them into there places. Everything seems to work but emacs. When I
> try to run it under Win95, I get disk activity and a DOS window comes up for
> a few seconds before flashing away without bringing up emacs. Under DOS is
> gives disk activity then returns a prompt with no emacs. I was going to try
> to start rebuilding it but I can't run config msdos. Some of the installed
> files have truncated endings(ie. config~1 config~1.in, etc..) I am missing
> something?

You are missing the installation instructions.  They can be found in
the file README.dos in the Emacs distribution, and the file INSTALL
also has them (near the end).

To get Emacs work on Windows 95, you need (1) unzip it with a utility
which supports long file names (the usual PKUNZIP doesn't); and
(2) set LFN=y in the environment before running Emacs (or in your
AUTOEXEC.BAT).  If you haven't done both of these, Emacs cannot find
some of its files which it needs to load from the lisp directory at
startup, so it exits right back.

If you also want the same Emacs installation to work in plain DOS on
the same machine, you need to turn off those pesky numeric tails that
Windows tacks to long file names when it creates their short 8+3
aliases.  The way to do that is described in the DJGPP FAQ list
(v2/faq210b.zip from the same place you get DJGPP), section 8.2.  You
need to turn off numeric tails *before* unzipping the archive, so I'd
suggest to nuke the entire Emacs directory and unzip it again after
you have tirned the tails off and rebooted.

> I was going to try to start rebuilding it but I can't run config
> msdos.

You shouldn't need to rebuild Emacs at all, and the problems won't go
away by rebuilding it.  Anyway, if you do want to rebuild, you will
have to download and install em1934s1.zip (where all the sources
required for the DJGPP version are).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019