X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0f4556f12c8f75078501c9d1338ae7648a97f975..95f51977ddc18faa2e212f30c00a39540b39f325:/usr/src/bin/csh/sh.local.h diff --git a/usr/src/bin/csh/sh.local.h b/usr/src/bin/csh/sh.local.h index 5d9b011f06..aca92a230e 100644 --- a/usr/src/bin/csh/sh.local.h +++ b/usr/src/bin/csh/sh.local.h @@ -1,5 +1,10 @@ -/* sh.local.h 4.3 12/30/82 */ -/* sh.local.h 4.1 10/9/80 */ +/* + * Copyright (c) 1980 Regents of the University of California. + * All rights reserved. The Berkeley Software License Agreement + * specifies the terms and conditions for redistribution. + * + * @(#)sh.local.h 5.2 (Berkeley) 6/6/85 + */ /* * This file defines certain local parameters @@ -13,39 +18,34 @@ * BUFSIZ The i/o buffering size; also limits word size * SHELLPATH Where the shell will live; initalizes $shell * MAILINTVL How often to mailcheck; more often is more expensive - * HZ Cycle of ac power * OTHERSH Shell for scripts which don't start with # */ #define BUFSIZ 1024 /* default buffer size */ -#define HZ 100 /* for division into seconds */ #define SHELLPATH "/bin/csh" #define OTHERSH "/bin/sh" #define FORKSLEEP 10 /* delay loop on non-interactive fork failure */ #define MAILINTVL 600 /* 10 minutes */ -/* - * NCARGS and NOFILE are from which we choose not - * to wholly include - */ -#define NCARGS 10240 /* Max. chars in an argument list */ - /* * The shell moves std in/out/diag and the old std input away from units * 0, 1, and 2 so that it is easy to set up these standards for invoked - * commands. If possible they should go into descriptors closed by exec. + * commands. */ -#define NOFILE 20 /* Max number of open files */ #define FSHTTY 15 /* /dev/tty when manip pgrps */ #define FSHIN 16 /* Preferred desc for shell input */ #define FSHOUT 17 /* ... shell output */ #define FSHDIAG 18 /* ... shell diagnostics */ #define FOLDSTD 19 /* ... old std input */ -#define V7 - #ifdef IIASA -#undef HZ -#define HZ 60 #undef OTHERSH #endif + +#ifdef vax +#define copy(to, from, size) bcopy(from, to, size) +#endif + +#ifdef PROF +#define exit(n) done(n) +#endif