Date: Sun, 1 Dec 1996 16:56:58 +0200 (IST) From: Eli Zaretskii To: Sxren Merser Cc: djgpp AT delorie DOT com Subject: Re: templates? calc? find? In-Reply-To: <32A174A6.3811@image.dk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.