diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2019-10-08 18:20:02 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2019-10-08 18:20:02 +0000 |
commit | 320f2946781af5deaf568d19136cf96fe2c436dd (patch) | |
tree | 355c6156ea44fef5f9233dbbf7b8ecae06287ee7 | |
parent | 48eb25df687d51c9bdb4677c72e08ed3fde1b186 (diff) |
Notes
482 files changed, 300 insertions, 1920 deletions
@@ -1,4 +1,3 @@ -# $tcsh: BUGS,v 3.5 2006/03/02 18:46:44 christos Exp $ ============ Bugs in TCSH ============ @@ -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 diff --git a/Imakefile b/Imakefile index d16dcfa46fb7b..be2bebe17ca91 100644 --- a/Imakefile +++ b/Imakefile @@ -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]* diff --git a/MAKEDIFFS b/MAKEDIFFS index 01395f00d591c..be0e5b2426688 100755 --- a/MAKEDIFFS +++ b/MAKEDIFFS @@ -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 diff --git a/MAKESHAR b/MAKESHAR index f2238e8d83b2a..48c73b7c74ab4 100755 --- a/MAKESHAR +++ b/MAKESHAR @@ -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 diff --git a/Makefile.in b/Makefile.in index f641b7d999726..210b7de72dfed 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/Makefile.std b/Makefile.std index 9d68f0bdaec26..3466d4ceac864 100644 --- a/Makefile.std +++ b/Makefile.std @@ -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} diff --git a/Makefile.vms b/Makefile.vms index 57618885e9c78..bc241147e2534 100644 --- a/Makefile.vms +++ b/Makefile.vms @@ -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 diff --git a/README b/README deleted file mode 100644 index 77693cdae3faf..0000000000000 --- a/README +++ /dev/null @@ -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 - diff --git a/README.imake b/README.imake deleted file mode 100644 index dfe2e2fdc095b..0000000000000 --- a/README.imake +++ /dev/null @@ -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' diff --git a/README.md b/README.md new file mode 100644 index 0000000000000..5c0787d7d4f9c --- /dev/null +++ b/README.md @@ -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 diff --git a/aclocal.m4 b/aclocal.m4 index 39fd2c7905a6c..7a946ee1d8329 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -13,7 +13,7 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) # iconv.m4 serial 19 (gettext-0.18.2) -dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc. +dnl Copyright (C) 2000-2002, 2007-2014, 2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -285,7 +285,7 @@ size_t iconv(); ]) # lib-ld.m4 serial 6 -dnl Copyright (C) 1996-2003, 2009-2014 Free Software Foundation, Inc. +dnl Copyright (C) 1996-2003, 2009-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -405,7 +405,7 @@ AC_LIB_PROG_LD_GNU ]) # lib-link.m4 serial 26 (gettext-0.18.2) -dnl Copyright (C) 2001-2014 Free Software Foundation, Inc. +dnl Copyright (C) 2001-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -1183,7 +1183,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], ]) # lib-prefix.m4 serial 7 (gettext-0.18) -dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc. +dnl Copyright (C) 2001-2005, 2008-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/complete.tcsh b/complete.tcsh index 9f040715a1b20..657888c5b986f 100644 --- a/complete.tcsh +++ b/complete.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 diff --git a/config/cygwin b/config/cygwin index bd8094ff2948f..ca477f9f30997 100644 --- a/config/cygwin +++ b/config/cygwin @@ -78,6 +78,10 @@ */ #undef YPBUGS +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif + /****************** local defines *********************/ #ifndef _PATH_TCSHELL #define _PATH_TCSHELL "/bin/tcsh" diff --git a/config/win32 b/config/win32 index 65436d5d4d39d..57724e202546f 100644 --- a/config/win32 +++ b/config/win32 @@ -102,8 +102,6 @@ #define SIZEOF_WCHAR_T 2 -#define RCSID(id) static char *rcsid = (id); - // fake defines #define HAVE_SETPGID 1 /****************** local defines *********************/ diff --git a/config_f.h b/config_f.h index 6a632a526dda4..1ceef7a232cea 100644 --- a/config_f.h +++ b/config_f.h @@ -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 diff --git a/configure b/configure index 2a567402ba951..4e724c2bfb80a 100755 --- a/configure +++ b/configure @@ -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\\" diff --git a/configure.ac b/configure.ac index d83d3c1a5f361..24b14f1c83b30 100644 --- a/configure.ac +++ b/configure.ac @@ -6,11 +6,9 @@ dnl dnl You'll also need a version of config.guess from a gnu package dnl dnl Written by Kaveh Ghazi (ghazi@caip.rutgers.edu) 5/11/96. -dnl -dnl $tcsh: configure.ac,v 3.10 2016/11/24 15:04:52 christos Exp $ AC_PREREQ([2.59])dnl Minimum Autoconf version required. -AC_INIT([tcsh], [6.20.00], [http://bugs.gw.com/]) +AC_INIT([tcsh], [6.21.00], [https://bugs.astron.com/]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([tc.vers.c]) AC_CONFIG_HEADERS([config.h]) @@ -317,7 +315,7 @@ esac dnl Checks for libraries AC_SEARCH_LIBS(crypt, crypt) AC_SEARCH_LIBS(getspnam, sec) -AC_SEARCH_LIBS([tgetent], [termlib termcap curses ncurses], [], [ +AC_SEARCH_LIBS([tgetent], [termlib tinfo termcap curses ncurses], [], [ AC_MSG_ERROR([unable to find the tgetent() function]) ]) AC_SEARCH_LIBS(gethostbyname, nsl) diff --git a/dotlock.c b/dotlock.c index d7a49eb545c75..4b338d9c3f509 100644 --- a/dotlock.c +++ b/dotlock.c @@ -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 diff --git a/ed.chared.c b/ed.chared.c index fc620228bf082..0301e8fa043da 100644 --- a/ed.chared.c +++ b/ed.chared.c @@ -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: diff --git a/ed.decls.h b/ed.decls.h index ba54406c0421f..ea36c6f3dd13a 100644 --- a/ed.decls.h +++ b/ed.decls.h @@ -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 *); diff --git a/ed.defns.c b/ed.defns.c index 084eefff705a6..02ae764510afa 100644 --- a/ed.defns.c +++ b/ed.defns.c @@ -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 }; @@ -1754,18 +1746,6 @@ editinit(void) "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; f->desc = CSAVS(3, 118, @@ -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 */ diff --git a/ed.init.c b/ed.init.c index c7dfcce953984..f90028499f532 100644 --- a/ed.init.c +++ b/ed.init.c @@ -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" diff --git a/ed.inputl.c b/ed.inputl.c index ad3f3240210a9..bd8cf7815f4b8 100644 --- a/ed.inputl.c +++ b/ed.inputl.c @@ -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; } diff --git a/ed.refresh.c b/ed.refresh.c index a301dfe3dceb6..3619e1144bf61 100644 --- a/ed.refresh.c +++ b/ed.refresh.c @@ -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 */ diff --git a/ed.screen.c b/ed.screen.c index 2ef572c5206f0..8d240c886a106 100644 --- a/ed.screen.c +++ b/ed.screen.c @@ -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" diff --git a/ed.term.c b/ed.term.c index 85800073892fb..b0bea10ab1d6d 100644 --- a/ed.term.c +++ b/ed.term.c @@ -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" diff --git a/ed.term.h b/ed.term.h index 517af37c1c2ac..aa62c11b43f18 100644 --- a/ed.term.h +++ b/ed.term.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 */ diff --git a/ed.xmap.c b/ed.xmap.c index f87509be163a3..d76ba46dc9f9d 100644 --- a/ed.xmap.c +++ b/ed.xmap.c @@ -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" diff --git a/eight-bit.me b/eight-bit.me index 0359d8b040fb6..5a22fd6e95883 100644 --- a/eight-bit.me +++ b/eight-bit.me @@ -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 diff --git a/gethost.c b/gethost.c index 2cd969693086a..ddb09f3ea4c17 100644 --- a/gethost.c +++ b/gethost.c @@ -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. @@ -691,72 +691,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 diff --git a/host.defs b/host.defs index ada7d0e0a4d80..5d4af1c13ccca 100644 --- a/host.defs +++ b/host.defs @@ -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)) diff --git a/imake.config b/imake.config index c8e6d10398773..1b93349046b9a 100644 --- a/imake.config +++ b/imake.config @@ -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 */ diff --git a/ma.setp.c b/ma.setp.c index eee36c5b83fcc..5d5adac246bf7 100644 --- a/ma.setp.c +++ b/ma.setp.c @@ -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 diff --git a/mi.termios.c b/mi.termios.c index 40250671f8c0c..d7863855b2ed2 100644 --- a/mi.termios.c +++ b/mi.termios.c @@ -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) diff --git a/mi.varargs.h b/mi.varargs.h index 0a9dfb5731db4..c9824f6b1ec49 100644 --- a/mi.varargs.h +++ b/mi.varargs.h @@ -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 */ diff --git a/nls/C/set1 b/nls/C/set1 index ed6715b2096cf..6e97bd6985eac 100644 --- a/nls/C/set1 +++ b/nls/C/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.7 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Syntax Error diff --git a/nls/C/set10 b/nls/C/set10 index 49648eca52af4..059579b5d4346 100644 --- a/nls/C/set10 +++ b/nls/C/set10 @@ -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 diff --git a/nls/C/set11 b/nls/C/set11 index 8655001954190..c7784a4495290 100644 --- a/nls/C/set11 +++ b/nls/C/set11 @@ -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 diff --git a/nls/C/set12 b/nls/C/set12 index 31e97835691c4..425c09b7e6a21 100644 --- a/nls/C/set12 +++ b/nls/C/set12 @@ -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 diff --git a/nls/C/set13 b/nls/C/set13 index 69a42d2fc2fd5..4bf36e82e934f 100644 --- a/nls/C/set13 +++ b/nls/C/set13 @@ -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 diff --git a/nls/C/set14 b/nls/C/set14 index dc39600cc4966..a75e8bd73fc2d 100644 --- a/nls/C/set14 +++ b/nls/C/set14 @@ -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 diff --git a/nls/C/set15 b/nls/C/set15 index 7f51d77b726c4..035d8182654d1 100644 --- a/nls/C/set15 +++ b/nls/C/set15 @@ -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 diff --git a/nls/C/set16 b/nls/C/set16 index 4c078f8cbc175..d86a4387400fe 100644 --- a/nls/C/set16 +++ b/nls/C/set16 @@ -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 diff --git a/nls/C/set17 b/nls/C/set17 index a7ed6348e88c4..c2dc34e053f65 100644 --- a/nls/C/set17 +++ b/nls/C/set17 @@ -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 diff --git a/nls/C/set18 b/nls/C/set18 index 7ef5f80cccf86..76bd4a051ad28 100644 --- a/nls/C/set18 +++ b/nls/C/set18 @@ -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 diff --git a/nls/C/set19 b/nls/C/set19 index 20e95d661275a..6e47635c77ebd 100644 --- a/nls/C/set19 +++ b/nls/C/set19 @@ -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 diff --git a/nls/C/set2 b/nls/C/set2 index 62df2324a6779..a2b761c772204 100644 --- a/nls/C/set2 +++ b/nls/C/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.5 2006/03/02 18:46:45 christos Exp $ $ Signal names $set 2 1 Null signal diff --git a/nls/C/set20 b/nls/C/set20 index 1fe24a26e8075..c620efc7599df 100644 --- a/nls/C/set20 +++ b/nls/C/set20 @@ -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 diff --git a/nls/C/set21 b/nls/C/set21 index 579506162e352..527cd5d17a46a 100644 --- a/nls/C/set21 +++ b/nls/C/set21 @@ -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 diff --git a/nls/C/set22 b/nls/C/set22 index daf4ec1f65b1b..a5d32b7673634 100644 --- a/nls/C/set22 +++ b/nls/C/set22 @@ -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 diff --git a/nls/C/set23 b/nls/C/set23 index 176853db0c1b7..35d3beec3aae4 100644 --- a/nls/C/set23 +++ b/nls/C/set23 @@ -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 diff --git a/nls/C/set24 b/nls/C/set24 index 1a45f01e12f36..7da8b309b1548 100644 --- a/nls/C/set24 +++ b/nls/C/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.3 2006/03/02 18:46:45 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/C/set25 b/nls/C/set25 index 9e48309e3e121..a1ac9503f4a4d 100644 --- a/nls/C/set25 +++ b/nls/C/set25 @@ -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 diff --git a/nls/C/set26 b/nls/C/set26 index 5921cf7f732d0..5ba0003df833b 100644 --- a/nls/C/set26 +++ b/nls/C/set26 @@ -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 diff --git a/nls/C/set27 b/nls/C/set27 index 3aea7b48d9fd4..31e4752d4e6d0 100644 --- a/nls/C/set27 +++ b/nls/C/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.3 2006/03/02 18:46:45 christos Exp $ $ tw.comp.c $set 27 1 command diff --git a/nls/C/set29 b/nls/C/set29 index b3c4f11e7e2da..4cf4630fb3b8f 100644 --- a/nls/C/set29 +++ b/nls/C/set29 @@ -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 diff --git a/nls/C/set3 b/nls/C/set3 index 7841e252af4fa..9212d228a2cbc 100644 --- a/nls/C/set3 +++ b/nls/C/set3 @@ -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 diff --git a/nls/C/set30 b/nls/C/set30 index 99aa3ff35d4cf..b9f3256374a82 100644 --- a/nls/C/set30 +++ b/nls/C/set30 @@ -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 diff --git a/nls/C/set31 b/nls/C/set31 index 9a30f269b17f9..24e698c246654 100644 --- a/nls/C/set31 +++ b/nls/C/set31 @@ -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 diff --git a/nls/C/set4 b/nls/C/set4 index 69da635fd5c5f..f312885eac4af 100644 --- a/nls/C/set4 +++ b/nls/C/set4 @@ -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 diff --git a/nls/C/set5 b/nls/C/set5 index d06b29eda52ef..2864bf3c05171 100644 --- a/nls/C/set5 +++ b/nls/C/set5 @@ -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 diff --git a/nls/C/set6 b/nls/C/set6 index 80469397e63c8..20d0e7ca65297 100644 --- a/nls/C/set6 +++ b/nls/C/set6 @@ -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 diff --git a/nls/C/set7 b/nls/C/set7 index 8de5768fae7e3..fa3afc5480523 100644 --- a/nls/C/set7 +++ b/nls/C/set7 @@ -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 diff --git a/nls/C/set8 b/nls/C/set8 index 7003bdde99166..bf57349480b4c 100644 --- a/nls/C/set8 +++ b/nls/C/set8 @@ -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 diff --git a/nls/C/set9 b/nls/C/set9 index da4cef5815a56..cc4a5bdb528e2 100644 --- a/nls/C/set9 +++ b/nls/C/set9 @@ -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 diff --git a/nls/Makefile.in b/nls/Makefile.in index e6785c109206e..fc5d3847d9816 100644 --- a/nls/Makefile.in +++ b/nls/Makefile.in @@ -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 diff --git a/nls/catgen b/nls/catgen index a9acba0ef5b92..3634f3f4ecfe0 100755 --- a/nls/catgen +++ b/nls/catgen @@ -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 diff --git a/nls/et/set1 b/nls/et/set1 index 1bfe95eb65a18..7e3d28d4f84e3 100644 --- a/nls/et/set1 +++ b/nls/et/set1 @@ -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 diff --git a/nls/et/set10 b/nls/et/set10 index c71312025a8d5..3f3f789525759 100644 --- a/nls/et/set10 +++ b/nls/et/set10 @@ -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 diff --git a/nls/et/set11 b/nls/et/set11 index f12f10308e9bc..74431d0c8f28d 100644 --- a/nls/et/set11 +++ b/nls/et/set11 @@ -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 diff --git a/nls/et/set12 b/nls/et/set12 index 9c6b1be9cdc22..2443929f82205 100644 --- a/nls/et/set12 +++ b/nls/et/set12 @@ -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 diff --git a/nls/et/set13 b/nls/et/set13 index 040d2057ef237..661985cd78487 100644 --- a/nls/et/set13 +++ b/nls/et/set13 @@ -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 diff --git a/nls/et/set14 b/nls/et/set14 index 22c09435675da..476ac40001b0b 100644 --- a/nls/et/set14 +++ b/nls/et/set14 @@ -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 diff --git a/nls/et/set15 b/nls/et/set15 index 6268e8d9526f6..e737d2d4d1711 100644 --- a/nls/et/set15 +++ b/nls/et/set15 @@ -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 diff --git a/nls/et/set16 b/nls/et/set16 index 93f8f32bcb901..14b1ceeecef8a 100644 --- a/nls/et/set16 +++ b/nls/et/set16 @@ -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 diff --git a/nls/et/set17 b/nls/et/set17 index b051672892cce..3a38b9a4fe34c 100644 --- a/nls/et/set17 +++ b/nls/et/set17 @@ -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 diff --git a/nls/et/set18 b/nls/et/set18 index b465816de5a80..6bdf2c166e8cb 100644 --- a/nls/et/set18 +++ b/nls/et/set18 @@ -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 diff --git a/nls/et/set19 b/nls/et/set19 index d829566d448e2..22319cc86f345 100644 --- a/nls/et/set19 +++ b/nls/et/set19 @@ -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 diff --git a/nls/et/set2 b/nls/et/set2 index 8b7111d8f10d2..9d2458e40fa05 100644 --- a/nls/et/set2 +++ b/nls/et/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.3 2011/02/04 18:19:33 christos Exp $ $ Signal names $set 2 1 Null signaal diff --git a/nls/et/set20 b/nls/et/set20 index 422f8d9185b10..d13e36eeb7685 100644 --- a/nls/et/set20 +++ b/nls/et/set20 @@ -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 diff --git a/nls/et/set21 b/nls/et/set21 index 8e4c67eab0799..784161c586060 100644 --- a/nls/et/set21 +++ b/nls/et/set21 @@ -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 diff --git a/nls/et/set22 b/nls/et/set22 index 79e814c790065..731d9a36b009b 100644 --- a/nls/et/set22 +++ b/nls/et/set22 @@ -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 diff --git a/nls/et/set23 b/nls/et/set23 index 342d031ff28a2..68a5d76bf836b 100644 --- a/nls/et/set23 +++ b/nls/et/set23 @@ -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 diff --git a/nls/et/set24 b/nls/et/set24 index 2050f72969db8..6f2e9c7cf5cf3 100644 --- a/nls/et/set24 +++ b/nls/et/set24 @@ -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! diff --git a/nls/et/set25 b/nls/et/set25 index affff694f4e78..53d8128fb1d4b 100644 --- a/nls/et/set25 +++ b/nls/et/set25 @@ -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 diff --git a/nls/et/set26 b/nls/et/set26 index 5a324d7981de1..d255123cf85de 100644 --- a/nls/et/set26 +++ b/nls/et/set26 @@ -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 diff --git a/nls/et/set27 b/nls/et/set27 index 8a2dbd4b71ab7..ba7f260d637f4 100644 --- a/nls/et/set27 +++ b/nls/et/set27 @@ -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 diff --git a/nls/et/set29 b/nls/et/set29 index 8e0f6dacb9bec..c08f7599b7195 100644 --- a/nls/et/set29 +++ b/nls/et/set29 @@ -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 diff --git a/nls/et/set3 b/nls/et/set3 index 2a9f3f5b1ecf0..19133fc01c4c5 100644 --- a/nls/et/set3 +++ b/nls/et/set3 @@ -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 diff --git a/nls/et/set30 b/nls/et/set30 index e34aa857bcd2f..3d15d797edf95 100644 --- a/nls/et/set30 +++ b/nls/et/set30 @@ -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 diff --git a/nls/et/set31 b/nls/et/set31 index 500c1dbccfc67..028d6d9c07457 100644 --- a/nls/et/set31 +++ b/nls/et/set31 @@ -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 diff --git a/nls/et/set4 b/nls/et/set4 index 8a1f6d9929fad..76458acababe9 100644 --- a/nls/et/set4 +++ b/nls/et/set4 @@ -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 diff --git a/nls/et/set5 b/nls/et/set5 index ddaf4bea106e7..156ee05cb760c 100644 --- a/nls/et/set5 +++ b/nls/et/set5 @@ -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 diff --git a/nls/et/set6 b/nls/et/set6 index a1ce3ea72652c..6c56fcab9b1ba 100644 --- a/nls/et/set6 +++ b/nls/et/set6 @@ -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 diff --git a/nls/et/set7 b/nls/et/set7 index 4cb2c75497f91..60aafda5a92d5 100644 --- a/nls/et/set7 +++ b/nls/et/set7 @@ -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 diff --git a/nls/et/set8 b/nls/et/set8 index 6e5d25ff23b3d..d60a9eb17672d 100644 --- a/nls/et/set8 +++ b/nls/et/set8 @@ -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 diff --git a/nls/et/set9 b/nls/et/set9 index b0ceafdc5bc38..c5352805ea858 100644 --- a/nls/et/set9 +++ b/nls/et/set9 @@ -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 diff --git a/nls/finnish/set1 b/nls/finnish/set1 index 2d43da894a202..6bfd9688f7989 100644 --- a/nls/finnish/set1 +++ b/nls/finnish/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.5 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Kielioppivirhe diff --git a/nls/finnish/set10 b/nls/finnish/set10 index 662b21e94c2dc..493eeb37eb426 100644 --- a/nls/finnish/set10 +++ b/nls/finnish/set10 @@ -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 diff --git a/nls/finnish/set11 b/nls/finnish/set11 index 8d1eca668998f..38c2731c0e89d 100644 --- a/nls/finnish/set11 +++ b/nls/finnish/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.3 2011/02/04 18:19:34 christos Exp $ $ sh.c $set 11 1 Varoitus: ei yhteyttä päätteeseen (%s).\n diff --git a/nls/finnish/set12 b/nls/finnish/set12 index 4548efde89f73..65d385310a6aa 100644 --- a/nls/finnish/set12 +++ b/nls/finnish/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.3 2011/02/04 18:19:34 christos Exp $ $ sh.dir.c $set 12 1 %s: Yritetään käynnistää hakemistosta "%s"\n diff --git a/nls/finnish/set13 b/nls/finnish/set13 index 18b4e663e2236..784e9940a25ed 100644 --- a/nls/finnish/set13 +++ b/nls/finnish/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:34 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/finnish/set14 b/nls/finnish/set14 index 3645ec812c408..49a69800b15aa 100644 --- a/nls/finnish/set14 +++ b/nls/finnish/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.4 2011/02/04 18:19:34 christos Exp $ $ sh.file.c $set 14 1 \nAuts!! Liian monta %s!!\n diff --git a/nls/finnish/set15 b/nls/finnish/set15 index 684a5dd9b6386..5f7d5b92a1ccf 100644 --- a/nls/finnish/set15 +++ b/nls/finnish/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.2 2006/03/02 18:46:46 christos Exp $ $ sh.func.c $set 15 1 %s: %s: rajoitusta ei voida %s %s\n diff --git a/nls/finnish/set16 b/nls/finnish/set16 index 191b6b9e5b806..bb1764fba5979 100644 --- a/nls/finnish/set16 +++ b/nls/finnish/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.3 2011/02/04 18:19:34 christos Exp $ $ sh.lex.c $set 16 1 Päätteen prosessiryhmä vaihdettu arvosta %d %d:ksi.\n diff --git a/nls/finnish/set17 b/nls/finnish/set17 index 6d497b29265bc..630d2eb44db86 100644 --- a/nls/finnish/set17 +++ b/nls/finnish/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.4 2011/02/04 18:19:34 christos Exp $ $ sh.proc.c $set 17 1 VIKA: taustatyötä!\n diff --git a/nls/finnish/set18 b/nls/finnish/set18 index 367e77a2fa28d..f8b7db00b00ce 100644 --- a/nls/finnish/set18 +++ b/nls/finnish/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.3 2011/02/04 18:19:34 christos Exp $ $ sh.set.c $set 18 1 Varoitus: Kohtuuttoman pitkä hakupolku (PATH) katkaistu.\n diff --git a/nls/finnish/set19 b/nls/finnish/set19 index 59c6fecc6d0ab..d809eac86d873 100644 --- a/nls/finnish/set19 +++ b/nls/finnish/set19 @@ -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: Muisti loppu\n diff --git a/nls/finnish/set2 b/nls/finnish/set2 index 92bdb4834a064..43932b04cf4a6 100644 --- a/nls/finnish/set2 +++ b/nls/finnish/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.3 2011/02/04 18:19:34 christos Exp $ $ Signal names $set 2 1 Null-signaali diff --git a/nls/finnish/set20 b/nls/finnish/set20 index ff41c3e8fe0a4..a4ca3a3267f68 100644 --- a/nls/finnish/set20 +++ b/nls/finnish/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.5 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Invalid key name `%S'\n diff --git a/nls/finnish/set21 b/nls/finnish/set21 index 7d42da16d1a9d..527cd5d17a46a 100644 --- a/nls/finnish/set21 +++ b/nls/finnish/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.2 2006/03/02 18:46:46 christos Exp $ $ tc.disc.c $set 21 1 Couldn't get local chars.\n diff --git a/nls/finnish/set22 b/nls/finnish/set22 index dcd0cafa86911..6a956517a9081 100644 --- a/nls/finnish/set22 +++ b/nls/finnish/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.4 2011/02/04 18:19:34 christos Exp $ $ tc.func.c $set 22 1 %S: \t on alias komennolle diff --git a/nls/finnish/set23 b/nls/finnish/set23 index 07556e4bda1c8..e0bb2974472ef 100644 --- a/nls/finnish/set23 +++ b/nls/finnish/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.3 2011/02/04 18:19:34 christos Exp $ $ tc.os.c $set 23 1 Virheellinen solmun nimi diff --git a/nls/finnish/set24 b/nls/finnish/set24 index 23f90fd729bc2..8392039d2b799 100644 --- a/nls/finnish/set24 +++ b/nls/finnish/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:46 christos Exp $ $ tc.sched.c $set 24 1 jippo (kludge) diff --git a/nls/finnish/set25 b/nls/finnish/set25 index a6dc779cd774f..9f9832d967a68 100644 --- a/nls/finnish/set25 +++ b/nls/finnish/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.3 2011/02/04 18:19:34 christos Exp $ $ tc.sig.c $set 25 1 our wait %d\n diff --git a/nls/finnish/set26 b/nls/finnish/set26 index e991bb03e0e26..f6d54fe7cb606 100644 --- a/nls/finnish/set26 +++ b/nls/finnish/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.3 2011/02/04 18:19:34 christos Exp $ $ tc.who.c $set 26 1 Testaaminen ei onnistu: stat(%s). Ole hyvä ja suorita "unset watch".\n diff --git a/nls/finnish/set27 b/nls/finnish/set27 index 150cf9e5de736..8dcff5c96cee7 100644 --- a/nls/finnish/set27 +++ b/nls/finnish/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.3 2011/02/04 18:19:34 christos Exp $ $ tw.comp.c $set 27 1 komento diff --git a/nls/finnish/set29 b/nls/finnish/set29 index e610108d5a537..3ab575dfac157 100644 --- a/nls/finnish/set29 +++ b/nls/finnish/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.3 2011/02/04 18:19:34 christos Exp $ $ tw.help.c $set 29 1 Ei löydy aputiedostoa komennolle %S\n diff --git a/nls/finnish/set3 b/nls/finnish/set3 index a3407c1496604..90c289c24e6f0 100644 --- a/nls/finnish/set3 +++ b/nls/finnish/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.5 2015/09/01 14:08:28 kim Exp $ $ Editor function descriptions $set 3 1 Siirry taaksepäin yksi merkki diff --git a/nls/finnish/set30 b/nls/finnish/set30 index 5e8957bc9ded3..b0430553a4c31 100644 --- a/nls/finnish/set30 +++ b/nls/finnish/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.3 2006/03/02 18:46:46 christos Exp $ $ tw.parse.c $set 30 1 starting_a_command %d\n diff --git a/nls/finnish/set31 b/nls/finnish/set31 index e7b14140d1945..24e698c246654 100644 --- a/nls/finnish/set31 +++ b/nls/finnish/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.2 2006/03/02 18:46:46 christos Exp $ $ vms.termcap.c $set 31 1 Can't open TERMCAP: [%s]\n diff --git a/nls/finnish/set4 b/nls/finnish/set4 index 7a86315f29a7b..f312885eac4af 100644 --- a/nls/finnish/set4 +++ b/nls/finnish/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.2 2006/03/02 18:46:46 christos Exp $ $ Termcap strings $set 4 1 add new blank line diff --git a/nls/finnish/set5 b/nls/finnish/set5 index c584aabc48f7f..7c72b69d7c17b 100644 --- a/nls/finnish/set5 +++ b/nls/finnish/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.2 2006/03/02 18:46:46 christos Exp $ $ ed.chared.c $set 5 1 Kuormituskeskiarvoja ei ole saatavilla\n diff --git a/nls/finnish/set6 b/nls/finnish/set6 index 3657227a5d8d8..8956ffaa0f318 100644 --- a/nls/finnish/set6 +++ b/nls/finnish/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:34 christos Exp $ $ ed.inputl.c $set 6 1 VIKA: Virheellinen komento näppäimeltä 0%o\r\n diff --git a/nls/finnish/set7 b/nls/finnish/set7 index 8e3e52c3f3d12..95a6f0c266081 100644 --- a/nls/finnish/set7 +++ b/nls/finnish/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.3 2011/02/04 18:19:34 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh:n mielestä päätteelläsi on\n diff --git a/nls/finnish/set8 b/nls/finnish/set8 index ae231a8d00b69..af2904b1d9320 100644 --- a/nls/finnish/set8 +++ b/nls/finnish/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.2 2006/03/02 18:46:46 christos Exp $ $ ed.term.c $set 8 1 Tuntematon valitsin diff --git a/nls/finnish/set9 b/nls/finnish/set9 index 5008b89827f88..601da6b95ef9f 100644 --- a/nls/finnish/set9 +++ b/nls/finnish/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.5 2015/09/01 14:08:28 kim Exp $ $ ed.xmap.c $set 9 1 AddXkey: Tyhjää laajennettua näppäintä ei sallita.\n diff --git a/nls/french/set1 b/nls/french/set1 index 60476ea9dd497..12d73fea231c8 100644 --- a/nls/french/set1 +++ b/nls/french/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.6 2015/05/26 17:38:25 christos Exp $ $ Messages d 'erreur $set 1 1 Erreur de syntaxe diff --git a/nls/french/set10 b/nls/french/set10 index 9a9a30d9439bc..0de2c8ec5c8b3 100644 --- a/nls/french/set10 +++ b/nls/french/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.3 2011/02/04 18:19:35 christos Exp $ $ ma.setp.c $set 10 1 setpath: commande incorrecte '%s'.\n diff --git a/nls/french/set11 b/nls/french/set11 index 6545c9e6b932b..591ab5e9c74ae 100644 --- a/nls/french/set11 +++ b/nls/french/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.4 2011/02/04 18:19:35 christos Exp $ $ sh.c $set 11 1 Attention: pas d'accès au tty (%s).\n diff --git a/nls/french/set12 b/nls/french/set12 index 5f1226bcbd7e7..27b29760b3ff6 100644 --- a/nls/french/set12 +++ b/nls/french/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.4 2011/02/04 18:19:35 christos Exp $ $ sh.dir.c $set 12 1 %s: Essaie de démarrer à partir de "%s"\n diff --git a/nls/french/set13 b/nls/french/set13 index ecede2d8fc1f7..5f92611685fa5 100644 --- a/nls/french/set13 +++ b/nls/french/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:35 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/french/set14 b/nls/french/set14 index a543a0ba98450..5d1c9ea553eab 100644 --- a/nls/french/set14 +++ b/nls/french/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.2 2006/03/02 18:46:46 christos Exp $ $ sh.file.c $set 14 1 \nTrop de %s !!\n diff --git a/nls/french/set15 b/nls/french/set15 index b77b62e4aa6f4..d3c482cb95e05 100644 --- a/nls/french/set15 +++ b/nls/french/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:35 christos Exp $ $ sh.func.c $set 15 1 %s: %s: ne peut %s la limite%s\n diff --git a/nls/french/set16 b/nls/french/set16 index e5871af2540a4..d8b8b44c49dde 100644 --- a/nls/french/set16 +++ b/nls/french/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.4 2011/02/04 18:19:35 christos Exp $ $ sh.lex.c $set 16 1 Réinitialise le groupe de processus des terminaux de %d à %d\n diff --git a/nls/french/set17 b/nls/french/set17 index e6db518ce1328..71ba942307213 100644 --- a/nls/french/set17 +++ b/nls/french/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.5 2011/02/04 18:19:35 christos Exp $ $ sh.proc.c $set 17 1 BUG: attente de travail en tâche de fond !\n diff --git a/nls/french/set18 b/nls/french/set18 index 09f98cb4cdcd3..0897bf46b0829 100644 --- a/nls/french/set18 +++ b/nls/french/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.3 2011/02/04 18:19:35 christos Exp $ $ sh.set.c $set 18 1 Attention: le PATH exagérément long est tronqué\n diff --git a/nls/french/set19 b/nls/french/set19 index d37facf68e88c..aa47265a5b496 100644 --- a/nls/french/set19 +++ b/nls/french/set19 @@ -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: Plus de mémoire\n diff --git a/nls/french/set2 b/nls/french/set2 index 1922ab1ebeaca..19fa7a77bd276 100644 --- a/nls/french/set2 +++ b/nls/french/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.4 2011/02/04 18:19:35 christos Exp $ $ Messages Signaux $set 2 1 Signal nul diff --git a/nls/french/set20 b/nls/french/set20 index db3b762bc3df6..fc26ca7cc164a 100644 --- a/nls/french/set20 +++ b/nls/french/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.4 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Nom de touche incorrect `%S'\n diff --git a/nls/french/set21 b/nls/french/set21 index c1a8c4dc641bf..681993b41e01b 100644 --- a/nls/french/set21 +++ b/nls/french/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2011/02/04 18:19:35 christos Exp $ $ tc.disc.c $set 21 1 ne peut obtenir les caractères locaux.\n diff --git a/nls/french/set22 b/nls/french/set22 index 7b91351742607..243aed19321de 100644 --- a/nls/french/set22 +++ b/nls/french/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.3 2011/02/04 18:19:35 christos Exp $ $ tc.func.c $set 22 1 %S: \t a comme alias diff --git a/nls/french/set23 b/nls/french/set23 index 064b9ce043883..7c0123c04c217 100644 --- a/nls/french/set23 +++ b/nls/french/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.4 2011/02/04 18:19:35 christos Exp $ $ tc.os.c $set 23 1 Mauvais nom de cpu/site diff --git a/nls/french/set24 b/nls/french/set24 index f97ef1c30e7da..7da8b309b1548 100644 --- a/nls/french/set24 +++ b/nls/french/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:46 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/french/set25 b/nls/french/set25 index 2d7c80b90841a..aeec92e4ed92c 100644 --- a/nls/french/set25 +++ b/nls/french/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.3 2011/02/04 18:19:35 christos Exp $ $ tc.sig.c $set 25 1 notre attente %d\n diff --git a/nls/french/set26 b/nls/french/set26 index d495487359322..231a7c76ba75f 100644 --- a/nls/french/set26 +++ b/nls/french/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.3 2011/02/04 18:19:35 christos Exp $ $ tc.who.c $set 26 1 ne peut effectuer stat %s. S.V.P effectuez "unset watch".\n diff --git a/nls/french/set27 b/nls/french/set27 index a27112faf3c09..3dfb7fe639377 100644 --- a/nls/french/set27 +++ b/nls/french/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.3 2011/02/04 18:19:35 christos Exp $ $ tw.comp.c $set 27 1 commande diff --git a/nls/french/set29 b/nls/french/set29 index b90aeae43bf9b..dbab6fc2c414a 100644 --- a/nls/french/set29 +++ b/nls/french/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.2 2006/03/02 18:46:46 christos Exp $ $ tw.help.c $set 29 1 Pas de fichier d'aide pour %S\n diff --git a/nls/french/set3 b/nls/french/set3 index 8abbb01007ab6..a5b8e9141fe73 100644 --- a/nls/french/set3 +++ b/nls/french/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2011/02/04 18:19:35 christos Exp $ $ Description des fonctions éditeur $set 3 1 Recule d'un caractère diff --git a/nls/french/set30 b/nls/french/set30 index e36afc04c7701..4670fcfd9c3e1 100644 --- a/nls/french/set30 +++ b/nls/french/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.4 2011/02/04 18:19:35 christos Exp $ $ tw.parse.c $set 30 1 démarre une commande %d\n diff --git a/nls/french/set31 b/nls/french/set31 index c00469649d344..5076b430d2552 100644 --- a/nls/french/set31 +++ b/nls/french/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.3 2011/02/04 18:19:35 christos Exp $ $ vms.termcap.c $set 31 1 Ne peut ouvrir TERMCAP: [%s]\n diff --git a/nls/french/set4 b/nls/french/set4 index 57dcd1766436d..a726e460c34cd 100644 --- a/nls/french/set4 +++ b/nls/french/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.3 2011/02/04 18:19:35 christos Exp $ $ Termcap strings $set 4 1 ajoute une nouvelle ligne vide diff --git a/nls/french/set5 b/nls/french/set5 index edf169c978797..59a31bb2b92d7 100644 --- a/nls/french/set5 +++ b/nls/french/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.2 2006/03/02 18:46:46 christos Exp $ $ ed.chared.c $set 5 1 Charge moyenne indisponible\n diff --git a/nls/french/set6 b/nls/french/set6 index a664d280b9d3e..2e8506dffd5c9 100644 --- a/nls/french/set6 +++ b/nls/french/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:35 christos Exp $ $ ed.inputl.c $set 6 1 ERREUR: commande interdite de la touche 0%o\r\n diff --git a/nls/french/set7 b/nls/french/set7 index fed46a8024133..e3e14e083e898 100644 --- a/nls/french/set7 +++ b/nls/french/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.4 2011/02/04 18:19:36 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh a déterminé que votre terminal a les\n diff --git a/nls/french/set8 b/nls/french/set8 index f591e15d16887..7d0c56ed360c8 100644 --- a/nls/french/set8 +++ b/nls/french/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.3 2011/02/04 18:19:36 christos Exp $ $ ed.term.c $set 8 1 Sélecteur inconnu diff --git a/nls/french/set9 b/nls/french/set9 index a62ce51d4977f..1ba63a79f1f79 100644 --- a/nls/french/set9 +++ b/nls/french/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.4 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: touche d'extension nulle pas autorisé.\n diff --git a/nls/german/set1 b/nls/german/set1 index b545b93764b2f..119b7e8ea90a6 100644 --- a/nls/german/set1 +++ b/nls/german/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.8 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Syntaxfehler diff --git a/nls/german/set10 b/nls/german/set10 index b4dadde74fa76..c3129bfca5c4e 100644 --- a/nls/german/set10 +++ b/nls/german/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.6 2011/02/04 18:19:36 christos Exp $ $ ma.setp.c $set 10 1 setpath: ungültiger Befehl '%s'.\n diff --git a/nls/german/set11 b/nls/german/set11 index 603eb518d0609..c01a679235455 100644 --- a/nls/german/set11 +++ b/nls/german/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.5 2006/03/02 18:46:46 christos Exp $ $ sh.c $set 11 1 Warnung: kein Zugriff auf Tty (%s).\n diff --git a/nls/german/set12 b/nls/german/set12 index 101b1785eda44..1fe124f682e83 100644 --- a/nls/german/set12 +++ b/nls/german/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.4 2006/03/02 18:46:46 christos Exp $ $ sh.dir.c $set 12 1 %s: Versuche von "%s" zu starten.\n diff --git a/nls/german/set13 b/nls/german/set13 index 4aefa6630ba91..866826c043f5e 100644 --- a/nls/german/set13 +++ b/nls/german/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.4 2011/02/04 18:19:36 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/german/set14 b/nls/german/set14 index e5b65df63bca4..5f3b5868d8a18 100644 --- a/nls/german/set14 +++ b/nls/german/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.4 2006/03/02 18:46:46 christos Exp $ $ sh.file.c $set 14 1 \nAuweia!! Zu viele %s!!\n diff --git a/nls/german/set15 b/nls/german/set15 index a96d8aaa18b70..8148bbffea31e 100644 --- a/nls/german/set15 +++ b/nls/german/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.5 2011/02/04 18:19:36 christos Exp $ $ sh.func.c $set 15 1 %s: %s: Kann Begrenzung nicht %s%s\n diff --git a/nls/german/set16 b/nls/german/set16 index b8f572e8a338a..1023e5642aae4 100644 --- a/nls/german/set16 +++ b/nls/german/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.4 2011/02/04 18:19:36 christos Exp $ $ sh.lex.c $set 16 1 Setze Prozeßgruppe des Terminals von %d auf %d\n diff --git a/nls/german/set17 b/nls/german/set17 index 5c1c71e49333c..2420d35b95933 100644 --- a/nls/german/set17 +++ b/nls/german/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.6 2011/02/04 18:19:36 christos Exp $ $ sh.proc.c $set 17 1 FEHLER: Warte auf Hintergrund-Job!\n diff --git a/nls/german/set18 b/nls/german/set18 index 5bd6feb71275b..7f07f100e3193 100644 --- a/nls/german/set18 +++ b/nls/german/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.4 2011/02/04 18:19:36 christos Exp $ $ sh.set.c $set 18 1 Warnung: lächerlich langer PATH abgeschnitten\n diff --git a/nls/german/set19 b/nls/german/set19 index 9b4004fd48c19..c4f19094a0f0e 100644 --- a/nls/german/set19 +++ b/nls/german/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.7 2011/02/25 23:58:07 christos Exp $ $ tc.alloc.c $set 19 1 nbytes=%d: Out of memory\n diff --git a/nls/german/set2 b/nls/german/set2 index e7e4e4765b089..86104b9a645b0 100644 --- a/nls/german/set2 +++ b/nls/german/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.6 2011/02/04 18:19:36 christos Exp $ $ Signal names $set 2 1 Null signal diff --git a/nls/german/set20 b/nls/german/set20 index d5e608ae74a72..c6cfaa2149346 100644 --- a/nls/german/set20 +++ b/nls/german/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.5 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Ungültiger Tastenname `%S'\n diff --git a/nls/german/set21 b/nls/german/set21 index 32a277413606f..6324b2fa260e0 100644 --- a/nls/german/set21 +++ b/nls/german/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2006/03/02 18:46:46 christos Exp $ $ tc.disc.c $set 21 1 Kann lokale Sonderzeichen nicht auslesen.\n diff --git a/nls/german/set22 b/nls/german/set22 index 13cf2112c3bab..99d6e8dc0af42 100644 --- a/nls/german/set22 +++ b/nls/german/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.4 2011/02/04 18:19:36 christos Exp $ $ tc.func.c $set 22 1 %S: \t ein Alias für diff --git a/nls/german/set23 b/nls/german/set23 index bad50bdf3f244..8a15c7b1c46d8 100644 --- a/nls/german/set23 +++ b/nls/german/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.5 2011/02/04 18:19:36 christos Exp $ $ tc.os.c $set 23 1 Falscher Cpu/Site-Name diff --git a/nls/german/set24 b/nls/german/set24 index dee8054ea657d..349a8a909b81c 100644 --- a/nls/german/set24 +++ b/nls/german/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.3 2006/03/02 18:46:46 christos Exp $ $ tc.sched.c $set 24 1 Hack! diff --git a/nls/german/set25 b/nls/german/set25 index f630825224450..5186b3caef395 100644 --- a/nls/german/set25 +++ b/nls/german/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.4 2011/02/04 18:19:36 christos Exp $ $ tc.sig.c $set 25 1 unser wait %d\n diff --git a/nls/german/set26 b/nls/german/set26 index 849c3dfe18ca0..f70d6419098e4 100644 --- a/nls/german/set26 +++ b/nls/german/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.5 2011/02/04 18:19:36 christos Exp $ $ tc.who.c $set 26 1 Kein Zugriff auf %s. Bitte "unset watch" eingeben.\n diff --git a/nls/german/set27 b/nls/german/set27 index 7ec2de2dceafa..de0f61f4a1f2d 100644 --- a/nls/german/set27 +++ b/nls/german/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.4 2011/02/04 18:19:36 christos Exp $ $ tw.comp.c $set 27 1 Befehl diff --git a/nls/german/set29 b/nls/german/set29 index 22f882c94f6e4..d11e8d399912d 100644 --- a/nls/german/set29 +++ b/nls/german/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.4 2011/02/04 18:19:36 christos Exp $ $ tw.help.c $set 29 1 Keine Hilfe-Datei für %S\n diff --git a/nls/german/set3 b/nls/german/set3 index a04a75f03f7ed..6f43e64b54954 100644 --- a/nls/german/set3 +++ b/nls/german/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.7 2011/02/04 18:19:36 christos Exp $ $ Editor function descriptions $set 3 1 Ein Zeichen zurück diff --git a/nls/german/set30 b/nls/german/set30 index 4312636d881c8..f08a6037c6c91 100644 --- a/nls/german/set30 +++ b/nls/german/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.5 2011/02/04 18:19:37 christos Exp $ $ tw.parse.c $set 30 1 Anfangsbefehl %d\n diff --git a/nls/german/set31 b/nls/german/set31 index beb4baa64ef2a..b716dc94fa6e2 100644 --- a/nls/german/set31 +++ b/nls/german/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.4 2011/02/04 18:19:37 christos Exp $ $ vms.termcap.c $set 31 1 Kann TERMCAP nicht öffnen: [%s]\n diff --git a/nls/german/set4 b/nls/german/set4 index a8233e024a358..5e775a27af035 100644 --- a/nls/german/set4 +++ b/nls/german/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.4 2011/02/04 18:19:37 christos Exp $ $ Termcap strings $set 4 1 füge neue, leere Zeile hinzu diff --git a/nls/german/set5 b/nls/german/set5 index a2bd567ad0fd5..626a253a860a5 100644 --- a/nls/german/set5 +++ b/nls/german/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.4 2011/02/04 18:19:37 christos Exp $ $ ed.chared.c $set 5 1 Durchschnittliche Last nicht verfügbar\n diff --git a/nls/german/set6 b/nls/german/set6 index 8af387c197f39..4062bb067d929 100644 --- a/nls/german/set6 +++ b/nls/german/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.4 2011/02/10 00:13:36 christos Exp $ $ ed.inputl.c $set 6 1 FEHLER: Illegaler Befehl von Taste 0%o\r\n diff --git a/nls/german/set7 b/nls/german/set7 index 23cc4369c82e2..6b2b1350b9089 100644 --- a/nls/german/set7 +++ b/nls/german/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.6 2011/02/04 18:19:37 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh meint, Ihr Endgerät hat die\n diff --git a/nls/german/set8 b/nls/german/set8 index 858bcef0f547c..bc653956b3411 100644 --- a/nls/german/set8 +++ b/nls/german/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.4 2011/02/04 18:19:37 christos Exp $ $ ed.term.c $set 8 1 Unbekannter Schalter diff --git a/nls/german/set9 b/nls/german/set9 index 8077323b7ac85..61a2e66697a76 100644 --- a/nls/german/set9 +++ b/nls/german/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.6 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: Null extended-key not allowed.\n diff --git a/nls/greek/set1 b/nls/greek/set1 index c3ba23880da7a..4b30e826fd63f 100644 --- a/nls/greek/set1 +++ b/nls/greek/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.6 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Λάθος σύνταξη diff --git a/nls/greek/set10 b/nls/greek/set10 index 6cce0b47805a1..b4e4d5f2851ca 100644 --- a/nls/greek/set10 +++ b/nls/greek/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.4 2011/02/04 18:19:37 christos Exp $ $ ma.setp.c $set 10 1 setpath: άκυρη εντολή '%s'.\n diff --git a/nls/greek/set11 b/nls/greek/set11 index 940a390aad963..f74c3a8de0bc0 100644 --- a/nls/greek/set11 +++ b/nls/greek/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.3 2011/02/04 18:19:37 christos Exp $ $ sh.c $set 11 1 Προειδοποίηση: δεν μπορώ να προσπελάσω το tty (%s).\n diff --git a/nls/greek/set12 b/nls/greek/set12 index f8d9dfa96ed5c..6b90ca5c3f4ad 100644 --- a/nls/greek/set12 +++ b/nls/greek/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.4 2011/02/04 18:19:37 christos Exp $ $ sh.dir.c $set 12 1 %s: προσπαθώ να αρχίσω από το "%s"\n diff --git a/nls/greek/set13 b/nls/greek/set13 index 5da2dbc7acf66..d3d689619dcda 100644 --- a/nls/greek/set13 +++ b/nls/greek/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:37 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/greek/set14 b/nls/greek/set14 index 981c5dd96123d..b349fe343605c 100644 --- a/nls/greek/set14 +++ b/nls/greek/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.4 2011/02/04 18:19:37 christos Exp $ $ sh.file.c $set 14 1 \nΠφφφ!! Υπερβολικά πολλά %s!!\n diff --git a/nls/greek/set15 b/nls/greek/set15 index 5e530b866f70e..50569a848ee30 100644 --- a/nls/greek/set15 +++ b/nls/greek/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:37 christos Exp $ $ sh.func.c $set 15 1 %s: %s: δε μπορώ να %sτο%s όριο\n diff --git a/nls/greek/set16 b/nls/greek/set16 index df47f444761be..706dcdbf890e9 100644 --- a/nls/greek/set16 +++ b/nls/greek/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.4 2011/02/04 18:19:37 christos Exp $ $ sh.lex.c $set 16 1 Μηδενισμός του γκρουπ διεργασιών του tty από %d σε %d\n diff --git a/nls/greek/set17 b/nls/greek/set17 index 71c9f6878d780..f1fcd9c7e7539 100644 --- a/nls/greek/set17 +++ b/nls/greek/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.4 2011/02/04 18:19:37 christos Exp $ $ sh.proc.c $set 17 1 BUG: wait γιά εργασία που τρέχει στο παρασκήνιο!\n diff --git a/nls/greek/set18 b/nls/greek/set18 index 093c40551564c..7c54ba87c7405 100644 --- a/nls/greek/set18 +++ b/nls/greek/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.3 2011/02/04 18:19:37 christos Exp $ $ sh.set.c $set 18 1 Προειδοποίηση: PATH με τεράστιο μέγεθος, περικόπηκε\n diff --git a/nls/greek/set19 b/nls/greek/set19 index 99c93a0b6025a..7958512902ddc 100644 --- a/nls/greek/set19 +++ b/nls/greek/set19 @@ -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: η μνήμη τελείωσε\n diff --git a/nls/greek/set2 b/nls/greek/set2 index 7fb7985bf80ae..18811557f5864 100644 --- a/nls/greek/set2 +++ b/nls/greek/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.4 2011/02/04 18:19:37 christos Exp $ $ Signal names $set 2 1 Μηδενικό signal diff --git a/nls/greek/set20 b/nls/greek/set20 index a344fd37304ea..1060f5550eb7c 100644 --- a/nls/greek/set20 +++ b/nls/greek/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.6 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Ακυρο όνομα πλήκτρου `%S'\n diff --git a/nls/greek/set21 b/nls/greek/set21 index 1a215ddf46644..98c5685a52fe2 100644 --- a/nls/greek/set21 +++ b/nls/greek/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2011/02/04 18:19:37 christos Exp $ $ tc.disc.c $set 21 1 Δε μπορώ να διαβάσω τα local chars.\n diff --git a/nls/greek/set22 b/nls/greek/set22 index 4620121dd1268..b6282eda66d9c 100644 --- a/nls/greek/set22 +++ b/nls/greek/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.3 2011/02/04 18:19:37 christos Exp $ $ tc.func.c $set 22 1 %S: \t ψευδώνυμο γιά το diff --git a/nls/greek/set23 b/nls/greek/set23 index 610b65ec5b108..706bc6a5c44e2 100644 --- a/nls/greek/set23 +++ b/nls/greek/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.4 2011/02/04 18:19:38 christos Exp $ $ tc.os.c $set 23 1 Ακυρο όνομα cpu/site diff --git a/nls/greek/set24 b/nls/greek/set24 index f97ef1c30e7da..7da8b309b1548 100644 --- a/nls/greek/set24 +++ b/nls/greek/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:46 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/greek/set25 b/nls/greek/set25 index ba7891f7fc71e..9c1d86d703fb0 100644 --- a/nls/greek/set25 +++ b/nls/greek/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.3 2011/02/04 18:19:38 christos Exp $ $ tc.sig.c $set 25 1 our wait %d\n diff --git a/nls/greek/set26 b/nls/greek/set26 index 2564ecbfe8676..3ccf7e021e52c 100644 --- a/nls/greek/set26 +++ b/nls/greek/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.4 2011/02/04 18:19:38 christos Exp $ $ tc.who.c $set 26 1 δε μπορώ να κάνω stat το %s. Παρακαλώ δώστε "unset watch".\n diff --git a/nls/greek/set27 b/nls/greek/set27 index 6854e6fa952cc..d42b1353ca844 100644 --- a/nls/greek/set27 +++ b/nls/greek/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.3 2011/02/04 18:19:38 christos Exp $ $ tw.comp.c $set 27 1 εντολή diff --git a/nls/greek/set29 b/nls/greek/set29 index d749230a17c67..d6df2ece5ff3d 100644 --- a/nls/greek/set29 +++ b/nls/greek/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.3 2011/02/04 18:19:38 christos Exp $ $ tw.help.c $set 29 1 Δεν υπάρχει αρχείο με βοήθεια γιά το %S\n diff --git a/nls/greek/set3 b/nls/greek/set3 index 9e2ad8d863a97..34284971de676 100644 --- a/nls/greek/set3 +++ b/nls/greek/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.5 2011/02/04 18:19:38 christos Exp $ $ Editor function descriptions $set 3 1 Μετακίνηση ένα χαρακτήρα όπισθεν diff --git a/nls/greek/set30 b/nls/greek/set30 index a5b2fe0b69724..634ab15695e28 100644 --- a/nls/greek/set30 +++ b/nls/greek/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.3 2011/02/04 18:19:38 christos Exp $ $ tw.parse.c $set 30 1 starting_a_command %d\n diff --git a/nls/greek/set31 b/nls/greek/set31 index 64e5b13fdc865..6c6e32a574e95 100644 --- a/nls/greek/set31 +++ b/nls/greek/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.3 2011/02/04 18:19:38 christos Exp $ $ vms.termcap.c $set 31 1 Δε μπορώ να ανοίξω το TERMCAP: [%s]\n diff --git a/nls/greek/set4 b/nls/greek/set4 index 5763b887a5eb8..7e27f03698cc9 100644 --- a/nls/greek/set4 +++ b/nls/greek/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.4 2011/02/04 18:19:38 christos Exp $ $ Termcap strings $set 4 1 πρόσθεση νέας κενής γραμμής diff --git a/nls/greek/set5 b/nls/greek/set5 index 91b6833650426..8a1f461f165c2 100644 --- a/nls/greek/set5 +++ b/nls/greek/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.3 2011/02/04 18:19:38 christos Exp $ $ ed.chared.c $set 5 1 Ο μέσος όρος φορτίου δεν είναι διαθέσιμος\n diff --git a/nls/greek/set6 b/nls/greek/set6 index 80a0950351928..4ab9e5284ea4f 100644 --- a/nls/greek/set6 +++ b/nls/greek/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:38 christos Exp $ $ ed.inputl.c $set 6 1 ΣΦΑΛΜΑ: άκυρη εντολή απο το πλήκτρο 0%o\r\n diff --git a/nls/greek/set7 b/nls/greek/set7 index 8cd8e3503d9c6..6bc3749de3c37 100644 --- a/nls/greek/set7 +++ b/nls/greek/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.4 2011/02/04 18:19:38 christos Exp $ $ ed.screen.c $set 7 1 \n\tΤο %s ξέρει γιά το τερματικό σας τα\n diff --git a/nls/greek/set8 b/nls/greek/set8 index ebe2e8e12b904..21136dad60925 100644 --- a/nls/greek/set8 +++ b/nls/greek/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.3 2011/02/04 18:19:38 christos Exp $ $ ed.term.c $set 8 1 Αγνωστο switch diff --git a/nls/greek/set9 b/nls/greek/set9 index 91e42b77d229d..7a2ddffb0b33d 100644 --- a/nls/greek/set9 +++ b/nls/greek/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.5 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: δεν επιτρέπεται μηδενικό extended-key.\n diff --git a/nls/italian/set1 b/nls/italian/set1 index 51b12db2d6860..b6bed0641b5df 100644 --- a/nls/italian/set1 +++ b/nls/italian/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.4 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Errore di Sintassi diff --git a/nls/italian/set10 b/nls/italian/set10 index 531565b2381d1..a88e5cdbf73f2 100644 --- a/nls/italian/set10 +++ b/nls/italian/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.2 2006/03/02 18:46:47 christos Exp $ $ ma.setp.c $set 10 1 setpath: comando '%s' non valido.\n diff --git a/nls/italian/set11 b/nls/italian/set11 index 54629cd797372..411517407bc6b 100644 --- a/nls/italian/set11 +++ b/nls/italian/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.3 2011/02/04 18:19:38 christos Exp $ $ sh.c $set 11 1 Attenzione: accesso negato al terminale (%s).\n diff --git a/nls/italian/set12 b/nls/italian/set12 index 5a3c19b77bbe4..49117a305aa6d 100644 --- a/nls/italian/set12 +++ b/nls/italian/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.2 2006/03/02 18:46:47 christos Exp $ $ sh.dir.c $set 12 1 %s: sto tentando di partire da "%s"\n diff --git a/nls/italian/set13 b/nls/italian/set13 index a3781af4866c6..8719f1bcbf01d 100644 --- a/nls/italian/set13 +++ b/nls/italian/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:38 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/italian/set14 b/nls/italian/set14 index a3b3bc2693a72..1067999c8b95c 100644 --- a/nls/italian/set14 +++ b/nls/italian/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.2 2006/03/02 18:46:47 christos Exp $ $ sh.file.c $set 14 1 \nAccipicchia!! Troppi %s!!\n diff --git a/nls/italian/set15 b/nls/italian/set15 index a78d850f931a3..0cf04af77ec28 100644 --- a/nls/italian/set15 +++ b/nls/italian/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:39 christos Exp $ $ sh.func.c $set 15 1 %s: %s: non si può %s il limite%s\n diff --git a/nls/italian/set16 b/nls/italian/set16 index 0ec4eaa982e5f..4d51fb0d1d904 100644 --- a/nls/italian/set16 +++ b/nls/italian/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.2 2006/03/02 18:46:47 christos Exp $ $ sh.lex.c $set 16 1 Reinizializzato il gruppo di processi di terminale da %d a %d\n diff --git a/nls/italian/set17 b/nls/italian/set17 index 1076cabe630fb..fbbb10130963a 100644 --- a/nls/italian/set17 +++ b/nls/italian/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.4 2011/02/04 18:19:39 christos Exp $ $ sh.proc.c $set 17 1 BACO: sto aspettando un lavoro in background!\n diff --git a/nls/italian/set18 b/nls/italian/set18 index 83a612c9a2605..d31b1b9eeffe0 100644 --- a/nls/italian/set18 +++ b/nls/italian/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.2 2006/03/02 18:46:47 christos Exp $ $ sh.set.c $set 18 1 Attenzione: PATH indecorosamente lungo troncato\n diff --git a/nls/italian/set19 b/nls/italian/set19 index 061ba4fed4c79..a683ed27816c5 100644 --- a/nls/italian/set19 +++ b/nls/italian/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.4 2011/02/25 23:58:07 christos Exp $ $ tc.alloc.c $set 19 1 nbytes=%d: Memoria esaurita\n diff --git a/nls/italian/set2 b/nls/italian/set2 index c08067113f71d..2b15c2e18c871 100644 --- a/nls/italian/set2 +++ b/nls/italian/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.3 2011/02/04 18:19:39 christos Exp $ $ Signal names $set 2 1 Segnale nullo diff --git a/nls/italian/set20 b/nls/italian/set20 index 45feb949ad76c..52f0b3d6ec1e5 100644 --- a/nls/italian/set20 +++ b/nls/italian/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.4 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Nome di tasto non corretto `%S'\n diff --git a/nls/italian/set21 b/nls/italian/set21 index 9bc2e0435bbb8..2669a28a97b14 100644 --- a/nls/italian/set21 +++ b/nls/italian/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2006/03/02 18:46:47 christos Exp $ $ tc.disc.c $set 21 1 Non si possono ottenere i caratteri locali\n diff --git a/nls/italian/set22 b/nls/italian/set22 index ba38979b647a0..49dda959c3319 100644 --- a/nls/italian/set22 +++ b/nls/italian/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.3 2011/02/04 18:19:39 christos Exp $ $ tc.func.c $set 22 1 %S: \t è un alias per diff --git a/nls/italian/set23 b/nls/italian/set23 index 73884912ff3d6..9fd91852aef10 100644 --- a/nls/italian/set23 +++ b/nls/italian/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.3 2011/02/04 18:19:39 christos Exp $ $ tc.os.c $set 23 1 Nome di cpu/macchina non corretto diff --git a/nls/italian/set24 b/nls/italian/set24 index 95457cc4601e6..ca5964e36ebb6 100644 --- a/nls/italian/set24 +++ b/nls/italian/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tc.sched.c $set 24 1 accrocchio diff --git a/nls/italian/set25 b/nls/italian/set25 index 2cc50a8bb1b74..b50fdd47eea33 100644 --- a/nls/italian/set25 +++ b/nls/italian/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tc.sig.c $set 25 1 ourwait %d\n diff --git a/nls/italian/set26 b/nls/italian/set26 index 40db5f6041435..2d267f5c7c465 100644 --- a/nls/italian/set26 +++ b/nls/italian/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.3 2011/02/04 18:19:39 christos Exp $ $ tc.who.c $set 26 1 non posso usare stat per %s. Per pietà dai un "unset watch".\n diff --git a/nls/italian/set27 b/nls/italian/set27 index 4a42895ffdb68..3810c622eca2c 100644 --- a/nls/italian/set27 +++ b/nls/italian/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tw.comp.c $set 27 1 comando diff --git a/nls/italian/set29 b/nls/italian/set29 index 9519a4ddfeff5..a3255b81df74b 100644 --- a/nls/italian/set29 +++ b/nls/italian/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tw.help.c $set 29 1 Non esiste il file di aiuto per %S\n diff --git a/nls/italian/set3 b/nls/italian/set3 index f3fd8a389d102..2205879ec7f9b 100644 --- a/nls/italian/set3 +++ b/nls/italian/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2011/02/04 18:19:39 christos Exp $ $ Editor function descriptions $set 3 1 Retrocede di un carattere diff --git a/nls/italian/set30 b/nls/italian/set30 index 9ea8558ee5bd1..37602503f27be 100644 --- a/nls/italian/set30 +++ b/nls/italian/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.3 2011/02/04 18:19:39 christos Exp $ $ tw.parse.c $set 30 1 inizio_il_comando %d\n diff --git a/nls/italian/set31 b/nls/italian/set31 index 046f1bacb353e..35645b9073da9 100644 --- a/nls/italian/set31 +++ b/nls/italian/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.2 2006/03/02 18:46:47 christos Exp $ $ vms.termcap.c $set 31 1 Non posso aprire il TERMCAP: [%s]\n diff --git a/nls/italian/set4 b/nls/italian/set4 index d86b10ead44b5..0d7a1eca24f5c 100644 --- a/nls/italian/set4 +++ b/nls/italian/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.3 2011/02/04 18:19:39 christos Exp $ $ Termcap strings $set 4 1 aggiunge una linea vuota diff --git a/nls/italian/set5 b/nls/italian/set5 index 40dcae8bacc3e..5e1f28a400cfd 100644 --- a/nls/italian/set5 +++ b/nls/italian/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.2 2006/03/02 18:46:47 christos Exp $ $ ed.chared.c $set 5 1 Media di carico non disponibile\n diff --git a/nls/italian/set6 b/nls/italian/set6 index 2c4ad8c7b2575..dd33424f11ddc 100644 --- a/nls/italian/set6 +++ b/nls/italian/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:39 christos Exp $ $ ed.inputl.c $set 6 1 ERRORE: comando illegale per il tasto 0%o\r\n diff --git a/nls/italian/set7 b/nls/italian/set7 index e0d851bf909ba..039442b8dd1fe 100644 --- a/nls/italian/set7 +++ b/nls/italian/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.3 2011/02/04 18:19:39 christos Exp $ $ ed.screen.c $set 7 1 \n\tLa tcsh ipotizza che il tuo terminale abbia\n diff --git a/nls/italian/set8 b/nls/italian/set8 index f5b210bd22610..3cadf803bc4a8 100644 --- a/nls/italian/set8 +++ b/nls/italian/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.2 2006/03/02 18:46:47 christos Exp $ $ ed.term.c $set 8 1 Commutatore sconosciuto diff --git a/nls/italian/set9 b/nls/italian/set9 index 168559be7d4ea..96a5f7d77532f 100644 --- a/nls/italian/set9 +++ b/nls/italian/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.3 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: tasto esteso nullo non ammesso.\n diff --git a/nls/ja/set1 b/nls/ja/set1 index 70c9cb8f24ee2..fca3eeb2b5b7e 100644 --- a/nls/ja/set1 +++ b/nls/ja/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.7 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 文法が間違っています diff --git a/nls/ja/set10 b/nls/ja/set10 index 8c2991da8c9fa..ca02a0c606868 100644 --- a/nls/ja/set10 +++ b/nls/ja/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.3 2011/02/04 18:19:39 christos Exp $ $ ma.setp.c $set 10 1 setpath: コマンドが不正です '%s'.\n diff --git a/nls/ja/set11 b/nls/ja/set11 index 55a998b498e47..6b6663430c647 100644 --- a/nls/ja/set11 +++ b/nls/ja/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.3 2011/02/04 18:19:39 christos Exp $ $ sh.c $set 11 1 警告: ttyにアクセスができません (%s).\n diff --git a/nls/ja/set12 b/nls/ja/set12 index 05e6445ea833b..6770be59c894e 100644 --- a/nls/ja/set12 +++ b/nls/ja/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.3 2011/02/04 18:19:39 christos Exp $ $ sh.dir.c $set 12 1 %s: "%s"からの実行を試します\n diff --git a/nls/ja/set13 b/nls/ja/set13 index 78708800122db..00825dafa4b27 100644 --- a/nls/ja/set13 +++ b/nls/ja/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:39 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/ja/set15 b/nls/ja/set15 index 28b334f07dcaf..781616f0a228c 100644 --- a/nls/ja/set15 +++ b/nls/ja/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:39 christos Exp $ $ sh.func.c $set 15 1 %s: %s: %s 出来ません. (%s 制限)\n diff --git a/nls/ja/set16 b/nls/ja/set16 index c329b29f0e8a0..9d66f0a0df271 100644 --- a/nls/ja/set16 +++ b/nls/ja/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.4 2011/02/04 18:19:40 christos Exp $ $ sh.lex.c $set 16 1 tty pgrp を %d から %dに再設定します\n diff --git a/nls/ja/set17 b/nls/ja/set17 index d748bc75762bd..343056b4186d4 100644 --- a/nls/ja/set17 +++ b/nls/ja/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.4 2011/02/04 18:19:40 christos Exp $ $ sh.proc.c $set 17 1 障害: バッググラウンドジョブを待っています\n diff --git a/nls/ja/set18 b/nls/ja/set18 index ef4715dd2676b..8a90681d24f01 100644 --- a/nls/ja/set18 +++ b/nls/ja/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.3 2011/02/04 18:19:40 christos Exp $ $ sh.set.c $set 18 1 警告: 不自然に長い PATH は切り捨てられます\n diff --git a/nls/ja/set2 b/nls/ja/set2 index 59ce40785e017..182a880b083d9 100644 --- a/nls/ja/set2 +++ b/nls/ja/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.3 2011/02/04 18:19:40 christos Exp $ $ Signal names $set 2 1 ヌルシグナル diff --git a/nls/ja/set21 b/nls/ja/set21 index 995fb0291b8ea..07983afb36a1b 100644 --- a/nls/ja/set21 +++ b/nls/ja/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2011/02/04 18:19:40 christos Exp $ $ tc.disc.c $set 21 1 ローカルキャラを取得できません.\n diff --git a/nls/ja/set24 b/nls/ja/set24 index 0c3ca907c33d4..7da8b309b1548 100644 --- a/nls/ja/set24 +++ b/nls/ja/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/ja/set29 b/nls/ja/set29 index 003e49d81cf10..c8870d3171be3 100644 --- a/nls/ja/set29 +++ b/nls/ja/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.4 2011/02/04 18:19:40 christos Exp $ $ tw.help.c $set 29 1 %S 用のヘルプファイルがありません\n diff --git a/nls/ja/set3 b/nls/ja/set3 index 92f7986a63f0b..1de06443abd4d 100644 --- a/nls/ja/set3 +++ b/nls/ja/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2001/04/26 19:07:48 kim Exp $ $ Editor function descriptions $set 3 1 1文字戻る diff --git a/nls/ja/set30 b/nls/ja/set30 index ffea304e6000a..725b21f730ac8 100644 --- a/nls/ja/set30 +++ b/nls/ja/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.3 2011/02/04 18:19:40 christos Exp $ $ tw.parse.c $set 30 1 コマンド開始 %d\n diff --git a/nls/ja/set4 b/nls/ja/set4 index 718952f09ee29..99dc873454f93 100644 --- a/nls/ja/set4 +++ b/nls/ja/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.2 1995/03/19 18:07:15 christos Exp $ $ Termcap strings $set 4 1 空行挿入 diff --git a/nls/ja/set5 b/nls/ja/set5 index 7a65e3fd912d1..cda1613e69de0 100644 --- a/nls/ja/set5 +++ b/nls/ja/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.3 2011/02/04 18:19:40 christos Exp $ $ ed.chared.c $set 5 1 システム負荷表示は使用できません\n diff --git a/nls/ja/set6 b/nls/ja/set6 index d390d65580489..6f094a43d80d3 100644 --- a/nls/ja/set6 +++ b/nls/ja/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:40 christos Exp $ $ ed.inputl.c $set 6 1 エラー: 不正なキーからのコマンド 0%o\r\n diff --git a/nls/ja/set7 b/nls/ja/set7 index 915942ad3204f..12456bb8747ee 100644 --- a/nls/ja/set7 +++ b/nls/ja/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.3 2011/02/04 18:19:40 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh の推測では、あなたの端末は\n diff --git a/nls/ja/set8 b/nls/ja/set8 index bc19a165832cd..1d17bcd7791ad 100644 --- a/nls/ja/set8 +++ b/nls/ja/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.3 2011/02/04 18:19:40 christos Exp $ $ ed.term.c $set 8 1 不明なswitch diff --git a/nls/pl/set1 b/nls/pl/set1 index ebf18173f07d0..bad75b0b966ce 100644 --- a/nls/pl/set1 +++ b/nls/pl/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.5 1998/06/27 12:27:55 christos Exp $ $ Error messages $set 1 1 Błąd składni diff --git a/nls/pl/set10 b/nls/pl/set10 index bdfbb430b0f3b..7b5f71cf71b41 100644 --- a/nls/pl/set10 +++ b/nls/pl/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.2 1995/03/19 18:07:15 christos Exp $ $ ma.setp.c $set 10 1 setpath: nieprawidłowe polecenie '%s'.\n diff --git a/nls/pl/set11 b/nls/pl/set11 index 4e6c6915b6f2b..18f235fb99181 100644 --- a/nls/pl/set11 +++ b/nls/pl/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.2 1995/03/19 18:07:15 christos Exp $ $ sh.c $set 11 1 Uwaga: brak dostępu do tty (%s).\n diff --git a/nls/pl/set12 b/nls/pl/set12 index 69128f2cbaf7b..d29820567f8f7 100644 --- a/nls/pl/set12 +++ b/nls/pl/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.3 1996/04/26 20:31:52 christos Exp $ $ sh.dir.c $set 12 1 %s: Próbuję wystartować z "%s"\n diff --git a/nls/pl/set13 b/nls/pl/set13 index 90e819ccb89c0..3efa480ab0022 100644 --- a/nls/pl/set13 +++ b/nls/pl/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.2 1995/03/19 18:07:15 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/pl/set14 b/nls/pl/set14 index a38ec4f054d07..ff98f57fc2538 100644 --- a/nls/pl/set14 +++ b/nls/pl/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.3 1998/11/24 18:18:06 christos Exp $ $ sh.file.c $set 14 1 \nKurcze!! Zbyt wiele %s!!\n diff --git a/nls/pl/set15 b/nls/pl/set15 index f2026f68a2d13..6067cd300f4ea 100644 --- a/nls/pl/set15 +++ b/nls/pl/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 1996/10/19 17:52:32 christos Exp $ $ sh.func.c $set 15 1 %s: %s: Nie mogę limitować %s%s\n diff --git a/nls/pl/set16 b/nls/pl/set16 index 6c058af17e1e0..ead9b2284eb72 100644 --- a/nls/pl/set16 +++ b/nls/pl/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.3 1996/04/26 20:31:55 christos Exp $ $ sh.lex.c $set 16 1 Reset tty pgrp from %d to %d\n diff --git a/nls/pl/set17 b/nls/pl/set17 index f87afe79af038..d5109ac05014f 100644 --- a/nls/pl/set17 +++ b/nls/pl/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.3 1996/10/19 17:52:33 christos Exp $ $ sh.proc.c $set 17 1 PLUSKWA: czekam na zadanie pracujące w tle!\n diff --git a/nls/pl/set18 b/nls/pl/set18 index 2680f5f9dadff..ed02542029c2a 100644 --- a/nls/pl/set18 +++ b/nls/pl/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.2 1995/03/19 18:07:15 christos Exp $ $ sh.set.c $set 18 1 Uwaga: śmiesznie długa PATH została obcięta\n diff --git a/nls/pl/set19 b/nls/pl/set19 index 25883092f2b91..dd0ba587f2b9c 100644 --- a/nls/pl/set19 +++ b/nls/pl/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.3 1996/04/26 20:31:58 christos Exp $ $ tc.alloc.c $set 19 1 n-bajtów=%d: Brak pamięci\n diff --git a/nls/pl/set2 b/nls/pl/set2 index c464055c06bb6..84b1aa0d31ba8 100644 --- a/nls/pl/set2 +++ b/nls/pl/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.4 1998/10/25 15:12:38 christos Exp $ $ Signal names $set 2 1 Pusty sygnał diff --git a/nls/pl/set20 b/nls/pl/set20 index cf8d0b1a0c0ca..c620efc7599df 100644 --- a/nls/pl/set20 +++ b/nls/pl/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.bind.c $set 20 1 Invalid key name `%S'\n diff --git a/nls/pl/set21 b/nls/pl/set21 index bed58d206fcbc..527cd5d17a46a 100644 --- a/nls/pl/set21 +++ b/nls/pl/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.disc.c $set 21 1 Couldn't get local chars.\n diff --git a/nls/pl/set22 b/nls/pl/set22 index a4436bdf6a33d..a5d32b7673634 100644 --- a/nls/pl/set22 +++ b/nls/pl/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.func.c $set 22 1 %S: \t aliased to diff --git a/nls/pl/set23 b/nls/pl/set23 index 7538fdf86d526..526960bac7703 100644 --- a/nls/pl/set23 +++ b/nls/pl/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.3 1996/04/26 20:32:00 christos Exp $ $ tc.os.c $set 23 1 Bad cpu/site name diff --git a/nls/pl/set24 b/nls/pl/set24 index 4e8e6d379730e..7da8b309b1548 100644 --- a/nls/pl/set24 +++ b/nls/pl/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/pl/set25 b/nls/pl/set25 index 704b47d5de338..a1ac9503f4a4d 100644 --- a/nls/pl/set25 +++ b/nls/pl/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.sig.c $set 25 1 our wait %d\n diff --git a/nls/pl/set26 b/nls/pl/set26 index 40e95f8a31061..5ba0003df833b 100644 --- a/nls/pl/set26 +++ b/nls/pl/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tc.who.c $set 26 1 cannot stat %s. Please "unset watch".\n diff --git a/nls/pl/set27 b/nls/pl/set27 index 2649dd72675b5..f6eaf317272d4 100644 --- a/nls/pl/set27 +++ b/nls/pl/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tw.comp.c $set 27 1 polecenie diff --git a/nls/pl/set29 b/nls/pl/set29 index a9a0836294a3c..8b987bc8a439b 100644 --- a/nls/pl/set29 +++ b/nls/pl/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.2 1995/03/19 18:07:15 christos Exp $ $ tw.help.c $set 29 1 Brak pliku pomocy dla %S\n diff --git a/nls/pl/set3 b/nls/pl/set3 index c1882c95809eb..f770c63623a4b 100644 --- a/nls/pl/set3 +++ b/nls/pl/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.3 1995/04/24 14:12:51 christos Exp $ $ Editor function descriptions $set 3 1 Przejdź znak wstecz diff --git a/nls/pl/set30 b/nls/pl/set30 index 0e73ed671e9fc..7f5dfcb9cdb96 100644 --- a/nls/pl/set30 +++ b/nls/pl/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.4 1996/10/19 17:52:34 christos Exp $ $ tw.parse.c $set 30 1 starting_a_command %d\n diff --git a/nls/pl/set31 b/nls/pl/set31 index 860baa3edcca8..5f8b033dcfaa0 100644 --- a/nls/pl/set31 +++ b/nls/pl/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.2 1995/03/19 18:07:15 christos Exp $ $ vms.termcap.c $set 31 1 Nie mogę otworzyć TERMCAP: [%s]\n diff --git a/nls/pl/set4 b/nls/pl/set4 index 997fed4dd794f..f312885eac4af 100644 --- a/nls/pl/set4 +++ b/nls/pl/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.2 1995/03/19 18:07:15 christos Exp $ $ Termcap strings $set 4 1 add new blank line diff --git a/nls/pl/set5 b/nls/pl/set5 index 7dccbfef5900a..04515563df05d 100644 --- a/nls/pl/set5 +++ b/nls/pl/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.2 1995/03/19 18:07:15 christos Exp $ $ ed.chared.c $set 5 1 Średnie obciążenie niedostępne\n diff --git a/nls/pl/set6 b/nls/pl/set6 index c2e08bd6beea4..78869323a5f18 100644 --- a/nls/pl/set6 +++ b/nls/pl/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.2 1995/03/19 18:07:15 christos Exp $ $ ed.inputl.c $set 6 1 ERROR: illegal command from key 0%o\r\n diff --git a/nls/pl/set7 b/nls/pl/set7 index 1bd60d02d4aa2..fa3afc5480523 100644 --- a/nls/pl/set7 +++ b/nls/pl/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.3 1996/04/26 20:32:04 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh thinks your terminal has the\n diff --git a/nls/pl/set8 b/nls/pl/set8 index f9e078e721df1..b5403631c3d48 100644 --- a/nls/pl/set8 +++ b/nls/pl/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.2 1995/03/19 18:07:15 christos Exp $ $ ed.term.c $set 8 1 Nieprawidłowy przełącznik diff --git a/nls/pl/set9 b/nls/pl/set9 index 4ba40322f8b0f..cc4a5bdb528e2 100644 --- a/nls/pl/set9 +++ b/nls/pl/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.2 1995/03/19 18:07:15 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: Null extended-key not allowed.\n diff --git a/nls/russian/set1 b/nls/russian/set1 index 9d683c7c60082..bc0a4eec95de2 100644 --- a/nls/russian/set1 +++ b/nls/russian/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.6 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Синтаксическая ошибка diff --git a/nls/russian/set10 b/nls/russian/set10 index 8215a2516e07a..92142873bf4a4 100644 --- a/nls/russian/set10 +++ b/nls/russian/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.4 2011/02/04 18:19:41 christos Exp $ $ ma.setp.c $set 10 1 setpath: неверная команда '%s'.\n diff --git a/nls/russian/set11 b/nls/russian/set11 index 4ea0f42d4a442..89133c72e75e3 100644 --- a/nls/russian/set11 +++ b/nls/russian/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.3 2011/02/04 18:19:41 christos Exp $ $ sh.c $set 11 1 Предупреждение: нет доступа к tty (%s).\n diff --git a/nls/russian/set12 b/nls/russian/set12 index 9a7993c1360e9..72315785dc84f 100644 --- a/nls/russian/set12 +++ b/nls/russian/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.3 2011/02/04 18:19:41 christos Exp $ $ sh.dir.c $set 12 1 %s: Пытаюсь начать с "%s"\n diff --git a/nls/russian/set13 b/nls/russian/set13 index 5a8009e1f3420..c5bd0349b07a5 100644 --- a/nls/russian/set13 +++ b/nls/russian/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.4 2011/02/04 18:19:41 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/russian/set14 b/nls/russian/set14 index b79837acb61c2..a799c9b4e7e41 100644 --- a/nls/russian/set14 +++ b/nls/russian/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.3 2011/02/04 18:19:41 christos Exp $ $ sh.file.c $set 14 1 \nYikes!! Слишком много %s!!\n diff --git a/nls/russian/set15 b/nls/russian/set15 index 62ea78dc28dab..a045bc5533776 100644 --- a/nls/russian/set15 +++ b/nls/russian/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:41 christos Exp $ $ sh.func.c $set 15 1 %s: %s: Не могу %s%s предел\n diff --git a/nls/russian/set16 b/nls/russian/set16 index 8ad2081c3aa41..156f40eaca070 100644 --- a/nls/russian/set16 +++ b/nls/russian/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.3 2011/02/04 18:19:41 christos Exp $ $ sh.lex.c $set 16 1 Reset tty pgrp from %d to %d\n diff --git a/nls/russian/set17 b/nls/russian/set17 index 1d11468760ca0..d7166e634b8f9 100644 --- a/nls/russian/set17 +++ b/nls/russian/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.5 2011/02/04 18:19:41 christos Exp $ $ sh.proc.c $set 17 1 BUG: waiting for background job!\n diff --git a/nls/russian/set18 b/nls/russian/set18 index a3f46f31fac7e..ed4667a9856e9 100644 --- a/nls/russian/set18 +++ b/nls/russian/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.4 2011/02/04 18:19:41 christos Exp $ $ sh.set.c $set 18 1 Предупреждение: Чересчур длинный PATH обрезан\n diff --git a/nls/russian/set19 b/nls/russian/set19 index e182a37571bfa..07b180009b1b9 100644 --- a/nls/russian/set19 +++ b/nls/russian/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.6 2011/02/25 23:58:08 christos Exp $ $ tc.alloc.c $set 19 1 nbytes=%d: Нет памяти\n diff --git a/nls/russian/set2 b/nls/russian/set2 index e076f6093de7b..4190037328554 100644 --- a/nls/russian/set2 +++ b/nls/russian/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.4 2011/02/04 18:19:42 christos Exp $ $ Signal names $set 2 1 Нулевой сигнал diff --git a/nls/russian/set20 b/nls/russian/set20 index d9684b8b9b750..bd2a8de68278f 100644 --- a/nls/russian/set20 +++ b/nls/russian/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.7 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Неверное имя клавиши `%S'\n diff --git a/nls/russian/set21 b/nls/russian/set21 index 38562a9cd8fa9..527cd5d17a46a 100644 --- a/nls/russian/set21 +++ b/nls/russian/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tc.disc.c $set 21 1 Couldn't get local chars.\n diff --git a/nls/russian/set22 b/nls/russian/set22 index 814957eb2942d..1e7b3ad3b4b63 100644 --- a/nls/russian/set22 +++ b/nls/russian/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.5 2011/02/04 18:19:42 christos Exp $ $ tc.func.c $set 22 1 %S: \t переопределено в diff --git a/nls/russian/set23 b/nls/russian/set23 index 771e1f6f4be04..94ad750d0555f 100644 --- a/nls/russian/set23 +++ b/nls/russian/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.4 2011/02/04 18:19:42 christos Exp $ $ tc.os.c $set 23 1 Bad cpu/site name diff --git a/nls/russian/set24 b/nls/russian/set24 index 0c3ca907c33d4..7da8b309b1548 100644 --- a/nls/russian/set24 +++ b/nls/russian/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:47 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/russian/set25 b/nls/russian/set25 index b1c22ab0edf7c..dcac6bdc90f01 100644 --- a/nls/russian/set25 +++ b/nls/russian/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.3 2011/02/04 18:19:42 christos Exp $ $ tc.sig.c $set 25 1 our wait %d\n diff --git a/nls/russian/set26 b/nls/russian/set26 index 7a93f01538fcb..bef3807adef9b 100644 --- a/nls/russian/set26 +++ b/nls/russian/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.4 2011/02/04 18:19:42 christos Exp $ $ tc.who.c $set 26 1 не могу выполнить stat на %s. Пожалуйста, выполните "unset watch".\n diff --git a/nls/russian/set27 b/nls/russian/set27 index 5179fe02866a3..601e1884615ff 100644 --- a/nls/russian/set27 +++ b/nls/russian/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.5 2011/02/04 18:19:42 christos Exp $ $ tw.comp.c $set 27 1 команда diff --git a/nls/russian/set29 b/nls/russian/set29 index 24aee57e76bdc..6148f24647436 100644 --- a/nls/russian/set29 +++ b/nls/russian/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.3 2011/02/04 18:19:42 christos Exp $ $ tw.help.c $set 29 1 Отсутствует файл помощи для %S\n diff --git a/nls/russian/set3 b/nls/russian/set3 index 1eb6471850df0..86eb672f720df 100644 --- a/nls/russian/set3 +++ b/nls/russian/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2006/03/02 18:46:48 christos Exp $ $ Editor function descriptions $set 3 1 Move back a character diff --git a/nls/russian/set30 b/nls/russian/set30 index be6f9aa4ef3a1..145b3580357ad 100644 --- a/nls/russian/set30 +++ b/nls/russian/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.5 2011/02/04 18:19:42 christos Exp $ $ tw.parse.c $set 30 1 starting_a_command %d\n diff --git a/nls/russian/set31 b/nls/russian/set31 index b9f8cae9a841e..b12c15b5b278a 100644 --- a/nls/russian/set31 +++ b/nls/russian/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.4 2011/02/04 18:19:42 christos Exp $ $ vms.termcap.c $set 31 1 Не могу открыть TERMCAP: [%s]\n diff --git a/nls/russian/set4 b/nls/russian/set4 index ad47bfbaaa9d5..e98b6cd949066 100644 --- a/nls/russian/set4 +++ b/nls/russian/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.4 2011/02/04 18:19:42 christos Exp $ $ Termcap strings $set 4 1 добавить новую пустую строку diff --git a/nls/russian/set5 b/nls/russian/set5 index 03960655e7b83..af0ec65fbc588 100644 --- a/nls/russian/set5 +++ b/nls/russian/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.3 2011/02/04 18:19:42 christos Exp $ $ ed.chared.c $set 5 1 Средняя загрузка недоступна\n diff --git a/nls/russian/set6 b/nls/russian/set6 index 532d65737cc9b..9e56e5412067d 100644 --- a/nls/russian/set6 +++ b/nls/russian/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.4 2011/02/04 18:19:42 christos Exp $ $ ed.inputl.c $set 6 1 ОШИБКА: неверная команда ключа 0%o\r\n diff --git a/nls/russian/set7 b/nls/russian/set7 index 61a216e269845..08be2142c2dc4 100644 --- a/nls/russian/set7 +++ b/nls/russian/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.4 2011/02/04 18:19:42 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh thinks your terminal has the\n diff --git a/nls/russian/set8 b/nls/russian/set8 index 266d0e74f8f38..f33aa2ca4791e 100644 --- a/nls/russian/set8 +++ b/nls/russian/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.3 2011/02/04 18:19:42 christos Exp $ $ ed.term.c $set 8 1 Неизвестный переключатель diff --git a/nls/russian/set9 b/nls/russian/set9 index b3a5f79630842..832d82b060dc5 100644 --- a/nls/russian/set9 +++ b/nls/russian/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.5 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: Null extended-key not allowed.\n diff --git a/nls/spanish/set1 b/nls/spanish/set1 index 71bfcbe503e85..ac035b71b2dd3 100644 --- a/nls/spanish/set1 +++ b/nls/spanish/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.5 2015/05/26 17:38:25 christos Exp $ $ Mensajes de Error $set 1 1 Error de sintaxis diff --git a/nls/spanish/set10 b/nls/spanish/set10 index 600342eb8b283..32c293f17e346 100644 --- a/nls/spanish/set10 +++ b/nls/spanish/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.3 2011/02/04 18:19:42 christos Exp $ $ ma.setp.c $set 10 1 setpath: comando '%s' incorrecto.\n diff --git a/nls/spanish/set11 b/nls/spanish/set11 index cb96ec8ada3d2..b3bbbb073e0c7 100644 --- a/nls/spanish/set11 +++ b/nls/spanish/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.2 2006/03/02 18:46:48 christos Exp $ $ sh.c $set 11 1 Aviso: no se puede acceder a la tty (%s).\n diff --git a/nls/spanish/set12 b/nls/spanish/set12 index 06f43f4c04623..0b14ab0c3ce54 100644 --- a/nls/spanish/set12 +++ b/nls/spanish/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.2 2006/03/02 18:46:48 christos Exp $ $ sh.dir.c $set 12 1 %s: Tratando de empezar desde "%s"\n diff --git a/nls/spanish/set13 b/nls/spanish/set13 index e31f6d34416d1..811a206741ce5 100644 --- a/nls/spanish/set13 +++ b/nls/spanish/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.3 2011/02/04 18:19:42 christos Exp $ $ sh.exec.c $set 13 1 hash=%-4d dir=%-2d prog=%s\n diff --git a/nls/spanish/set14 b/nls/spanish/set14 index 9571a7ccaff31..c5dbe91159a96 100644 --- a/nls/spanish/set14 +++ b/nls/spanish/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.3 2011/02/04 18:19:42 christos Exp $ $ sh.file.c $set 14 1 \n¡¡Qué asco!! ¡¡Hay demasiados %s!!\n diff --git a/nls/spanish/set15 b/nls/spanish/set15 index 06b581db0bc5a..4637850242fc9 100644 --- a/nls/spanish/set15 +++ b/nls/spanish/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.3 2011/02/04 18:19:42 christos Exp $ $ sh.func.c $set 15 1 %s: %s: No se puede %s el límite %s\n diff --git a/nls/spanish/set16 b/nls/spanish/set16 index 5edb4660087d7..7a6032d843133 100644 --- a/nls/spanish/set16 +++ b/nls/spanish/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.3 2011/02/04 18:19:43 christos Exp $ $ sh.lex.c $set 16 1 Se ha reinicializado el grupo de procesos de las terminales de %d a %d\n diff --git a/nls/spanish/set17 b/nls/spanish/set17 index a342ab893fead..a78c63efaa300 100644 --- a/nls/spanish/set17 +++ b/nls/spanish/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.4 2011/02/04 18:19:43 christos Exp $ $ sh.proc.c $set 17 1 BUG: ¡en espera de un trabajo en segundo plano!\n diff --git a/nls/spanish/set18 b/nls/spanish/set18 index caf7ae7b076f4..98b1009c312f6 100644 --- a/nls/spanish/set18 +++ b/nls/spanish/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.3 2011/02/04 18:19:43 christos Exp $ $ sh.set.c $set 18 1 Aviso: PATH de tamaño ridículo ha sido truncado\n diff --git a/nls/spanish/set19 b/nls/spanish/set19 index 0f83042047db1..8d093fdb5bea7 100644 --- a/nls/spanish/set19 +++ b/nls/spanish/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.5 2011/02/25 23:58:08 christos Exp $ $ tc.alloc.c $set 19 1 nbytes=%d: Se ha agotado la memoria\n diff --git a/nls/spanish/set2 b/nls/spanish/set2 index dc43d3850cd0d..55c0ddba8475f 100644 --- a/nls/spanish/set2 +++ b/nls/spanish/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.3 2011/02/04 18:19:43 christos Exp $ $ Nombres de señales $set 2 1 Señal nula diff --git a/nls/spanish/set20 b/nls/spanish/set20 index e23eae6bc8cee..382d084c89ad4 100644 --- a/nls/spanish/set20 +++ b/nls/spanish/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.5 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Nombre de tecla no válido `%S'\n diff --git a/nls/spanish/set21 b/nls/spanish/set21 index 706127b2b7763..8f2b92a7f9ae8 100644 --- a/nls/spanish/set21 +++ b/nls/spanish/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.2 2006/03/02 18:46:48 christos Exp $ $ tc.disc.c $set 21 1 No he podido leer los caracteres locales.\n diff --git a/nls/spanish/set22 b/nls/spanish/set22 index 7014632f9c112..66d6e96af7420 100644 --- a/nls/spanish/set22 +++ b/nls/spanish/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tc.func.c $set 22 1 %S: \t es un alias de diff --git a/nls/spanish/set23 b/nls/spanish/set23 index 3a1febb1d7738..6c293fa5ccecc 100644 --- a/nls/spanish/set23 +++ b/nls/spanish/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tc.os.c $set 23 1 Nombre de cpu/máquina incorrecto diff --git a/nls/spanish/set24 b/nls/spanish/set24 index b12289d873ea1..9901ef0ca559a 100644 --- a/nls/spanish/set24 +++ b/nls/spanish/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.2 2006/03/02 18:46:48 christos Exp $ $ tc.sched.c $set 24 1 chapuza diff --git a/nls/spanish/set25 b/nls/spanish/set25 index 6a0dcb43c0f6c..7428cc6b561e7 100644 --- a/nls/spanish/set25 +++ b/nls/spanish/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tc.sig.c $set 25 1 nuestro wait %d\n diff --git a/nls/spanish/set26 b/nls/spanish/set26 index 71f3855a3e1fe..798efa5a20a90 100644 --- a/nls/spanish/set26 +++ b/nls/spanish/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tc.who.c $set 26 1 No se puede completar stat %s. Por favor, ejecute "unset watch".\n diff --git a/nls/spanish/set27 b/nls/spanish/set27 index 7e1280c192dad..cccdaac149d92 100644 --- a/nls/spanish/set27 +++ b/nls/spanish/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tw.comp.c $set 27 1 comando diff --git a/nls/spanish/set29 b/nls/spanish/set29 index c7a4921d62a12..804aa0572cf5a 100644 --- a/nls/spanish/set29 +++ b/nls/spanish/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.2 2006/03/02 18:46:48 christos Exp $ $ tw.help.c $set 29 1 No hay archivo de ayuda sobre %S\n diff --git a/nls/spanish/set3 b/nls/spanish/set3 index 23e72443141ad..834fc1457a9dd 100644 --- a/nls/spanish/set3 +++ b/nls/spanish/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2011/02/04 18:19:43 christos Exp $ $ Descripción de las funciones de edición $set 3 1 Retroceder un carácter diff --git a/nls/spanish/set30 b/nls/spanish/set30 index be2af2a6c32b0..019d4d44f4e70 100644 --- a/nls/spanish/set30 +++ b/nls/spanish/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.3 2011/02/04 18:19:43 christos Exp $ $ tw.parse.c $set 30 1 comienzo_de_comando %d\n diff --git a/nls/spanish/set31 b/nls/spanish/set31 index 52a50b9b33d43..bedac7f05fbce 100644 --- a/nls/spanish/set31 +++ b/nls/spanish/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.2 2006/03/02 18:46:48 christos Exp $ $ vms.termcap.c $set 31 1 No se puede abrir TERMCAP: [%s]\n diff --git a/nls/spanish/set4 b/nls/spanish/set4 index c79067a9caca6..e307f5e5b6950 100644 --- a/nls/spanish/set4 +++ b/nls/spanish/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.3 2011/02/04 18:19:43 christos Exp $ $ cadenas de Termcap $set 4 1 añade una línea vacía diff --git a/nls/spanish/set5 b/nls/spanish/set5 index 6451769fea025..44d6ed771b850 100644 --- a/nls/spanish/set5 +++ b/nls/spanish/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.3 2011/02/04 18:19:43 christos Exp $ $ ed.chared.c $set 5 1 No está disponible la carga media\n diff --git a/nls/spanish/set6 b/nls/spanish/set6 index d7b1dbd7d380a..f2bb3fd912690 100644 --- a/nls/spanish/set6 +++ b/nls/spanish/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.3 2011/02/04 18:19:43 christos Exp $ $ ed.inputl.c $set 6 1 ERROR: comando ilegal asignado a la tecla 0%o\r\n diff --git a/nls/spanish/set7 b/nls/spanish/set7 index ebabe6b9ff826..7665f1bf5f897 100644 --- a/nls/spanish/set7 +++ b/nls/spanish/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.3 2011/02/04 18:19:43 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh cree que su terminal tiene las\n diff --git a/nls/spanish/set8 b/nls/spanish/set8 index 754a816dd91e9..e7a069b5b0995 100644 --- a/nls/spanish/set8 +++ b/nls/spanish/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.3 2011/02/04 18:19:43 christos Exp $ $ ed.term.c $set 8 1 Interruptor desconocido diff --git a/nls/spanish/set9 b/nls/spanish/set9 index fe9bce76ffd8a..564aa191bbaf5 100644 --- a/nls/spanish/set9 +++ b/nls/spanish/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.4 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: No se permite una tecla extendida nula.\n diff --git a/nls/ukrainian/set1 b/nls/ukrainian/set1 index f4acb8760a146..f650c2665a5ca 100644 --- a/nls/ukrainian/set1 +++ b/nls/ukrainian/set1 @@ -1,4 +1,3 @@ -$ $tcsh: set1,v 1.5 2015/05/26 17:38:25 christos Exp $ $ Error messages $set 1 1 Синтаксична помилка diff --git a/nls/ukrainian/set10 b/nls/ukrainian/set10 index 2f74b413f1a6a..f9b094d090db0 100644 --- a/nls/ukrainian/set10 +++ b/nls/ukrainian/set10 @@ -1,4 +1,3 @@ -$ $tcsh: set10,v 1.4 2011/02/04 18:19:44 christos Exp $ $ ma.setp.c $set 10 1 setpath: невірна команда '%s'.\n diff --git a/nls/ukrainian/set11 b/nls/ukrainian/set11 index 0117e306ccc64..7486b5d5387a3 100644 --- a/nls/ukrainian/set11 +++ b/nls/ukrainian/set11 @@ -1,4 +1,3 @@ -$ $tcsh: set11,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.c $set 11 1 Увага: немає доступу до tty (%s).\n diff --git a/nls/ukrainian/set12 b/nls/ukrainian/set12 index 9c6c0802c8649..28fcab2a824b5 100644 --- a/nls/ukrainian/set12 +++ b/nls/ukrainian/set12 @@ -1,4 +1,3 @@ -$ $tcsh: set12,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.dir.c $set 12 1 %s: Спробую почати з "%s"\n diff --git a/nls/ukrainian/set13 b/nls/ukrainian/set13 index 4cf0aae7775ed..d1f16d8ce087d 100644 --- a/nls/ukrainian/set13 +++ b/nls/ukrainian/set13 @@ -1,4 +1,3 @@ -$ $tcsh: set13,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.exec.c $set 13 1 хеш=%-4d dir=%-2d prog=%s\n diff --git a/nls/ukrainian/set14 b/nls/ukrainian/set14 index 1e939213787b9..16cd2c49b4840 100644 --- a/nls/ukrainian/set14 +++ b/nls/ukrainian/set14 @@ -1,4 +1,3 @@ -$ $tcsh: set14,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.file.c $set 14 1 \nОй!! Забагато %s!!\n diff --git a/nls/ukrainian/set15 b/nls/ukrainian/set15 index d3ffcb021f93b..658ab1ea1abe0 100644 --- a/nls/ukrainian/set15 +++ b/nls/ukrainian/set15 @@ -1,4 +1,3 @@ -$ $tcsh: set15,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.func.c $set 15 1 %s: %s: Не можу %s%s ліміт\n diff --git a/nls/ukrainian/set16 b/nls/ukrainian/set16 index ca693ea3c8202..6b9f8784c7c63 100644 --- a/nls/ukrainian/set16 +++ b/nls/ukrainian/set16 @@ -1,4 +1,3 @@ -$ $tcsh: set16,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.lex.c $set 16 1 Reset tty pgrp from %d to %d\n diff --git a/nls/ukrainian/set17 b/nls/ukrainian/set17 index 3ef03163d4e46..167b0b5547d41 100644 --- a/nls/ukrainian/set17 +++ b/nls/ukrainian/set17 @@ -1,4 +1,3 @@ -$ $tcsh: set17,v 1.5 2011/02/04 18:19:44 christos Exp $ $ sh.proc.c $set 17 1 ПОМИЛКА: очікування фонової задачі!\n diff --git a/nls/ukrainian/set18 b/nls/ukrainian/set18 index 7053f50900ab2..23f56b29d09fa 100644 --- a/nls/ukrainian/set18 +++ b/nls/ukrainian/set18 @@ -1,4 +1,3 @@ -$ $tcsh: set18,v 1.4 2011/02/04 18:19:44 christos Exp $ $ sh.set.c $set 18 1 Увага: задовгий PATH обрізано\n diff --git a/nls/ukrainian/set19 b/nls/ukrainian/set19 index 8149e89610d6a..a64a1e921e5d2 100644 --- a/nls/ukrainian/set19 +++ b/nls/ukrainian/set19 @@ -1,4 +1,3 @@ -$ $tcsh: set19,v 1.6 2011/02/25 23:58:08 christos Exp $ $ tc.alloc.c $set 19 1 nbytes=%d: Мало пам'яті\n diff --git a/nls/ukrainian/set2 b/nls/ukrainian/set2 index 1768733b647cc..65148cdac4398 100644 --- a/nls/ukrainian/set2 +++ b/nls/ukrainian/set2 @@ -1,4 +1,3 @@ -$ $tcsh: set2,v 1.4 2011/02/04 18:19:44 christos Exp $ $ Signal names $set 2 1 Нульовий сигнал diff --git a/nls/ukrainian/set20 b/nls/ukrainian/set20 index 240040ecfaec4..a5ec124d46140 100644 --- a/nls/ukrainian/set20 +++ b/nls/ukrainian/set20 @@ -1,4 +1,3 @@ -$ $tcsh: set20,v 1.5 2015/08/13 08:54:04 christos Exp $ $ tc.bind.c $set 20 1 Invalid key name `%S'\n diff --git a/nls/ukrainian/set21 b/nls/ukrainian/set21 index 8d6c3a8ae6261..527cd5d17a46a 100644 --- a/nls/ukrainian/set21 +++ b/nls/ukrainian/set21 @@ -1,4 +1,3 @@ -$ $tcsh: set21,v 1.3 2006/03/02 18:46:48 christos Exp $ $ tc.disc.c $set 21 1 Couldn't get local chars.\n diff --git a/nls/ukrainian/set22 b/nls/ukrainian/set22 index 57ae392173db9..38b5b7450ec1f 100644 --- a/nls/ukrainian/set22 +++ b/nls/ukrainian/set22 @@ -1,4 +1,3 @@ -$ $tcsh: set22,v 1.4 2011/02/04 18:19:44 christos Exp $ $ tc.func.c $set 22 1 %S: \t перевизначено на diff --git a/nls/ukrainian/set23 b/nls/ukrainian/set23 index 1ddbc6f266c98..b23f4c572f86f 100644 --- a/nls/ukrainian/set23 +++ b/nls/ukrainian/set23 @@ -1,4 +1,3 @@ -$ $tcsh: set23,v 1.4 2011/02/04 18:19:44 christos Exp $ $ tc.os.c $set 23 1 Bad cpu/site name diff --git a/nls/ukrainian/set24 b/nls/ukrainian/set24 index 80482f619f531..7da8b309b1548 100644 --- a/nls/ukrainian/set24 +++ b/nls/ukrainian/set24 @@ -1,4 +1,3 @@ -$ $tcsh: set24,v 1.3 2006/03/02 18:46:48 christos Exp $ $ tc.sched.c $set 24 1 kludge diff --git a/nls/ukrainian/set25 b/nls/ukrainian/set25 index f9a4702214ac2..39b799cbd9637 100644 --- a/nls/ukrainian/set25 +++ b/nls/ukrainian/set25 @@ -1,4 +1,3 @@ -$ $tcsh: set25,v 1.4 2011/02/04 18:19:44 christos Exp $ $ tc.sig.c $set 25 1 our wait %d\n diff --git a/nls/ukrainian/set26 b/nls/ukrainian/set26 index c546ce69cc57c..3698574fe7023 100644 --- a/nls/ukrainian/set26 +++ b/nls/ukrainian/set26 @@ -1,4 +1,3 @@ -$ $tcsh: set26,v 1.4 2011/02/04 18:19:44 christos Exp $ $ tc.who.c $set 26 1 cannot stat %s. Please "unset watch".\n diff --git a/nls/ukrainian/set27 b/nls/ukrainian/set27 index 996fa3761968b..081da08cdea66 100644 --- a/nls/ukrainian/set27 +++ b/nls/ukrainian/set27 @@ -1,4 +1,3 @@ -$ $tcsh: set27,v 1.4 2011/02/04 18:19:45 christos Exp $ $ tw.comp.c $set 27 1 команда diff --git a/nls/ukrainian/set29 b/nls/ukrainian/set29 index 1161216ea56ab..d70613c28d028 100644 --- a/nls/ukrainian/set29 +++ b/nls/ukrainian/set29 @@ -1,4 +1,3 @@ -$ $tcsh: set29,v 1.4 2011/02/04 18:19:45 christos Exp $ $ tw.help.c $set 29 1 Відсутній файл довідки для %S\n diff --git a/nls/ukrainian/set3 b/nls/ukrainian/set3 index 615c9d87e2827..bb62aea27dd3d 100644 --- a/nls/ukrainian/set3 +++ b/nls/ukrainian/set3 @@ -1,4 +1,3 @@ -$ $tcsh: set3,v 1.4 2006/03/02 18:46:48 christos Exp $ $ Editor function descriptions $set 3 1 Move back a character diff --git a/nls/ukrainian/set30 b/nls/ukrainian/set30 index bb85395391978..132c6561784a6 100644 --- a/nls/ukrainian/set30 +++ b/nls/ukrainian/set30 @@ -1,4 +1,3 @@ -$ $tcsh: set30,v 1.4 2011/02/04 18:19:45 christos Exp $ $ tw.parse.c $set 30 1 starting_a_command %d\n diff --git a/nls/ukrainian/set31 b/nls/ukrainian/set31 index 5163621b7f7bf..d1610c8276f81 100644 --- a/nls/ukrainian/set31 +++ b/nls/ukrainian/set31 @@ -1,4 +1,3 @@ -$ $tcsh: set31,v 1.4 2011/02/04 18:19:45 christos Exp $ $ vms.termcap.c $set 31 1 Не можу відкрити TERMCAP: [%s]\n diff --git a/nls/ukrainian/set4 b/nls/ukrainian/set4 index a407091e87655..f312885eac4af 100644 --- a/nls/ukrainian/set4 +++ b/nls/ukrainian/set4 @@ -1,4 +1,3 @@ -$ $tcsh: set4,v 1.3 2006/03/02 18:46:48 christos Exp $ $ Termcap strings $set 4 1 add new blank line diff --git a/nls/ukrainian/set5 b/nls/ukrainian/set5 index 9d98f50bf9af6..cf59163dbb08e 100644 --- a/nls/ukrainian/set5 +++ b/nls/ukrainian/set5 @@ -1,4 +1,3 @@ -$ $tcsh: set5,v 1.4 2011/02/04 18:19:45 christos Exp $ $ ed.chared.c $set 5 1 Недоступне значення: середнє завантаження\n diff --git a/nls/ukrainian/set6 b/nls/ukrainian/set6 index 03b6005f4ab71..1926c2095873d 100644 --- a/nls/ukrainian/set6 +++ b/nls/ukrainian/set6 @@ -1,4 +1,3 @@ -$ $tcsh: set6,v 1.4 2011/02/04 18:19:45 christos Exp $ $ ed.inputl.c $set 6 1 ERROR: illegal command from key 0%o\r\n diff --git a/nls/ukrainian/set7 b/nls/ukrainian/set7 index c469b65d96033..5f6ccd4b42ae0 100644 --- a/nls/ukrainian/set7 +++ b/nls/ukrainian/set7 @@ -1,4 +1,3 @@ -$ $tcsh: set7,v 1.4 2011/02/04 18:19:45 christos Exp $ $ ed.screen.c $set 7 1 \n\tTcsh thinks your terminal has the\n diff --git a/nls/ukrainian/set8 b/nls/ukrainian/set8 index 6f8dc43f76e23..a111a582cc513 100644 --- a/nls/ukrainian/set8 +++ b/nls/ukrainian/set8 @@ -1,4 +1,3 @@ -$ $tcsh: set8,v 1.4 2011/02/04 18:19:45 christos Exp $ $ ed.term.c $set 8 1 Невідомий перемикач diff --git a/nls/ukrainian/set9 b/nls/ukrainian/set9 index 28c6bd6d341c7..32ca656e0148c 100644 --- a/nls/ukrainian/set9 +++ b/nls/ukrainian/set9 @@ -1,4 +1,3 @@ -$ $tcsh: set9,v 1.5 2015/05/26 17:38:25 christos Exp $ $ ed.xmap.c $set 9 1 AddXkey: Null extended-key not allowed.\n diff --git a/patchlevel.h b/patchlevel.h index daf52810ad43b..adcc1027a0d52 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/patchlevel.h,v 3.187 2016/11/24 15:04:52 christos Exp $ */ /* * patchlevel.h: Our life story. */ @@ -7,8 +6,8 @@ #define ORIGIN "Astron" #define REV 6 -#define VERS 20 +#define VERS 21 #define PATCHLEVEL 00 -#define DATE "2016-11-24" +#define DATE "2019-05-08" #endif /* _h_patchlevel */ diff --git a/pathnames.h b/pathnames.h index 3d1c8d795b192..678f2c07c6609 100644 --- a/pathnames.h +++ b/pathnames.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/pathnames.h,v 3.22 2011/02/05 20:34:55 christos Exp $ */ /* * pathnames.h: Location of things to find */ @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.c,v 3.189 2016/09/12 16:33:54 christos Exp $ */ /* * sh.c: Main shell routines */ @@ -39,8 +38,6 @@ char copyright[] = All rights reserved.\n"; #endif /* not lint */ -RCSID("$tcsh: sh.c,v 3.189 2016/09/12 16:33:54 christos Exp $") - #include "tc.h" #include "ed.h" #include "tw.h" @@ -248,7 +245,7 @@ main(int argc, char **argv) char *tcp, *ttyn; int f, reenter; char **tempv; - const char *targinp = NULL; + static const char *targinp = NULL; int osetintr; struct sigaction oparintr; diff --git a/sh.char.c b/sh.char.c index abc1150f7954a..bc8142611b990 100644 --- a/sh.char.c +++ b/sh.char.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.char.c,v 3.21 2010/02/09 20:32:34 christos Exp $ */ /* * sh.char.c: Character classification tables */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.char.c,v 3.21 2010/02/09 20:32:34 christos Exp $") - #include "sh.char.h" /* on default same as original map */ diff --git a/sh.char.h b/sh.char.h index 8ba340c92a541..ee468184c6eef 100644 --- a/sh.char.h +++ b/sh.char.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.char.h,v 3.37 2014/05/09 19:22:49 christos Exp $ */ /* * sh.char.h: Table for spotting special characters quickly * Makes for very obscure but efficient coding. diff --git a/sh.decls.h b/sh.decls.h index 8dc22d531ba92..4e1bc12277cb1 100644 --- a/sh.decls.h +++ b/sh.decls.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.decls.h,v 3.68 2016/08/01 16:21:09 christos Exp $ */ /* * sh.decls.h External declarations from sh*.c */ diff --git a/sh.dir.c b/sh.dir.c index ff396f64772a5..4d6a1de25ab35 100644 --- a/sh.dir.c +++ b/sh.dir.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.dir.c,v 3.85 2016/04/08 16:10:52 christos Exp $ */ /* * sh.dir.c: Directory manipulation functions */ @@ -33,8 +32,6 @@ #include "sh.h" #include "ed.h" -RCSID("$tcsh: sh.dir.c,v 3.85 2016/04/08 16:10:52 christos Exp $") - /* * C Shell - directory management */ diff --git a/sh.dir.h b/sh.dir.h index 121cf191c6d6d..af94c740271b7 100644 --- a/sh.dir.h +++ b/sh.dir.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.dir.h,v 3.6 2002/03/08 17:36:46 christos Exp $ */ /* * sh.dir.h: Directory data structures and globals */ diff --git a/sh.dol.c b/sh.dol.c index 5f41c4d69a3b0..8009d772b2df7 100644 --- a/sh.dol.c +++ b/sh.dol.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.dol.c,v 3.87 2014/08/13 23:39:34 amold Exp $ */ /* * sh.dol.c: Variable substitutions */ @@ -32,8 +31,6 @@ */ #include "sh.h" -RCSID("$tcsh: sh.dol.c,v 3.87 2014/08/13 23:39:34 amold Exp $") - /* * C shell */ diff --git a/sh.err.c b/sh.err.c index 655e62353169a..c676f5e35327f 100644 --- a/sh.err.c +++ b/sh.err.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.err.c,v 3.57 2015/05/26 17:32:45 christos Exp $ */ /* * sh.err.c: Error printing routines. */ @@ -34,8 +33,6 @@ #include "sh.h" #include <assert.h> -RCSID("$tcsh: sh.err.c,v 3.57 2015/05/26 17:32:45 christos Exp $") - /* * C Shell */ diff --git a/sh.exec.c b/sh.exec.c index bb0fa4873d314..979d9b234b226 100644 --- a/sh.exec.c +++ b/sh.exec.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.exec.c,v 3.81 2016/09/12 16:33:54 christos Exp $ */ /* * sh.exec.c: Search, find, and execute a command! */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.exec.c,v 3.81 2016/09/12 16:33:54 christos Exp $") - #include "tc.h" #include "tw.h" #ifdef WINNT_NATIVE diff --git a/sh.exp.c b/sh.exp.c index 8322f7ea1a83d..9d85e0bd159c0 100644 --- a/sh.exp.c +++ b/sh.exp.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.exp.c,v 3.63 2015/12/09 17:17:43 christos Exp $ */ /* * sh.exp.c: Expression evaluations */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.exp.c,v 3.63 2015/12/09 17:17:43 christos Exp $") - #include "tw.h" /* diff --git a/sh.file.c b/sh.file.c index 408f15a67da77..9b715bf56a303 100644 --- a/sh.file.c +++ b/sh.file.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.file.c,v 3.40 2016/04/16 14:08:14 christos Exp $ */ /* * sh.file.c: File completion for csh. This file is not used in tcsh. */ @@ -33,8 +32,6 @@ #include "sh.h" #include "ed.h" -RCSID("$tcsh: sh.file.c,v 3.40 2016/04/16 14:08:14 christos Exp $") - #if defined(FILEC) && defined(TIOCSTI) /* diff --git a/sh.func.c b/sh.func.c index 501bcaae517e7..05f3f20df3bf3 100644 --- a/sh.func.c +++ b/sh.func.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.func.c,v 3.176 2016/10/18 17:26:42 christos Exp $ */ /* * sh.func.c: csh builtin functions */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.func.c,v 3.176 2016/10/18 17:26:42 christos Exp $") - #include "ed.h" #include "tw.h" #include "tc.h" @@ -203,7 +199,7 @@ dohup(Char **v, struct command *c) if (intty) stderror(ERR_NAME | ERR_TERMINAL); if (setintr == 0) - (void) signal(SIGHUP, SIG_DFL); + sigset_interrupting(SIGHUP, SIG_DFL); } @@ -230,7 +226,7 @@ dofiletest(Char **v, struct command *c) globbed = v; cleanup_push(globbed, blk_cleanup); - while (*(fileptr = v++) != '\0') { + while (*(fileptr = v++) != NULL) { res = filetest(ftest, &fileptr, 0); cleanup_push(res, xfree); xprintf("%S", res); diff --git a/sh.glob.c b/sh.glob.c index f6e32f156cd13..d19de2483b648 100644 --- a/sh.glob.c +++ b/sh.glob.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.glob.c,v 3.95 2016/08/01 16:21:09 christos Exp $ */ /* * sh.glob.c: Regular expression expansion */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.glob.c,v 3.95 2016/08/01 16:21:09 christos Exp $") - #include "tc.h" #include "tw.h" @@ -307,7 +303,7 @@ globexpand(Char **v, int noglob) /* * Step 1: expand backquotes. */ - while ((s = *v++) != '\0') { + while ((s = *v++) != NULL) { if (Strchr(s, '`')) { int i; Char **expanded; @@ -405,7 +401,7 @@ handleone(Char *str, Char **vl, int action) for (t = vl; (p = *t++) != NULL; chars++) chars += Strlen(p); str = xmalloc(chars * sizeof(Char)); - for (t = vl, strp = str; (p = *t++) != '\0'; chars++) { + for (t = vl, strp = str; (p = *t++) != NULL; chars++) { while (*p) *strp++ = *p++ & TRIM; *strp++ = ' '; @@ -583,7 +579,7 @@ rscan(Char **t, void (*f) (Char)) { Char *p; - while ((p = *t++) != '\0') + while ((p = *t++) != NULL) while (*p) (*f) (*p++); } @@ -593,7 +589,7 @@ trim(Char **t) { Char *p; - while ((p = *t++) != '\0') + while ((p = *t++) != NULL) while (*p) { #if INVALID_BYTE != 0 if ((*p & INVALID_BYTE) != INVALID_BYTE) /* *p < INVALID_BYTE */ @@ -610,7 +606,7 @@ tglob(Char **t) const Char *p; gflag = 0; - while ((p = *t++) != '\0') { + while ((p = *t++) != NULL) { if (*p == '~' || *p == '=') gflag |= G_CSH; else if (*p == '{' && @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.h,v 3.178 2016/09/12 16:33:54 christos Exp $ */ /* * sh.h: Catch it all globals and includes file! */ diff --git a/sh.hist.c b/sh.hist.c index 1abd522ce907f..bce3702b4e40d 100644 --- a/sh.hist.c +++ b/sh.hist.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.hist.c,v 3.61 2015/06/06 21:19:08 christos Exp $ */ /* * sh.hist.c: Shell history expansions and substitutions */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.hist.c,v 3.61 2015/06/06 21:19:08 christos Exp $") - #include <stdio.h> /* for rename(2), grr. */ #include <assert.h> #include "tc.h" @@ -1323,7 +1319,11 @@ rechist(Char *fname, int ref) xclose(fp); SHOUT = ftmp; didfds = oldidfds; +#ifndef WINNT_NATIVE (void)rename(path, short2str(fname)); +#else + (void)ReplaceFile( short2str(fname),path,NULL,0,NULL,NULL); +#endif cleanup_until(fname); } diff --git a/sh.init.c b/sh.init.c index e36d951ee72f8..931ed9feb4507 100644 --- a/sh.init.c +++ b/sh.init.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.init.c,v 3.64 2013/02/11 13:51:16 christos Exp $ */ /* * sh.init.c: Function and signal tables */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.init.c,v 3.64 2013/02/11 13:51:16 christos Exp $") - #include "ed.h" #include "tw.h" diff --git a/sh.lex.c b/sh.lex.c index cf8fbca4bdb98..b879a1daf6afd 100644 --- a/sh.lex.c +++ b/sh.lex.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.lex.c,v 3.91 2016/08/01 16:21:09 christos Exp $ */ /* * sh.lex.c: Lexical analysis into tokens */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.lex.c,v 3.91 2016/08/01 16:21:09 christos Exp $") - #include "ed.h" #include <assert.h> @@ -142,6 +138,7 @@ static time_t a2time_t (Char *); * special parsing rules apply for source -h */ extern int enterhist; +extern int postcmd_active; int lex(struct wordent *hp) @@ -149,11 +146,13 @@ lex(struct wordent *hp) struct wordent *wdp; eChar c; int parsehtime = enterhist; + int toolong = 0; histvalid = 0; histline.len = 0; - btell(&lineloc); + if (!postcmd_active) + btell(&lineloc); hp->next = hp->prev = hp; hp->word = STRNULL; hadhist = 0; @@ -183,6 +182,8 @@ lex(struct wordent *hp) wdp = new; wdp->word = word(parsehtime); parsehtime = 0; + if (enterhist && toolong++ > 10 * 1024) + stderror(ERR_LTOOLONG); } while (wdp->word[0] != '\n'); cleanup_ignore(hp); cleanup_until(hp); @@ -295,9 +296,12 @@ word(int parsehtime) Char hbuf[12]; int h; int dolflg; + int toolong = 0; cleanup_push(&wbuf, Strbuf_cleanup); loop: + if (enterhist && toolong++ > 256 * 1024) + seterror(ERR_WTOOLONG); while ((c = getC(DOALL)) == ' ' || c == '\t') continue; if (cmap(c, _META | _ESC)) @@ -356,6 +360,8 @@ loop: c1 = 0; dolflg = DOALL; for (;;) { + if (enterhist && toolong++ > 256 * 1024) + seterror(ERR_WTOOLONG); if (c1) { if (c == c1) { c1 = 0; diff --git a/sh.misc.c b/sh.misc.c index 482e1304bb394..96c783b56408b 100644 --- a/sh.misc.c +++ b/sh.misc.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.misc.c,v 3.50 2015/06/06 21:19:08 christos Exp $ */ /* * sh.misc.c: Miscelaneous functions */ @@ -32,8 +31,6 @@ */ #include "sh.h" -RCSID("$tcsh: sh.misc.c,v 3.50 2015/06/06 21:19:08 christos Exp $") - static int renum (int, int); static Char **blkend (Char **); static Char **blkcat (Char **, Char **); @@ -257,6 +254,9 @@ void closem(void) { int f, num_files; +#ifdef S_ISSOCK + struct stat st; +#endif /*S_ISSOCK*/ #ifdef NLS_BUGS #ifdef NLS_CATALOGS @@ -274,6 +274,16 @@ closem(void) #ifdef MALLOC_TRACE && f != 25 #endif /* MALLOC_TRACE */ +#ifdef S_ISSOCK + /* NSS modules (e.g. Linux nss_ldap) might keep sockets open. + * If we close such a socket, both the NSS module and tcsh think + * they "own" the descriptor. + * + * Not closing sockets does not make the cleanup use of closem() + * less reliable because tcsh never creates sockets. + */ + && fstat(f, &st) == 0 && !S_ISSOCK(st.st_mode) +#endif ) { xclose(f); @@ -654,7 +664,7 @@ xopen(const char *path, int oflag, ...) ssize_t xread(int fildes, void *buf, size_t nbyte) { - ssize_t res; + ssize_t res = -1; /* This is where we will be blocked most of the time, so handle signals that didn't interrupt any system call. */ @@ -682,7 +692,7 @@ xtcsetattr(int fildes, int optional_actions, const struct termios *termios_p) ssize_t xwrite(int fildes, const void *buf, size_t nbyte) { - ssize_t res; + ssize_t res = -1; /* This is where we will be blocked most of the time, so handle signals that didn't interrupt any system call. */ diff --git a/sh.parse.c b/sh.parse.c index 35ffe833f4d8a..6a3d742d746a2 100644 --- a/sh.parse.c +++ b/sh.parse.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.parse.c,v 3.19 2011/03/30 16:21:37 christos Exp $ */ /* * sh.parse.c: Interpret a list of tokens */ @@ -32,8 +31,6 @@ */ #include "sh.h" -RCSID("$tcsh: sh.parse.c,v 3.19 2011/03/30 16:21:37 christos Exp $") - /* * C shell */ diff --git a/sh.print.c b/sh.print.c index b87bebae993dc..bfdae125b62c1 100644 --- a/sh.print.c +++ b/sh.print.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.print.c,v 3.37 2015/05/10 13:29:28 christos Exp $ */ /* * sh.print.c: Primitive Output routines. */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.print.c,v 3.37 2015/05/10 13:29:28 christos Exp $") - #include "ed.h" extern int Tty_eight_bit; diff --git a/sh.proc.c b/sh.proc.c index 0af5e03ab68e1..caf7362a3e773 100644 --- a/sh.proc.c +++ b/sh.proc.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.c,v 3.134 2016/09/23 19:17:28 christos Exp $ */ /* * sh.proc.c: Job manipulations */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.proc.c,v 3.134 2016/09/23 19:17:28 christos Exp $") - #include "ed.h" #include "tc.h" #include "tc.wait.h" diff --git a/sh.proc.h b/sh.proc.h index 1513417bb14c6..06963def7106d 100644 --- a/sh.proc.h +++ b/sh.proc.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.h,v 3.16 2016/05/24 17:41:12 christos Exp $ */ /* * sh.proc.h: Process data structures and variables */ diff --git a/sh.sem.c b/sh.sem.c index 764c857cd67a6..473663eeb56ff 100644 --- a/sh.sem.c +++ b/sh.sem.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.sem.c,v 3.90 2015/10/31 18:54:42 christos Exp $ */ /* * sh.sem.c: I/O redirections and job forking. A touchy issue! * Most stuff with builtins is incorrect @@ -32,9 +31,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.sem.c,v 3.90 2015/10/31 18:54:42 christos Exp $") - #include "tc.h" #include "tw.h" #ifdef WINNT_NATIVE diff --git a/sh.set.c b/sh.set.c index cf831b2577405..f15e41fcedaf0 100644 --- a/sh.set.c +++ b/sh.set.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.set.c,v 3.89 2015/09/08 15:49:53 christos Exp $ */ /* * sh.set.c: Setting and Clearing of variables */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.set.c,v 3.89 2015/09/08 15:49:53 christos Exp $") - #include "ed.h" #include "tw.h" diff --git a/sh.time.c b/sh.time.c index 4ee8eb984a54d..4add2a71dd5ab 100644 --- a/sh.time.c +++ b/sh.time.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.time.c,v 3.37 2016/07/09 00:45:29 christos Exp $ */ /* * sh.time.c: Shell time keeping and printing. */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: sh.time.c,v 3.37 2016/07/09 00:45:29 christos Exp $") - #ifdef SUNOS4 # include <machine/param.h> #endif /* SUNOS4 */ diff --git a/sh.types.h b/sh.types.h index 58bc70ad81813..13efcff3d32b6 100644 --- a/sh.types.h +++ b/sh.types.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.types.h,v 3.43 2006/01/12 19:55:38 christos Exp $ */ /* sh.types.h: Do the necessary typedefs for each system. * Up till now I avoided making this into a separate file * But I just wanted to eliminate the whole mess from sh.h diff --git a/snames.h b/snames.h index 812620c5ec9b8..e6a172993e118 100644 --- a/snames.h +++ b/snames.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/snames.h,v 1.4 2008/10/17 20:25:00 christos Exp $ */ /* * snames.h: Short names for old compilers */ diff --git a/tc.alloc.c b/tc.alloc.c index fec726d7bde52..8914ba575d0c8 100644 --- a/tc.alloc.c +++ b/tc.alloc.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.alloc.c,v 3.56 2016/03/08 12:47:43 christos Exp $ */ /* * tc.alloc.c (Caltech) 2/21/82 * Chris Kingsley, kingsley@cit-20. @@ -46,8 +45,6 @@ #define USE_SBRK #endif -RCSID("$tcsh: tc.alloc.c,v 3.56 2016/03/08 12:47:43 christos Exp $") - #define RCHECK #define DEBUG @@ -234,7 +231,7 @@ malloc(size_t nbytes) /* * Record allocated size of block and bound space with magic numbers. */ - p->ov_size = (p->ov_index <= 13) ? nbytes - 1 : 0; + p->ov_size = (p->ov_index <= 13) ? (U_short)nbytes - 1 : 0; p->ov_rmagic = RMAGIC; *((U_int *) (((caddr_t) p) + nbytes - RSLOP)) = RMAGIC; #endif @@ -426,7 +423,7 @@ realloc(ptr_t cp, size_t nbytes) nbytes = MEMALIGN(MEMALIGN(sizeof(union overhead))+nbytes+RSLOP); *((U_int *) (((caddr_t) op) + nbytes - RSLOP)) = RMAGIC; op->ov_rmagic = RMAGIC; - op->ov_size = (op->ov_index <= 13) ? nbytes - 1 : 0; + op->ov_size = (op->ov_index <= 13) ? (U_short)nbytes - 1 : 0; #endif return ((memalign_t) cp); } diff --git a/tc.bind.c b/tc.bind.c index a21332a712e3b..5361997dca6ea 100644 --- a/tc.bind.c +++ b/tc.bind.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.bind.c,v 3.46 2015/08/13 08:54:04 christos Exp $ */ /* * tc.bind.c: Key binding functions */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.bind.c,v 3.46 2015/08/13 08:54:04 christos Exp $") - #include "ed.h" #include "ed.defns.h" diff --git a/tc.const.c b/tc.const.c index cb39ab9286756..6acda7e469403 100644 --- a/tc.const.c +++ b/tc.const.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.const.c,v 3.107 2015/09/08 15:49:53 christos Exp $ */ /* * sh.const.c: String constants for tcsh. */ @@ -32,8 +31,6 @@ */ #include "sh.h" -RCSID("$tcsh: tc.const.c,v 3.107 2015/09/08 15:49:53 christos Exp $") - Char STRlogout[] = { 'l', 'o', 'g', 'o', 'u', 't', '\0' }; Char STRautologout[] = { 'a', 'u', 't', 'o', 'l', 'o', 'g', 'o', 'u', 't', '\0' }; diff --git a/tc.decls.h b/tc.decls.h index fc4e8a88b9086..4925ca5857702 100644 --- a/tc.decls.h +++ b/tc.decls.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.decls.h,v 3.66 2012/06/21 18:49:11 christos Exp $ */ /* * tc.decls.h: Function declarations from all the tcsh modules */ @@ -265,7 +264,7 @@ extern int rt_mbtowc (Char *, const char *, size_t); #else #define one_mbtowc(PWC, S, N) \ ((void)(N), *(PWC) = (unsigned char)*(S), (size_t)1) -#define one_wctomb(S, WCHAR) (*(S) = (WCHAR), (size_t)1) +#define one_wctomb(S, WCHAR) (*(S) = (char)(WCHAR), (size_t)1) #endif #ifdef SHORT_STRINGS extern Char *s_strchr (const Char *, int); diff --git a/tc.disc.c b/tc.disc.c index cca1290345ae8..dd47da56acb0b 100644 --- a/tc.disc.c +++ b/tc.disc.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.disc.c,v 3.18 2011/01/09 16:25:29 christos Exp $ */ /* * tc.disc.c: Functions to set/clear line disciplines * @@ -32,9 +31,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.disc.c,v 3.18 2011/01/09 16:25:29 christos Exp $") - #ifdef OREO #include <compat.h> #endif /* OREO */ diff --git a/tc.func.c b/tc.func.c index feb1c8947118a..d4cfaa6a1ff62 100644 --- a/tc.func.c +++ b/tc.func.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.func.c,v 3.158 2016/05/13 15:08:12 christos Exp $ */ /* * tc.func.c: New tcsh builtins. */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.func.c,v 3.158 2016/05/13 15:08:12 christos Exp $") - #include "ed.h" #include "ed.defns.h" /* for the function names */ #include "tw.h" @@ -57,7 +53,7 @@ extern time_t t_period; extern int just_signaled; static int precmd_active = 0; static int jobcmd_active = 0; /* GrP */ -static int postcmd_active = 0; +int postcmd_active = 0; static int periodic_active = 0; static int cwdcmd_active = 0; /* PWP: for cwd_cmd */ static int beepcmd_active = 0; @@ -904,12 +900,12 @@ beep_cmd(void) if (beepcmd_active) { /* an error must have been caught */ aliasrun(2, STRunalias, STRbeepcmd); xprintf("%s", CGETS(22, 5, "Faulty alias 'beepcmd' removed.\n")); + goto leave; } - else { - beepcmd_active = 1; - if (!whyles && adrof1(STRbeepcmd, &aliases)) - aliasrun(1, STRbeepcmd, NULL); - } + beepcmd_active = 1; + if (!whyles && adrof1(STRbeepcmd, &aliases)) + aliasrun(1, STRbeepcmd, NULL); +leave: beepcmd_active = 0; cleanup_until(&pintr_disabled); } @@ -926,6 +922,8 @@ period_cmd(void) Char *vp; time_t t, interval; + if (whyles) + return; pintr_disabled++; cleanup_push(&pintr_disabled, disabled_cleanup); if (periodic_active) { /* an error must have been caught */ @@ -964,6 +962,8 @@ leave: void job_cmd(Char *args) { + if (whyles) + return; pintr_disabled++; cleanup_push(&pintr_disabled, disabled_cleanup); if (jobcmd_active) { /* an error must have been caught */ @@ -1157,11 +1157,14 @@ rmstar(struct wordent *cp) opintr_disabled = pintr_disabled; pintr_disabled = 0; while (we != cp) { + Char *cmd = we->word; + if (cmd[0] == STRQNULL[0]) + cmd++; #ifdef RMDEBUG if (*tag) - xprintf(CGETS(22, 7, "parsing command line\n")); + xprintf(CGETS(22, 7, "parsing command line [%S]\n"), cmd); #endif /* RMDEBUG */ - if (!Strcmp(we->word, STRrm)) { + if (!StrQcmp(cmd, STRrm)) { args = we->next; ask = (*args->word != '-'); while (*args->word == '-' && !silent) { /* check options */ @@ -1220,7 +1223,7 @@ rmstar(struct wordent *cp) if (*tag) { xprintf(CGETS(22, 10, "command line now is:\n")); for (we = cp->next; we != cp; we = we->next) - xprintf("%S ", we->word); + xprintf("[%S] ", we->word); } #endif /* RMDEBUG */ pintr_disabled = opintr_disabled; @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.h,v 3.8 2006/01/12 19:55:38 christos Exp $ */ /* * tc.h: Tcsh includes */ diff --git a/tc.nls.c b/tc.nls.c index b7a58bf8307cf..f59df412e14a1 100644 --- a/tc.nls.c +++ b/tc.nls.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.nls.c,v 3.27 2016/07/17 15:02:44 christos Exp $ */ /* * tc.nls.c: NLS handling */ @@ -32,9 +31,6 @@ */ #include "sh.h" -RCSID("$tcsh: tc.nls.c,v 3.27 2016/07/17 15:02:44 christos Exp $") - - #ifdef WIDE_STRINGS # ifdef HAVE_WCWIDTH # ifdef UTF16_STRINGS diff --git a/tc.nls.h b/tc.nls.h index 63da6e533b3f9..7560f56a73461 100644 --- a/tc.nls.h +++ b/tc.nls.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.nls.h,v 3.17 2015/06/06 21:19:08 christos Exp $ */ /* * tc.nls.h: NLS support * @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.os.c,v 3.73 2016/04/16 15:44:18 christos Exp $ */ /* * tc.os.c: OS Dependent builtin functions */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.os.c,v 3.73 2016/04/16 15:44:18 christos Exp $") - #include "tw.h" #include "ed.h" #include "ed.defns.h" /* for the function names */ @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.os.h,v 3.105 2011/02/04 18:00:26 christos Exp $ */ /* * tc.os.h: Shell os dependent defines */ diff --git a/tc.printf.c b/tc.printf.c index 1acc3a11b5f4c..658758e292213 100644 --- a/tc.printf.c +++ b/tc.printf.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.printf.c,v 3.38 2015/06/06 21:19:08 christos Exp $ */ /* * tc.printf.c: A public-domain, minimal printf/sprintf routine that prints * through the putchar() routine. Feel free to use for @@ -34,8 +33,6 @@ */ #include "sh.h" -RCSID("$tcsh: tc.printf.c,v 3.38 2015/06/06 21:19:08 christos Exp $") - #ifdef lint #undef va_arg #define va_arg(a, b) (a ? (b) 0 : (b) 0) diff --git a/tc.prompt.c b/tc.prompt.c index 2279188ed55c4..7f728710d1487 100644 --- a/tc.prompt.c +++ b/tc.prompt.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.prompt.c,v 3.71 2014/08/23 09:07:57 christos Exp $ */ /* * tc.prompt.c: Prompt printing stuff */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.prompt.c,v 3.71 2014/08/23 09:07:57 christos Exp $") - #include "ed.h" #include "tw.h" diff --git a/tc.sched.c b/tc.sched.c index 98c68b90346b3..19f7cd5427031 100644 --- a/tc.sched.c +++ b/tc.sched.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.sched.c,v 3.25 2006/03/02 18:46:45 christos Exp $ */ /* * tc.sched.c: Scheduled command execution * @@ -33,9 +32,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.sched.c,v 3.25 2006/03/02 18:46:45 christos Exp $") - #include "ed.h" #include "tw.h" #include "tc.h" diff --git a/tc.sig.c b/tc.sig.c index 92bc798b4fa8c..77659ca3c7706 100644 --- a/tc.sig.c +++ b/tc.sig.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.sig.c,v 3.40 2012/01/25 15:34:41 christos Exp $ */ /* * tc.sig.c: Signal routine emulations */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.sig.c,v 3.40 2012/01/25 15:34:41 christos Exp $") - #include "tc.wait.h" void diff --git a/tc.sig.h b/tc.sig.h index 4e279981e3603..067e6f9fc46b9 100644 --- a/tc.sig.h +++ b/tc.sig.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.sig.h,v 3.34 2010/11/29 15:28:58 christos Exp $ */ /* * tc.sig.h: Signal handling * diff --git a/tc.str.c b/tc.str.c index 9f49e830394ff..88c4e8cb689ee 100644 --- a/tc.str.c +++ b/tc.str.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.str.c,v 3.47 2015/06/06 21:19:08 christos Exp $ */ /* * tc.str.c: Short string package * This has been a lesson of how to write buggy code! @@ -36,8 +35,6 @@ #include <assert.h> #include <limits.h> -RCSID("$tcsh: tc.str.c,v 3.47 2015/06/06 21:19:08 christos Exp $") - #define MALLOC_INCR 128 #ifdef WIDE_STRINGS #define MALLOC_SURPLUS MB_LEN_MAX /* Space for one multibyte character */ diff --git a/tc.vers.c b/tc.vers.c index b93e1766eb72e..c6aeb1292e85c 100644 --- a/tc.vers.c +++ b/tc.vers.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.vers.c,v 3.54 2006/03/02 18:46:45 christos Exp $ */ /* * tc.vers.c: Version dependent stuff */ @@ -32,9 +31,6 @@ */ #include "sh.h" #include "tw.h" - -RCSID("$tcsh: tc.vers.c,v 3.54 2006/03/02 18:46:45 christos Exp $") - #include "patchlevel.h" diff --git a/tc.wait.h b/tc.wait.h index 16f09b3a34f00..47fa2d11ca969 100644 --- a/tc.wait.h +++ b/tc.wait.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.wait.h,v 3.15 2011/02/04 18:00:26 christos Exp $ */ /* * tc.wait.h: <sys/wait.h> for machines that don't have it or have it and * is incorrect. diff --git a/tc.who.c b/tc.who.c index 45900de51ba46..a42284db122cd 100644 --- a/tc.who.c +++ b/tc.who.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.who.c,v 3.59 2012/11/15 02:55:08 christos Exp $ */ /* * tc.who.c: Watch logins and logouts... */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tc.who.c,v 3.59 2012/11/15 02:55:08 christos Exp $") - #include "tc.h" #ifndef HAVENOUTMP @@ -214,8 +210,7 @@ watch_login(int force) #if defined(HAVE_STRUCT_UTMP_UT_HOST) && defined(_SEQUENT_) char *host, *ut_find_host(); #endif -#ifdef WINNT_NATIVE - static int ncbs_posted = 0; +#ifdef WINNT_NATIVE USE(utmp); USE(utmpfd); USE(sta); @@ -240,28 +235,12 @@ watch_login(int force) interval = 0; (void) time(&t); -#ifdef WINNT_NATIVE - /* - * Since NCB_ASTATs take time, start em async at least 90 secs - * before we are due -amol 6/5/97 - */ - if (!ncbs_posted) { - time_t tdiff = t - watch_period; - if (!watch_period || ((tdiff > 0) && (tdiff > (interval - 90)))) { - start_ncbs(vp); - ncbs_posted = 1; - } - } -#endif /* WINNT_NATIVE */ if (t - watch_period < interval) { cleanup_until(&pintr_disabled); return; /* not long enough yet... */ } watch_period = t; -#ifdef WINNT_NATIVE - ncbs_posted = 0; -#else /* !WINNT_NATIVE */ - +#ifndef WINNT_NATIVE /* * From: Michael Schroeder <mlschroe@immd4.informatik.uni-erlangen.de> * Don't open utmp all the time, stat it first... @@ -663,57 +642,4 @@ utmphost(void) } # endif /* UTHOSTLEN */ -#ifdef WINNT_NATIVE -void -add_to_who_list(char *name, char *mach_nm) -{ - - struct who *wp, *wpnew; - int comp = -1; - - wp = whohead.who_next; - while (wp->who_next && (comp = strncmp(wp->who_tty,mach_nm,UTLINLEN)) < 0) - wp = wp->who_next;/* find that tty! */ - - if (wp->who_next && comp == 0) { /* found the tty... */ - - if (*name == '\0') { - wp->who_time = 0; - wp->who_status = OFFLINE; - } - else if (strncmp(name, wp->who_name, UTNAMLEN) == 0) { - /* someone is logged in */ - wp->who_time = 0; - wp->who_status = 0; /* same guy */ - } - else { - (void) strncpy(wp->who_new, name, UTNAMLEN); - wp->who_time = 0; - if (wp->who_name[0] == '\0') - wp->who_status = ONLINE; - else - wp->who_status = CHANGED; - } - } - else { - wpnew = xcalloc(1, sizeof *wpnew); - (void) strncpy(wpnew->who_tty, mach_nm, UTLINLEN); - wpnew->who_time = 0; - if (*name == '\0') - wpnew->who_status = OFFLINE; - else { - (void) strncpy(wpnew->who_new, name, UTNAMLEN); - wpnew->who_status = ONLINE; - } -#ifdef WHODEBUG - debugwholist(wpnew, wp); -#endif /* WHODEBUG */ - - wpnew->who_next = wp; /* link in a new 'who' */ - wpnew->who_prev = wp->who_prev; - wpnew->who_prev->who_next = wpnew; - wp->who_prev = wpnew; /* linked in now */ - } -} -#endif /* WINNT_NATIVE */ #endif /* HAVENOUTMP */ diff --git a/tcsh.man b/tcsh.man index 584de6f17e006..3d06e5541e004 100644 --- a/tcsh.man +++ b/tcsh.man @@ -1,4 +1,3 @@ -.\" $tcsh: tcsh.man,v 3.266 2016/11/24 15:04:52 christos Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -78,7 +77,7 @@ .\" used here if you can. In particular, please don't use nroff commands .\" which aren't already used herein. .\" -.TH TCSH 1 "24 November 2016" "Astron 6.20.00" +.TH TCSH 1 "8 May 2019" "Astron 6.21.00" .SH NAME tcsh \- C shell with file name completion and command line editing .SH SYNOPSIS @@ -5292,9 +5291,9 @@ interrupted. Command substitution supports multiple commands and conditions, but not cycles or backward \fIgoto\fRs. .PP -Report bugs at http://bugs.gw.com/, preferably with fixes. If you want to -help maintain and test tcsh, send mail to tcsh-request@mx.gw.com with the -text `subscribe tcsh' on a line by itself in the body. +Report bugs at https://bugs.astron.com/, preferably with fixes. If you want to +help maintain and test tcsh, add yourself to the mailing list in +https://mailman.astron.com/. .SH THE T IN TCSH In 1964, DEC produced the PDP-6. The PDP-10 was a later re-implementation. It was re-christened the DECsystem-10 in 1970 or so when DEC brought out the @@ -5339,7 +5338,7 @@ pipe(2), setrlimit(2), sigvec(2), stat(2), umask(2), vfork(2), wait(2), malloc(3), setlocale(3), tty(4), a.out(5), termcap(5), environ(7), termio(7), Introduction to the C Shell .SH VERSION -This manual documents tcsh 6.20.00 (Astron) 2016-11-24. +This manual documents tcsh 6.21.00 (Astron) 2019-05-08. .SH AUTHORS .PD 0 .TP 2 diff --git a/tcsh.man.new b/tcsh.man.new index c79c12793b1c7..fc7fbd726d664 100644 --- a/tcsh.man.new +++ b/tcsh.man.new @@ -1,5 +1,4 @@ -.\" $tcsh: tcsh.man.new,v 1.5 2016/11/24 15:06:09 christos Exp $ -.\" From: tcsh: tcsh.man,v 3.266 2016/11/24 15:04:52 christos Exp +.\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -65,9 +64,9 @@ .\" used here if you can. In particular, please don't use nroff commands .\" which aren't already used herein. .\" -.Dd November 24, 2016 +.Dd May 8, 2019 .Dt TCSH 1 -.Os Astron 6.20.00 +.Os Astron 6.21.00 .Sh NAME .Nm tcsh .Nd C shell with file name completion and command line editing @@ -9594,10 +9593,10 @@ cycles or backward .Va goto s. .Pp -Report bugs at http://bugs.gw.com/, preferably with fixes. +Report bugs at https://bugs.astron.com/, preferably with fixes. If you want to -help maintain and test tcsh, send mail to tcsh-request@mx.gw.com with the -text +help maintain and test tcsh, add yourself to the mailing list in +https://mailman.astron.com/. .Sq subscribe tcsh on a line by itself in the body. .Sh THE T IN TCSH @@ -9651,7 +9650,7 @@ pipe(2), setrlimit(2), sigvec(2), stat(2), umask(2), vfork(2), wait(2), malloc(3), setlocale(3), tty(4), a.out(5), termcap(5), environ(7), termio(7), Introduction to the C Shell .Sh VERSION -This manual documents tcsh 6.20.00 (Astron) 2016-11-24. +This manual documents tcsh 6.21.00 (Astron) 2019-05-08. .Sh AUTHORS .PD 0 .TP 2 diff --git a/tcsh.man2html b/tcsh.man2html index 2dc2c7d71177d..1608d96c97428 100644 --- a/tcsh.man2html +++ b/tcsh.man2html @@ -1,5 +1,4 @@ : # -*- perl -*- -# $tcsh: tcsh.man2html,v 1.15 2011/02/05 16:15:56 christos Exp $ # tcsh.man2html, Dave Schweisguth <dcs@proton.chem.yale.edu> # @@ -372,7 +371,7 @@ and the <A HREF="ftp://ftp.astron.com/pub/tcsh/"> complete source code</A> for <I>tcsh</I>. <HR> <I>tcsh</I> is maintained by -Christos Zoulas <A HREF="mailto:christos\@gw.com"><christos\@gw.com></A> +Christos Zoulas <A HREF="mailto:christos\@astron.com"><christos\@astron.com></A> and the <A HREF="$listsfile"><I>tcsh</I> maintainers' mailing list</A>. Dave Schweisguth <A HREF="mailto:dcs\@proton.chem.yale.edu"><dcs\@proton.chem.yale.edu></A> wrote the manpage and the HTML conversion script. @@ -794,20 +793,20 @@ __END__ There are three <I>tcsh</I> mailing lists: <DL> <DT> -<I>tcsh@mx.gw.com</I> +<I>tcsh@mailman.astron.com</I> <DD> The <I>tcsh</I> maintainers and testers' mailing list. <DT> -<I>tcsh-bugs@mx.gw.com</I> +<I>tcsh-bugs@astron.com</I> <DD> Open bug and user comment discussion. </DL> You can subscribe to either of these lists by visiting -<I><A HREF="http://mx.gw.com/">http://mx.gw.com/</A></I> +<I><A HREF="https://mailman.astron.com/">https://mailman.astron.com/</A></I> <P> To file a bug report or a feature suggestion (preferably with code), please visit -<I><A HREF="http://bugs.gw.com/">http://bugs.gw.com/</A></I> +<I><A HREF="https://bugs.astron.com/">https://bugs.astron.com/</A></I> <P> <A HREF="TOPFILEHERE">Up</A> </BODY> diff --git a/termcap.vms b/termcap.vms index 5e7d25b1d2c0b..6f2ddac5c0563 100644 --- a/termcap.vms +++ b/termcap.vms @@ -1,4 +1,3 @@ -# $tcsh: termcap.vms,v 1.3 2006/03/02 18:46:45 christos Exp $ # posix /etc/termcap 1992 # # Minimal termcap for VMS/POSIX diff --git a/tests/lexical.at b/tests/lexical.at index 7b7da4ee4b311..3dc602437bdc3 100644 --- a/tests/lexical.at +++ b/tests/lexical.at @@ -567,10 +567,10 @@ run=3 ]]) AT_DATA([uniformity_test.csh], [[ -set SERVICE_NAME_LOG = `cat batchsystem.properties | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[:blank:]*\([^$]*\)$/\1/p' | perl -pe 's/\s//g' | perl -pe 's/\)/\\\)/g' | perl -pe 's/\(/\\\(/g'` +set SERVICE_NAME_LOG = `cat batchsystem.properties | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[[:blank:]]*\([^$]*\)$/\1/p' | perl -pe 's/\s//g' | perl -pe 's/\)/\\\)/g' | perl -pe 's/\(/\\\(/g'` echo -n "$SERVICE_NAME_LOG" > ./output1 -cat batchsystem.properties | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[:blank:]*\([^$]*\)$/\1/p' | perl -pe 's/\s//g' | perl -pe 's/\)/\\\)/g' | perl -pe 's/\(/\\\(/g' > ./output2 +cat batchsystem.properties | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[[:blank:]]*\([^$]*\)$/\1/p' | perl -pe 's/\s//g' | perl -pe 's/\)/\\\)/g' | perl -pe 's/\(/\\\(/g' > ./output2 diff -uprN ./output1 ./output2 >& /dev/null @@ -587,7 +587,7 @@ AT_DATA([quoting_result_test.csh], echo "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP\)(HOST=db\)(PORT=1521\)\)(CONNECT_DATA=(SERVER=DEDICATED\)(SERVICE_NAME=bns03\)\)\)" > ./expected_result set string = "jdbc_url=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=bns03)))" -set SERVICE_NAME_LOG = `echo "$string" | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[:blank:]*\([^$]*\)$/\1/p' | perl -pe 's/\)/\\\)/g'` +set SERVICE_NAME_LOG = `echo "$string" | grep '^jdbc_url' | sed -ne 's/^[^=]*=[^@]*@[[:blank:]]*\([^$]*\)$/\1/p' | perl -pe 's/\)/\\\)/g'` echo "$SERVICE_NAME_LOG" > ./actual_result diff --git a/tw.color.c b/tw.color.c index c0567b2a76931..f0e0d59e96c94 100644 --- a/tw.color.c +++ b/tw.color.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.color.c,v 1.33 2015/05/28 11:53:49 christos Exp $ */ /* * tw.color.c: builtin color ls-F */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.color.c,v 1.33 2015/05/28 11:53:49 christos Exp $") - #include "tw.h" #include "ed.h" #include "tc.h" diff --git a/tw.comp.c b/tw.comp.c index be8961b8e1fff..bea72e39e59fa 100644 --- a/tw.comp.c +++ b/tw.comp.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.comp.c,v 1.45 2015/09/30 13:28:02 christos Exp $ */ /* * tw.comp.c: File completion builtin */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.comp.c,v 1.45 2015/09/30 13:28:02 christos Exp $") - #include "tw.h" #include "ed.h" #include "tc.h" diff --git a/tw.decls.h b/tw.decls.h index b849823bc8912..e699f60fbc650 100644 --- a/tw.decls.h +++ b/tw.decls.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.decls.h,v 3.23 2012/06/21 17:40:40 christos Exp $ */ /* * tw.decls.h: Tenex external declarations */ @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.h,v 3.25 2006/01/12 18:15:25 christos Exp $ */ /* * tw.h: TwENEX functions headers */ diff --git a/tw.help.c b/tw.help.c index 2199bbd419f9a..fc1655e23e81a 100644 --- a/tw.help.c +++ b/tw.help.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.help.c,v 3.27 2006/08/24 20:56:31 christos Exp $ */ /* tw.help.c: actually look up and print documentation on a file. * Look down the path for an appropriate file, then print it. * Note that the printing is NOT PAGED. This is because the @@ -34,9 +33,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.help.c,v 3.27 2006/08/24 20:56:31 christos Exp $") - #include "tw.h" #include "tc.h" diff --git a/tw.init.c b/tw.init.c index d9525c587ac57..852b6c4d27048 100644 --- a/tw.init.c +++ b/tw.init.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.init.c,v 3.42 2011/04/17 14:49:30 christos Exp $ */ /* * tw.init.c: Handle lists of things to complete */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.init.c,v 3.42 2011/04/17 14:49:30 christos Exp $") - #include "tw.h" #include "ed.h" #include "tc.h" diff --git a/tw.parse.c b/tw.parse.c index 51c6cb34a1137..4b492e20a4087 100644 --- a/tw.parse.c +++ b/tw.parse.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.parse.c,v 3.139 2015/10/16 14:59:56 christos Exp $ */ /* * tw.parse.c: Everyone has taken a shot in this futile effort to * lexically analyze a csh line... Well we cannot good @@ -34,9 +33,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.parse.c,v 3.139 2015/10/16 14:59:56 christos Exp $") - #include "tw.h" #include "ed.h" #include "tc.h" diff --git a/tw.spell.c b/tw.spell.c index 4754108e5f4b7..fd73a0fed42e5 100644 --- a/tw.spell.c +++ b/tw.spell.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tw.spell.c,v 3.21 2006/03/02 18:46:45 christos Exp $ */ /* * tw.spell.c: Spell check words */ @@ -31,9 +30,6 @@ * SUCH DAMAGE. */ #include "sh.h" - -RCSID("$tcsh: tw.spell.c,v 3.21 2006/03/02 18:46:45 christos Exp $") - #include "tw.h" /* spell_me : return corrrectly spelled filename. From K&P spname */ diff --git a/vms.termcap.c b/vms.termcap.c index ffae26c8bb8f0..a37e60985b521 100644 --- a/vms.termcap.c +++ b/vms.termcap.c @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/vms.termcap.c,v 1.12 2011/01/09 16:25:29 christos Exp $ */ /* * termcap.c 1.1 20/7/87 agc Joypace Ltd * @@ -9,7 +8,7 @@ * A public domain implementation of the termcap(3) routines. */ #include "sh.h" -RCSID("$tcsh: vms.termcap.c,v 1.12 2011/01/09 16:25:29 christos Exp $") + #if defined(_VMS_POSIX) || defined(_OSD_POSIX) || defined(__ANDROID__) /* efth 1988-Apr-29 diff --git a/win32/BSDLOGO.RC b/win32/BSDLOGO.RC index 2973a877b2034..f5afaea743410 100644 --- a/win32/BSDLOGO.RC +++ b/win32/BSDLOGO.RC @@ -1,2 +1 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/BSDLOGO.RC,v 1.3 2004/05/19 18:22:27 christos Exp $*/ IDI_ICON1 ICON DISCARDABLE "win32/BSDLOGO.ICO" diff --git a/win32/Makefile.win32 b/win32/Makefile.win32 index ca662ef5a6883..4d673dee16163 100644 --- a/win32/Makefile.win32 +++ b/win32/Makefile.win32 @@ -1,5 +1,3 @@ -# $Id: Makefile.win32,v 1.17 2014/08/17 02:56:37 amold 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 @@ -23,11 +21,11 @@ CF=-c -nologo INCLUDES=-I. -I.. -Iwin32 -DEBUG_CRTLIBS= libcmtd.lib oldnames.lib libcpmtd.lib -CRTLIBS= libcmt.lib oldnames.lib libcpmt.lib +DEBUG_CRTLIBS= libcmtd.lib oldnames.lib libcpmtd.lib libvcruntimed.lib libucrtd.lib legacy_stdio_definitions.lib legacy_stdio_wide_specifiers.lib +CRTLIBS= libcmt.lib oldnames.lib libcpmt.lib libvcruntime.lib libucrt.lib legacy_stdio_definitions.lib legacy_stdio_wide_specifiers.lib EXTRAFLAGS = -DWINNT_NATIVE -DNO_CRYPT -DHAVE_DIRENT_H $(EFL) \ - -wd28159 -wd28218 -wd28199 -wd6387 + -wd28159 -wd28218 -wd28199 -wd6387 -wd6385 WINDOWS_WARNING_LEVEL=-W4 -WX REST_WARNING_LEVEL=-WX -W3 @@ -39,7 +37,7 @@ ANALYZE_FLAGS = -analyze REST_WARNING_LEVEL= -W3 ANALYZE_FLAGS= -IGNORE_64= -wd4244 -wd4267 +IGNORE_64= -wd4244 -wd4267 -wd4311 !if "$(WIN64)" == "" !Message @@ -88,7 +86,7 @@ NTCFLAGS = $(NTCFLAGS) -Zp8 !endif CFLAGS= -MT $(NTCFLAGS) $(INCLUDES) -LDFLAGS= -nodefaultlib $(NTLDFLAGS) -stack:1048576,524288 -dynamicbase:no +LDFLAGS= -nodefaultlib $(NTLDFLAGS) -stack:1048576,524288 -dynamicbase:no -ignore:4099 CC= cl @@ -136,11 +134,11 @@ NTSRCS = win32\io.c win32\stdio.c win32\dirent.c win32\signal.c\ win32\support.c \ win32\nt.char.c win32\bogus.c win32\console.c win32\fork.c \ win32\ntfunc.c win32\ntb1.c win32\ntb2.c win32\globals.c \ - win32\nt.who.c win32\ps.c win32\clip.c win32\nt.const.c \ + win32\ps.c win32\nt.const.c win32\clip.c\ win32\nt.bind.c win32\nt.screen.c NTOBJS = io.$(SUF) stdio.$(SUF) dirent.$(SUF) signal.$(SUF) support.$(SUF) \ nt.char.$(SUF) bogus.$(SUF) console.$(SUF) fork.$(SUF) ntfunc.$(SUF) \ - globals.$(SUF) nt.who.$(SUF) ps.$(SUF) \ + globals.$(SUF) ps.$(SUF) \ clip.$(SUF) nt.const.$(SUF) nt.bind.$(SUF) nt.screen.$(SUF) VHSRCS=$(PVSRCS) $(AVSRCS) @@ -228,6 +226,7 @@ clean: cleanall: clean -del $(BUILD) + -del *nativecodeanalysi*.xml config.h: config_f.h @@ -267,6 +266,28 @@ ed.chared.$(SUF): ed.chared.c $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) ed.chared.c ed.inputl.$(SUF): ed.inputl.c $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) ed.inputl.c +sh.dol.$(SUF): sh.dol.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) sh.dol.c +sh.func.$(SUF): sh.func.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) sh.func.c +sh.glob.$(SUF): sh.glob.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) sh.glob.c +tw.parse.$(SUF): tw.parse.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tw.parse.c +tw.comp.$(SUF): tw.comp.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tw.comp.c +tw.color.$(SUF): tw.color.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tw.color.c +ed.refresh.$(SUF): ed.refresh.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) ed.refresh.c +tc.alloc.$(SUF): tc.alloc.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tc.alloc.c +tc.bind.$(SUF): tc.bind.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tc.bind.c +tc.printf.$(SUF): tc.printf.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tc.printf.c +tc.prompt.$(SUF): tc.prompt.c + $(CC) $(CF) $(CFLAGS) $(DFLAGS) $(EXTRAFLAGS) $(IGNORE_64) tc.prompt.c # turn optimizations off just for these files otherwise fork doesn't work sh.sem.$(SUF): sh.sem.c diff --git a/win32/README.NT b/win32/README.NT index 021c60c3add54..e17cb9c10a8f6 100644 --- a/win32/README.NT +++ b/win32/README.NT @@ -234,27 +234,6 @@ NT-specific Builtins * start: like cmd.exe's start * title: change the shell title * cls: Clear the entire console buffer instead of just the visible window. -* ps: list processes running currently. With -w, list window titles as well. - -* shutdown: (works on Windows NT only) - - shutdown -[r|l|f] now - -(Even though no time argument is supported, "now" must be specified, EXCEPT -with -l .This is to prevent you from accidentally shutting the machine down.) - -r reboots, -l logs you off and -f forces apps to terminate. - -The default action is to shut the machine down. - - -* sourcerc: tcsh can be compiled with a stringtable resource that can be - sourced using this command. This feature is designed as a way to avoid - having to copy the .tcshrc to every computer you run tcsh on. The default - resource is a simple version of my .tcshrc. More complicated settings can - then be copied when needed. - -* printrc: print the compiled-in resource that will be sourced by sourcerc. - Notes: ----- @@ -351,31 +330,6 @@ To bind ctrl or alt combinations, use the following as examples. For Shift combinations: bindkey -b N-S-1 backward-word -Clipboard support ------------------ -Since version 3.58, you can cut and paste to and from the clipboard -directly from the shell. To do this, use bindings like the following: - - bindkey -b M-x e_copy_to_clipboard - bindkey -b M-y e_paste_from_clipboard - -Then, to paste text from the clipboard into the current input line, you -can type: - M-y -And to copy the current shell's kill buffer to the clipboard, - M-x - -(The kill buffer contains the last deletion from an editing command. Sort -of like an 'undo' buffer). - -You can also use the clipboard to redirect I/O, with /dev/clipboard as -the destination/source file. - - -NOTE: From version 6.00 onwards, the e_paste operation does NOT copy the -clipboard contents to the shell kill buffer. - - e_dosify_next ------------- diff --git a/win32/bogus.c b/win32/bogus.c index 5e34c4d8ee8c8..22d9ba3af0de3 100644 --- a/win32/bogus.c +++ b/win32/bogus.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/bogus.c,v 1.9 2008/10/11 12:47:39 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/clip.c b/win32/clip.c index 1b7637ef2ec61..98704ebf91389 100644 --- a/win32/clip.c +++ b/win32/clip.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/clip.c,v 1.10 2014/08/13 23:39:34 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -39,446 +38,8 @@ #include "sh.h" #include "ed.h" -BOOL InitApplication(HINSTANCE); -BOOL InitInstance(HINSTANCE, int); -LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); -HWND ghwndmain; - -extern int ctrl_handler(DWORD); -extern void c_insert(int); - -/* - * Creating a hidden window may not be strictly necessary on - * NT, but why tempt fate ? - * -amol - */ - -void clipper_thread(void) { - - MSG msg; - HINSTANCE hInstance = GetModuleHandle(NULL); - - - if (!InitApplication(hInstance)) { - return ; - } - - if (!InitInstance(hInstance, 0)) { - return ; - } - // Main message loop: - while (GetMessage(&msg, NULL, 0, 0)) { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - if ( !ctrl_handler(CTRL_CLOSE_EVENT)) - init_clipboard(); - return; -} -void init_clipboard(void) { - HANDLE ht; - DWORD tid; - - ht = CreateThread(NULL,gdwStackSize, - (LPTHREAD_START_ROUTINE)clipper_thread, NULL,0,&tid); - - if (!ht) - abort(); - CloseHandle(ht); -} - -BOOL InitApplication(HINSTANCE hInstance) -{ - WNDCLASS wc; - - - // Fill in window class structure with parameters that describe - // the main window. - wc.style = CS_HREDRAW | CS_VREDRAW; - wc.lpfnWndProc = (WNDPROC)WndProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = hInstance; - wc.hIcon = NULL;//LoadIcon (hInstance, szAppName); - wc.hCursor = NULL;//LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = (HBRUSH)IntToPtr(COLOR_WINDOW+1); - - wc.lpszMenuName = NULL; - wc.lpszClassName = "tcshclipboard"; - - return RegisterClass(&wc); -} - -// -// FUNCTION: InitInstance(HANDLE, int) -// -// PURPOSE: Saves instance handle and creates main window -// -// COMMENTS: -// -// In this function, we save the instance handle in a global variable and -// create and display the main program window. -// -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { - HWND hWnd; - - - UNREFERENCED_PARAMETER(nCmdShow); - - hWnd = CreateWindow("tcshclipboard", "tcshclipboard", - WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, - NULL, NULL, hInstance, NULL); - - if (!hWnd) { - return (FALSE); - } - - UpdateWindow(hWnd); - ghwndmain = hWnd; - - return (TRUE); -} - -LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - - switch (message) { - - case WM_DESTROYCLIPBOARD: - break; - case WM_DESTROY: - PostQuitMessage(0); - break; - - default: - return (DefWindowProc(hWnd, message, wParam, lParam)); - } - return (0); -} - -CCRETVAL e_copy_to_clipboard(Char c) { - unsigned char *cbp; - Char *kp; - int err; - size_t len; - unsigned char *clipbuf; - HANDLE hclipbuf; - - UNREFERENCED_PARAMETER(c); - - if (!ghwndmain) - return (CC_ERROR); - - if (KillRingLen == 0) - return (CC_ERROR); - - len = Strlen(KillRing[YankPos].buf); - - hclipbuf = GlobalAlloc(GMEM_MOVEABLE|GMEM_DDESHARE, len+2); - if (!hclipbuf) - return (CC_ERROR); - clipbuf = (unsigned char*)GlobalLock(hclipbuf); - - if (!clipbuf){ - err = GetLastError(); - GlobalFree(hclipbuf); - return (CC_ERROR); - } - - kp = KillRing[YankPos].buf; - cbp = clipbuf; - - while(*kp != '\0') { - *cbp = (u_char)(*kp & CHAR); - cbp++;kp++; - } - *cbp = 0; - - GlobalUnlock(clipbuf); - - if (!OpenClipboard(ghwndmain)) - goto error; - - if (!EmptyClipboard()) - goto error; - - if (SetClipboardData(CF_TEXT,hclipbuf) != hclipbuf){ - err = GetLastError(); - goto error; - - } - - CloseClipboard(); - return (CC_NORM); -error: - GlobalFree(hclipbuf); - CloseClipboard(); - return (CC_ERROR); -} -CCRETVAL e_paste_from_clipboard(Char c) { - HANDLE hclip; - unsigned char *cbp; - Char *cp; - int len; - unsigned char *clipbuf; - - - - UNREFERENCED_PARAMETER(c); - - if (!ghwndmain) - return (CC_ERROR); - if (!IsClipboardFormatAvailable(CF_TEXT)) - return CC_ERROR; - - if (!OpenClipboard(ghwndmain)) - return CC_ERROR; - - - hclip = GetClipboardData(CF_TEXT); - if (hclip) { - clipbuf = (unsigned char*)GlobalLock(hclip); - if(!clipbuf) { - return CC_ERROR; - } - - cbp = clipbuf; - len = 0; - - while(*cbp && *cbp != '\r') { - len++; - cbp++; - } - cbp = clipbuf; - - cp = Cursor; - - c_insert(len); - - if (LastChar + len >= InputLim) - goto error; - - while(*cbp && *cbp !='\r' && (cp <LastChar) ) { - *cp = *cbp ; - cp++;cbp++; - } - Cursor = cp; - GlobalUnlock(hclip); - } - CloseClipboard(); - - return (CC_REFRESH); -error: - return (CC_ERROR); -} - -int is_dev_clipboard_active=0; -HANDLE ghdevclipthread; - -/* Reads from pipe and write to clipboard */ -void clip_writer_proc(HANDLE hinpipe) { - unsigned char *realbuf; - unsigned char *clipbuf; - unsigned char *ptr; - DWORD bread=0,spleft,err,i,rbsize; - DWORD ptrloc; - HANDLE hclipbuf; - - - rbsize = 4096; - realbuf = heap_alloc(rbsize); - ptr = realbuf; - ptrloc = 0; - spleft = rbsize; - - while(spleft) { - if (!ReadFile(hinpipe,ptr,spleft,&bread,NULL)) { - spleft = GetLastError(); - dprintf("hinpipe returend %d\n",spleft); - if (spleft == ERROR_BROKEN_PIPE) - break; - } - if (bread == 0) - break; - ptr += bread; - ptrloc += bread; - spleft -=bread; - - if (spleft <=0){ - u_char *tmp; - - rbsize <<=1; - - tmp = realbuf; - realbuf = heap_realloc(realbuf,rbsize); - if (!realbuf) { - realbuf = tmp; - break; - } - spleft += rbsize >> 1; - - ptr = realbuf+ptrloc; - - dprintf("updated size now %d, splef %d, ptrloc %d, ptr 0x%08x, realbuf 0x%08x\n",rbsize,spleft,ptrloc,ptr,realbuf); - } - } - CloseHandle(hinpipe); - - bread = rbsize-spleft; - - hclipbuf = GlobalAlloc(GMEM_MOVEABLE|GMEM_DDESHARE, bread+256); - if (!hclipbuf) { - is_dev_clipboard_active=0; - return; - } - clipbuf = (u_char*)GlobalLock(hclipbuf); - - if (!clipbuf){ - err = GetLastError(); - GlobalFree(hclipbuf); - is_dev_clipboard_active=0; - return ; - } - ptr = clipbuf; - for (i=0;i <bread;i++) { - - if (realbuf[i] == '\n' && (i >0 && realbuf[i-1] != '\r') ) - *ptr++ = '\r'; - - *ptr++ =realbuf[i]; - - if ((ptr - clipbuf) >= rbsize) - break; - } - *ptr=0; - - heap_free(realbuf); - - GlobalUnlock(clipbuf); - - if (!OpenClipboard(ghwndmain)) - goto error; - - if (!EmptyClipboard()) - goto error; - - if (SetClipboardData(CF_TEXT,hclipbuf) != hclipbuf){ - err = GetLastError(); - goto error; - - } - CloseClipboard(); - is_dev_clipboard_active=0; - return ; -error: - is_dev_clipboard_active=0; - GlobalFree(hclipbuf); - CloseClipboard(); -} -HANDLE create_clip_writer_thread(void) { - HANDLE hread,hwrite; - DWORD tid; - SECURITY_ATTRIBUTES secd; - - if (is_dev_clipboard_active) - return INVALID_HANDLE_VALUE; - secd.nLength=sizeof(secd); - secd.lpSecurityDescriptor=NULL; - secd.bInheritHandle=FALSE; - - if (!CreatePipe(&hread,&hwrite,&secd,0)) { - abort(); - } - is_dev_clipboard_active = 1; - ghdevclipthread = CreateThread(NULL,gdwStackSize, - (LPTHREAD_START_ROUTINE)clip_writer_proc, hread,0,&tid); -// CloseHandle(ht); - return hwrite; -} - -/* Read from clipboard and write to pipe */ -void clip_reader_proc(HANDLE houtpipe) { - - HANDLE hclip; - unsigned char *cbp; - unsigned char *clipbuf; - unsigned char * outbuf,*ptr; - DWORD bwrote, len; - DWORD obsize; - - obsize = 4096; - outbuf = heap_alloc(obsize); - if(!outbuf) { - return; - } - ptr = outbuf; - - - if (!IsClipboardFormatAvailable(CF_TEXT)) - goto done ; - - if (!OpenClipboard(ghwndmain)) - goto done ; - - - len = 0; - hclip = GetClipboardData(CF_TEXT); - if (hclip) { - clipbuf = (unsigned char*)GlobalLock(hclip); - if(!clipbuf) { - goto done; - } - - cbp = clipbuf; - - while(*cbp ) { - *ptr++ = *cbp++; - len++; - if (len == obsize) { - obsize <<= 1; - outbuf = heap_realloc(outbuf,obsize); - if (!outbuf) - break; - ptr = outbuf+len; - } - } - GlobalUnlock(hclip); - } - CloseClipboard(); - - if (!WriteFile(houtpipe,outbuf,len,&bwrote,NULL)) { - ; - } - CloseHandle(houtpipe); - heap_free(outbuf); - -done: - is_dev_clipboard_active=0; - return; -} -HANDLE create_clip_reader_thread(void) { - HANDLE hread,hwrite; - DWORD tid; - SECURITY_ATTRIBUTES secd; - - if (is_dev_clipboard_active) - return INVALID_HANDLE_VALUE; - - secd.nLength=sizeof(secd); - secd.lpSecurityDescriptor=NULL; - secd.bInheritHandle=FALSE; - - if (!CreatePipe(&hread,&hwrite,&secd,0)) { - abort(); - } - is_dev_clipboard_active = 1; - ghdevclipthread = CreateThread(NULL,gdwStackSize, - (LPTHREAD_START_ROUTINE)clip_reader_proc, hwrite,0,&tid); - return hread; -} - CCRETVAL e_dosify_next(Char c) { diff --git a/win32/console.c b/win32/console.c index 220d56eaea947..65e7922e06c55 100644 --- a/win32/console.c +++ b/win32/console.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/console.c,v 1.9 2006/08/27 01:13:28 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/dirent.c b/win32/dirent.c index fe7e2507faa27..28d638bb1af61 100644 --- a/win32/dirent.c +++ b/win32/dirent.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/dirent.c,v 1.10 2014/08/13 23:39:34 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/dirent.h b/win32/dirent.h index 95fb8b38dd5a0..af8328f041d8c 100644 --- a/win32/dirent.h +++ b/win32/dirent.h @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/dirent.h,v 1.6 2006/03/03 22:08:45 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/fork.c b/win32/fork.c index 84ace76c7d462..9115b412ce2d7 100644 --- a/win32/fork.c +++ b/win32/fork.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/fork.c,v 1.13 2014/08/17 02:56:37 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -167,7 +166,7 @@ int fork_init(void) { #ifdef _M_IX86 _old_exr = __fork_context[6]; __fork_context[6] =(int)GETEXCEPTIONREGIST();//tmp; -#endif _M_ALPHA +#endif // // Whee ! longjmp(__fork_context,1); @@ -213,7 +212,9 @@ int fork(void) { __hforkparent = CreateEvent(&sa,TRUE,FALSE,NULL); rc = setjmp(__fork_context); - + #if _M_AMD64 + ((_JUMP_BUFFER *)&__fork_context)->Frame = 0; //https://stackoverflow.com/questions/26605063/an-invalid-or-unaligned-stack-was-encountered-during-an-unwind-operation +#endif if (rc) { // child #ifdef _M_IX86 // diff --git a/win32/forkdata.h b/win32/forkdata.h index 5d3f30a37f4e6..74d08ed28eed2 100644 --- a/win32/forkdata.h +++ b/win32/forkdata.h @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/forkdata.h,v 1.4 2004/05/19 18:22:27 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/globals.c b/win32/globals.c index 7129c9bc2d084..3bbc284dbaae0 100644 --- a/win32/globals.c +++ b/win32/globals.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/globals.c,v 1.12 2014/08/13 23:39:34 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/io.c b/win32/io.c index 0124f1b2a0283..50a701ec9880a 100644 --- a/win32/io.c +++ b/win32/io.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/io.c,v 1.9 2006/04/13 00:59:02 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -59,9 +58,9 @@ int consoleread(HANDLE , unsigned char * ,size_t ) ; INPUT_RECORD girec[2048]; unsigned short __nt_want_vcode=0,__nt_vcode=0; -HANDLE __h_con_alarm=0; -HANDLE __h_con_int=0; -HANDLE __h_con_hup=0; +HANDLE __h_con_alarm; +HANDLE __h_con_int; +HANDLE __h_con_hup; extern int NoNLSRebind; diff --git a/win32/nt.bind.c b/win32/nt.bind.c index 17e5a75910ca0..7a8b9f4b8559e 100644 --- a/win32/nt.bind.c +++ b/win32/nt.bind.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/nt.bind.c,v 1.6 2006/03/05 08:59:36 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/nt.char.c b/win32/nt.char.c index f76bfefd9cb91..fa82bd8c1c0b0 100644 --- a/win32/nt.char.c +++ b/win32/nt.char.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/nt.char.c,v 1.10 2008/10/11 12:47:39 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/nt.const.c b/win32/nt.const.c index daee2881ee41c..3316e80dc6bf0 100644 --- a/win32/nt.const.c +++ b/win32/nt.const.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/nt.const.c,v 1.4 2003/02/08 20:03:29 christos Exp $*/ /* * nt.const.c: NT-specific String constants for tcsh. */ diff --git a/win32/nt.screen.c b/win32/nt.screen.c index 702591506cf59..6ced512fb267d 100644 --- a/win32/nt.screen.c +++ b/win32/nt.screen.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/nt.screen.c,v 1.14 2006/03/14 01:22:57 mitr Exp $*/ /* * ed.screen.c: Editor/termcap-curses interface */ diff --git a/win32/nt.who.c b/win32/nt.who.c index 59ef39eec42df..5667ab1737b04 100644 --- a/win32/nt.who.c +++ b/win32/nt.who.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/nt.who.c,v 1.6 2006/03/05 08:59:36 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/ntb1.c b/win32/ntb1.c index ccc54451c116a..1bb073c734d8d 100644 --- a/win32/ntb1.c +++ b/win32/ntb1.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/ntb1.c,v 1.4 2004/05/19 18:22:28 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/ntb2.c b/win32/ntb2.c index 99a119917185d..c4f5fb7c9ef7c 100644 --- a/win32/ntb2.c +++ b/win32/ntb2.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/ntb2.c,v 1.4 2004/05/19 18:22:28 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/ntfunc.c b/win32/ntfunc.c index 874b65f1ca998..a7da6e070ad4c 100644 --- a/win32/ntfunc.c +++ b/win32/ntfunc.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/ntfunc.c,v 1.22 2016/08/12 14:54:41 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -67,8 +66,6 @@ struct biltins nt_bfunc[] = { #ifdef NTDBG { "debugbreak", dodebugbreak, 0, 0 }, #endif /* NTDBG */ - { "ps", dops, 0, 1 }, - { "shutdown", doshutdown, 0, 2 }, { "start", dostart, 1, INF }, { "title", dotitle, 1, INF }, }; diff --git a/win32/ntport.h b/win32/ntport.h index 3692d2f802db2..5729e6886eb99 100644 --- a/win32/ntport.h +++ b/win32/ntport.h @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/ntport.h,v 1.15 2014/08/13 23:39:34 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/ps.c b/win32/ps.c index bc81f1c954eee..46e80cedfe3cc 100644 --- a/win32/ps.c +++ b/win32/ps.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/ps.c,v 1.9 2006/03/14 01:22:58 mitr Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -40,69 +39,6 @@ #include <sh.h> #include <errno.h> - -#define REGKEY_PERF "software\\microsoft\\windows nt\\currentversion\\perflib" -#define REGSUBKEY_COUNTERS "Counters" -#define PROCESS_COUNTER "process" -#define PROCESSID_COUNTER "id process" - -typedef struct _pslist { - DWORD pid; - HANDLE hwnd; - char exename[MAX_PATH]; - char title[80]; -}pslist; - - -typedef BOOL (WINAPI *walker)(HANDLE,LPPROCESSENTRY32); -typedef HANDLE (WINAPI *create_snapshot)(DWORD,DWORD); -static walker proc32First; -static walker proc32Next; -static create_snapshot createSnapshot; - -typedef BOOL (WINAPI *enumproc)(DWORD *,DWORD,DWORD *); -typedef BOOL (WINAPI *enummod)(HANDLE,HMODULE*,DWORD,DWORD*); -typedef DWORD(WINAPI *getfilename_ex)(HANDLE,HANDLE , char*,DWORD); -typedef DWORD (WINAPI *getbasename)(HANDLE,HMODULE,char*,DWORD); -static enumproc enum_processes; -static enummod enum_process_modules; -static getfilename_ex getfilenameex; -static getbasename GetModuleBaseNameA; - -typedef DWORD (*plist_proc)(void); - -DWORD Win95Lister(void); -DWORD NTLister(void); - -plist_proc ProcessListFunc; -pslist *processlist; -static unsigned long numprocs, g_dowindows; - -static HMODULE hlib; - -extern DWORD gdwPlatform; -extern void make_err_str(int,char *,int); - -BOOL CALLBACK enum_wincb(HWND hwnd,LPARAM nump) { - - unsigned int i; - DWORD pid = 0; - - if (!GetWindowThreadProcessId(hwnd,&pid)) - return TRUE; - - for (i =0;i < nump;i++) { - if (processlist[i].pid == pid){ - processlist[i].hwnd = hwnd; - if (processlist[i].title[0] !=0) - break;; - GetWindowText(hwnd,processlist[i].title, - sizeof(processlist[i].title)); - break; - } - } - return TRUE; -} static HWND ghwndtokillbywm_close; BOOL CALLBACK enum_wincb2(HWND hwnd,LPARAM pidtokill) { DWORD pid = 0; @@ -124,248 +60,3 @@ int kill_by_wm_close(int pid) { ghwndtokillbywm_close = NULL; return 0; } -DWORD Win95Lister(void) { - - HANDLE hsnap; - PROCESSENTRY32 pe; - unsigned long nump =0; - - - hsnap = createSnapshot(TH32CS_SNAPPROCESS,0); - if (hsnap == INVALID_HANDLE_VALUE) - return 0; - - // if (processlist) - // p_free(processlist); - - pe.dwSize = sizeof(PROCESSENTRY32); - if (proc32First(hsnap,&pe) ) { - processlist = heap_alloc(100*sizeof(pslist)); - if (!processlist) - goto done; - - do { - StringCbCopy(processlist[nump].exename, - sizeof(processlist[nump].exename),pe.szExeFile); - - processlist[nump].title[0] = 0; - processlist[nump].pid = pe.th32ProcessID; - nump++; - }while(proc32Next(hsnap,&pe)); - } -done: - CloseHandle(hsnap); - - if (g_dowindows) { - EnumWindows(enum_wincb,(LPARAM)nump); - } - return nump; -} - -DWORD NTLister(void) { - - DWORD procs[200],dummy,ignore; - HANDLE hproc; - HMODULE hmod; - unsigned int i; - - - // if (processlist) - // p_free(processlist); - - if (!enum_processes(procs,sizeof(procs),&dummy) ) { - return 0; - } - - dummy = dummy/sizeof(DWORD); // number of entries filled - - processlist = heap_alloc(dummy*sizeof(pslist)); - if (!processlist){ - return 0; - } - - for(i=0 ; i< dummy;i++) { - processlist[i].pid = procs[i]; - processlist[i].title[0] = 0; - hproc = OpenProcess(PROCESS_QUERY_INFORMATION |PROCESS_VM_READ, - FALSE,procs[i]); - if (hproc) { - if (enum_process_modules(hproc,&hmod,sizeof(hmod),&ignore)) { - GetModuleBaseNameA(hproc,hmod, processlist[i].exename,MAX_PATH); - } - else - StringCbCopy(processlist[i].exename, - sizeof(processlist[i].exename),"(unknown)"); - CloseHandle(hproc); - } - else - StringCbCopy(processlist[i].exename, - sizeof(processlist[i].exename),"(unknown)"); - - } - if (g_dowindows) { - EnumWindows(enum_wincb,(LPARAM)dummy); - } - return dummy; -} - -void init_plister(void) { - - - hlib = LoadLibrary("kernel32.dll"); - if (!hlib) - return ; - - - ProcessListFunc = Win95Lister; - - proc32First = (walker)GetProcAddress(hlib,"Process32First"); - proc32Next = (walker)GetProcAddress(hlib,"Process32Next"); - createSnapshot= (create_snapshot)GetProcAddress(hlib, - "CreateToolhelp32Snapshot"); - - FreeLibrary(hlib); - if (!proc32First || !proc32Next || !createSnapshot) { - ProcessListFunc = NULL; - } -} -void dops(Char ** vc, struct command *c) { - - DWORD nump; - unsigned int i,k; - char **v; - - UNREFERENCED_PARAMETER(c); - - if (!ProcessListFunc) - return; - vc = glob_all_or_error(vc); - v = short2blk(vc); - blkfree(vc); - for (k = 0; v[k] != NULL ; k++){ - if ( v[k][0] == '-' ) { - if( (v[k][1] == 'W') || (v[k][1] == 'w')) - g_dowindows = 1; - } - } - blkfree((Char**)v); - nump = ProcessListFunc(); - - for(i=0; i< nump; i++) { - if (gdwPlatform == VER_PLATFORM_WIN32_NT) - xprintf("%6u %-20s %-30s\n",processlist[i].pid, - processlist[i].exename, - g_dowindows?processlist[i].title:""); - else - xprintf("0x%08x %-20s %-30s\n",processlist[i].pid, - processlist[i].exename, - g_dowindows?processlist[i].title:""); - } - g_dowindows =0; - - if (processlist) - heap_free(processlist); - -} -static char shutdown_usage[]= {"shutdown -[r|l][f] now\n-r reboots, -l logs\ - off the current user\n-f forces termination of running applications.\n\ - The default action is to shutdown without a reboot.\n\"now\" must be \ - specified to actually shutdown or reboot\n"}; - -void doshutdown(Char **vc, struct command *c) { - - unsigned int flags = 0; - unsigned char reboot,shutdown,logoff,shutdown_ok; - char **v; - char *ptr; - char errbuf[128]; - int k; - HANDLE hToken; - TOKEN_PRIVILEGES tp,tpPrevious; - LUID luid; - DWORD cbPrevious = sizeof(TOKEN_PRIVILEGES); - - UNREFERENCED_PARAMETER(c); - - if (gdwPlatform != VER_PLATFORM_WIN32_NT) { - stderror(ERR_SYSTEM,"shutdown","Sorry,not supported on win95"); - } - - shutdown_ok = reboot = shutdown = logoff = 0; - vc = glob_all_or_error(vc); - v = short2blk(vc); - blkfree(vc); - cleanup_push((Char **)v, blk_cleanup); - for (k = 0; v[k] != NULL ; k++){ - if ( v[k][0] == '-' ) { - ptr = v[k]; - ptr++; - while( ptr && *ptr) { - if (*ptr == 'f') - flags |= EWX_FORCE; - if (*ptr == 'r') - reboot =1; - else if (*ptr == 'l') - logoff =1; - else - stderror(ERR_SYSTEM,"Usage",shutdown_usage); - ptr++; - } - } - else if (!_stricmp(v[k],"now")) { - shutdown_ok = 1; - } - } - if (k == 0) - stderror(ERR_SYSTEM,"Usage",shutdown_usage); - if (!reboot && !logoff){ - flags |= EWX_SHUTDOWN; - shutdown = 1; - } - if (reboot && logoff ) - stderror(ERR_SYSTEM,"Usage",shutdown_usage); - if (reboot) - flags |= EWX_REBOOT; - if (logoff) - flags |= EWX_LOGOFF; - - if ((reboot || shutdown) && (!shutdown_ok) ) - stderror(ERR_SYSTEM,"shutdown","Specify \"now\" to really shutdown"); - - - if (!OpenProcessToken(GetCurrentProcess(), - TOKEN_ADJUST_PRIVILEGES| TOKEN_QUERY, - &hToken) ){ - make_err_str(GetLastError(),errbuf,128); - stderror(ERR_SYSTEM,"shutdown failed",errbuf); - } - - - if (!LookupPrivilegeValue(NULL,SE_SHUTDOWN_NAME,&luid)) { - make_err_str(GetLastError(),errbuf,128); - stderror(ERR_SYSTEM,"shutdown failed",errbuf); - } - tp.PrivilegeCount = 1; - tp.Privileges[0].Luid = luid; - tp.Privileges[0].Attributes = 0; - - if (!AdjustTokenPrivileges(hToken,FALSE,&tp,sizeof(tp),&tpPrevious, - &cbPrevious)){ - make_err_str(GetLastError(),errbuf,128); - stderror(ERR_SYSTEM,"shutdown failed",errbuf); - } - tpPrevious.PrivilegeCount = 1; - tpPrevious.Privileges[0].Luid = luid; - tpPrevious.Privileges[0].Attributes |= SE_PRIVILEGE_ENABLED; - - if (!AdjustTokenPrivileges(hToken,FALSE,&tpPrevious,cbPrevious,NULL, - NULL)){ - make_err_str(GetLastError(),errbuf,128); - stderror(ERR_SYSTEM,"shutdown failed",errbuf); - } - if ( !ExitWindowsEx(flags,0) ) { - make_err_str(GetLastError(),errbuf,128); - stderror(ERR_SYSTEM,"shutdown failed",errbuf); - } - cleanup_until((Char **)v); -} diff --git a/win32/signal.c b/win32/signal.c index c72107975f0c4..a0b2436464913 100644 --- a/win32/signal.c +++ b/win32/signal.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/signal.c,v 1.13 2014/08/13 23:39:34 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. diff --git a/win32/stdio.c b/win32/stdio.c index 47d977f76c4ac..634879eb26d78 100644 --- a/win32/stdio.c +++ b/win32/stdio.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/stdio.c,v 1.11 2012/03/05 14:03:23 christos Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -460,12 +459,6 @@ int nt_creat(const char *filename, int mode) { else if (!_stricmp(filename,"/dev/null") ){ filename = "NUL"; } - else if (!_stricmp(filename,"/dev/clipboard")) { - retval = create_clip_writer_thread(); - if (retval == INVHL) - return -1; - goto get_fd; - } retval = CreateFile(filename, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, @@ -478,7 +471,6 @@ int nt_creat(const char *filename, int mode) { errno = EACCES; return -1; } -get_fd: fd = __nt_open_osfhandle((intptr_t)retval,_O_BINARY); if (fd <0) { //should never happen @@ -516,10 +508,6 @@ int nt_open(const char *filename, int perms,...) { else if (!lstrcmp(filename,"/dev/null") ){ filename = "NUL"; } - else if (!_stricmp(filename,"/dev/clipboard")) { - retval = create_clip_reader_thread(); - goto get_fd; - } security.nLength = sizeof(security); security.lpSecurityDescriptor = NULL; security.bInheritHandle = FALSE; @@ -577,7 +565,6 @@ int nt_open(const char *filename, int perms,...) { if (perms & O_APPEND) { SetFilePointer(retval,0,NULL,FILE_END); } -get_fd: fd = __nt_open_osfhandle((intptr_t)retval,_O_BINARY); if (fd <0) { //should never happen diff --git a/win32/support.c b/win32/support.c index acc0f4e906f97..e76dbfceed30f 100644 --- a/win32/support.c +++ b/win32/support.c @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/support.c,v 1.16 2014/08/17 02:56:37 amold Exp $*/ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * All rights reserved. @@ -92,15 +91,12 @@ void nt_init(void) { init_hb_subst(); setlocale(LC_ALL,""); init_shell_dll(); - init_plister(); fork_init(); - init_clipboard(); return; } void nt_cleanup(void){ nt_term_cleanup(); nt_cleanup_signals(); - cleanup_netbios(); } void caseify_pwd(char *curwd) { char *sp, *dp, p,*s; @@ -454,19 +450,6 @@ re_cp: (void)GetExitCodeProcess(pi.hProcess,&exitcode); CloseHandle(pi.hProcess); CloseHandle(pi.hThread); - /* - * If output was redirected to /dev/clipboard, - * we need to close the pipe handles - */ - if (is_dev_clipboard_active) { - CloseHandle((HANDLE)_get_osfhandle(0)); - CloseHandle((HANDLE)_get_osfhandle(1)); - CloseHandle((HANDLE)_get_osfhandle(2)); - CloseHandle(si.hStdInput); - CloseHandle(si.hStdOutput); - CloseHandle(si.hStdError); - WaitForSingleObject(ghdevclipthread,60*1000); - } ExitProcess(exitcode); } } @@ -544,6 +527,7 @@ void init_wow64(void) { FreeLibrary(hlib); return; } +#pragma warning(suppress:28278) if (!pfnIsWow64(GetCurrentProcess(),&bIsWow64Process) ) bIsWow64Process = FALSE; @@ -836,7 +820,7 @@ char *concat_args_and_quote(char **args, char **poriginalPtr,char **cstr, if (arglen + cmdlen +4 > *cmdsize) { // +4 is if we have to quote - tempptr = heap_realloc(*poriginalPtr,*cmdsize<<1); + tempptr = heap_realloc(*poriginalPtr,(long long)(*cmdsize)<<1LL); if(!tempptr) return NULL; @@ -862,7 +846,7 @@ char *concat_args_and_quote(char **args, char **poriginalPtr,char **cstr, while(rc == ERROR_BUFFER_OVERFLOW) { char *tmp = tempquotedbuf; - tempquotedbuf = heap_realloc(tempquotedbuf,tqlen <<1); + tempquotedbuf = heap_realloc(tempquotedbuf,(long long)tqlen <<1); if(!tempquotedbuf) { heap_free(tmp); return NULL; diff --git a/win32/version.h b/win32/version.h index 44d4257648770..49831a8fc2813 100644 --- a/win32/version.h +++ b/win32/version.h @@ -1,4 +1,3 @@ -/*$Header: /p/tcsh/cvsroot/tcsh/win32/version.h,v 1.24 2008/09/10 20:34:21 amold Exp $*/ #ifndef VERSION_H #define VERSION_H |