Date: Tue, 4 Nov 1997 13:24:51 +0200 (IST) From: Eli Zaretskii To: "Alan M. Doerhoefer" cc: djgpp AT delorie DOT com Subject: Re: emacs under dos with cwsdpmi -- problem In-Reply-To: <345E20AD.3508@seanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 3 Nov 1997, Alan M. Doerhoefer wrote: > I cannot get emacs to run at all. I am using an unknown version > of cwsdpmi which I am guessing is at least 6 months old. Specifically, > when I type 'emacs', there is some virtually undectable screen activity, > and then I am returned to the dos prompt in a couple of milliseconds. The reason for this is described in the file PROBLEMS which comes with the Emacs distribution. Look for the word "flashing" (without the quotes). That file describes the opposite situation, when the above happens in Windows 95. In your case, the problem most probably is that when you unzipped Emacs, you didn't turn off those pesky numeric tails that Windows creates when it generates the 8+3 short aliases for long file names. Emacs looks for a file named lisp/case-table.elc on startup, but because of the numeric tails, what it sees is lisp/case-t~1.elc, which is not the same as the truncated case-tab.elc. If you want a dual DOS/Windows Emacs installation, you need to delete the entire Emacs installation tree, set NameNumericTail property in the Windows registry to zero (the DJGPP FAQ explains how, in section 8.2), restart Windows, and unzip the Emacs distribution again with an unzip program which supports long file name (if that unzip program was compiled with DJGPP, make sure you set LFN=y before you unzip). I have such an Emacs installation, and it works in both DOS and Windows. I have NameNumericTail set permanently to zero, since I want to be sure that other DJGPP packages I install from Windows will also work in plain DOS.