Path: utzoo!mnetor!uunet!mcvax!ukc!dcl-cs!nott-cs!pyr1.cs.ucl.ac.uk!awylie From: awylie@pyr1.cs.ucl.ac.uk Newsgroups: comp.emacs Subject: me3.9e MSC spawn problem + fix Message-ID: <35800001@pyr1.cs.ucl.ac.uk> Date: 1 Dec 87 09:54:00 GMT Lines: 16 Nf-ID: #N:pyr1.cs.ucl.ac.uk:35800001:000:596 Nf-From: pyr1.cs.ucl.ac.uk!awylie Dec 1 09:54:00 1987 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 awylie@uk.ac.ucl.cs