Mark Peek
6048f2e121
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
2005-05-04 20:21:57 +00:00
Mark Peek
90d5800df2
Add in FreeBSD specific options for tcsh 6.14.
2005-04-24 19:51:57 +00:00
Mark Peek
ced7a1fd5b
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.
2005-04-24 19:50:22 +00:00
Mark Peek
099f08ce6e
Add new file (tc.nls.c) to the build.
2005-04-24 19:44:43 +00:00
Alexey Zelkin
bed602166f
Fix typo
2005-02-27 18:18:32 +00:00
Alexey Zelkin
2b40ba25cc
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
2005-02-01 08:48:15 +00:00
Warner Losh
9ddb49cbe4
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
Mark Peek
e62468e489
KANJI and DSPMBYTE are now "on" by default in the tcsh 6.13.00 distribution.
2004-07-11 02:23:38 +00:00
Mark Murray
6195fb4102
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
Johan Karlsson
c8edef9f48
style.Makefile:
...
Use WARNS?= instead of WARNS=
2004-02-23 20:05:14 +00:00
Alexander Kabaev
08cbb1d115
Temporarily turn off -Werror for these components.
2003-07-11 05:24:32 +00:00
Gordon Tetlow
6d1b4a4730
Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
...
path fixes.
Submitted by: Tim Kientzle <kientzle@acm.org>
2003-06-29 18:46:18 +00:00
Mark Murray
eac4bdcca4
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
2003-06-13 07:04:02 +00:00
Jun Kuriyama
3a624f5e23
Use
...
cat ${.ALLSRC} > ${.TARGET}
rather than
ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.
Commented by: marcel, obrien, bde
2003-06-06 13:46:55 +00:00
David E. O'Brien
be8930b3ec
Make this WARNS=1 as that is all we can do with GCC 3.3 -- too many
...
sized/unsigned comparisons.
2003-05-02 06:39:13 +00:00
Tom Rhodes
b63094f6ec
Remove another unused doc Makefile.
2003-02-04 20:46:23 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Tom Rhodes
7d971bbf29
s/filesystem/file system/ as discussed on -developers
2002-08-21 17:32:44 +00:00
Mark Peek
317aee9760
Remove WARNS and WFORMAT overrides.
2002-07-24 22:26:44 +00:00
Ruslan Ermilov
8479adc1d3
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.
2002-07-02 12:37:09 +00:00
Alexey Zelkin
c1633140b7
Use NLSLINKS to setup symbolic links in NLS area
2002-03-04 12:29:21 +00:00
Alexey Zelkin
bd93868f5a
This file is not used anymore
2002-03-04 11:10:17 +00:00
Alexey Zelkin
f66b3927b3
Use bsd.nls.mk for building/installing NLS files
...
XXX: links handling simplify
2002-03-04 10:34:51 +00:00
Mark Peek
90e0035cca
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
2002-02-12 04:50:12 +00:00
Kris Kennaway
afe781faa2
Lock down with WFORMAT=1 except those directories with unfixed warnings.
...
Tested on i386 and alpha.
2002-02-04 02:49:19 +00:00
David E. O'Brien
a748290789
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
Mark Peek
2441ae608e
Enable BSD style color ls support.
...
PR: 23161
Submitted by: Anand Ranganathan <anand@blandings.com>
2001-09-05 22:56:58 +00:00
Mark Peek
abd3657a6f
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.
2001-09-05 21:11:56 +00:00
Mark Peek
b11fbea708
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)
2001-09-05 18:10:29 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Andrey A. Chernov
4aeac9006a
Use new locale names
2001-06-10 15:28:39 +00:00
Ruslan Ermilov
6c7d684cfe
MAN[1-9] -> MAN.
2001-03-27 10:03:10 +00:00
Andrey A. Chernov
cb1e4365eb
DIS -> ISO
2001-03-17 20:15:21 +00:00
Jeroen Ruigrok van der Werven
a247b994aa
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.
2001-03-05 09:50:43 +00:00
Andrey A. Chernov
24b01c2bd0
Activate Greek message catalog
2001-01-17 16:54:43 +00:00
David E. O'Brien
a8e642f574
Change the spelling of .' to
.' from .OBJDIR since `.' really is where
...
generated files land. Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
Andrey A. Chernov
bdc45483d5
Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
...
Add gethost to build-tools to help cross-building
2000-12-03 16:28:56 +00:00
David E. O'Brien
bddc60b42c
Fix a "#ifdef" where a comparison operator was used.
...
GCC 2.96 does not like this.
2000-12-01 12:29:00 +00:00
Andrey A. Chernov
e754e5f361
Upgrade to 6.10
2000-11-30 21:38:37 +00:00
Ruslan Ermilov
fa6b8a8da7
Eliminate groff(1) warnings.
2000-11-27 08:50:56 +00:00
Andrey A. Chernov
c8ac461f3a
restore tabs lost from prev commit
...
Asked-by: bde
2000-07-07 08:27:59 +00:00
Andrey A. Chernov
7cc55b5092
curses -> termcap, mainly for purity and to indicate which functions family
...
really used
2000-07-06 22:05:41 +00:00
Andrey A. Chernov
e1eb172980
Activate Japanese NLS and KANJI support
2000-06-11 03:26:08 +00:00
David E. O'Brien
0e2e66b060
In its current state, this file is no longer needed.
2000-05-15 17:50:38 +00:00
Bruce Evans
d94edef5b5
Don't forget to clean csh.1.
...
Fixed some style bugs.
2000-05-15 14:24:32 +00:00
Joseph Koshy
54e0092517
Install a manual page for `tcsh(1)', for completeness.
...
Approved by: obrien
2000-05-05 08:12:11 +00:00
Andrey A. Chernov
be2c49b193
Activate ja nls if WANT_KANJI
...
Fix 'make release'
Suppress 'make distribute'
2000-04-24 08:14:16 +00:00
David E. O'Brien
c22ae8f672
Pass "WANT_KANJI" from make.conf to the compiler.
2000-04-23 18:08:49 +00:00
David E. O'Brien
58a09c5f58
MBYTEDEBUG not needed for "WANT_KANJI"
...
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-23 18:08:10 +00:00
David E. O'Brien
8a5e48368a
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>
2000-04-21 18:45:06 +00:00
Andrey A. Chernov
428a34d8ec
Fix 'make distribute'
2000-04-21 12:34:41 +00:00
Andrey A. Chernov
75603ec101
Disable ja NLS until clarifying what needed else to support it
2000-04-21 10:14:09 +00:00
Andrey A. Chernov
43cf5ff9b4
Activate NLS.
...
Optimize NLS by not wasting space copying the same .cat but use symbolic links
instead.
2000-04-20 08:58:11 +00:00
Andrey A. Chernov
491a30c968
Activate finnish set
2000-04-20 07:08:43 +00:00
David E. O'Brien
386c7e9f4e
Add NLS files. Finish and Greek are WIPs.
...
Submitted by: ache
2000-04-20 06:50:23 +00:00
David E. O'Brien
585dfedb38
Use our system malloc().
2000-04-19 15:15:44 +00:00
David E. O'Brien
77f2a34fb1
Install /bin/tcsh also.
2000-04-19 15:15:19 +00:00
David E. O'Brien
325c70b76a
Upgrade csh.
2000-04-18 07:31:36 +00:00
Sheldon Hearn
e84d092b81
Revert the previous commit. I knew I should leave non-mdoc stuff alone.
2000-03-03 09:53:52 +00:00
Sheldon Hearn
4e86fcacf6
Remove more single-space hard sentence breaks.
2000-03-02 14:54:02 +00:00
Sheldon Hearn
bef84d6bc0
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.
2000-03-01 10:43:09 +00:00
Bill Swingle
4e6f6ed936
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>
2000-02-17 03:40:21 +00:00
Bill Swingle
f54042f93f
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>
2000-02-17 03:23:39 +00:00
Brian Feldman
6b3ced11a2
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.
1999-10-09 20:47:59 +00:00
Sheldon Hearn
e6d3cf2648
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
1999-09-14 11:46:04 +00:00
Alexey Zelkin
980bb531d7
Fix SEE ALSO section:
...
. add printenv(1)
. correct reference to "CSH introduction"
Reviewed by: mpp
1999-09-13 19:16:47 +00:00
Sheldon Hearn
c644db6aa2
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
1999-09-08 15:40:46 +00:00
Peter Wemm
2a4562393f
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
Kris Kennaway
46be34b902
Various spelling/formatting changes.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
Warner Losh
426e9c1dcc
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
1999-04-25 21:13:34 +00:00
Warner Losh
0fd975510f
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.
1998-12-16 04:44:32 +00:00
Jacques Vidrine
16c93fc052
Document the printf built-in.
1998-07-27 21:31:19 +00:00
Jacques Vidrine
0bc998d8ab
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>
1998-07-27 21:15:52 +00:00
Warner Losh
e00e592a7a
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
1998-06-09 03:38:43 +00:00
Philippe Charnier
91ac062612
Restore include of sys/types.h and sys/param.h.
1998-05-13 07:29:15 +00:00
Philippe Charnier
cbf6f7d358
Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.
1998-05-06 06:51:42 +00:00
Philippe Charnier
05e61fd508
.Sh AUTHOR -> .Sh AUTHORS
...
Use .An/.Aq
1998-03-19 07:26:37 +00:00
James Raynard
37c77f547a
Don't assume sigset_t and int are equivalent.
1998-02-28 10:50:02 +00:00
Steve Price
3de1350407
setpwent now has a void return type, so remove the now bogus cast.
1998-02-01 17:11:07 +00:00
Eivind Eklund
007d33500e
Remove simultaneous include of <sys/param.h> and <sys/types.h>.
...
Reorder includes to be alphabetical some places since I already was in
here.
1997-12-10 22:18:54 +00:00
Eivind Eklund
186741ecdb
save errno in sigchld handler
...
Obtained from: Theo deRaadt <theo@openbsd.org> (OpenBSD rev 1.6)
1997-10-07 16:43:16 +00:00
Eivind Eklund
ea3a01d31d
vsprintf -> vnsprintf paranoia.
...
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD rev 1.3)
1997-10-07 16:33:22 +00:00
Eivind Eklund
13a71f5d9b
Don't honor $HOME if >= MAXPATHLEN
...
Obtained from: Todd Miller <millert@openbsd.org> (OpenBSD csh.c rev 1.3 and 1.4)
1997-10-07 16:27:48 +00:00
Steve Price
880fdc3dd9
More minor nits (mostly using memove instead of memcpy).
1997-08-08 00:54:05 +00:00
Steve Price
242fa23c9c
More $@ -> ${.TARGET} that I missed earlier.
1997-08-08 00:49:25 +00:00
Steve Price
380fdd7d7e
Changes include: sccsid -> rcsid, bcopy -> memcpy, don't use the
...
register keyword, and -Wall cleaning.
Obtained from: similar changes in NetBSD
1997-08-07 21:42:17 +00:00
Peter Wemm
b97fa2ef50
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5
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.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
af20215665
Sort cross references.
1997-01-13 00:25:51 +00:00
Andrey A. Chernov
a082293830
Replace collate_range_cmp call with its code
1996-10-31 07:22:48 +00:00
Wolfram Schneider
e83201b43a
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
Bruce Evans
e56fdba452
Close files up to getdtablesize() instead of up to NOFILE.
...
csh was one of the 3 programs in /usr/src that (mis)used NOFILE.
1996-09-28 14:32:01 +00:00
Andrey A. Chernov
a1a0a1f9c7
Convert to newly added collate compare function
1996-08-12 21:32:15 +00:00
Andrey A. Chernov
072acff80a
Use collate for alpha character ranges
1996-08-12 02:08:43 +00:00
Andrey A. Chernov
b4814a03fc
Fix unsetenv of locale variable
1996-08-11 23:10:38 +00:00
Mike Pritchard
157f653e98
Fix some minor formatting problems in some examples.
...
Obtained from: Partially obtained from NetBSD-bugs mailing list
1996-07-03 01:28:34 +00:00
Mike Pritchard
e229ffb7e9
Correct some cross references and some path names.
1996-04-06 09:47:30 +00:00
Andrey A. Chernov
fb241711f7
Add missing reaction on LC_ALL and LC_COLLATE
1995-10-23 23:08:26 +00:00
Andrey A. Chernov
cc684979ea
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>
1995-08-10 05:13:42 +00:00
Andrey A. Chernov
e985fb8ec7
Move first PATH initialization after sensing for interactive,
...
first relative path warning was disabled in old case
1995-07-07 23:14:36 +00:00