History log of /src/bin/csh/csh.c |
Revision | | Date | Author | Comments |
1.56 |
| 15-Sep-2022 |
martin | Fix the build for variants that do not define EDIT.
|
1.55 |
| 14-Sep-2022 |
christos | Update editing before prompt printing.
|
1.54 |
| 14-Sep-2022 |
christos | defer editing setup/cleanup to when we are interactive.
|
1.53 |
| 09-Aug-2020 |
dholland | Use the right size for several calloc calls.
When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This doesn't actually affect the results except on DS9000 though :-)
(part 2, the instance in this file was as far as I can tell inexplicably missed by CVS on the first go...)
|
1.52 |
| 09-Aug-2020 |
dholland | Clarify some comments.
|
1.51 |
| 09-Aug-2020 |
dholland | Don't cast the value returned from *malloc. No change to compiler output.
|
1.50 |
| 03-Apr-2020 |
joerg | Don't depend on common declarations.
|
1.49 |
| 12-Jan-2020 |
christos | remove unused
|
1.48 |
| 05-Jan-2019 |
christos | Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
|
1.47 |
| 05-Jan-2019 |
maya | Remove Free, s/xfree/free/.
Standard C says that free should be a no-op for a NULL pointer, so we don't need an extra function to do this.
While here, add an XXX about a wrong sounding comment
|
1.46 |
| 16-Jul-2013 |
christos | branches: 1.46.26; 1.46.28; WARNS=6 [-Wconversion]
|
1.45 |
| 23-Jan-2013 |
christos | make history kind of work :-), turn libedit support on.
|
1.44 |
| 22-Jan-2013 |
christos | Add a little libedit front end. Could be used as someone's pet project to learn how to program. It is not enabled in the Makefile, and it states why there.
|
1.43 |
| 22-Jan-2012 |
christos | branches: 1.43.6; From tnozaki@: make fpos_t a complex object that keeps track of the parse state of the stream. Change argument of the seek function to funopen() from fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing backwards compatible entry points. Approved by releng@
|
1.42 |
| 29-Aug-2011 |
joerg | branches: 1.42.2; Use __dead
|
1.41 |
| 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
1.40 |
| 16-Jul-2007 |
christos | branches: 1.40.12; no need to have cshbool; just make them int
|
1.39 |
| 16-Jul-2007 |
christos | PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small int.
|
1.38 |
| 16-Jul-2007 |
dogcow | Rename bool -> cshbool; despite the name, bool actually holds values other than 0 or 1. Fixes PR/36650.
|
1.37 |
| 24-Apr-2006 |
snj | It's "its."
|
1.36 |
| 26-Jun-2005 |
christos | sprinkle a little const, and now everything compiles with WARNS=3
|
1.35 |
| 19-Aug-2004 |
christos | Deal with RESCUE
|
1.34 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
1.33 |
| 16-Jan-2003 |
kleink | Rename `sigset' locals to avoid symbol shadowing warning.
|
1.32 |
| 06-Jan-2003 |
wiz | descriptor, not decriptor.
|
1.31 |
| 10-Jul-2002 |
wiz | Fix a typo in a comment. moritz@jodeit.org via OpenBSD.
|
1.30 |
| 25-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.29 |
| 08-Mar-2002 |
christos | % set verbose echo % echo foo >& bar % cat bar guess what you get: echo foo foo
|
1.28 |
| 16-Sep-2001 |
wiz | Use setprogname. Patch by Petri Koistinen.
|
1.27 |
| 14-Sep-2001 |
wiz | ANSIfication and KNF improvements by Petri Koistinen in bin/13689, with some fixes by me.
|
1.26 |
| 04-Sep-2000 |
christos | fix globbing problem when importing $PATH from environment. Reported by Michael Shalayeff.
|
1.25 |
| 31-May-2000 |
christos | branches: 1.25.2; decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K
|
1.24 |
| 28-Jul-1998 |
mycroft | branches: 1.24.8; Be more retentive about use of NOTREACHED and noreturn.
|
1.23 |
| 28-Jul-1998 |
mycroft | Delint.
|
1.22 |
| 28-Jul-1998 |
mycroft | Delint (partially).
|
1.21 |
| 28-Jul-1998 |
mycroft | Delint (partially).
|
1.20 |
| 27-Jul-1998 |
mycroft | const propagation.
|
1.19 |
| 08-Apr-1998 |
fair | Fix csh to use <paths.h> _PATH_DEFPATH as the default path, absent a PATH from the environment.
|
1.18 |
| 01-Apr-1998 |
kleink | Need <time.h> for time() prototype.
|
1.17 |
| 04-Jul-1997 |
christos | branches: 1.17.2; Rename err.h to errnum.h to avoid collision with err.h Fix compiler warnings.
|
1.16 |
| 13-Jan-1997 |
tls | kill register
|
1.15 |
| 31-Oct-1996 |
christos | Quote all imported environment variables, so that we don't core dump with set term='unknown*' ./csh or we don't have security problems with: set path=('`/bin/rm -fr *`' /usr/local) ./csh Reported by Donn Seeley...
|
1.14 |
| 29-Apr-1995 |
mycroft | Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's.
|
1.13 |
| 21-Mar-1995 |
mycroft | Use POSIX signals.
|
1.12 |
| 21-Mar-1995 |
cgd | convert to new RCS id conventions.
|
1.11 |
| 30-Jan-1995 |
mycroft | Use S_IS*().
|
1.10 |
| 20-Jan-1995 |
mycroft | Remove `.' from default PATH.
|
1.9 |
| 15-Jan-1995 |
mycroft | Remove the gratuitous `security' warnings.
|
1.8 |
| 23-Sep-1994 |
mycroft | Eliminate uses of some obsolete functions.
|
1.7 |
| 21-Sep-1994 |
mycroft | Merge 4.4-Lite version.
|
1.6 |
| 12-Feb-1994 |
cgd | minor cleanup
|
1.5 |
| 12-Nov-1993 |
cgd | be rational about foreground process groups; pull code in from tcsh!
|
1.4 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.3 |
| 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
1.2 |
| 22-Mar-1993 |
cgd | added rcs ids to all files
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 20-Sep-1994 |
mycroft | Import original 4.4-Lite version.
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.17.2.1 |
| 08-May-1998 |
mycroft | Pull up 1.18-1.19, per request of fair.
|
1.24.8.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.25.2.1 |
| 04-Sep-2000 |
christos | pullup 1.25 -> 1.26: don't glob $PATH when importing it. [approved by jhawk]
|
1.40.12.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.42.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.42.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.43.6.2 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.43.6.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.46.28.4 |
| 21-Apr-2020 |
martin | Ooops, restore accidently removed files from merge mishap
|
1.46.28.3 |
| 21-Apr-2020 |
martin | Sync with HEAD
|
1.46.28.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.46.28.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.46.26.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|