From owner-freebsd-arch Thu Apr 6 22:21:18 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id DFFB837B9ED for ; Thu, 6 Apr 2000 22:21:03 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id HAA16770 for ; Fri, 7 Apr 2000 07:24:37 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id HAA35315 for freebsd-arch@freebsd.org; Fri, 7 Apr 2000 07:20:57 +0200 (CEST) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id AC1A437C150 for ; Thu, 6 Apr 2000 22:20:46 -0700 (PDT) (envelope-from obrien@NUXI.ucdavis.edu) Received: from dragon.nuxi.com (trang.cdrom.com [204.216.28.153]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id WAA32273; Thu, 6 Apr 2000 22:20:43 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id WAA04662; Thu, 6 Apr 2000 22:20:08 -0700 (PDT) (envelope-from obrien) Date: Thu, 6 Apr 2000 22:20:08 -0700 From: "David O'Brien" To: Peter Wemm Cc: arch@freebsd.org Subject: Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh Message-ID: <20000406222008.A4617@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20000407004719.D8E0B1CD7@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000407004719.D8E0B1CD7@overcee.netplex.com.au>; from peter@netplex.com.au on Thu, Apr 06, 2000 at 05:47:19PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 06, 2000 at 05:47:19PM -0700, Peter Wemm wrote: > One other thing.. src/bin/csh appears to have large parts that are a > derivative of tcsh! (since I don't have the sccs files I can't be certain, It is not derived from tcsh, but *is* the current Tcsh back then. From the SCCS log of csh.c (s.csh.c converted to csh.c,v) -- see rev. 5.21: RCS file: csh.c,v Working file: csh.c head: 8.4 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 65; selected revisions: 65 description: ---------------------------- revision 8.4 date: 1995/04/29 13:09:04; author: christos; state: Exp; lines: +8 -9 Fixes from Chris Demetriou and Charles Hannum ---------------------------- revision 8.3 date: 1995/03/22 14:12:40; author: christos; state: Exp; lines: +38 -21 Changes from Charles Hannum (mycroft@netbsd.org) to use POSIX signals ---------------------------- revision 8.2 date: 1993/10/12 20:42:26; author: christos; state: Exp; lines: +32 -0 Kill foreground process group upon exit in phup() ---------------------------- revision 8.1 date: 1993/05/31 16:41:29; author: bostic; state: Exp; lines: +5 -5 4.4BSD snapshot (revision 8.1); add 1993 to copyright ---------------------------- revision 5.38 date: 1993/05/22 19:06:18; author: christos; state: Exp; lines: +9 -9 Fixed gcc -Wall warnings ---------------------------- revision 5.37 date: 1992/07/19 11:46:23; author: marc; state: Exp; lines: +13 -2 check in for Marc by TK ---------------------------- revision 5.36 date: 1992/05/06 16:29:59; author: christos; state: Exp; lines: +8 -2 check PATH for relative pathnames when running as root (should probably only check for "." - marc) ---------------------------- revision 5.35 date: 1992/03/02 00:13:12; author: christos; state: Exp; lines: +7 -2 Fixed and documented $histfile ---------------------------- revision 5.34 date: 1992/02/05 16:30:05; author: christos; state: Exp; lines: +31 -12 Use vis(3) to print unprintable characters ---------------------------- revision 5.33 date: 1991/11/06 16:09:26; author: christos; state: Exp; lines: +20 -2 Added support for displaying non-printable characters ---------------------------- revision 5.32 date: 1991/11/04 18:21:55; author: christos; state: Exp; lines: +3 -0 Onintr would reset SIGINT if found in /etc/csh.{cshrc,login} ---------------------------- revision 5.31 date: 1991/10/28 21:27:49; author: leres; state: Exp; lines: +15 -14 Fix gcc "bodyless for/while" warnings. ---------------------------- revision 5.30 date: 1991/10/27 16:01:10; author: christos; state: Exp; lines: +1 -1 Loops were broken again. (Michael Schroeder's fix) ---------------------------- revision 5.29 date: 1991/08/30 21:23:38; author: christos; state: Exp; lines: +1 -1 Bugfix for loops in aliases. ---------------------------- revision 5.28 date: 1991/07/22 11:46:41; author: christos; state: Exp; lines: +1 -1 comment typos ---------------------------- revision 5.27 date: 1991/07/19 17:30:22; author: christos; state: Exp; lines: +121 -48 stdio based version; brace glob fix; builtin prototypes ---------------------------- revision 5.26 date: 1991/06/08 17:08:34; author: christos; state: Exp; lines: +6 -0 More prototype fixes, Removed TERMIOS define ---------------------------- revision 5.25 date: 1991/06/08 12:20:07; author: bostic; state: Exp; lines: +16 -6 include file pass, csh.h no longer include every .h in the system rename sigmast_t to sigset_t to match signal.h; minor pointer cleanups ---------------------------- revision 5.24 date: 1991/06/07 20:57:09; author: christos; state: Exp; lines: +26 -25 static function prototypes ---------------------------- revision 5.23 date: 1991/06/07 11:13:13; author: bostic; state: Exp; lines: +10 -4 rename all the files (they weren't going to diff anyway) add function prototypes for extern functions, decls.h -> extern.h delete btell function, VFORK #define, lots of other minor cleanups ---------------------------- revision 5.22 date: 1991/06/05 16:33:14; author: christos; state: Exp; lines: +0 -8 Removed -DTELL V6 compatibility flag ---------------------------- revision 5.21 date: 1991/06/04 13:31:08; author: bostic; state: Exp; lines: +932 -743 new version from Christos -- 8-bit clean, lots of bug fixes massive changes, including a pass of indent. ---------------------------- revision 5.20 date: 1991/04/04 18:17:30; author: bostic; state: Exp; lines: +13 -6 new copyright; att/bsd/shared ---------------------------- revision 5.19 date: 1991/04/01 17:37:06; author: bostic; state: Exp; lines: +7 -7 setexit -> setjmp, reset -> longjmp, isdir() -> S_ISDIR, ANSI Prof. Graham requested semantic changes to #defines in sh.h, removing the last vestiges of the PWB/V6 shell ---------------------------- revision 5.18 date: 1991/03/14 12:26:00; author: bostic; state: Exp; lines: +2 -2 copy -> bcopy (more than vax and tahoe now) ---------------------------- revision 5.17 date: 1991/02/25 08:11:49; author: bostic; state: Exp; lines: +2 -1 ANSI fixes ---------------------------- revision 5.16 date: 1991/02/25 07:21:56; author: bostic; state: Exp; lines: +3 -1 ANSI fixess ---------------------------- revision 5.15 date: 1990/11/09 15:50:07; author: bostic; state: Exp; lines: +13 -13 remove vestiges of AT&T shell ---------------------------- revision 5.14 date: 1990/06/30 16:09:29; author: marc; state: Exp; lines: +1 -1 set proc in pgrp before setting terminal ---------------------------- revision 5.13 date: 1989/09/24 16:49:12; author: bostic; state: Exp; lines: +3 -1 POSIX signals ---------------------------- revision 5.12 date: 1989/08/14 18:14:15; author: karels; state: Exp; lines: +0 -18 we've only got one tty discipline now. ---------------------------- revision 5.11 date: 1989/05/08 12:58:09; author: bostic; state: Exp; lines: +1 -1 file system reorg and pathnames.h ---------------------------- revision 5.10 date: 1989/04/02 11:57:52; author: bostic; state: Exp; lines: +1 -2 rest of pathnames ---------------------------- revision 5.9 date: 1989/03/05 22:01:13; author: bostic; state: Exp; lines: +1 -1 add search path names ---------------------------- revision 5.8 date: 1989/02/15 11:06:31; author: bostic; state: Exp; lines: +19 -1 use pathname include files; remove IIASA commands; remove newgrp command; add globall .cshrc, .login, and .logout files; minor cleanups ---------------------------- revision 5.7 date: 1988/12/30 12:09:57; author: bostic; state: Exp; lines: +9 -9 add -m flag for su ---------------------------- revision 5.6 date: 1988/05/19 15:38:34; author: bostic; state: Exp; lines: +1 -1 install C version of _doprnt ---------------------------- revision 5.5 date: 1988/01/20 11:55:40; author: bostic; state: Exp; lines: +4 -0 Bug involving csh and the "source" command; 4.3BSD/bin/115 ---------------------------- revision 5.4 date: 1987/06/25 09:15:07; author: bostic; state: Exp; lines: +5 -4 csh long/int mismatches; bug report 4.3BSD/bin/45 ---------------------------- revision 5.3 date: 1986/03/29 07:16:36; author: lepreau; state: Exp; lines: +3 -0 lint ---------------------------- revision 5.2 date: 1985/06/06 13:10:57; author: edward; state: Exp; lines: +3 -3 cleaning up after bozos ---------------------------- revision 5.1 date: 1985/06/04 10:54:40; author: dist; state: Exp; lines: +8 -2 Add copyright ---------------------------- revision 4.23 date: 1985/03/24 17:09:33; author: edward; state: Exp; lines: +1 -1 check for set group id as well as setuid ---------------------------- revision 4.22 date: 1985/03/19 17:54:38; author: mckusick; state: Exp; lines: +1 -1 load history after sourcing .login file in case .login sets history variable ---------------------------- revision 4.21 date: 1985/01/16 10:29:03; author: edward; state: Exp; lines: +1 -3 can't use environ SHELL as variable shell ---------------------------- revision 4.20 date: 1984/12/13 14:41:53; author: edward; state: Exp; lines: +72 -87 performance ---------------------------- revision 4.19 date: 1984/09/07 15:25:00; author: ralph; state: Exp; lines: +13 -7 added -b flag to force next arg as shell input file for setuid scripts. ---------------------------- revision 4.18 date: 1984/08/31 09:30:33; author: ralph; state: Exp; lines: +23 -27 use new signal calls instead of compatibility routines. ---------------------------- revision 4.17 date: 1984/07/06 22:42:12; author: sam; state: Exp; lines: +6 -2 fix up profiling; correct last hack ---------------------------- revision 4.16 date: 1984/07/06 21:13:45; author: sam; state: Exp; lines: +20 -20 restore prior formatting ---------------------------- revision 4.15 date: 1984/06/06 16:51:07; author: layer; state: Exp; lines: +1 -1 create .history with mode 666 not 777 (should use umask, too, but it doesn't) ---------------------------- revision 4.14 date: 1983/11/02 14:52:35; author: layer; state: Exp; lines: +1 -1 is called with -c, then don't print the prompt ---------------------------- revision 4.13 date: 1983/11/02 13:45:33; author: layer; state: Exp; lines: +23 -15 move the prompt printing stuff to a function (for the filename completion stuff) ---------------------------- revision 4.12 date: 1983/06/11 16:48:49; author: sam; state: Exp; lines: +15 -15 different approach, try signal compatibility package ---------------------------- revision 4.11 date: 1983/06/10 23:58:43; author: sam; state: Exp; lines: +18 -17 new signals; no libjobs; still loses SIGINT by getting it masked sometimes, but we check it in before we lose something ---------------------------- revision 4.10 date: 1983/02/03 09:12:39; author: sam; state: Exp; lines: +1 -1 use high precision time calls ---------------------------- revision 4.9 date: 1982/06/06 13:06:15; author: mckusick; state: Exp; lines: +3 -1 fix to allow shell scripts to run in background ---------------------------- revision 4.8 date: 1982/03/28 18:24:45; author: wnj; state: Exp; lines: +1 -1 signal handling bug fix ---------------------------- revision 4.7 date: 1982/02/17 14:33:00; author: mckusic; state: Exp; lines: +15 -11 only save history if "savehist" is specified ---------------------------- revision 4.6 date: 1982/02/12 15:28:50; author: mckusic; state: Exp; lines: +4 -1 save history if exceed cpu time or file size limits in shell ---------------------------- revision 4.5 date: 1981/11/22 15:38:06; author: mckusic; state: Exp; lines: +2 -1 fix bug with HIST not being reset correctly ---------------------------- revision 4.4 date: 1981/11/19 21:03:32; author: mckusic; state: Exp; lines: +55 -16 add ``history -h >file'' and ``source -h file'' to implement history save and restore. ---------------------------- revision 4.3 date: 1981/08/18 17:00:18; author: mckusic; state: Exp; lines: +24 -4 save history in ~/.history at logout and restore at login ---------------------------- revision 4.2 date: 1981/03/11 18:51:44; author: wnj; state: Exp; lines: +7 -1 minor bug fixes ---------------------------- revision 4.1 date: 1980/10/09 12:40:21; author: bill; state: Exp; Initial revision ---------------------------- ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message