Update tcsh to 6.21.00.
This is a bugfix release with no new features. A number of these fixes were previously merged into our tree. Sponsored by: DARPA, AFRL
This commit is contained in:
commit
cc698b4900
@ -1,4 +1,18 @@
|
||||
22. Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
|
||||
12. V6.21.00 - 20190508
|
||||
11. Abort history loading on words and lines too long
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1598502
|
||||
10. PR/37: Introduce GetCmdChar() to avoid open coding array access.
|
||||
9. make closem() not close sockets so as not to affect nss_ldap.
|
||||
tcsh never creates sockets so that's ok (Miloslav Trmac)
|
||||
8. PR/597: Make rmstar work with aliased rm
|
||||
7. convert match() from recursive to backtracking.
|
||||
6. Handle 8 bit characters in bindkey (Werner Fink)
|
||||
5. Look for tgetent in libtinfo as well (Werner Fink)
|
||||
4. Don't play pointer tricks that are undefined in modern c (Brooks Davis)
|
||||
3. Fix out of bounds read (Brooks Davis)
|
||||
2. Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar)
|
||||
1. PR/471: Delay arginp parsing
|
||||
|
||||
20. V6.20.00 - 20161124
|
||||
19. Don't resize the screen if it did not change size.
|
||||
18. V6.19.01 - 20161025
|
||||
|
@ -1,6 +1,4 @@
|
||||
XCOMM
|
||||
XCOMM $tcsh: Imakefile,v 1.88 2014/07/07 20:34:58 christos Exp $
|
||||
XCOMM
|
||||
XCOMM Imakefile for tcsh 6.12
|
||||
XCOMM Marc Horowitz, MIT SIPB
|
||||
XCOMM
|
||||
@ -522,12 +520,11 @@ TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
|
||||
tc.prompt.${SUF} tc.sched.${SUF} tc.sig.${SUF} tc.str.${SUF} \
|
||||
tc.vers.${SUF} tc.who.${SUF}
|
||||
|
||||
MISCF = Makefile.std Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
|
||||
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
|
||||
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
|
||||
README.imake complete.tcsh vmsreadme.txt Makefile.vms termcap.vms \
|
||||
snames.h host.defs gethost.c tcsh.man2html Makefile.in configure.ac \
|
||||
Makefile.win32 aclocal.m4
|
||||
MISCF = Makefile.std BUILDING Fixes MAKEDIFFS MAKESHAR NewThings README.md \
|
||||
FAQ WishList config_f.h eight-bit.me glob.3 patchlevel.h pathnames.h \
|
||||
tcsh.man Ported src.desc Imakefile imake.config complete.tcsh \
|
||||
Makefile.vms termcap.vms snames.h host.defs gethost.c tcsh.man2html \
|
||||
Makefile.in configure.ac Makefile.win32 aclocal.m4
|
||||
CONFSRCS=config/[a-z]*
|
||||
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#
|
||||
# MAKEDIFFS.sh: Make context diffs for the csh sources
|
||||
#
|
||||
# $tcsh: MAKEDIFFS,v 3.1 2006/03/02 18:46:44 christos Exp $
|
||||
XINUDIR=/usr/share/src/mtXinu/bin/csh
|
||||
BSDDIR=/usr/share/src/mtXinu/BSD/bin/csh
|
||||
TAHOEDIR=/usr/share/src/mtXinu/TAHOE/bin/csh
|
||||
|
@ -2,7 +2,6 @@
|
||||
#
|
||||
# MAKESHAR.sh: Make a shar file for the sources
|
||||
#
|
||||
# $tcsh: MAKESHAR,v 3.2 2006/03/02 18:46:44 christos Exp $
|
||||
|
||||
AWK=/usr/bin/nawk # Must be nawk or gawk cause of 2D arrays
|
||||
WC=/usr/ucb/wc
|
||||
|
@ -1,5 +1,3 @@
|
||||
# $tcsh: Makefile.in,v 3.59 2015/08/24 20:09:04 kim Exp $
|
||||
# Makefile.in 4.3 6/11/83
|
||||
#
|
||||
# C Shell with process control; VM/UNIX VAX Makefile
|
||||
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
|
||||
@ -407,11 +405,11 @@ TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
|
||||
tc.vers.${SUF} tc.who.${SUF}
|
||||
|
||||
PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
|
||||
AVSRCS= Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
|
||||
AVSRCS= BUILDING Fixes MAKEDIFFS MAKESHAR NewThings README.md FAQ \
|
||||
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
|
||||
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
|
||||
README.imake complete.tcsh vmsreadme.txt termcap.vms snames.h \
|
||||
host.defs gethost.c tcsh.man2html configure.ac configure config.h.in \
|
||||
complete.tcsh vmsreadme.txt termcap.vms snames.h host.defs \
|
||||
gethost.c tcsh.man2html configure.ac configure config.h.in \
|
||||
tests/testsuite.at aclocal.m4
|
||||
TESTFILES= tests/aliases.at tests/arguments.at tests/commands.at \
|
||||
tests/expr.at tests/lexical.at tests/mb-eucjp.at \
|
||||
@ -449,7 +447,7 @@ pure:$(P) ${OBJS}
|
||||
|
||||
gethost: gethost.c sh.err.h tc.const.h sh.h
|
||||
rm -f gethost
|
||||
${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
|
||||
${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(srcdir)/gethost.c
|
||||
|
||||
tc.defs.c: gethost host.defs
|
||||
@rm -f $@.tmp
|
||||
|
@ -1,5 +1,3 @@
|
||||
# $tcsh: Makefile.std,v 1.100 2015/08/24 20:09:04 kim Exp $
|
||||
# Makefile.std 4.3 6/11/83
|
||||
#
|
||||
# C Shell with process control; VM/UNIX VAX Makefile
|
||||
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
|
||||
@ -317,11 +315,11 @@ TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
|
||||
tc.vers.${SUF} tc.who.${SUF}
|
||||
|
||||
PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
|
||||
AVSRCS= Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
|
||||
AVSRCS= BUILDING Fixes MAKEDIFFS MAKESHAR NewThings README.md FAQ \
|
||||
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
|
||||
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
|
||||
README.imake complete.tcsh vmsreadme.txt termcap.vms snames.h \
|
||||
host.defs gethost.c tcsh.man2html configure.ac configure config.h.in \
|
||||
complete.tcsh vmsreadme.txt termcap.vms snames.h host.defs \
|
||||
gethost.c tcsh.man2html configure.ac configure config.h.in \
|
||||
aclocal.m4
|
||||
|
||||
VHSRCS=${PVSRCS} ${AVSRCS}
|
||||
|
@ -1,5 +1,3 @@
|
||||
# $tcsh: Makefile.vms,v 1.40 2014/07/07 20:34:58 christos Exp $
|
||||
# Makefile.vms 4.3 6/11/83
|
||||
#
|
||||
# C Shell with process control; VM/UNIX VAX Makefile
|
||||
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
|
||||
@ -295,11 +293,11 @@ TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
|
||||
tc.vers.${SUF} tc.who.${SUF}
|
||||
|
||||
PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
|
||||
AVSRCS= Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
|
||||
AVSRCS= BUILDING Fixes MAKEDIFFS MAKESHAR NewThings README.md FAQ \
|
||||
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
|
||||
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
|
||||
README.imake complete.tcsh vmsreadme.txt termcap.vms snames.h \
|
||||
host.defs gethost.c tcsh.man2html configure.ac aclocal.m4
|
||||
complete.tcsh vmsreadme.txt termcap.vms snames.h host.defs \
|
||||
gethost.c tcsh.man2html configure.ac aclocal.m4
|
||||
|
||||
VHSRCS=${PVSRCS} ${AVSRCS}
|
||||
|
||||
|
@ -338,7 +338,7 @@ CFLAGS : normal
|
||||
LIBES : -ltermcap
|
||||
OS : bsd 4.3reno
|
||||
CONFIG : bsdreno
|
||||
NOTES : ttyname() is buggy. calls closedir() twice. See README
|
||||
NOTES : ttyname() is buggy. calls closedir() twice. See BUILDING
|
||||
ENVIRON : n/a
|
||||
VERSION : 6.00.04
|
||||
|
||||
|
@ -1,207 +0,0 @@
|
||||
This is tcsh version 6.20.00. Tcsh is a version of the Berkeley
|
||||
C-Shell, with the addition of: a command line editor, command and file
|
||||
name completion, listing, etc. and a bunch of small additions to the
|
||||
shell itself.
|
||||
|
||||
Tcsh has been ported to most unix variants, and can be tinkered to work
|
||||
in unix systems that it has not ported yet. See the Ported file for
|
||||
a more complete list of ported systems and in the config directory for
|
||||
a configuration file that matches your system.
|
||||
Tcsh also runs under VMS/POSIX and OS/2+emx; the OS/2 port is not
|
||||
complete yet.
|
||||
|
||||
Feel free to use it. These changes to csh may only be included in a
|
||||
commercial product if the inclusion or exclusion does not change the
|
||||
purchase price, level of support, etc. Please respect the individual
|
||||
authors by giving credit where credit is due (in other words, don't
|
||||
claim that you wrote portions that you haven't, and don't delete the
|
||||
names of the authors from the source code or documentation).
|
||||
|
||||
To install tcsh:
|
||||
|
||||
0) Try running "./configure". If that doesn't work, goto step 1.
|
||||
Run "./configure --help" to see possible options. After running
|
||||
configure, goto step 3.
|
||||
|
||||
1) Otherwise copy Makefile.std to Makefile. Look at the Makefile and
|
||||
make sure that you are using the right compilation flags.
|
||||
|
||||
2) Copy the appropriate for your machine and OS config file from the
|
||||
config subdirectory into config.h. Consult the file "Ported" for
|
||||
settings known to work on various machines. If you are trying to
|
||||
compile tcsh on a machine for which there is no config file yet,
|
||||
you will need to create a config file using as a template one of
|
||||
the supplied ones. If you get tcsh working on a new machine, I'd
|
||||
appreciate a copy of the config file plus additional information
|
||||
about the architecture/OS. If you are creating a new config file,
|
||||
look very hard at BSDJOBS and BSDTIMES if you are running
|
||||
a non-BSD machine. For vanila SysV, these would all be #undef-ed,
|
||||
but others may vary (such as A/UX or HPUX). On a pyramid, compile
|
||||
in the UCB universe even if you are running under the ATT universe
|
||||
usually; it will work anyway, and you get job control for free.
|
||||
|
||||
3) Look at config_f.h, and enable or disable any features you want.
|
||||
It is configured the way I like it, but you may disagree.
|
||||
|
||||
4) Look at host.defs to make sure that you have the right defines to set
|
||||
the environment variables "HOSTTYPE", "MACHTYPE", "OSTYPE" and
|
||||
"VENDOR" correctly. If you need to make changes, PLEASE SEND THEM
|
||||
BACK TO ME.
|
||||
|
||||
5) You may want to adjust the DESTBIN and DESTMAN entries in
|
||||
the Makefile. These are the directories that tcsh, and the tcsh.1
|
||||
man entry will be placed in when you do a "make install" and "make
|
||||
install.man" respectively. If you decide to install tcsh somewhere
|
||||
other than in /usr/local/bin/tcsh, you should #define _PATH_TCSHELL
|
||||
"/your/installation/directory/tcsh" in pathnames.h.
|
||||
|
||||
6) make
|
||||
|
||||
7) Read the documentation while you are waiting. The file tcsh.man
|
||||
is in standard [nt]roff -man format. If you like, you can run the
|
||||
tcsh.man2html script (requires Perl) to generate an HTML version of
|
||||
the manpage which you can read with Mosaic, lynx or other HTML browser.
|
||||
|
||||
8) Test tcsh by typing ./tcsh to see that it has compiled correctly.
|
||||
The history command should give a time stamp on every entry.
|
||||
Typing normal characters should echo each exactly once. Control-A
|
||||
should put the cursor at the beginning of the input line, but after
|
||||
the prompt. Typing characters after that should insert them into
|
||||
the line. If you have job control make sure that stopping and
|
||||
restarting jobs works. Make sure you can ^C in the middle of the
|
||||
input line. Also make sure that pipelines work correctly and there
|
||||
are no races. Try 'echo | cat | cat | cat | cat | more' a couple of
|
||||
times. If you have job control, try this command in the background
|
||||
and bring it in the foreground when it stops for tty output. Also
|
||||
make sure that the ioctl() modes are preserved. Get into vi, enter
|
||||
and exit input mode and suspend it, background it and foreground it
|
||||
again. After all that, lastly make sure that the tty process group
|
||||
manipulation is happening correctly. Try ftp to some host. If your
|
||||
passwd appears on the screen, you have lost /dev/tty. Otherwise
|
||||
everything is fine.
|
||||
|
||||
9) Once satisfied that tcsh is working correctly, complete the installation
|
||||
by typing "make install" to install the binary, and "make install.man" to
|
||||
install the documentation. Don't forget to look at complete.tcsh for
|
||||
useful completions...
|
||||
|
||||
10) Enjoy.
|
||||
|
||||
11) PLEASE file any bug reports (and fixes), code for new features at:
|
||||
|
||||
http://bugs.gw.com/
|
||||
|
||||
Comments, questions, etc. (even flames) are welcome via email to:
|
||||
|
||||
The tcsh bugs mailing list
|
||||
tcsh-bugs@mx.gw.com
|
||||
|
||||
Various:
|
||||
|
||||
***************************************************************************
|
||||
|
||||
On sysv versions < 3.0 (not hpux) Doug Gwyn's public domain directory
|
||||
manipulation library has to be installed. This library is available
|
||||
for anonymous ftp from prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
|
||||
If the network is not installed, then there is a gethostname()
|
||||
routine is tc.os.c
|
||||
|
||||
***************************************************************************
|
||||
|
||||
On BSDreno, in ttyname() closedir() is called twice and so the same
|
||||
pointer gets free'd twice. tcsh's malloc is picky and it prints an
|
||||
error message to that effect. If you don't like the message:
|
||||
|
||||
1. Apply the following patch:
|
||||
|
||||
*** /usr/src/lib/libc/gen/ttyname.c.orig Fri Jun 1 17:17:15 1990
|
||||
--- /usr/src/lib/libc/gen/ttyname.c Tue Oct 29 16:33:12 1991
|
||||
***************
|
||||
*** 51,57 ****
|
||||
if (stat(buf, &sb2) < 0 || sb1.st_dev != sb2.st_dev ||
|
||||
sb1.st_ino != sb2.st_ino)
|
||||
continue;
|
||||
- closedir(dp);
|
||||
rval = buf;
|
||||
break;
|
||||
}
|
||||
--- 51,56 ----
|
||||
|
||||
Or: Comment the error printing out in tc.alloc.c
|
||||
Or: Compile -DSYSMALLOC
|
||||
|
||||
|
||||
***************************************************************************
|
||||
|
||||
From: Scott Krotz <krotz@honey.rtsg.mot.com>
|
||||
|
||||
Tcsh has been ported to minix by Scott Krotz (krotz@honey.rtsg.mot.com).
|
||||
Unfortunately the minix sed is broken, so you'll have to find a way to
|
||||
make tc.const.h, sh.err.h, ed.defns.h which are automatically generated.
|
||||
The easiest way to create them is to make a copy from unix, copying
|
||||
minix to config.h, and then 'make sh.err.h tc.const.h ed.defns.h'
|
||||
|
||||
The OS/dependent files are in mi.termios.h, mi.wait.h, mi.varargs.h
|
||||
|
||||
You will get some warnings, but dont worry about them, just ignore
|
||||
them. After tcsh has compiled and the gcc binary is converted to a
|
||||
minix binary, remember to chmem it to give it more memory - it will
|
||||
need it! How much you need depends on how many aliases you have, etc..
|
||||
Add at least 50000 to it.
|
||||
|
||||
One last thing. You might have to make some links for include files so
|
||||
that they are in the directories that tcsh is expecting while compiling.
|
||||
I forget if I had to do this or not, but it should be fairly easy to sort
|
||||
out. If it cant find any include files this is probably the reason.
|
||||
|
||||
If you have any problems, please tell me. I can be contacted through
|
||||
e-mail at:
|
||||
|
||||
krotz@honey.rtsg.mot.com
|
||||
|
||||
I also read comp.os.minix on a regular basis, so a note there will get
|
||||
my attention also.
|
||||
|
||||
Have fun!
|
||||
|
||||
ps. The termios functions are provided by Magnus Doell and Bruce Evans.
|
||||
Thanks, guys!
|
||||
|
||||
|
||||
From: Bob Byrnes <byrnes@ee.cornell.edu>
|
||||
|
||||
This is for minix 1.5 (straight out of the box from P-H) plus the i386
|
||||
patches from Bruce Evans.
|
||||
|
||||
I cross-compiled on a Sun using gcc 2.1 with a target of i386-bsd
|
||||
(using the minix include files instead of the bsd versions), and then
|
||||
linked the resulting object files with similarly compiled crtso.o and
|
||||
libc.a on vax (little endian) using a hacked version of ld which I put
|
||||
together to generate minix executables instead of bsd a.out format.
|
||||
What a kludge ...
|
||||
|
||||
I compiled with -O2 -Wall ... So far I haven't noticed any problems
|
||||
with the optimizer.
|
||||
|
||||
In case anyone is contemplating compiling tcsh with bcc (Bruce Evan's
|
||||
i386 compiler that comes with the minix386 upgrade package), don't bother.
|
||||
It is some serious bugs that kill tcsh when compiled for 16-bit characters.
|
||||
I can provide more details of bugs that I noticed for brave souls who want
|
||||
to try, but it would be hard (and why bother if you can get gcc?).
|
||||
|
||||
I can make the binary available to anyone who wants it (for example people
|
||||
who can't get access to a cross-compiling environment, and who don't yet
|
||||
have gcc running under minix).
|
||||
|
||||
|
||||
***************************************************************************
|
||||
|
||||
If your compiler cannot handle long symbol names, add
|
||||
|
||||
#include "snames.h"
|
||||
|
||||
to your config.h file
|
||||
|
||||
-- Christos Zoulas
|
||||
christos@zoulas.com
|
||||
|
@ -1,9 +0,0 @@
|
||||
|
||||
If you have imake running on your machine, you may skip steps 1 and 2
|
||||
described in the README file and try instead the process described here.
|
||||
Note that imake is not supported for all the platforms yet, so this
|
||||
might not work on your machine. If that is the case please let us know.
|
||||
If you can send a patch that fixes the problem we would appreciate it.
|
||||
|
||||
1. edit imake.config and modify the configurable parameters to your liking.
|
||||
2. 'xmkmf; make depend; make'
|
26
contrib/tcsh/README.md
Normal file
26
contrib/tcsh/README.md
Normal file
@ -0,0 +1,26 @@
|
||||
# Tcsh
|
||||
|
||||
*C shell with file name completion and command line editing*
|
||||
|
||||
The Tcsh source code is available on GitHub as a read-only repo
|
||||
mirror at:
|
||||
|
||||
> http://github.com/tcsh-org/tcsh
|
||||
|
||||
Instructions for compiling Tcsh can be found in [BUILDING].
|
||||
|
||||
PLEASE file any bug reports, fixes, and code for new features at:
|
||||
|
||||
> https://bugs.astron.com/
|
||||
|
||||
Comments, questions, etc. (even flames) are welcome via email to
|
||||
the Tcsh Bugs mailing list:
|
||||
|
||||
> tcsh-bugs@astron.com
|
||||
> https://mailman.astron.com/
|
||||
|
||||
[![Build Status][status]][travis]
|
||||
|
||||
[BUILDING]: BUILDING
|
||||
[status]: https://travis-ci.org/tcsh-org/tcsh.svg?branch=master
|
||||
[travis]: https://travis-ci.org/tcsh-org/tcsh
|
@ -1,5 +1,4 @@
|
||||
#
|
||||
# $tcsh: complete.tcsh,v 1.56 2015/07/03 16:52:47 christos Exp $
|
||||
# example file using the new completion code
|
||||
#
|
||||
# Debian GNU/Linux
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/config_f.h,v 3.52 2016/04/16 15:44:18 christos Exp $ */
|
||||
/*
|
||||
* config_f.h -- configure various defines for tcsh
|
||||
*
|
||||
@ -177,20 +176,6 @@
|
||||
*/
|
||||
#define FILEC
|
||||
|
||||
/*
|
||||
* RCSID This defines if we want rcs strings in the binary or not
|
||||
*
|
||||
*/
|
||||
#if !defined(lint) && !defined(SABER) && !defined(__CLCC__)
|
||||
# ifndef __GNUC__
|
||||
# define RCSID(id) static char *rcsid = (id);
|
||||
# else
|
||||
# define RCSID(id) static const char rcsid[] __attribute__((__used__)) = (id);
|
||||
# endif /* !__GNUC__ */
|
||||
#else
|
||||
# define RCSID(id) /* Nothing */
|
||||
#endif /* !lint && !SABER */
|
||||
|
||||
/* Consistency checks */
|
||||
#ifdef WIDE_STRINGS
|
||||
# ifdef WINNT_NATIVE
|
||||
|
42
contrib/tcsh/configure
vendored
42
contrib/tcsh/configure
vendored
@ -1,8 +1,8 @@
|
||||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.69 for tcsh 6.20.00.
|
||||
# Generated by GNU Autoconf 2.69 for tcsh 6.21.00.
|
||||
#
|
||||
# Report bugs to <http://bugs.gw.com/>.
|
||||
# Report bugs to <https://bugs.astron.com/>.
|
||||
#
|
||||
#
|
||||
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
||||
@ -267,10 +267,10 @@ fi
|
||||
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
||||
else
|
||||
$as_echo "$0: Please tell bug-autoconf@gnu.org and
|
||||
$0: http://bugs.gw.com/ about your system, including any
|
||||
$0: error possibly output before this message. Then install
|
||||
$0: a modern shell, or manually run the script under such a
|
||||
$0: shell if you do have one."
|
||||
$0: https://bugs.astron.com/ about your system, including
|
||||
$0: any error possibly output before this message. Then
|
||||
$0: install a modern shell, or manually run the script
|
||||
$0: under such a shell if you do have one."
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
@ -580,9 +580,9 @@ MAKEFLAGS=
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='tcsh'
|
||||
PACKAGE_TARNAME='tcsh'
|
||||
PACKAGE_VERSION='6.20.00'
|
||||
PACKAGE_STRING='tcsh 6.20.00'
|
||||
PACKAGE_BUGREPORT='http://bugs.gw.com/'
|
||||
PACKAGE_VERSION='6.21.00'
|
||||
PACKAGE_STRING='tcsh 6.21.00'
|
||||
PACKAGE_BUGREPORT='https://bugs.astron.com/'
|
||||
PACKAGE_URL=''
|
||||
|
||||
ac_unique_file="tc.vers.c"
|
||||
@ -1250,7 +1250,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures tcsh 6.20.00 to adapt to many kinds of systems.
|
||||
\`configure' configures tcsh 6.21.00 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@ -1315,7 +1315,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of tcsh 6.20.00:";;
|
||||
short | recursive ) echo "Configuration of tcsh 6.21.00:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@ -1348,7 +1348,7 @@ Some influential environment variables:
|
||||
Use these variables to override the choices made by `configure' or to help
|
||||
it to find libraries and programs with nonstandard names/locations.
|
||||
|
||||
Report bugs to <http://bugs.gw.com/>.
|
||||
Report bugs to <https://bugs.astron.com/>.
|
||||
_ACEOF
|
||||
ac_status=$?
|
||||
fi
|
||||
@ -1411,7 +1411,7 @@ fi
|
||||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
tcsh configure 6.20.00
|
||||
tcsh configure 6.21.00
|
||||
generated by GNU Autoconf 2.69
|
||||
|
||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
@ -1658,9 +1658,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
||||
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
||||
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
||||
( $as_echo "## ---------------------------------- ##
|
||||
## Report this to http://bugs.gw.com/ ##
|
||||
## ---------------------------------- ##"
|
||||
( $as_echo "## --------------------------------------- ##
|
||||
## Report this to https://bugs.astron.com/ ##
|
||||
## --------------------------------------- ##"
|
||||
) | sed "s/^/$as_me: WARNING: /" >&2
|
||||
;;
|
||||
esac
|
||||
@ -2174,7 +2174,7 @@ cat >config.log <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by tcsh $as_me 6.20.00, which was
|
||||
It was created by tcsh $as_me 6.21.00, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@ -4284,7 +4284,7 @@ return tgetent ();
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' termlib termcap curses ncurses; do
|
||||
for ac_lib in '' termlib tinfo termcap curses ncurses; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
@ -7350,7 +7350,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by tcsh $as_me 6.20.00, which was
|
||||
This file was extended by tcsh $as_me 6.21.00, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@ -7410,13 +7410,13 @@ $config_headers
|
||||
Configuration commands:
|
||||
$config_commands
|
||||
|
||||
Report bugs to <http://bugs.gw.com/>."
|
||||
Report bugs to <https://bugs.astron.com/>."
|
||||
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
tcsh config.status 6.20.00
|
||||
tcsh config.status 6.21.00
|
||||
configured by $0, generated by GNU Autoconf 2.69,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dotlock.c,v 1.11 2009/10/21 01:07:46 snj Exp $ */
|
||||
/* NetBSD: dotlock.c,v 1.11 2009/10/21 01:07:46 snj Exp */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christos Zoulas. All rights reserved.
|
||||
@ -24,7 +24,6 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
RCSID("$tcsh: dotlock.c,v 3.4 2015/11/03 21:04:13 christos Exp $")
|
||||
|
||||
#include <stdio.h>
|
||||
#ifndef O_SYNC
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.chared.c,v 3.103 2015/08/19 14:29:55 christos Exp $ */
|
||||
/*
|
||||
* ed.chared.c: Character editing functions.
|
||||
*/
|
||||
@ -71,9 +70,6 @@
|
||||
*/
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.chared.c,v 3.103 2015/08/19 14:29:55 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "tw.h"
|
||||
#include "ed.defns.h"
|
||||
@ -1105,8 +1101,7 @@ e_inc_search(int dir)
|
||||
if (GetNextChar(&ch) != 1)
|
||||
return(e_send_eof(0));
|
||||
|
||||
switch (ch > NT_NUM_KEYS
|
||||
? F_INSERT : CurrentKeyMap[(unsigned char) ch]) {
|
||||
switch (GetCmdChar(ch)) {
|
||||
case F_INSERT:
|
||||
case F_DIGIT:
|
||||
case F_MAGIC_SPACE:
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.decls.h,v 3.46 2015/08/19 14:29:55 christos Exp $ */
|
||||
/*
|
||||
* ed.decls.h: Editor external definitions
|
||||
*/
|
||||
@ -250,6 +249,7 @@ extern CCRETVAL e_newline_down_hist (Char);
|
||||
* ed.inputl.c
|
||||
*/
|
||||
extern int Inputl (void);
|
||||
extern int GetCmdChar (Char);
|
||||
extern int GetNextChar (Char *);
|
||||
extern void UngetNextChar (Char);
|
||||
extern void PushMacro (Char *);
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.defns.c,v 3.51 2016/02/14 15:44:18 christos Exp $ */
|
||||
/*
|
||||
* ed.defns.c: Editor function definitions and initialization
|
||||
*/
|
||||
@ -31,9 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.defns.c,v 3.51 2016/02/14 15:44:18 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
|
||||
static void ed_InitMetaBindings (void);
|
||||
@ -265,26 +261,22 @@ PFCmd CcFuncTbl[] = { /* table of available commands */
|
||||
#define F_COMMAND_NORM 111
|
||||
e_dabbrev_expand,
|
||||
#define F_DABBREV_EXPAND 112
|
||||
e_copy_to_clipboard,
|
||||
#define F_COPY_CLIP 113
|
||||
e_paste_from_clipboard,
|
||||
#define F_PASTE_CLIP 114
|
||||
e_dosify_next,
|
||||
#define F_DOSIFY_NEXT 115
|
||||
#define F_DOSIFY_NEXT 113
|
||||
e_dosify_prev,
|
||||
#define F_DOSIFY_PREV 116
|
||||
#define F_DOSIFY_PREV 114
|
||||
e_page_up,
|
||||
#define F_PAGE_UP 117
|
||||
#define F_PAGE_UP 115
|
||||
e_page_down,
|
||||
#define F_PAGE_DOWN 118
|
||||
#define F_PAGE_DOWN 116
|
||||
e_yank_pop,
|
||||
#define F_YANK_POP 119
|
||||
#define F_YANK_POP 117
|
||||
e_newline_hold,
|
||||
#define F_NEWLINE_HOLD 120
|
||||
#define F_NEWLINE_HOLD 118
|
||||
e_newline_down_hist,
|
||||
#define F_NEWLINE_DOWN_HIST 121
|
||||
#define F_NEWLINE_DOWN_HIST 119
|
||||
0 /* DUMMY VALUE */
|
||||
#define F_NUM_FNS 122
|
||||
#define F_NUM_FNS 120
|
||||
|
||||
};
|
||||
|
||||
@ -1753,18 +1745,6 @@ editinit(void)
|
||||
f->desc = CSAVS(3, 115,
|
||||
"Replace just-yanked text with yank from earlier kill");
|
||||
|
||||
f++;
|
||||
f->name = "e_copy_to_clipboard";
|
||||
f->func = F_COPY_CLIP;
|
||||
f->desc = CSAVS(3, 116,
|
||||
"(WIN32 only) Copy cut buffer to system clipboard");
|
||||
|
||||
f++;
|
||||
f->name = "e_paste_from_clipboard";
|
||||
f->func = F_PASTE_CLIP;
|
||||
f->desc = CSAVS(3, 117,
|
||||
"(WIN32 only) Paste clipboard buffer at cursor position");
|
||||
|
||||
f++;
|
||||
f->name = "e_dosify_next";
|
||||
f->func = F_DOSIFY_NEXT;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.h,v 3.50 2007/07/05 14:13:06 christos Exp $ */
|
||||
/*
|
||||
* ed.h: Editor declarations and globals
|
||||
*/
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.init.c,v 3.60 2006/08/24 20:56:31 christos Exp $ */
|
||||
/*
|
||||
* ed.init.c: Editor initializations
|
||||
*/
|
||||
@ -31,9 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.init.c,v 3.60 2006/08/24 20:56:31 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "tc.h"
|
||||
#include "ed.defns.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.inputl.c,v 3.73 2012/10/19 15:23:32 christos Exp $ */
|
||||
/*
|
||||
* ed.inputl.c: Input line handling.
|
||||
*/
|
||||
@ -31,9 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.inputl.c,v 3.73 2012/10/19 15:23:32 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "ed.defns.h" /* for the function names */
|
||||
#include "tw.h" /* for twenex stuff */
|
||||
@ -668,6 +664,17 @@ RunCommand(Char *str)
|
||||
Refresh();
|
||||
}
|
||||
|
||||
int
|
||||
GetCmdChar(Char ch)
|
||||
{
|
||||
#ifndef WINNT_NATIVE // We use more than 256 for various extended keys
|
||||
wint_t c = ch & CHAR;
|
||||
#else
|
||||
wint_t c = ch;
|
||||
#endif
|
||||
return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
|
||||
}
|
||||
|
||||
static int
|
||||
GetNextCommand(KEYCMD *cmdnum, Char *ch)
|
||||
{
|
||||
@ -696,17 +703,8 @@ GetNextCommand(KEYCMD *cmdnum, Char *ch)
|
||||
MetaNext = 0;
|
||||
*ch |= META;
|
||||
}
|
||||
/* XXX: This needs to be fixed so that we don't just truncate
|
||||
* the character, we unquote it.
|
||||
*/
|
||||
if (*ch < NT_NUM_KEYS)
|
||||
cmd = CurrentKeyMap[*ch];
|
||||
else
|
||||
#ifdef WINNT_NATIVE
|
||||
cmd = CurrentKeyMap[(unsigned char) *ch];
|
||||
#else
|
||||
cmd = F_INSERT;
|
||||
#endif
|
||||
|
||||
cmd = GetCmdChar(*ch);
|
||||
if (cmd == F_XKEY) {
|
||||
XmapVal val;
|
||||
CStr cstr;
|
||||
@ -800,13 +798,18 @@ GetNextChar(Char *cp)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
cbp++;
|
||||
if (normal_mbtowc(cp, cbuf, cbp) == -1) {
|
||||
reset_mbtowc();
|
||||
if (cbp < MB_CUR_MAX)
|
||||
continue; /* Maybe a partial character */
|
||||
/* And drop the following bytes, if any */
|
||||
*cp = (unsigned char)*cbuf | INVALID_BYTE;
|
||||
if (cbp == 0 /* && *cbuf < NT_NUM_KEYS */
|
||||
&& CurrentKeyMap[(unsigned char)*cbuf] == F_XKEY) {
|
||||
*cp = (unsigned char)*cbuf;
|
||||
} else {
|
||||
cbp++;
|
||||
if (normal_mbtowc(cp, cbuf, cbp) == -1) {
|
||||
reset_mbtowc();
|
||||
if (cbp < MB_CUR_MAX)
|
||||
continue; /* Maybe a partial character */
|
||||
/* And drop the following bytes, if any */
|
||||
*cp = (unsigned char)*cbuf | INVALID_BYTE;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.refresh.c,v 3.51 2015/06/06 21:19:07 christos Exp $ */
|
||||
/*
|
||||
* ed.refresh.c: Lower level screen refreshing functions
|
||||
*/
|
||||
@ -31,9 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.refresh.c,v 3.51 2015/06/06 21:19:07 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
/* #define DEBUG_UPDATE */
|
||||
/* #define DEBUG_REFRESH */
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.screen.c,v 3.82 2016/11/24 15:04:14 christos Exp $ */
|
||||
/*
|
||||
* ed.screen.c: Editor/termcap-curses interface
|
||||
*/
|
||||
@ -31,9 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.screen.c,v 3.82 2016/11/24 15:04:14 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "tc.h"
|
||||
#include "ed.defns.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.term.c,v 1.38 2011/02/25 23:58:34 christos Exp $ */
|
||||
/*
|
||||
* ed.term.c: Low level terminal interface
|
||||
*/
|
||||
@ -32,8 +31,6 @@
|
||||
*/
|
||||
#include "sh.h"
|
||||
#ifndef WINNT_NATIVE
|
||||
|
||||
RCSID("$tcsh: ed.term.c,v 1.38 2011/02/25 23:58:34 christos Exp $")
|
||||
#include <assert.h>
|
||||
#include "ed.h"
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.term.h,v 1.19 2015/03/25 19:53:16 christos Exp $ */
|
||||
/*
|
||||
* ed.term.h: Local terminal header
|
||||
*/
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/ed.xmap.c,v 3.38 2015/06/06 21:19:07 christos Exp $ */
|
||||
/*
|
||||
* ed.xmap.c: This module contains the procedures for maintaining
|
||||
* the extended-key map.
|
||||
@ -87,9 +86,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: ed.xmap.c,v 3.38 2015/06/06 21:19:07 christos Exp $")
|
||||
|
||||
#include "ed.h"
|
||||
#include "ed.defns.h"
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
.\" $tcsh: eight-bit.me,v 3.2 2006/03/02 18:46:44 christos Exp $
|
||||
How to use 8 bit characters
|
||||
by
|
||||
Johan Widen
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/gethost.c,v 1.19 2014/03/09 00:11:54 christos Exp $ */
|
||||
/*
|
||||
* gethost.c: Create version file from prototype
|
||||
*/
|
||||
@ -32,8 +31,6 @@
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: gethost.c,v 1.19 2014/03/09 00:11:54 christos Exp $")
|
||||
|
||||
#ifdef SCO
|
||||
# define perror __perror
|
||||
# define rename __rename
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: glob.3,v 1.17 2001/03/16 21:09:05 christos Exp $
|
||||
.\" NetBSD: glob.3,v 1.17 2001/03/16 21:09:05 christos Exp
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1991, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -693,72 +693,92 @@ globextend(const char *path, glob_t *pglob)
|
||||
}
|
||||
|
||||
/*
|
||||
* pattern matching function for filenames. Each occurrence of the *
|
||||
* pattern causes a recursion level.
|
||||
* pattern matching function for filenames.
|
||||
*/
|
||||
static int
|
||||
match(const char *name, const Char *pat, const Char *patend, int m_not)
|
||||
{
|
||||
int ok, negate_range;
|
||||
const Char *patNext;
|
||||
const char *nameNext, *nameStart, *nameEnd;
|
||||
Char c;
|
||||
|
||||
while (pat < patend) {
|
||||
size_t lwk;
|
||||
patNext = pat;
|
||||
nameStart = nameNext = name;
|
||||
nameEnd = NULL;
|
||||
|
||||
while (pat < patend || *name) {
|
||||
size_t lwk, pwk;
|
||||
__Char wc, wk;
|
||||
|
||||
c = *pat; /* Only for M_MASK bits */
|
||||
pat += One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
if (*name == EOS)
|
||||
nameEnd = name;
|
||||
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
lwk = one_mbtowc(&wk, name, MB_LEN_MAX);
|
||||
switch (c & M_MASK) {
|
||||
case M_ALL:
|
||||
while (pat < patend && (*pat & M_MASK) == M_ALL) /* eat consecutive '*' */
|
||||
pat += One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
if (pat == patend)
|
||||
return (1);
|
||||
while (!match(name, pat, patend, m_not)) {
|
||||
if (*name == EOS)
|
||||
return (0);
|
||||
name += lwk;
|
||||
lwk = one_mbtowc(&wk, name, MB_LEN_MAX);
|
||||
while ((*(pat + pwk) & M_MASK) == M_ALL) {
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
}
|
||||
return (1);
|
||||
patNext = pat;
|
||||
nameNext = name + lwk;
|
||||
pat += pwk;
|
||||
continue;
|
||||
case M_ONE:
|
||||
if (*name == EOS)
|
||||
return (0);
|
||||
break;
|
||||
name += lwk;
|
||||
break;
|
||||
pat += pwk;
|
||||
continue;
|
||||
case M_SET:
|
||||
ok = 0;
|
||||
if (*name == EOS)
|
||||
return (0);
|
||||
break;
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
name += lwk;
|
||||
if ((negate_range = ((*pat & M_MASK) == m_not)) != 0)
|
||||
++pat;
|
||||
if ((negate_range = ((*pat & M_MASK) == m_not)) != 0) {
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
}
|
||||
while ((*pat & M_MASK) != M_END) {
|
||||
pat += One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
if ((*pat & M_MASK) == M_RNG) {
|
||||
__Char wc2;
|
||||
|
||||
pat++;
|
||||
pat += One_Char_mbtowc(&wc2, pat, MB_LEN_MAX);
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc2, pat, MB_LEN_MAX);
|
||||
if (globcharcoll(wc, wk, 0) <= 0 &&
|
||||
globcharcoll(wk, wc2, 0) <= 0)
|
||||
ok = 1;
|
||||
} else if (wc == wk)
|
||||
ok = 1;
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
}
|
||||
pat += One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
pat += pwk;
|
||||
pwk = One_Char_mbtowc(&wc, pat, MB_LEN_MAX);
|
||||
if (ok == negate_range)
|
||||
return (0);
|
||||
break;
|
||||
break;
|
||||
continue;
|
||||
default:
|
||||
if (*name == EOS || samecase(wk) != samecase(wc))
|
||||
return (0);
|
||||
break;
|
||||
name += lwk;
|
||||
break;
|
||||
pat += pwk;
|
||||
continue;
|
||||
}
|
||||
if (nameNext != nameStart
|
||||
&& (nameEnd == NULL || nameNext <= nameEnd)) {
|
||||
pat = patNext;
|
||||
name = nameNext;
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return (*name == EOS);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* free allocated data belonging to a glob_t structure */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: glob.h,v 1.13 2001/03/16 21:02:42 christos Exp $ */
|
||||
/* NetBSD: glob.h,v 1.13 2001/03/16 21:02:42 christos Exp */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -1,5 +1,4 @@
|
||||
newcode :
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/host.defs,v 1.61 2015/05/26 18:56:19 christos Exp $ */
|
||||
/*
|
||||
* host.defs: Hosttype/Machtype etc.
|
||||
*/
|
||||
@ -33,8 +32,6 @@ newcode :
|
||||
*/
|
||||
#include "sh.h"
|
||||
|
||||
RCSID("$tcsh: host.defs,v 1.61 2015/05/26 18:56:19 christos Exp $")
|
||||
|
||||
endcode :
|
||||
|
||||
macro : M_mips64el : (defined(mips64) && defined(MIPSEL))
|
||||
|
@ -1,6 +1,4 @@
|
||||
/*
|
||||
* $tcsh: imake.config,v 1.5 2006/03/02 18:46:44 christos Exp $
|
||||
*
|
||||
* config.Imakefile for for tcsh 6.00
|
||||
* Marc Horowitz, MIT SIPB
|
||||
*/
|
||||
|
@ -82,7 +82,6 @@
|
||||
**********************************************************************
|
||||
*/
|
||||
#include "sh.h"
|
||||
RCSID("$tcsh: ma.setp.c,v 1.19 2007/11/20 20:03:51 christos Exp $")
|
||||
|
||||
#ifdef MACH
|
||||
|
||||
|
@ -1,10 +1,8 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/mi.termios.c,v 1.5 2006/03/02 18:46:44 christos Exp $ */
|
||||
/* termios.c - fake termios interface using sgtty interface
|
||||
* by Magnus Doell and Bruce Evans.
|
||||
*
|
||||
*/
|
||||
#include "sh.h"
|
||||
RCSID("$tcsh: mi.termios.c,v 1.5 2006/03/02 18:46:44 christos Exp $")
|
||||
|
||||
#if defined(_MINIX) && !defined(_MINIX_VMD)
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Header: /p/tcsh/cvsroot/tcsh/mi.varargs.h,v 1.2 1996/04/26 19:18:39 christos Exp $ */
|
||||
/*
|
||||
* mi.varargs.h: Correct varargs for minix
|
||||
*/
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set1,v 1.7 2015/05/26 17:38:25 christos Exp $
|
||||
$ Error messages
|
||||
$set 1
|
||||
1 Syntax Error
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set10,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ ma.setp.c
|
||||
$set 10
|
||||
1 setpath: invalid command '%s'.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set11,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.c
|
||||
$set 11
|
||||
1 Warning: no access to tty (%s).\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set12,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.dir.c
|
||||
$set 12
|
||||
1 %s: Trying to start from "%s"\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set13,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.exec.c
|
||||
$set 13
|
||||
1 hash=%-4d dir=%-2d prog=%s\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set14,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.file.c
|
||||
$set 14
|
||||
1 \nYikes!! Too many %s!!\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set15,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.func.c
|
||||
$set 15
|
||||
1 %s: %s: Can't %s%s limit\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set16,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.lex.c
|
||||
$set 16
|
||||
1 Reset tty pgrp from %d to %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set17,v 1.6 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.proc.c
|
||||
$set 17
|
||||
1 BUG: waiting for background job!\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set18,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.set.c
|
||||
$set 18
|
||||
1 Warning: ridiculously long PATH truncated\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set19,v 1.6 2011/02/25 23:58:07 christos Exp $
|
||||
$ tc.alloc.c
|
||||
$set 19
|
||||
1 nbytes=%d: Out of memory\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set2,v 1.5 2006/03/02 18:46:45 christos Exp $
|
||||
$ Signal names
|
||||
$set 2
|
||||
1 Null signal
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set20,v 1.4 2015/08/13 08:54:04 christos Exp $
|
||||
$ tc.bind.c
|
||||
$set 20
|
||||
1 Invalid key name `%S'\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set21,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.disc.c
|
||||
$set 21
|
||||
1 Couldn't get local chars.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set22,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.func.c
|
||||
$set 22
|
||||
1 %S: \t aliased to
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set23,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.os.c
|
||||
$set 23
|
||||
1 Bad cpu/site name
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set24,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.sched.c
|
||||
$set 24
|
||||
1 kludge
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set25,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.sig.c
|
||||
$set 25
|
||||
1 our wait %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set26,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tc.who.c
|
||||
$set 26
|
||||
1 cannot stat %s. Please "unset watch".\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set27,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tw.comp.c
|
||||
$set 27
|
||||
1 command
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set29,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ tw.help.c
|
||||
$set 29
|
||||
1 No help file for %S\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set3,v 1.6 2006/03/02 18:46:45 christos Exp $
|
||||
$ Editor function descriptions
|
||||
$set 3
|
||||
1 Move back a character
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set30,v 1.5 2006/03/02 18:46:45 christos Exp $
|
||||
$ tw.parse.c
|
||||
$set 30
|
||||
1 starting_a_command %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set31,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ vms.termcap.c
|
||||
$set 31
|
||||
1 Can't open TERMCAP: [%s]\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set4,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ Termcap strings
|
||||
$set 4
|
||||
1 add new blank line
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set5,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ ed.chared.c
|
||||
$set 5
|
||||
1 Load average unavailable\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set6,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ ed.inputl.c
|
||||
$set 6
|
||||
1 ERROR: illegal command from key 0%o\r\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set7,v 1.4 2006/03/02 18:46:45 christos Exp $
|
||||
$ ed.screen.c
|
||||
$set 7
|
||||
1 \n\tTcsh thinks your terminal has the\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set8,v 1.3 2006/03/02 18:46:45 christos Exp $
|
||||
$ ed.term.c
|
||||
$set 8
|
||||
1 Unknown switch
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set9,v 1.4 2015/05/26 17:38:25 christos Exp $
|
||||
$ ed.xmap.c
|
||||
$set 9
|
||||
1 AddXkey: Null extended-key not allowed.\n
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $tcsh: Makefile.in,v 1.16 2014/07/23 18:18:07 christos Exp $
|
||||
# nls/Makefile.in
|
||||
|
||||
CATALOGS= C.cat et.cat finnish.cat french.cat german.cat greek.cat \
|
||||
italian.cat ja.cat pl.cat russian.cat spanish.cat ukrainian.cat
|
||||
|
@ -13,8 +13,8 @@ OUT="$1"
|
||||
shift
|
||||
CHARSET="$1"
|
||||
shift
|
||||
cat "${CHARSET}" $(sortit "$@") > "$TMP"
|
||||
cat "${CHARSET}" `sortit "$@"` > "$TMP"
|
||||
|
||||
echo "$(basename "$OUT" .cat)"
|
||||
echo "`basename "$OUT" .cat`"
|
||||
"${GENCAT}" "$OUT" "$TMP"
|
||||
exit 0
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set1,v 1.5 2015/05/26 17:38:25 christos Exp $
|
||||
$ Error messages
|
||||
$set 1
|
||||
1 Süntaksi viga
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set10,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ ma.setp.c
|
||||
$set 10
|
||||
1 setpath: vigane käsk '%s'.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set11,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.c
|
||||
$set 11
|
||||
1 Hoiatus: tty (%s) pole kättesaadav.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set12,v 1.2 2006/03/02 18:46:45 christos Exp $
|
||||
$ sh.dir.c
|
||||
$set 12
|
||||
1 %s: Proovin startida kataloogist "%s"\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set13,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.exec.c
|
||||
$set 13
|
||||
1 hash=%-4d dir=%-2d prog=%s\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set14,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.file.c
|
||||
$set 14
|
||||
1 \nÄhh!! Liiga palju %s!!\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set15,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.func.c
|
||||
$set 15
|
||||
1 %s: %s: Ei õnnestu %s%s piirangut\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set16,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.lex.c
|
||||
$set 16
|
||||
1 Seadsin tty pgrp numbrilt %d numbrile %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set17,v 1.4 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.proc.c
|
||||
$set 17
|
||||
1 BUG: ootan taustatöö järel!\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set18,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ sh.set.c
|
||||
$set 18
|
||||
1 Hoiatus: nõmedalt pikk PATH sai lühendatud\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set19,v 1.5 2011/02/25 23:58:07 christos Exp $
|
||||
$ tc.alloc.c
|
||||
$set 19
|
||||
1 nbytes=%d: Mälu on otsas\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set2,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ Signal names
|
||||
$set 2
|
||||
1 Null signaal
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set20,v 1.4 2015/08/13 08:54:04 christos Exp $
|
||||
$ tc.bind.c
|
||||
$set 20
|
||||
1 Vigane klahvi nimi `%S'\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set21,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.disc.c
|
||||
$set 21
|
||||
1 Lokaalseid sümboleid ei õnnestu lugeda.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set22,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.func.c
|
||||
$set 22
|
||||
1 %S: \t on tegelikult
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set23,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.os.c
|
||||
$set 23
|
||||
1 Vigane cpu/saidi nimi
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set24,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.sched.c
|
||||
$set 24
|
||||
1 Häkk!
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set25,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.sig.c
|
||||
$set 25
|
||||
1 our wait %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set26,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tc.who.c
|
||||
$set 26
|
||||
1 Ei saa lugeda %s atribuute. Anna käsk "unset watch".\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set27,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tw.comp.c
|
||||
$set 27
|
||||
1 käsk
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set29,v 1.2 2006/03/02 18:46:45 christos Exp $
|
||||
$ tw.help.c
|
||||
$set 29
|
||||
1 %S'ile pole abiteksti\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set3,v 1.4 2011/02/04 18:19:33 christos Exp $
|
||||
$ Editor function descriptions
|
||||
$set 3
|
||||
1 Liigu sümbol tagasi
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set30,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ tw.parse.c
|
||||
$set 30
|
||||
1 starting_a_command %d\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set31,v 1.2 2006/03/02 18:46:45 christos Exp $
|
||||
$ vms.termcap.c
|
||||
$set 31
|
||||
1 TERMCAP ei saa avada: [%s]\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set4,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ Termcap strings
|
||||
$set 4
|
||||
1 lisa uus tühi rida
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set5,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ ed.chared.c
|
||||
$set 5
|
||||
1 Tööjärjekorra koormuse info puudub\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set6,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ ed.inputl.c
|
||||
$set 6
|
||||
1 VIGA: vigane käsk klahvilt 0%o\r\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set7,v 1.3 2011/02/04 18:19:33 christos Exp $
|
||||
$ ed.screen.c
|
||||
$set 7
|
||||
1 \n\tTcsh arvab, et teie terminal omab\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set8,v 1.3 2011/02/04 18:19:34 christos Exp $
|
||||
$ ed.term.c
|
||||
$set 8
|
||||
1 Tundmatu võti
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set9,v 1.4 2015/05/26 17:38:25 christos Exp $
|
||||
$ ed.xmap.c
|
||||
$set 9
|
||||
1 AddXkey: Null pikkusega laiend-klahv ei ole lubatud.\n
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set1,v 1.5 2015/05/26 17:38:25 christos Exp $
|
||||
$ Error messages
|
||||
$set 1
|
||||
1 Kielioppivirhe
|
||||
|
@ -1,4 +1,3 @@
|
||||
$ $tcsh: set10,v 1.3 2011/02/04 18:19:34 christos Exp $
|
||||
$ ma.setp.c
|
||||
$set 10
|
||||
1 setpath: Virheellinen komento '%s'.\n
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user