hush/shell
Eric Andersen 5dcf15e02d Paul Whittaker writes:
With job control enabled, ash fails to tcsetpgrp back to initialpgrp
upon exit.  exitshell() should call setjobctl(0) to do this.

Context: I am using a lightweight menu system (replimenu[.sf.net]) on my
console, which invokes "/bin/sh -i -c /bin/login", where /bin/sh and
/bin/login are busybox applets.   /bin/sh is ash, with
CONFIG_ASH_JOB_CONTROL=y as the sole suboption.  The shell of the user
concerned (nobody) is also /bin/sh (ash).  When the user /bin/sh exits
(and thereby login and its parent sh), replimenu receives EIO when it
tries to read from the terminal.
2004-07-24 12:44:13 +00:00
..
ash.c Paul Whittaker writes: 2004-07-24 12:44:13 +00:00
cmdedit.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
cmdedit.h Vodz last_patch_122, Check $PATH at runtime to fix tab completion 2004-01-14 09:34:51 +00:00
Config.in Patch from Bastian Blank: 2004-06-22 08:29:45 +00:00
hush.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
lash.c Jamie Guinan writes: 2004-04-12 17:59:24 +00:00
Makefile Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
Makefile.in Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
msh.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00