Date: Sun, 29 Nov 1998 14:22:13 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Wes Baldwin <70127 DOT 2705 AT CompuServe DOT COM> cc: djgpp AT delorie DOT com Subject: Re: Job control and Bash on DOS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 28 Nov 1998, Wes Baldwin wrote: > I presume Bash on DOS has job control, at least in the sense of task > switching, since MSDOS and OpenDOS both have utilities which enable it. No, job control is not supported in the DJGPP port of Bash. Sorry. Multi-processing in DPMI mode is too tricky (or even impossible) to implement, and OpenDOS is not used widely enough to make it mainstream OS that requires custom support. > More specifically, here's the situation: > I set SHELL=f:/bin/bash.exe, start bash, do "emacs test1" and then > Control-Z to suspend it. I'm now back at a bash prompt. "Jobs" yields > "command not found." When you press Ctrl-Z in the DJGPP ports of GNU utilities, typically the application just runs an inferior shell (if Ctrl-Z is at all supported--it needs to be supported by the application code, since the OS doesn't know about Ctrl-Z and SIGTSTP). So neither "jobs" nor "fg" won't do anything. You need to type "exit RET" to get back to the ``suspended'' Emacs.