delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/08/04:55:48

Date: Wed, 8 Oct 1997 10:53:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Xavier de Labouret <delabouret AT hol DOT fr>
cc: help-gnu-emacs AT prep DOT ai DOT mit DOT edu, djgpp AT delorie DOT com
Subject: Re: Emacs
In-Reply-To: <01bcd36a$8087aa60$fa219ac3@zezordi>
Message-ID: <Pine.SUN.3.91.971008105244.28262H-100000@is>
MIME-Version: 1.0

On 7 Oct 1997, Xavier de Labouret wrote:

> I installed emacs 19.34 under my djgpp 2.0 environment.

If you really have DJGPP v2.0, not v2.01, you should download 2.01.
Emacs 19.34 was compiled with v2.01, and these two versions are subtly
incompatible; you might get problems when you run DJGPP programs from
inside Emacs.

> It works fine when launched from windows 95 or a Dos 7 box, but does
> not work from MSDOS 6.22.

Did you unzip the distribution under Windows 95?  If so, you are a
victim of the ~1 numeric tails that Windows 95 attaches to the short
8+3 aliases of the long file names.  Thus, the file `case-table.elc'
gets `case-t~1.elc' as its short alias.  In plain DOS, Emacs only sees
this short alias, whereas `case-table.elc' is truncated by the DOS
call into `case-tab.elc'.  So Emacs fails to load that file and exits.

To make your Emacs work in both cases, you need to delete the Emacs
tree, set the NameNumericTail property of Windows 95 to zero, restart
Windows, and then unzip the Emacs distribution again.  When
NameNumericTail is turned off, Windows truncates the long names
without adding those ~1 tails, which makes the short aliases the same
as what you get when you unzip the distribution on DOS.  (But don't
unzip the distribution from DOS, since then Emacs won't see the long
names when you run it from Windows!)

If you don't know how to change NameNumericTail, the DJGPP FAQ list
(available as v2/faq210b.zip from the same place you get DJGPP)
explains how to do that in section 8.2.

> (Of course, I run it under MSDOS with the -nw option).

You don't need to use -nw.  The DJGPP version of Emacs ignores this
option, because it is only meaningful when Emacs is compiled with
X-Windows support.

> Is it possible configure emacs to work well from dos and Win 95?

The above setup works for me, I use dual DOS/Windows95 setup just like
I described above.

> And is there anywhere just another FAQ that explains how to
> configure djgpp/emacs for DOS?

I'm not aware of any problems that aren't already referenced in the
available documentation.  Be sure to read these:

    - the MS-DOS chapter in the on-line manual;

    - the file README.dos in the top-level Emacs directory;

    - the file PROBLEMS in the top-level Emacs directory (look for
      "MS-DOS" or "DJGPP").

If you have any further configuration problems, please ask specific
question.  No piece of documentation can cover everything.

- Raw text -


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