www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/01/10:17:05

Date: Sun, 1 Dec 1996 16:56:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Sxren Merser <merser AT image DOT dk>
Cc: djgpp AT delorie DOT com
Subject: Re: templates? calc? find?
In-Reply-To: <32A174A6.3811@image.dk>
Message-Id: <Pine.SUN.3.91.961201163609.13227A-100000@is>
Mime-Version: 1.0

On Sun, 1 Dec 1996, Sxren Merser wrote:

> - is  CALC for EMACS available in a version that runs under MSDOGS

I use Calc on Emacs on MSDOS.  The original distribution needs to be
patched before it will byte-compile and work on MSDOS (names of some .el
files clash in the DOS 8+3 namespace), but other than that it works just
fine. 

> - using 'find' with 'grep' to search for a file depending on its
> content, like
> 	find . *.h | xargs -r grep 'include'
>   halts my Win95 DOS window.

If the above is the *exact* command line you tried to use, please quote 
*.h, like so:

       find . '*.h' | xargs -r grep 'include'

(`find' wants to expand the filenames itself).  The above works for me,
both on Windows 95 and plain DOS.  If the quotes don't help, please see
if you are using the latest ports of GNU Findutils from DJGPP v2.01 (the
.exe files should be dated Oct 19, 1996).  One possible cause of your 
problem might be that you are inadvertently invoking an incompatible 
version of xargs and/or grep (maybe even not compiled with DJGPP).  If 
grep is not a DJGPP program, xargs might invoke it with too many 
arguments.

> I'm using CWSDPMI.

No, you aren't.  Windows has its own built-in DPMI server, and the DJGPP 
startup code detects this and doesn't load CWSDPMI.

- Raw text -


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