delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/07/18/23:30:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Stephen W. Bullington" <swb AT key-net DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ispell
Message-ID: <MPG.2a7144fe6aabaaed989683@news60.forteinc.com>
References: <MPG DOT 2a61256b7098af43989680 AT news60 DOT forteinc DOT com> <83sjd412pe DOT fsf AT gnu DOT org>
MIME-Version: 1.0
User-Agent: MicroPlanet-Gravity/3.0.4
Lines: 92
X-Complaints-To: abuse AT easynews DOT com
Organization: Forte Inc. http://www.forteinc.com/apn/
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 18 Jul 2012 23:11:51 -0400
X-Received-Bytes: 4629
Bytes: 4757
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <83sjd412pe DOT fsf AT gnu DOT org>, eliz AT gnu DOT org says...
> 
> > From: "Stephen W. Bullington" <swb AT key-net DOT net>
> > Date: Fri, 6 Jul 2012 18:00:36 -0400
> > 
> > I can't get ispell to work with DJGPP Emacs 23.3 on pure DOS.  I have 
> > Emacs installed on two 8.3 file-name machines, 1) a DOS 6.22 one and 2) 
> > an OS/2 Warp 3 (blue spine) one.  Ispell doesn't work on either, using 
> > Emacs (in both cases it works OK from the command line, though).  When I 
> > try to use it I get the message "Failed to open temporary file:  no such 
> > file or directory (ENOENT), detmp.XXX".  I get the same message if I try 
> > to run a shell command.  I also have DJGPP Emacs installed on a Windows 
> > 98SE box, with LFN=Y, and Ispell works fine there.
> > 
> > What am I doing wrong under pure DOS?
> 
> Not sure what is going on.  One potential problem could be that you
> don't have any of the following environment variables defined: TMPDIR,
> TMP, TEMP.  If none of these are defined, Emacs will try to open the
> temporary file in C:/temp, and if you don't have that, either, it will
> fail.  It will also fail if one of the above environment variables is
> set, but points to a non-existent directory.
> 
> djgpp.env, the file all DJGPP programs read to set up their
> environment, defines TMPDIR to point to the 'tmp' subdirectory of the
> directory where you have djgpp.env.  Could it be that this directory
> doesn't exist on those machines where you see the problem?
> 
> If none of the above helps, I'm clueless.  If you can build Emacs
> yourself and you can debug the resulting binary with GDB, perhaps you
> could step through the code (I can tell you where exactly) and report
> what you see.  I myself don't have access to a plain DOS machine for a
> long time now, and can only run the DJGPP build of Emacs on Windows.

Sorry I took so long to reply.  I have SET TEMP=C:\TEMP in the 
autoexec.bat file for both machines Ispell doesn't work on, as well as 
SET TEMP=C:WINDOWS\TEMP in the autoexec.bat for the Win98SE machine it 
does work on.  There is also a C:\DJGPP\TMP directory on all three 
machines.

To switch subjects, I've tried to compile Emacs on all three and on all 
the compilation works up to a point, and then chokes on what looks to me 
like some assembly code.  I don't have time tonight to outline the exact 
screen output but I'll post again in a day or so with the details.  In 
the past I managed (with an older setup) to compile Emacs 20.5 
successfully on all three machines.  BTW, I have bnu2211 installed as 
well as NASM.  I think my current DJGPP C/C++ setup is mostly OK because 
I've managed to use it for compiling Quake on Win98SE and for compiling 
MicroEmacs '06 everywhere (Quake, though, does flub on the SFN 
machines).  Quake, SETEdit, and Microemacs '02 compiled flawlessly on 
all installs of my earlier DJGPP set up.

I upgraded both my DJGPP installations and Emacs mainly 
because I have Emacs 23.4 installed on a Windows 7 laptop, and wanted to 
use org mode everywhere.  I've got some problems there too with the DOS 
setups but I think they're eLisp related and I'll cover them 
later.

After I started writing this I noticed that another person figured out 
what is wrong and developed a code patch.  But I'll have to get the old 
code to compile before I can append it.  So I'll post later on my 
problems compiling 23.3.

Something to be thinking about--is there a GnuPG for DJGPP (I couldn't 
find it, but that doesn't mean its not there)?  If there isn't it would 
sure be useful to read Emacs diary.gpg files encrypted on Windows-based 
systems, but opened on DOS ones.

Thanks to everyone for taking time to help.


Steve B.







 












- Raw text -


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