Commit Graph

662 Commits

Author SHA1 Message Date
gdr-ftp
0c8ae50cfc mkso.data:
Added links for __progname(3), vsprintmt(3), syslogmt(3), and
	vsyslogmt(3).
1998-10-25 17:17:21 +00:00
gdr-ftp
7199e83868 sprintmt.3:
Initial checkin for sprintmt(3) and vsprintmt(3) documentation.

syslog.3:
	Add descriptions of syslogmt(3) and vsyslogmt(3), which are thread-
	safe variants with more limited format specifiers.

progname.3:
	Added description of the "__progname" variable.  This in effect
	exposes the cache value used by __prognameGS().  It was necessary
	for the proper operation of the thread-safe syslog routines.
1998-10-25 17:15:51 +00:00
gdr-ftp
96955b85a3 Makefile:
The "up" link in the reference manuals was broken; the -up_title
	flag to tex2html was missing.

intro.tex:
	- reworked Overview chapter.  Replaced "The GNO/ME Package" with
	  "Documentation Roadmap", updated "Obtaining GNO", etc.
	- Added section to "Installing v2.0.6" about how to obtain source
	  by anonymous cvs and anonymous ftp.
	- publish date changed
	- updated copyright dates

refs.html:
	- minor grammatical changes
1998-10-14 03:14:02 +00:00
gdr-ftp
3061aa26a4 Added the following entries, submitted by Scott Moberly:
comm
	paste
	rev
	tput
	unifdef
1998-09-27 15:53:03 +00:00
gdr-ftp
c4af1317ee intro.tex:
Various changes as requested by Dave Tribby.  Some are typographic,
	some are broken links, ambiguities, etc.  No change of basic
	content.
1998-09-24 06:49:58 +00:00
tribby
1dc5497309 Added startup protocol as requested by Devin Reed (PR#78) and Steve Reeves
(PR#85, PR#86):
   For login shells (command line starts with '-'),
	If $PATH doesn't start with ':' or contain a space,
	   change all ":" to " ".
	source /etc/glogin
	source $HOME/glogin
$HOME/gshrc is sourced afterward for both login and non-login shells.

Don't the print number of hashed commands (from "rehash") until all
initialization is completed.

Only pass exported environment variables to child processes, and prevent child
processes from changing parent's environment.

A null command followed by a redirection of stdout, for example
  > /tmp/list
would cause an error message "<garbage> not found" due to incorrect
setting of command buffer pointer.

Filename completion did not work following ">&" or ">" without a trailing
space.

Entabbed all the asm files, saving more than 36,000 bytes.
1998-09-08 16:53:14 +00:00
tribby
2e0ebb5392 Replaced last of old shell calls with their newer counterparts. This
removed the need for p-string routines, so they were removed. Also
removed alloc256/free256 and associated data structures.

In removing calls, found instances in pwd & prefix commands and prompt
handler where current directory name was assumed to be < 256 characters;
recoded to use a flexible buffer size.

Updated and expanded mmdebug.asm routines that perform error checking on
memory management calls. Added macros ~NEW and ~DISPOSE that invoke either
the real or debug routines.

Fixed call to read $TERM variable's length to fix PR#81.

Removed echo of data when setting value of $< in expandvars (expand.asm).
The characters are echoed as they are typed and do not need to be reprinted
on stdout after carriage-return is typed.

Added error checking to the various flavors of prefix (just like cd):
  - Verify 2nd parameter is a valid directory before setting.
  - Verify 1st parameter < 32 before displaying or setting.
1998-08-03 17:30:30 +00:00
tribby
d534981038 Changed many invocations from old shell interface routines (Read_Variable,
Set_Variable, Export, etc.) to new ones (ReadVariableGS, SetGS, ExportGS,
etc.) in many places; there are still a few more to change.  This change
removed the 256-character limit on strings retrieved by these routines,
such as the value of environment variables. (PR # 9).

At startup do not set $TERM to gnocon if it is already set.

Removed the df command (from builtin.asm).

Defined macro incad to increment a 4-byte address, checking for overflow;
replaced instances of "inc ptr" with "incad ptr".

Changed column offset table to use a 1-word rather than 1-byte entry. This
resolves PR#14 (hash wouldn't print beyond first 256 filenames).

Fixed defect in unalias (alias.asm) where the double quote portion of the
scanner would look for a terminating single quote. This resolves PR#69.

Changed default order for copying files in $PATH dirs into executable list,
so earlier paths files are found first.

Added environment variable flag $OLDPATHMODE to make gsh behave in the old
(backwards order) way when necessary.

Discard duplicate filenames when hashing.

Fix PR#73: directory in $PATH with escaped space (\ ) is not searched.
1998-07-20 16:23:11 +00:00
gdr-ftp
615d7ab922 syslog.3:
- fixed some formatting problems
1998-07-07 03:32:44 +00:00
gdr-ftp
ed7f658d4e fudgeinstall:
- don't fudge sed(1) any more; it's done
1998-07-07 02:31:22 +00:00
gdr-ftp
4957db0caf Makefile:
- set HAS_BSD_MANPAGE to 'true' -- get the right one when building
	  the release.
1998-07-07 02:19:26 +00:00
gdr-ftp
3689484d24 calendar.c:
- fixed a bug introduced in 1.1 where getting an error while
          reading the calandar file could cause an infinite loop
        - added "ChangeLog" comments for all versions
	- added stack checking
        - eliminated "pragma stacksize" from the source file; it was too
          small (was 512 bytes, currently using 862 bytes) and overriding
          the value given on the command line during the GNO base build
          process
README, calendar.info:
	- Moved the information in these files to the man page.
Makefile, calendar.rez:
	- initial checkin
calendar.1:
	- cleaned it up a bit and made it conform to the GNO base builds
	- added an example
1998-07-07 02:14:30 +00:00
gdr-ftp
b40c451852 calendar.1, calendar.c:
Updates for v1.1 as submitted by Marlin Allred.  His comments:

	"I compiled calendar with the 2.0.6 libraries and fixed it so
	 the date could be put anywhere on the line. I also fix[ed] the
	 program so that tomorrow's and Monday's activity was also being
	listed. The man page for calendar was also updated. [...] I did
	not update the source file to indicate the changes made."

calendar.desc:
	Updated for v1.1.
1998-07-04 17:24:38 +00:00
gdr-ftp
5a9733461b describe.src:
- added entry for 'eject'
	- updated entry for 'calendar'
1998-07-04 17:13:43 +00:00
gdr-ftp
546377ce0d - added describe entry 1998-07-04 17:05:18 +00:00
tribby
01902c1b91 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
gdr-ftp
f5e621f814 status.bin:
- updated entries for edit(1) and logger(1)
1998-06-26 01:29:37 +00:00
gdr-ftp
afc1676d9f syscall.c:
- added readv (untested) and writev (tested)
1998-06-24 04:22:38 +00:00
gdr-ftp
b7010abc60 This is a re-implementation of the syslog(3) and related functions. 1998-06-24 04:20:02 +00:00
gdr-ftp
4e1bec2062 stdio.h:
Changed some '0' constants to '0L'.  Probably not necessary, but
	consider it paranoia from earlier ORCA/C bugs.

sys/syslog.h:
	These changes reflect the new implementation for syslog(3) and
	friends.  The biggest change is that the facility/priority (which
	is encoded as a single number) requires 32 bits, so has been moved
	from an int value to a long value.

	This means that any programs using syslog(3) cannot merely be
	relinked, but will need to be recompiled.

	This file also contained various constants coded as bitshift
	values, like (4<<3).  ORCA/C can't handle this in the context
	of a constant initializer, so these constants have been resolved
	and changed to single hex values.  The originals are left in
	comments.

sys/uio.h:
	- #include <sys/types.h> if it has not already been done.
	- change the return value of readv/writev back from size_t to
	  ssize_t.  I don't recall why they were originally changed,
	  given that they weren't implemented and BSD uses ssize_t.
1998-06-24 00:12:32 +00:00
gdr-ftp
c6c45722d8 logger.c:
Did changes for the initial GNO version.  This includes:
	- prototyping;
	- changing the facility/priority value from an int to a
	  long (we need 32 bits for all the information);
	- stack checking code; and
	- after doing a freopen() of stdin, change it back to text mode.

Makefile, logger.rez, logger.desc:
	New files.
1998-06-23 23:23:55 +00:00
gdr-ftp
442d75ce87 netif.h:
Replaced a non-standard #import directive with a guarded #include.
1998-06-22 06:48:55 +00:00
gdr-ftp
23e61fe09c logger.1G:
Added GNO version of man page.
1998-06-22 05:05:55 +00:00
gdr-ftp
40d932969c logger.c, logger.1:
Initial checkin.  No change from BSD sources.
1998-06-21 04:21:04 +00:00
gdr-ftp
560e9a67ad bugs.html:
Explain how to submit followups to a given PR (problem report)
	using the email interface.
1998-06-19 23:35:07 +00:00
stever
4bd91df5de Fixed "ls -s" kilobyte calculation. See PR#48 for details. 1998-06-17 07:00:27 +00:00
stever
a43a7e27fd Trying a test cvs checkin. 1998-06-17 05:13:38 +00:00
gdr-ftp
999f6066fb index.html:
added links for status lists

intro.tex:
	added installation chapter for GNO v2.0.6.  This isn't finished
	yet, but it's a start.

kern.tex:
	fixed typo for listen(2)

related.html:
	fixed html link.

ignored.pages:
	added some ... deleted some
1998-06-12 14:47:44 +00:00
gdr-ftp
94012d9889 edit.c:
- initial checkin
1998-06-12 05:06:24 +00:00
tribby
cd8bfae836 Create *.mac files from gsh.mac via Makefile.
Added direct-page/stack data segment of size 2048 to main.asm.  It is
initialized to be filled with "?" characters, so that it can be examined
to see how much space is actually being used.
1998-06-09 16:22:56 +00:00
gdr-ftp
6cdf1b9893 describe.src:
- clarified descriptions of "lam" and "from".
1998-06-04 03:41:42 +00:00
gdr-ftp
c39b230a61 gsh.1:
- initial checkin.  This is mainly just a pointer to the reference
	  manual.
1998-06-04 03:11:28 +00:00
gdr-ftp
102c443527 - Added entries for from, jot, lam, lc, and nohup (submitted by Scott
Moberly).
- inserted a blank line after the "FTP:" line for some entries.  These
  lines had been deleted due to a bug in descu.  See PR#66 for details.
1998-06-03 16:09:46 +00:00
gdr-ftp
92eced2bba status.bin:
updated entries for gsh, rsh, rlogin
1998-06-02 13:11:02 +00:00
gdr-ftp
69723f10b6 Makefile:
- except for main.root, delete all created *.root files just after
	  they're made.  This avoids duplicate symbols in the link step.
1998-05-30 17:21:40 +00:00
gdr-ftp
49801ffa31 setvers.1:
- expanded the .TH line to have all arguments.  If this is not
	  done, then when building the html versions of the man pages
	  the page is not recognised as a GNO man page and is ignored.
1998-05-30 16:09:41 +00:00
gdr-ftp
750cc1d6da trap.asm:
fixed a comment regarding exec(2)
1998-05-30 15:36:15 +00:00
gdr-ftp
769c8a8027 initrc:
Initial checkin.  This is the one used for starting the multiuser
	package.
1998-05-30 14:36:51 +00:00
gdr-ftp
d4f470ef7d paths.mk:
- removed makefile macros for DISKS and DISK?; they're not
	  needed any more.
1998-05-30 14:18:04 +00:00
gdr-ftp
5e602d499d Added entries for column, expand, file2c, unexpand, and what. 1998-05-30 03:11:15 +00:00
tribby
068fd5bb72 Change call of execve to _execve. 1998-05-11 19:18:43 +00:00
tribby
1f9c2a058b New output test case 1998-05-08 17:37:36 +00:00
tribby
e014797a8e Update getvers per user feedback:
* Add -f option to control printing of filename
  * Rewrote printing of text to allow carriage-return and tab
  * Report no version information as warning for both no rVersion and
    no version fork
1998-05-08 17:33:46 +00:00
tribby
519805dbb4 Modifications for getvers 1998-05-08 17:31:03 +00:00
tribby
2a2c7d8648 Tests modified for latest getvers 1998-05-08 17:30:23 +00:00
tribby
91c2c09f56 Preparation for checking in new getvers 1998-05-08 00:37:29 +00:00
gdr-ftp
9170dd1a63 fsettext.3, funopen.3:
Explained how to get binary streams on the result from an
	funopen(3) call.
execl.3:
	minor "see also" change
1998-04-29 03:33:14 +00:00
gdr-ftp
7c77098c01 kerntool.h:
Updated with the remainder of the changes for the v2.0.6 kernel.
1998-04-29 03:05:40 +00:00
tribby
f00cfed6ba Documentation files for setvers. Not yet modified. 1998-04-29 00:45:05 +00:00
tribby
d36d59e158 getvers version 2.0 test files. 1998-04-29 00:42:47 +00:00