First, my apologies for not being very knowledgeable about DOS issues. I'm building GNU Emacs on FreeDOS. It works, but requires some minor changes to the Emacs source code. For all but one of them, I'm optimistic that they can go into the FSF repository.
The one exception is that Emacs appears to expect if exist noexist echo dummy > file to be a no-op command if there is no file called noexist. However, on FreeDOS, it appears to truncate "file" to 0 bytes in that case, which breaks things. This seems to be a simple precedence issue. If this is indeed a difference between FreeDOS and MS-DOS (or at least some versions thereof), can we work around it by using redir (from DJGPP) instead of the redirection operator? (For those interested in Emacs internals, this is the pdumper build on the scratch/no-purespace branch, built with a recent DJGPP toolchain and a recent GCC; while that means no COFF debug info, I'd rather accept that than use an ancient GCC version. This is a 32-bit version of Emacs with fixnums limited to the -512M to 512M-1 range, so editing very large files won't work and compatibility with 64-bit Emacs builds is reduced. I'm working on patches to fix these issues without using 64-bit arithmetic everywhere, but they probably won't be accepted.) If you receive this message twice, that's probably my mistake. I tried sending it without being subscribed, and it never showed up in the archives, so I subscribed and am trying again. Pip _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user