GNO is the UNIX-like environment for the Apple IIgs
Go to file
tribby 963a33c4bf Changes for gsh version 2.0d5:
Add quotes around null parameters from the command line so they will be
parsed properly (resolves PR#84).

Output piped to an unfound command caused gsh to terminate, due to an
interface change to the GNO 2.0.6 version of getpgrp(2): it now returns the
process group of the caller.  To get the process group number for the
pid passed as a parameter pid, the call has to be made to _getpgrp(2).
In addition to fixing invoke.asm, updates were also made in jobs.asm.

When directory stack is full, pushd, reports a new error message: 'pushd:
Directory stack full'.  (Previously, 50 pushds would cause a crash.)

When parameter passed to "pushd +n" is <= 0, report a new error message:
'pushd: Invalid number'. (Previously, tried to chdir to the parameter.)

When a command appends to stderr (e.g., echo test >>&/tmp/err), stdin was
closed, due to errappend being defined as pipefds+2 rather than pipefds+4
in cmd.asm.

When there was an error reading stdin, gsh went into an infinite loop of
beeping and requesting more input. Changed getchar (in stdio.asm) and
GetCmdLine (in edit.asm) to report the error and terminate.

Code in cmd.asm set and reset handler for signal SIGSTOP (17). This makes
no sense, since there cannot be a handler for SIGSTOP. This was changed
to set and reset signal SIGTSTP (18) since that handler is used by gsh.

The error message "specify a command before redirecting" was never
caught by the invoke() subroutine because the next higher routine,
command(), checked for argv==0 before calling invoke(). The error
message was moved into command().
1998-10-26 17:04:51 +00:00
ainclude Initial checkin; m16.gno is mostly a collection of stubs that allow 1998-03-08 17:18:11 +00:00
bin Changes for gsh version 2.0d5: 1998-10-26 17:04:51 +00:00
build.tools fudgeinstall: 1998-07-07 02:31:22 +00:00
doc Makefile: 1998-10-14 03:14:02 +00:00
HFSinclude initial checkin of header files 1997-02-28 04:42:19 +00:00
include stdio.h: 1998-06-24 00:12:32 +00:00
kern - Fixed infinite loop in traceback() 1998-02-22 05:05:54 +00:00
lib syscall.c: 1998-06-24 04:22:38 +00:00
NOTES status.bin: 1998-06-26 01:29:37 +00:00
orcacdefs - update the "path" pragma to reflect the new location of the ORCA/C 1998-01-25 21:05:28 +00:00
rinclude startup.mk: 1998-02-14 23:56:40 +00:00
sbin mkso/Makefile, renram5/Makefile: 1998-04-22 05:09:55 +00:00
sys Initial checkin; these sources should correspond to the GNO v2.0.4 1998-03-11 02:57:43 +00:00
usr.bin Makefile: 1998-07-07 02:19:26 +00:00
usr.man mkso.data: 1998-10-25 17:17:21 +00:00
usr.orca.bin Makefile: 1998-03-08 17:58:44 +00:00
usr.sbin Install /etc/gettytab from this directory instead of taking it from 1998-04-22 05:29:03 +00:00
verbatim initrc: 1998-05-30 14:36:51 +00:00
binconst.mk binconst.mk, binrelease.mk: 1998-04-22 05:07:20 +00:00
binrelease.mk binconst.mk, binrelease.mk: 1998-04-22 05:07:20 +00:00
binrules.mk binconst.mk: 1998-03-08 17:12:34 +00:00
Makefile make sure top-level files are tarred up 1997-12-22 01:11:08 +00:00
paths.mk paths.mk: 1998-05-30 14:18:04 +00:00
prog.mk Change a few comments to make them match the code: 1998-02-18 18:22:04 +00:00