gno/bin
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
..
aroff Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
binprint Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
cat The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
center Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
chtyp
cmp
date This is asm version 1.1 of date(1), also by Phil Vandry. There are still 1998-04-10 18:03:48 +00:00
df
du Initial checkin. These have no modifications for GNO v2.0.6, other 1998-04-10 18:13:27 +00:00
edit edit.c: 1998-06-12 05:06:24 +00:00
gsh Changes for gsh version 2.0d5: 1998-10-26 17:04:51 +00:00
head The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
kill The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
less Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
ls Fixed "ls -s" kilobyte calculation. See PR#48 for details. 1998-06-17 07:00:27 +00:00
make Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
makemake Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
mkdir Initial checkin. These sources correspond to the GNO v2.0.4 build. 1998-03-11 04:09:28 +00:00
more These are changes that apparently bring the version number to 2.0. 1998-04-10 19:10:01 +00:00
passwd Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
ps Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
purge Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
pwd The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
rcp
rmdir
sleep The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
split dotests: 1998-04-28 05:08:38 +00:00
strings Initial checkin of the GNO v2.0.4 strings(1) util. No changes yet for 1998-04-10 19:21:40 +00:00
stty Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
tail The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
tar Initial checkin of what is believed to be tar v2.0. There was a 1998-04-10 19:30:29 +00:00
tee tee.desc: 1998-02-19 02:15:25 +00:00
test Makefile: 1998-02-19 02:23:42 +00:00
time Initial checkin; these sources should correspond to those used to 1998-03-11 02:56:04 +00:00
touch Initial checkin; these sources should correspond to those used to 1998-03-11 02:56:04 +00:00
uname Trying a test cvs checkin. 1998-06-17 05:13:38 +00:00
uniq The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
upper Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
vi Initial checkin of aroff, binprint, center, less, ls, make, makemake, 1998-03-09 08:30:21 +00:00
wc The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00
yes The 'fulltests' script is now located in gno/build.tools 1998-03-11 05:28:01 +00:00