hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs
Go to file
Stephen Heumann 5c972aa397 Fix our handling of process groups for job control, working around a couple GNO bugs.
*Most significantly, we avoid using setpgid(), because it doesn't work and in fact corrupts the kernel's process group table.
*Also, work around tctpgrp() returning garbage instead of 0 on success.

This adds an implementation of tcsetpgrp that works by reading the process tables to find a process in the appropriate group. This isn't used for the main job control operations, though, since it might be relatively slow.

At this point, basic job control seems to work.
2014-11-21 23:05:38 -06:00
coreutils In redirection operations, map fds 0/1/2 to 1/2/3 so they work as stdin/stdout/stderr, preserving compatibility with Unix shell scripts. 2014-11-20 23:12:01 -06:00
include Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
libbb Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
notes Move all the source files to 15-character ProDOS-compatible file names. 2014-11-02 22:11:07 -06:00
shell Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
.gitignore Minimal changes to enable hush-only builds on OS X 2014-10-26 21:14:47 -05:00
.indent.pro First revision of the Busybox Style Guide and an accompanying .indent.pro 2000-07-24 22:36:06 +00:00
build.gcc Define segments and make other adjustments in makefile. 2014-11-05 22:26:33 -06:00
build.gs Set things up so hush can be build with debug code turned on. 2014-11-06 11:42:17 -06:00
LICENSE LICENSE: update address of the FSF 2009-05-06 05:28:53 -04:00
Makefile Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
Makefile.gmake Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
texttogs Set things up so hush can be build with debug code turned on. 2014-11-06 11:42:17 -06:00