1998-04-24 15:38:47 +00:00
|
|
|
/*
|
|
|
|
* Resources for version and comment
|
|
|
|
*
|
Changes for gsh version 2.0d8:
Fixed several mutual exclusion problems, including a particularly nasty
one that would cause gsh to loop forever inside the memory manager. (You
could identify this one by the "BRA (-23)" at the bottom of the infinite
loop.)
Fixed the string vector print routine to properly handle all numbers of
entries in the hash table. Previously, it would always print duplicate
entries if there were < 6 commands hashed, and would sometimes print
duplicates (depending on previous contents of an internal table) for
other numbers of commands.
gsh would wait on background processes started from an exec file
(executed, not sourced). Now the exec file does not wait on the process,
but the background process is not associated with the parent shell after
the exec file terminates.
Made gsh globbing work more like csh: if none of the requested patterns
are found, print "No match" and exit.
At startup, if /etc/glogin, $HOME/glogin, or $HOME/gshrc does not exist,
don't report a "file not found" error message. (PR#100)
1998-12-31 18:29:14 +00:00
|
|
|
* $Id: gsh.rez,v 1.10 1998/12/31 18:29:13 tribby Exp $
|
1998-04-24 15:38:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define PROG "gsh"
|
|
|
|
#define DESC "GNO/Shell\n"
|
|
|
|
|
|
|
|
#include "Types.rez"
|
1998-12-22 16:08:54 +00:00
|
|
|
#include "builddate.rez"
|
1998-04-24 15:38:47 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Version
|
|
|
|
*/
|
|
|
|
resource rVersion (1, purgeable3) {
|
|
|
|
{ 2, 0, 0, /* Version 2.0.0 */
|
Major changes to gsh with this checkin:
* When ~ is parsed and next character is a delimiter, make sure contents
of expanded $HOME match the user's delimiter.
* When wildcard patterns don't match, rather than terminating the command
gsh now prints "No match: <pattern> ignored" and passes the command line
minus the unmatched patterns on to be executed.
* Modified echo command so it doesn't add a blank to the end.
* Make "clear" and "source" built-ins non-forked commands. Unforking
"source" allows prefixes to be set in files that are sourced.
* Add loop to parse a single command (removing leading whitespace) before
sending it off to be expanded and executed. Skip null lines and comments
at this level. This allows later commands that depend upon variables set
in the 1st command to work; e.g.: set t_num=1 ; echo "Test number $t_num"
Also fixes problems seen when tab was first character of multiple lines.
* Initialize environment variable flags at startup (for echo, nodirexec,
nonewline, noglob, nobeep, pushdsilent, term, and ignoreeof). Set
flag when env var is set in upper or lower case (formerly, only worked
with lower case).
* Lots of places two-word addresses are incremented using inc, without
checking for overflow into the high-order word. As these are discovered,
they are changed to use adc on both words.
See file UpdateLog for detailed list of changes.
1998-06-30 17:26:04 +00:00
|
|
|
development, /* development|alpha|beta|final|release */
|
Changes for gsh version 2.0d8:
Fixed several mutual exclusion problems, including a particularly nasty
one that would cause gsh to loop forever inside the memory manager. (You
could identify this one by the "BRA (-23)" at the bottom of the infinite
loop.)
Fixed the string vector print routine to properly handle all numbers of
entries in the hash table. Previously, it would always print duplicate
entries if there were < 6 commands hashed, and would sometimes print
duplicates (depending on previous contents of an internal table) for
other numbers of commands.
gsh would wait on background processes started from an exec file
(executed, not sourced). Now the exec file does not wait on the process,
but the background process is not associated with the parent shell after
the exec file terminates.
Made gsh globbing work more like csh: if none of the requested patterns
are found, print "No match" and exit.
At startup, if /etc/glogin, $HOME/glogin, or $HOME/gshrc does not exist,
don't report a "file not found" error message. (PR#100)
1998-12-31 18:29:14 +00:00
|
|
|
8 }, /* non-final release number */
|
1998-04-24 15:38:47 +00:00
|
|
|
verUS, /* Country */
|
|
|
|
PROG, /* Program name */
|
|
|
|
DESC
|
|
|
|
BUILD_DATE
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Comment
|
|
|
|
*/
|
|
|
|
resource rComment (1, purgeable3) {
|
|
|
|
PROG " v2.0\n"
|
|
|
|
DESC
|
1998-07-20 16:23:11 +00:00
|
|
|
"Written by Tim Meekins. Updated by Dave Tribby\n"
|
1998-04-24 15:38:47 +00:00
|
|
|
BUILD_DATE
|
|
|
|
};
|