RCS ID Police

This commit is contained in:
tls 1997-01-12 19:11:37 +00:00
parent 3e345f741d
commit 2ab2e20cff
52 changed files with 117 additions and 17 deletions

View File

@ -1,3 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/01/12 19:11:37 tls Exp $
CFLAGS+= -DHAVE_CONFIG_H -I.
PROG= ksh

View File

@ -1,3 +1,5 @@
/* $NetBSD: alloc.c,v 1.2 1997/01/12 19:11:38 tls Exp $
/*
* area-based allocation built on malloc/free
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: c_ksh.c,v 1.2 1997/01/12 19:11:38 tls Exp $ */
/*
* built-in Korn commands: c_*
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: c_sh.c,v 1.2 1997/01/12 19:11:40 tls Exp $ */
/*
* built-in Bourne commands
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: c_test.c,v 1.2 1997/01/12 19:11:40 tls Exp $ */
/*
* test(1); version 7-like -- author Erik Baalbergen
* modified by Eric Gisin to be used as built-in.

View File

@ -1,3 +1,5 @@
/* $NetBSD: c_test.h,v 1.2 1997/01/12 19:11:41 tls Exp $ */
/* Various types of operations. Keeping things grouped nicely
* (unary,binary) makes switch() statements more efficeint.
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: c_ulimit.c,v 1.2 1997/01/12 19:11:42 tls Exp $ */
/*
ulimit -- handle "ulimit" builtin

View File

@ -1,7 +1,9 @@
/* $NetBSD: conf-end.h,v 1.2 1997/01/12 19:11:43 tls Exp $ */
/*
* End of configuration stuff for PD ksh.
*
* RCSid: $Id: conf-end.h,v 1.1.1.1 1996/09/21 23:35:13 jtc Exp $
* RCSid: $NetBSD: conf-end.h,v 1.2 1997/01/12 19:11:43 tls Exp $
*/
#if defined(EMACS) || defined(VI)

View File

@ -1,3 +1,5 @@
/* $NetBSD: config.h,v 1.4 1997/01/12 19:11:44 tls Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/*

View File

@ -1,3 +1,5 @@
/* $NetBSD: edit.c,v 1.2 1997/01/12 19:11:44 tls Exp $ */
/*
* Command line editing - common code
*

View File

@ -1,3 +1,5 @@
/* $NetBSD: edit.h,v 1.2 1997/01/12 19:11:45 tls Exp $ */
/* NAME:
* edit.h - globals for edit modes
*
@ -8,7 +10,7 @@
*
*
* RCSid:
* $Id: edit.h,v 1.1.1.1 1996/09/21 23:35:14 jtc Exp $
* $NetBSD: edit.h,v 1.2 1997/01/12 19:11:45 tls Exp $
*
*/

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $NetBSD: emacs-gen.sh,v 1.2 1997/01/12 19:11:46 tls Exp $
case $# in
1) file=$1;;

View File

@ -1,3 +1,5 @@
/* $NetBSD: emacs.c,v 1.2 1997/01/12 19:11:47 tls Exp $ */
/*
* Emacs-like command line editing and history
*

View File

@ -1,3 +1,5 @@
/* $NetBSD: eval.c,v 1.2 1997/01/12 19:11:48 tls Exp $ */
/*
* Expansion - quoting, separation, substitution, globbing
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: exec.c,v 1.2 1997/01/12 19:11:49 tls Exp $ */
/*
* execute command tree
*/

View File

@ -1,7 +1,9 @@
/* $NetBSD: expand.h,v 1.2 1997/01/12 19:11:51 tls Exp $ */
/*
* Expanding strings
*/
/* $Id: expand.h,v 1.1.1.1 1996/09/21 23:35:14 jtc Exp $ */
/* $NetBSD: expand.h,v 1.2 1997/01/12 19:11:51 tls Exp $ */
#if 0 /* Usage */

View File

@ -1,3 +1,5 @@
/* $NetBSD: expr.c,v 1.2 1997/01/12 19:11:51 tls Exp $ */
/*
* Korn expression evaluation
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: history.c,v 1.2 1997/01/12 19:11:52 tls Exp $ */
/*
* command history
*

View File

@ -1,3 +1,5 @@
/* $NetBSD: io.c,v 1.2 1997/01/12 19:11:53 tls Exp $ */
/*
* shell buffered IO and formatted output
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: jobs.c,v 1.2 1997/01/12 19:11:55 tls Exp $ */
/*
* Process and job control
*/

View File

@ -1,3 +1,5 @@
.\" $NetBSD: ksh.1,v 1.2 1997/01/12 19:11:57 tls Exp $
.\"
'\" t
.\"{{{}}}
.\"{{{ Notes about man page

View File

@ -1,5 +1,7 @@
/* $NetBSD: ksh_dir.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
/* Wrapper around the ugly dir includes/ifdefs */
/* $Id: ksh_dir.h,v 1.1.1.1 1996/09/21 23:35:14 jtc Exp $ */
/* $NetBSD: ksh_dir.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
#if defined(HAVE_DIRENT_H)
# include <dirent.h>

View File

@ -1,5 +1,7 @@
/* $NetBSD: ksh_limval.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
/* Wrapper around the values.h/limits.h includes/ifdefs */
/* $Id: ksh_limval.h,v 1.1.1.1 1996/09/21 23:35:14 jtc Exp $ */
/* $NetBSD: ksh_limval.h,v 1.2 1997/01/12 19:11:59 tls Exp $ */
#ifdef HAVE_VALUES_H
# include <values.h>

View File

@ -1,5 +1,7 @@
/* $NetBSD: ksh_stat.h,v 1.2 1997/01/12 19:12:00 tls Exp $ */
/* Wrapper around the ugly sys/stat includes/ifdefs */
/* $Id: ksh_stat.h,v 1.1.1.2 1996/10/09 15:12:43 jtc Exp $ */
/* $NetBSD: ksh_stat.h,v 1.2 1997/01/12 19:12:00 tls Exp $ */
/* assumes <sys/types.h> already included */
#include <sys/stat.h>

View File

@ -1,8 +1,10 @@
/* $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
#ifndef KSH_TIME_H
# define KSH_TIME_H
/* Wrapper around the ugly time.h,sys/time.h includes/ifdefs */
/* $Id: ksh_time.h,v 1.1.1.2 1996/10/09 15:12:44 jtc Exp $ */
/* $NetBSD: ksh_time.h,v 1.2 1997/01/12 19:12:01 tls Exp $ */
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>

View File

@ -1,3 +1,5 @@
/* $NetBSD: ksh_times.h,v 1.2 1997/01/12 19:12:02 tls Exp $ */
#ifndef KSH_TIMES_H
# define KSH_TIMES_H

View File

@ -1,5 +1,7 @@
/* $NetBSD: ksh_wait.h,v 1.2 1997/01/12 19:12:03 tls Exp $ */
/* Wrapper around the ugly sys/wait includes/ifdefs */
/* $Id: ksh_wait.h,v 1.1.1.1 1996/09/21 23:35:15 jtc Exp $ */
/* $NetBSD: ksh_wait.h,v 1.2 1997/01/12 19:12:03 tls Exp $ */
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>

View File

@ -1,3 +1,5 @@
/* $NetBSD: lex.c,v 1.2 1997/01/12 19:12:04 tls Exp $ */
/*
* lexical analysis and source input
*/

View File

@ -1,8 +1,10 @@
/* $NetBSD: lex.h,v 1.2 1997/01/12 19:12:05 tls Exp $ */
/*
* Source input, lexer and parser
*/
/* $Id: lex.h,v 1.1.1.3 1996/10/09 15:29:20 jtc Exp $ */
/* $NetBSD: lex.h,v 1.2 1997/01/12 19:12:05 tls Exp $ */
#define IDENT 64

View File

@ -1,3 +1,5 @@
/* $NetBSD: mail.c,v 1.2 1997/01/12 19:12:06 tls Exp $ */
/*
* Mailbox checking code by Robert J. Gibson, adapted for PD ksh by
* John R. MacMillan

View File

@ -1,3 +1,5 @@
/* $NetBSD: main.c,v 1.2 1997/01/12 19:12:07 tls Exp $ */
/*
* startup, main loop, enviroments and error handling
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: misc.c,v 1.2 1997/01/12 19:12:08 tls Exp $ */
/*
* Miscellaneous functions
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: path.c,v 1.2 1997/01/12 19:12:09 tls Exp $ */
#include "sh.h"
#include "ksh_stat.h"
@ -12,6 +14,9 @@
/*
* $Log: path.c,v $
* Revision 1.2 1997/01/12 19:12:09 tls
* RCS ID Police
*
* Revision 1.1.1.1 1996/09/21 23:35:15 jtc
* import pdksh 5.2.8
*

View File

@ -1,7 +1,9 @@
/* $NetBSD: proto.h,v 1.2 1997/01/12 19:12:10 tls Exp $ */
/*
* prototypes for PD-KSH
* originally generated using "cproto.c 3.5 92/04/11 19:28:01 cthuang "
* $Id: proto.h,v 1.1.1.2 1996/12/18 04:50:31 jtc Exp $
* $NetBSD: proto.h,v 1.2 1997/01/12 19:12:10 tls Exp $
*/
/* alloc.c */

View File

@ -1,8 +1,10 @@
/* $NetBSD: sh.h,v 1.2 1997/01/12 19:12:12 tls Exp $ */
/*
* Public Domain Bourne/Korn shell
*/
/* $Id: sh.h,v 1.1.1.2 1996/10/09 15:12:52 jtc Exp $ */
/* $NetBSD: sh.h,v 1.2 1997/01/12 19:12:12 tls Exp $ */
#include "config.h" /* system and option configuration info */

View File

@ -1,3 +1,5 @@
/* $NetBSD: shf.c,v 1.2 1997/01/12 19:12:13 tls Exp $ */
/*
* Shell file I/O routines
*/

View File

@ -1,7 +1,9 @@
/* $NetBSD: shf.h,v 1.2 1997/01/12 19:12:14 tls Exp $ */
/*
* Shell file I/O routines
*/
/* $Id: shf.h,v 1.1.1.1 1996/09/21 23:35:15 jtc Exp $ */
/* $NetBSD: shf.h,v 1.2 1997/01/12 19:12:14 tls Exp $ */
#define SHF_BSIZE 512

View File

@ -1,3 +1,5 @@
/* $NetBSD: sigact.c,v 1.2 1997/01/12 19:12:15 tls Exp $ */
/* NAME:
* sigact.c - fake sigaction(2)
*

View File

@ -1,3 +1,5 @@
/* $NetBSD: sigact.h,v 1.2 1997/01/12 19:12:16 tls Exp $ */
/* NAME:
* sigact.h - sigaction et al
*
@ -20,7 +22,7 @@
*/
/*
* RCSid:
* $Id: sigact.h,v 1.1.1.1 1996/09/21 23:35:15 jtc Exp $
* $NetBSD: sigact.h,v 1.2 1997/01/12 19:12:16 tls Exp $
*/
/* Changes to sigact.h for pdksh, Michael Rendell <michael@cs.mun.ca>:
* - changed SIG_HDLR to RETSIGTYPE for use with GNU autoconf

View File

@ -1,3 +1,4 @@
# $NetBSD: siglist.in,v 1.2 1997/01/12 19:12:17 tls Exp $
#
# List of signals used to initialize ksh's signal table (see trap.c
# and siglist.sh).

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: siglist.sh,v 1.2 1997/01/12 19:12:18 tls Exp $
#
# Script to generate a sorted, complete list of signals, suitable
# for inclusion in trap.c as array initializer.

View File

@ -1,3 +1,5 @@
/* $NetBSD: syn.c,v 1.2 1997/01/12 19:12:19 tls Exp $ */
/*
* shell parser (C version)
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: table.c,v 1.2 1997/01/12 19:12:20 tls Exp $ */
/*
* dynamic hashed associative table for commands and variables
*/

View File

@ -1,4 +1,4 @@
/* $Id: table.h,v 1.1.1.2 1996/12/18 04:50:42 jtc Exp $ */
/* $NetBSD: table.h,v 1.2 1997/01/12 19:12:21 tls Exp $ */
/*
* generic hashed associative table for commands and variables.

View File

@ -1,3 +1,5 @@
/* $NetBSD: trap.c,v 1.2 1997/01/12 19:12:22 tls Exp $ */
/*
* signal handling
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: tree.c,v 1.2 1997/01/12 19:12:23 tls Exp $ */
/*
* command tree climbing
*/

View File

@ -1,8 +1,10 @@
/* $NetBSD: tree.h,v 1.2 1997/01/12 19:12:23 tls Exp $ */
/*
* command trees for compile/execute
*/
/* $Id: tree.h,v 1.1.1.1 1996/09/21 23:35:17 jtc Exp $ */
/* $NetBSD: tree.h,v 1.2 1997/01/12 19:12:23 tls Exp $ */
#define NOBLOCK ((struct op *)NULL)
#define NOWORD ((char *)NULL)

View File

@ -1,3 +1,5 @@
/* $NetBSD: tty.c,v 1.2 1997/01/12 19:12:24 tls Exp $ */
#include "sh.h"
#include "ksh_stat.h"
#define EXTERN

View File

@ -1,3 +1,5 @@
/* $NetBSD: tty.h,v 1.2 1997/01/12 19:12:25 tls Exp $ */
/*
tty.h -- centralized definitions for a variety of terminal interfaces
@ -8,7 +10,7 @@
last edit: 30-Jul-1987 D A Gwyn
*/
/* $Id: tty.h,v 1.1.1.2 1996/12/18 04:50:47 jtc Exp $ */
/* $NetBSD: tty.h,v 1.2 1997/01/12 19:12:25 tls Exp $ */
/* some useful #defines */
#ifdef EXTERN

View File

@ -1,3 +1,5 @@
/* $NetBSD: var.c,v 1.2 1997/01/12 19:12:26 tls Exp $ */
#include "sh.h"
#include "ksh_time.h"
#include "ksh_limval.h"

View File

@ -1,3 +1,5 @@
/* $NetBSD: version.c,v 1.2 1997/01/12 19:12:27 tls Exp $ */
/*
* value of $KSH_VERSION (or $SH_VERSION)
*/

View File

@ -1,3 +1,5 @@
/* $NetBSD: vi.c,v 1.2 1997/01/12 19:12:28 tls Exp $ */
/*
* vi command editing
* written by John Rochester (initially for nsh)