History log of /freebsd-10.0-release/bin/csh/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


231990 22-Feb-2012 mp

Update to tcsh 6.18.01.


219061 26-Feb-2011 ume

When WITH_ICONV is set, use our in-tree iconv.


216178 04-Dec-2010 uqs

Move most of the remaining USD/PSD/SMM papers into share/doc


202190 13-Jan-2010 ed

Let csh(1) use utmpx instead of utmp.

csh allows you to monitor the utmp(x) file to monitor certain user
logins. Unfortunately it needs to directly stat() this file. I don't
want to break this module , but eventually it shouldn't do that. The
idea of the getutxent(3) API is to hide file access.

Approved by: mp


198189 17-Oct-2009 ume

Check error of dlfunc(3).

MFC after: 3 days


169626 16-May-2007 mp

Work around a vendor issue that was causing the builtin malloc to be
used instead of the system malloc.

Submitted by: ume


167469 11-Mar-2007 mp

Build updates for tcsh-6.15.00 import.

Reviewed by: ume
Reminded by: Divacky Roman
MFC after: 1 week


156891 19-Mar-2006 ru

Fix spelling.


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


155835 19-Feb-2006 ume

Enable NLS catalog of csh(1).
The tcsh 6.14 uses libiconv to convert catalogs to appropriate charset
dynamically. However, we don't have libiconv in our tree. So, I made
some hack to load libiconv dynamically. If libiconv is available, you
can use catalogs for more locales than the locales which catalog is
actually installed.
To use this feature, you need to symlink catalogs to appropriate
locales. You can do this by installing ports/shells/tcsh_nls.

Reviewed by: arch (no objection)
MFC after: 1 week


150479 22-Sep-2005 mp

Bump up BUFSIZE from 4k to 8k. This was requested by portmgr@ to allow
ports builds in the cluster to work correctly.

Tested by: kris


148673 03-Aug-2005 phk

Don't install examples of NO_EXAMPLES


148478 28-Jul-2005 keramida

Spell "background" correctly.


145887 04-May-2005 mp

Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environment
variable to show up correctly.

Note: This is really a bug with the stock tcsh configure.in script not
including <sys/types.h> before <utmp.h>. But, since config.h is maintained
separate from the contrib sources, this is the correct fix.

Noticed by: ache


145483 24-Apr-2005 mp

Add in FreeBSD specific options for tcsh 6.14.


145482 24-Apr-2005 mp

Add the config.h resulting from running the configure script.

Note: the contents of this file has changed between 6.13 and 6.14.
The old contents of this file has been repocopied to config_p.h.


145481 24-Apr-2005 mp

Add new file (tc.nls.c) to the build.


142677 27-Feb-2005 phantom

Fix typo


141096 01-Feb-2005 phantom

Use LC_MESSAGES locale category instead of value of LANG environment variable
while opening of tcsh's message catalog. It gives us more flexibility, and
do not change current behaviour (since we call setlocale() here)

Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
PR: bin/76773
MFC After: 3 days


139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


131966 11-Jul-2004 mp

KANJI and DSPMBYTE are now "on" by default in the tcsh 6.13.00 distribution.


127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


126173 23-Feb-2004 johan

style.Makefile:
Use WARNS?= instead of WARNS=


117423 11-Jul-2003 kan

Temporarily turn off -Werror for these components.


117036 29-Jun-2003 gordon

Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes.

Submitted by: Tim Kientzle <kientzle@acm.org>


116282 13-Jun-2003 markm

Get this area compiling with the highest WARNS= that it works with.
Obsolete WFORMAT= junk also removed where possible.

OK'ed by: obrien
Tested on: sparc64, alpha, i386


115898 06-Jun-2003 kuriyama

Use
cat ${.ALLSRC} > ${.TARGET}
rather than
ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by: marcel, obrien, bde


114510 02-May-2003 obrien

Make this WARNS=1 as that is all we can do with GCC 3.3 -- too many
sized/unsigned comparisons.


110348 04-Feb-2003 trhodes

Remove another unused doc Makefile.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


102230 21-Aug-2002 trhodes

s/filesystem/file system/ as discussed on -developers


100640 24-Jul-2002 mp

Remove WARNS and WFORMAT overrides.


99257 02-Jul-2002 ru

Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.

Provided the (previously missing) dependency on source files
for intermediate .msg files.

Provided the default for NLSSRCDIR (defaults to .CURDIR).

Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.

When included from bsd.prog.mk, NLSNAME defaults to PROG.


91633 04-Mar-2002 phantom

Use NLSLINKS to setup symbolic links in NLS area


91629 04-Mar-2002 phantom

This file is not used anymore


91627 04-Mar-2002 phantom

Use bsd.nls.mk for building/installing NLS files

XXX: links handling simplify


90559 12-Feb-2002 mp

Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh.

PR: misc/34800 (from Steven Grady)
Submitted by: phantom (patch)
MFC after: 3 days


90166 04-Feb-2002 kris

Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.


87323 04-Dec-2001 obrien

Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike


83121 05-Sep-2001 mp

Enable BSD style color ls support.

PR: 23161
Submitted by: Anand Ranganathan <anand@blandings.com>


83116 05-Sep-2001 mp

Update to the tcsh-6.11 version.

This file could be removed as the alpha changes have been incorporated into
the base release. However, it is probably best to leave this here since there
are additional FreeBSD architectures in the pipeline that should be added.


83101 05-Sep-2001 mp

Add new tcsh-6.11 NLS sets for Estonian and Russian.
(Polish was also included in tcsh-6.11 but the set1 and set3 files are broken)


79754 15-Jul-2001 dd

Remove whitespace at EOL.


77987 10-Jun-2001 ache

Use new locale names


74845 27-Mar-2001 ru

MAN[1-9] -> MAN.


74397 17-Mar-2001 ache

DIS -> ISO


73640 05-Mar-2001 asmodai

Revert this file back to how it was in the STABLE branch, this means:
put greek and ja in the correct alphabetical place in the SUBDIR line.


71169 17-Jan-2001 ache

Activate Greek message catalog


69640 05-Dec-2000 obrien

Change the spelling of `.' to `.' from .OBJDIR since `.' really is where
generated files land. Also give precedence to generated files.


69551 03-Dec-2000 ache

Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
Add gethost to build-tools to help cross-building


69476 01-Dec-2000 obrien

Fix a "#ifdef" where a comparison operator was used.
GCC 2.96 does not like this.


69415 30-Nov-2000 ache

Upgrade to 6.10


69262 27-Nov-2000 ru

Eliminate groff(1) warnings.


62759 07-Jul-2000 ache

restore tabs lost from prev commit

Asked-by: bde


62692 06-Jul-2000 ache

curses -> termcap, mainly for purity and to indicate which functions family
really used


61535 11-Jun-2000 ache

Activate Japanese NLS and KANJI support


60611 15-May-2000 obrien

In its current state, this file is no longer needed.


60599 15-May-2000 bde

Don't forget to clean csh.1.

Fixed some style bugs.


60029 05-May-2000 jkoshy

Install a manual page for `tcsh(1)', for completeness.

Approved by: obrien


59581 24-Apr-2000 ache

Activate ja nls if WANT_KANJI
Fix 'make release'
Suppress 'make distribute'


59576 23-Apr-2000 obrien

Pass "WANT_KANJI" from make.conf to the compiler.


59575 23-Apr-2000 obrien

MBYTEDEBUG not needed for "WANT_KANJI"

Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>


59471 21-Apr-2000 obrien

Until it's impact is better understood, only active KANJI/DSPMBYTE/MBYTEDEBUG
if "WANT_KANJI" is defined in /etc/make.conf.

Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>


59462 21-Apr-2000 ache

Fix 'make distribute'


59461 21-Apr-2000 ache

Disable ja NLS until clarifying what needed else to support it


59432 20-Apr-2000 ache

Activate NLS.
Optimize NLS by not wasting space copying the same .cat but use symbolic links
instead.


59425 20-Apr-2000 ache

Activate finnish set


59424 20-Apr-2000 obrien

Add NLS files. Finish and Greek are WIPs.

Submitted by: ache


59394 19-Apr-2000 obrien

Use our system malloc().


59393 19-Apr-2000 obrien

Install /bin/tcsh also.


59355 18-Apr-2000 obrien

Upgrade csh.


57717 03-Mar-2000 sheldonh

Revert the previous commit. I knew I should leave non-mdoc stuff alone.


57695 02-Mar-2000 sheldonh

Remove more single-space hard sentence breaks.


57663 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


57279 17-Feb-2000 unfurl

From the PR:

The description of -X option in csh(1) manpage uses a wording
that references the descriptions of -x, -v and -V. This might
be a little confusing. Changed this to a complete description
that does not reference other paragraphs.

PR: 16762
Submitted: Giorgos Keramidas <keramida@ceid.upatras.gr>


57276 17-Feb-2000 unfurl

From the PR:

The first paragraph of "Argument list processing" says that an
argument of - will make csh be a login shell. However, running
csh with only a - as an argument fails with the error message.

csh(1) corrected to reflect this.

PR: 16754
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>


52071 09-Oct-1999 green

This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.


51275 14-Sep-1999 sheldonh

Correct some hard sentence breaks. Only those surrounding the previous
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.

Reported by: bde


51248 13-Sep-1999 phantom

Fix SEE ALSO section:
. add printenv(1)
. correct reference to "CSH introduction"

Reviewed by: mpp


51090 08-Sep-1999 sheldonh

Improve shell documentation:

* Consistently misspell built-in as builtin.

* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
builtin commands for which no standalone utility exists. These MLINKS
replace those that were created for csh(1).

* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
as well as to the manpages of standalone utilities which are supported
as shell builtin commands in at least one of the shells. In such
manpages, explain that similar functionality may be provided as a
shell builtin command.

* Improve sh(1)'s description of the cd builtin command. Csh(1) already
describes it adequately. Replace the cd(1) manpage with a builtin(1)
MLINKS link.

* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
Ic instead of Xr for shell builtin commands.

* Undo English contractions.

Reviewed by: mpp, rgrimes


50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


46684 08-May-1999 kris

Various spelling/formatting changes.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


46073 25-Apr-1999 imp

First set of fixes to keep egcs happy. These include {} around single
statement if blocks[*] when the else could be ambiguous, not defaulting
to int type and removal of some unused variables.

[*] This is explicitly allowed by style(9) when the single statement
spans more than one line.

Reviewed by: obrien, chuckr


41843 16-Dec-1998 imp

Use getcwd in stead of using getwd so that we try harder to avoid
overflowing a buffer.

Obtained from: Either OpenBSD or a discussion in bugtraq.


37896 27-Jul-1998 nectar

Document the printf built-in.


37895 27-Jul-1998 nectar

csh built-in printf now expands arguments. e.g.
printf '%d\n' `echo 23`
now works as expected.
PR: bin/2969
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>


36784 09-Jun-1998 imp

Make sure we pass the length - 1 to readlink, since it adds its own
NUL at the end of the path.
Inspired by: OpenBSD's changes in this area by theo de raadt


36005 13-May-1998 charnier

Restore include of sys/types.h and sys/param.h.


35773 06-May-1998 charnier

Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.


34668 19-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS
Use .An/.Aq


33919 28-Feb-1998 jraynard

Don't assume sigset_t and int are equivalent.


32983 01-Feb-1998 steve

setpwent now has a void return type, so remove the now bogus cast.


31666 10-Dec-1997 eivind

Remove simultaneous include of <sys/param.h> and <sys/types.h>.
Reorder includes to be alphabetical some places since I already was in
here.


30208 07-Oct-1997 eivind

save errno in sigchld handler

Obtained from: Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)


30207 07-Oct-1997 eivind

vsprintf -> vnsprintf paranoia.

Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)


30206 07-Oct-1997 eivind

Don't honor $HOME if >= MAXPATHLEN

Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)


27970 08-Aug-1997 steve

More minor nits (mostly using memove instead of memcpy).


27969 08-Aug-1997 steve

More $@ -> ${.TARGET} that I missed earlier.


27965 07-Aug-1997 steve

Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
register keyword, and -Wall cleaning.

Obtained from: similar changes in NetBSD


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21635 13-Jan-1997 wosch

Sort cross references.


19282 31-Oct-1996 ache

Replace collate_range_cmp call with its code


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


18536 28-Sep-1996 bde

Close files up to getdtablesize() instead of up to NOFILE.

csh was one of the 3 programs in /usr/src that (mis)used NOFILE.


17561 12-Aug-1996 ache

Convert to newly added collate compare function


17529 12-Aug-1996 ache

Use collate for alpha character ranges


17526 11-Aug-1996 ache

Fix unsetenv of locale variable


16930 03-Jul-1996 mpp

Fix some minor formatting problems in some examples.

Obtained from: Partially obtained from NetBSD-bugs mailing list


15073 06-Apr-1996 mpp

Correct some cross references and some path names.


11748 23-Oct-1995 ache

Add missing reaction on LC_ALL and LC_COLLATE


10016 10-Aug-1995 ache

Fix csh to determine event number properly, i.e. stop by ^*-% too.
This fix match with what manpage said and other systems csh's do.
Submitted by: Bill Fenner <fenner@parc.xerox.com>


9434 07-Jul-1995 ache

Move first PATH initialization after sensing for interactive,
first relative path warning was disabled in old case


9433 07-Jul-1995 ache

Do the same check for interactive shell (PATH warning)
like in csh.c


9432 07-Jul-1995 ache

Produce importpath warning only for true interactive shells,
close PR 598


9259 18-Jun-1995 ache

Additionly print strerror(errno), when getwd() fails to start
in initial directory.
Obtained from: idea from NetBSD


9258 18-Jun-1995 ache

Fix error:
which /bin/ls
.//bin/ls
Obtained from: NetBSD


9257 18-Jun-1995 ache

When filec active, TCSANOW was used in any case instead of
sensing TCSADRAIN/TCSAFLUSH
Obtained from: NetBSD


8855 30-May-1995 rgrimes

Remove trailing whitespace.

Reviewed by: phk


8308 06-May-1995 ache

Describe -m option


7165 19-Mar-1995 joerg

You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.

Submitted by: charnier@lirmm.fr (Philippe Charnier)


6488 16-Feb-1995 jkh

1000000 usec -> 1 sec 0 usec; fix.
Submitted by: "Philippe Charnier" <charnier@lirmm.fr>


3044 24-Sep-1994 dg

Added $Id$


1915 07-Aug-1994 jkh

The handling of err.h and const.h were in a real tangle and didn't
work if you didn't explicitly depend first; this should both simplify
things and make it work in all circumstances.
Reviewed by:
Submitted by:


1882 06-Aug-1994 wollman

Fix some dependency bobbles.


1864 05-Aug-1994 wollman

Fix makefiles for our macros.


1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.