Commit Graph

727 Commits

Author SHA1 Message Date
gdr-ftp
1fc31412c8 README.install:
- changes automatically made to this file from the intro.tex file
gshrc:
	- some portions were moved to the /etc/glogin file
	- added some comments
	- print out a reference to the vi tutorial
installboot1:
	- make sure the /tmp directory is created
1999-01-18 01:59:52 +00:00
gdr-ftp
d3b64a9887 glogin:
initial checkin
1999-01-18 01:51:13 +00:00
gdr-ftp
1f8c740278 Makefile, intro.tex, mknotes:
The file ../../verbatim/boot/README.install is now partially
	generated from intro.tex via the mknotes script.

intro.tex:
	- expanded and corrected v2.0.6 installation notes
	- translated " --> '' (TeX style)

mkhtmlman:
	Don't try to create man pages from resource forks (which would
	have been created by either CAP or Netatalk).
1999-01-18 01:46:07 +00:00
gdr-ftp
36c45596c9 inst.c:
Fixed PR#107 (bad output with -V)
inst.1, inst.desc, inst.rez, inst.c:
	Updated version number to 1.3
1999-01-16 19:30:56 +00:00
gdr-ftp
00cd830bd0 Makefile:
Changed to match the base builds.

binprint.asm:
	Renamed to doline.asm.  The default makefiles don't like to have
	name overloading like there was with binprint.c and binprint.asm

doline.asm:
	- added a dummy segment
	- added the setcom directive

binprint.c:
	- added stack checking code
	- prototyped functions
	- removed extraneous declarations
	- fflush stdout before writing to STDOUT_FILENO

binprint.1, binprint.desc, binprint.rez:
	- initial checkin
1999-01-16 18:35:57 +00:00
gdr-ftp
fc1083b2b0 binprint.c:
Reformattted source.  No substantive change.
1999-01-15 15:54:40 +00:00
gdr-ftp
8cea45f4f0 aroff.c:
- removed some dead code that I forgot about for the previous
	  checkin
1999-01-15 15:46:08 +00:00
gdr-ftp
d49f72c8b0 aroff.c:
- checked and reduced stack size to 1k (actually used is about 748)
	- changed awgs.h --> aroff.h
	- minor formatting changes
	- added some missing header files
	- eliminated a call to some old GNO v1.0 (?) stdio initialization
print.c:
	- changed awgs.h --> aroff.h
	- minor formatting changes
1999-01-15 15:45:04 +00:00
gdr-ftp
d1c781eaf4 Makefile:
- completely changed for new builds
awgs.c, awgs.h:
	- renamed to aroff.c and aroff.h, respectively
	- inserted RCS Id tag
	- reformatted source (not substantive changes)
aroff.1, aroff.rez, aroff.desc:
	- initial checkin
1999-01-15 08:36:31 +00:00
gdr-ftp
1fb579993f describe.src:
- updated entry for gsh
1999-01-15 07:57:42 +00:00
gdr-ftp
25acdd5de9 common.c common.h udlgs.c udlunix.c:
Replace use of getwd(3) with getcwd(3); it's safer.
1999-01-15 07:36:15 +00:00
gdr-ftp
96970e3e76 Makefile:
- changed path to libtermcap
1999-01-15 06:50:35 +00:00
gdr-ftp
a10d56e871 Makefile:
- Allow for sources to be on an appleshare volume.
1999-01-15 06:43:16 +00:00
tribby
41372644be Listed Tim Meekins as author, and removed reference to Free BSD code. 1999-01-14 23:55:58 +00:00
tribby
e586eeefeb Changes for gsh version 2.0d9:
Added additional optional debug code. A version of gsh with the memory
checking debug code turned on is available as an exe file.

Lock and unlock the hash mutual exclusion key in when disposing of the
hash table.

Allow five digits rather than four when printing the process number in
the ps command.

Piping the output of a command into a non-executable file no longer
causes gsh to hang.
1999-01-14 17:44:25 +00:00
gdr-ftp
d4ee658beb Makefile:
Fixed up and simplified the 'release' and 'install' targets; use
	the default ones from binrelease.mk and supply subsidiary recipes.
1999-01-14 05:33:20 +00:00
gdr-ftp
ad04b0113e Makefile:
Allow for sources being on a Netatalk-served volume.
1999-01-11 06:05:34 +00:00
gdr-ftp
85d56e8a3c status.bin:
Updated entries for getvers, sum, whereis, cron.
1999-01-11 01:29:48 +00:00
gdr-ftp
48ce3af1e2 describe.src:
- added entry for gsh
1999-01-11 01:27:07 +00:00
gdr-ftp
c77b46a12d Makefile:
- Simplify; a lot of the stuff this makefile did previously is
	  now available by including <prog.mk>.
1999-01-11 01:25:43 +00:00
gdr-ftp
2b00b1d41a ttymsg.c:
Corrected return type of writev(2).
1999-01-11 01:24:47 +00:00
gdr-ftp
66eeae13e0 Makefile:
Add workaround for PR#106 (dmake).
1999-01-11 01:24:02 +00:00
gdr-ftp
d964ac088f MANIFEST:
- Initial checkin. Explains what the various file here are.
TO.DO:
	- moved to 'devel' subdirectory
archives:
	- Initial checkin.  Shows breakdown of distribution disks.
headers:
	- made some updates.  This is probably really out of date.
new.syscalls:
	- deleted.  This information is now in the kernel reference manual,
	  so avoid duplication.
status.bin:
	- updated entries for ed, asml, assemble, cmpl, col, calendar.
status.lib:
	- updated entries for routines vsyslogmt, syslogmt, vis, and unvis.
	- updated entries for files syslog.c and vis.c
status.usrman:
	- Initial checkin.  This lists the status of the files in the
	  src/gno/usr.man directory hierarchy.
update.usrman:
	- Initial checkin.  A script to help keep status.usrman current.
1999-01-09 21:28:35 +00:00
gdr-ftp
63c3c2629c MANIFEST:
Initial checkin. Explains what the various file here are.

adding.utils:
	Initial checkin. Discusses stuff necessary to add utils to the
	base distribution.

doing.builds:
	Initial checkin. Explains how to create the base builds.
1999-01-09 21:19:58 +00:00
gdr-ftp
df675b5803 Makefile:
Added work-around for PR#106 (dmake).
1999-01-09 18:52:56 +00:00
gdr-ftp
28c606e490 Makefile:
- set up custom "release" and "install" targets for gsh
	- added describe entry
1999-01-08 07:38:47 +00:00
gdr-ftp
39f181121d describe.src:
Updated entries:
	apropos, awk, basename, catman, catrez, cmp, cpp, cut, descu,
	dirname, getty, getvers, install, last, lseg, makewhatis, man,
	nroff, renram5, rmdir, split, sum, tail, tee, test, tr, udl,
	uname, wall, wc, whatis, whereis, who, whois
    Added entries:
	asml, assemble, cat, chtyp, cksum, cmp, cmpl, colcrt, compile,
	ctags, df, false, fmt, ftp, head, help, inetd, kill, link, logger,
	login, mkso, pwd, rcp, removerez, rlogin, rsh, sed, sleep, syslogd,
	true, uniq, yes
1999-01-07 08:36:33 +00:00
gdr-ftp
d073b63fc1 updated "FTP:" field in describe entry to fix site names; use current
names for trenco, ground, and caltech
1999-01-07 08:20:19 +00:00
gdr-ftp
9818323355 Makefile, rmdir.c:
Take contrib.h out of system include directory rather than the
	GNO source build directories.
1999-01-07 07:50:10 +00:00
gdr-ftp
508f00afb5 chtyp.desc:
corrected "Name:" field
1999-01-07 07:49:08 +00:00
gdr-ftp
bd0308e3b2 binconst.mk:
- when building the various utilities, have the 'release'
	  target update the master describe database source, rather
	  than a copy of it.
1999-01-07 07:28:14 +00:00
gdr-ftp
3443e714c6 mkso.data:
added .so links for vis.3 and unvis.3 pages
1999-01-07 05:18:07 +00:00
gdr-ftp
a2225ddb83 vis.3, unvis.3:
initial checkin
1999-01-07 05:17:24 +00:00
gdr-ftp
25b2576666 syslogd.3:
- added a BUGS section
	- added info regarding syslogmt and vsyslogmt
sprintmt.3:
	- fixed a typo
1999-01-06 03:44:45 +00:00
gdr-ftp
a803274121 describe.src:
Added entry for ar(1), submitted by Scott Moberly.
1999-01-04 15:50:26 +00:00
gdr-ftp
49196eea67 logger.c:
- the syslog routines in libc should never have been changed to
	  take long parameters.  Restore the relevent code in this program
	  to the original types.
1999-01-04 05:13:56 +00:00
gdr-ftp
273780523c Makefile:
eliminate oldlog.c from the build.  old_syslog() was only used by
	syslog2.asm, and inspection showed it to be likely buggy anyway.
	It was missing a field in the passed data structure, and using
	it would cause any long-running daemon to run out of memory if
	didn't crash first.  For now I'm leaving oldlog.c where it is
	rather than doing a 'cvs rm'.

syslog.c:
	Major changes...
	- The facility/priority has gone back to being of type int vice long;
	  the original change was a red herring.
	- The current syslog implementation will now talk to Phil's original
	  syslogd.
	- The busy wait in sendPort now forces a context switch.

syslog2.asm:
	- I commented the sources while figuring out what Phil's syslogd
	  was doing.  I may was well check in those comments even though
	  this file is not currently used.
	- fixed the save name and the 'mcopy' directive

vis.c, unvis.c:
	- initial checkin
1999-01-04 05:10:36 +00:00
gdr-ftp
edee25c942 syslog.h:
- The facility/priority has gone back to being of type int vice long;
	  the original change was a red herring.
	- The current syslog implementation will now talk to Phil's original
	  syslogd, so only list the version zero protocol structure.
1999-01-04 05:09:04 +00:00
gdr-ftp
f880e0c973 vis.h: initial checkin 1999-01-04 05:08:13 +00:00
gdr-ftp
6b44130571 ports.c:
initial checkin for test re PR#102
1998-12-31 22:45:35 +00:00
gdr-ftp
8621395051 Makefile:
added kludge to allow rez files to be on Appleshare.
1998-12-31 21:34:56 +00:00
gdr-ftp
6d572535da binconst.mk, binrules.mk:
- Allow for rez source to be on Appleshare volumes.  Kludge is
	  not enabled by default (see paths.mk).
1998-12-31 21:26:34 +00:00
tribby
6269a8ca25 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
gdr-ftp
bc56eb46eb describe.src:
- new entries from Scott Moberly: dd, printf, soelim, tty,
	  uudecode, and uuencode
1998-12-31 09:45:00 +00:00
gdr-ftp
f790e8d53c paths.mk:
Added the APPLESHARE_CASE_SENSITIVE macro.  See PR#98.  This
	is disabled by default.
1998-12-22 16:13:41 +00:00
gdr-ftp
412340be8b lib.mk:
Added an implicit rule for making rez targets where the sources
	reside on an Appleshare server.  See PR#98.
1998-12-22 16:11:42 +00:00
gdr-ftp
2604b42f9a Due to PR#98, change it so that the builddate.rez file is always taken
out of 13/RInclude instead of /src/gno/build.tools.  This implies that
builddate.rez has to have been previously installed in 13/RInclude; this
is done by the 'install' and 'release' targets in /src/gno/build.tools.
1998-12-22 16:08:54 +00:00
gdr-ftp
7de2321a08 Makefile:
- initial checkin.  Needed for 'install' and 'release' targets.

dmake.startup, startup.mk:
	- When dmake finds a startup.mk in the current directory, it
	  parses that file after the system startup.mk.  In this case they're
	  one and the same.  While this shouldn't be a problem, it's
	  causing dmake to crash.  See PR#99.

	  The workaround was to rename startup.mk in this directory to
	  dmake startup.  It is renamed back to its proper name in the
	  recipes to the install and release targets.
1998-12-22 15:57:32 +00:00
tribby
e7f2691599 Changes for gsh version 2.0d7:
Fixed several memory leaks.

Prefix command without any parameter (to list the prefixes) would cause
memory corruption when prefix had been invoked previously with a parameter.

Sourcing a command file from within an exec file could cause gsh to
wait forever, depending upon the commands executed in the sourced file.

All built-in commands return appropriate status: 1 for error, 0 for no error.

Fixed several cases where incorrect value was set in $status.

Added usage strings for tset, hash, commands, and history.

Fixed memory corruption error when edit command had no parameters.

When system() is called with pointer = NULL or with a command string that
causes gsh to detect an error (e.g., incompatibility with | and <), return
status of -1. In other cases, return process's status rather than always 0.

System would crash when output from a non-forked command was piped to
another process; for example   clear | cat > /tmp/list
1998-12-21 23:57:08 +00:00
gdr-ftp
7ec020a057 Convert CR-->LF in sources; they were checked in with the wrong newline
delimiters.
1998-12-13 02:50:33 +00:00