me3.9e MSC spawn problem + fix

me3.9e MSC spawn problem + fix

Post by awy.. » Sun, 02 Dec 1990 10:54:00



There is a problem in MicroEmacs 3.9e when compiled with the flags MSDOS
and MSC, under Microsoft-C. The DOS shell commands like ^X! do not work.
Looking in spawn.c and tracing down to execprog.c, there are 3 cases
selected by #if AZTEC #if LATTICE and #if TURBO in which the actual DOS
interrupts are done to create a child process and do the shell command.
There is no case for MSC!!!
  This can be fixed by using the LATTICE case (change #if LATTICE to
#if LATTICE|MSC ) and by changing the error return line from
   rval = -_oserr;
to
   rval = -regs.x.ax;

Andrew Wylie


 
 
 

1. MicroEmacs v3.9e "spawn.c" problems on MSDOS versions

THIS FILE IS JUST A TEXT FILE, NOT A PATCH OR FIX FILE
CHANGES TO MICRO-EMACS 3.9E TO COMPILE UNDER MSC QUICK C (MSDOS)

# These changes below will allow the Microsoft Quick C compiler to compile
# the file crypt.c so that the linker will not say that the function mod95
# is undeclared.
< = the OLD crypt.c file

191c191
---
< static int mod95(val)

# These changes below will make the execute DOS command / Shell escape
# work correctly nothing major at all. (I was using MSC Quick C V1.0).

32a33
690c691
< #if        MSDOS & (TURBO | LATTICE | AZTEC)
---
825c826
< #if        TURBO
---

Sammie Lee Graham   --------   addresses in order of importance.


sun!portal!sammie_lee_graham
BBS's ---> Programmers Room or Starship Trooper

GENIE    SLGRAHAM

2. Help in programming.

3. *CORRECTION* MicroEMACS 3.9e standout bugs (fix)

4. IBM/Lexmark 4029 ...Help

5. MicroEMACS 3.9e standout bugs (fix)

6. WHAT LIMITS CURRENT?

7. Bug fixes for MicroEMACS 3.9e string functions

8. Disconnects are frequent : why ??

9. Fixes and enhancements to MicroEMACS 3.9e

10. Spawning subprocess problem in Windows 98

11. xemacs and cygwin problem spawning shells: help

12. problems with control-x in memacs 3.9e

13. Problem in Micro Emacs v3.9e