www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/29/07:22:11

Date: Sun, 29 Nov 1998 14:22:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <OPo3XbxG#GA.244@ntdwwaaw.compuserve.com>
Message-ID: <Pine.SUN.3.91.981129141812.2340M-100000@is>
MIME-Version: 1.0
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019