jtc
68a63eb204
Use errx() instead of err() to report failure of kvm_getprocs() call,
...
as errno doesn't have a meaningful value in this case. Reported by
Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2289 .
1996-04-08 21:32:05 +00:00
jtc
7423e425f2
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
...
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
This change is not strictly necessary, as these files are only used to
test yacc. But I could not think of any compelling reason not to make
these change when everything else in the source tree was updated.
1996-04-08 19:10:47 +00:00
jtc
cf957d3a75
Changed to use 1900 + tm_year instead of hardcoding "19" as the century.
...
From PR #2308 by Stephen J. Roznowski <sjr@zombie.ncsc.mil>.
1996-04-08 18:57:49 +00:00
thorpej
69aab31531
RCS Id police.
1996-04-06 06:00:58 +00:00
cgd
acf9d62a7b
update for the fact that 'allevents' is now a TAILQ.
1996-04-04 00:27:50 +00:00
mark
e184b31e47
Include arm32.h when required.
1996-04-01 21:54:06 +00:00
mark
9384681ff5
Initial commit of the machine dependant gprof files for the arm32 port.
1996-04-01 21:51:22 +00:00
mark
dad2775914
Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for the arm32 port.
1996-04-01 21:47:57 +00:00
mark
6acb166069
Provide a read_names() function for the arm32 port.
1996-04-01 21:45:25 +00:00
mark
d786999078
Use an integer instead of a char to store the getopt() return value in
...
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:43:53 +00:00
mark
f8fcb56bce
Use an integer instead of a char to store the getopt() return value in
...
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:31:33 +00:00
mark
57472e9fbc
Added information about NetBSD/arm32 executables.
1996-04-01 21:29:51 +00:00
christos
c7f6ddc626
make emalloc and erealloc return void *; closes PR/2276
1996-03-31 21:30:05 +00:00
jtc
fea2f4c4ca
Added erealloc() function that calls enomem() if the allocation fails
...
(this is like the existing emalloc() function). Changed all realloc()
calls to erealloc().
1996-03-29 02:17:13 +00:00
mrg
65e7d88ab1
cast realloc() calls to shutup c++ warnings
1996-03-25 00:36:18 +00:00
jtk
d03349ad69
sync up with domestic fixes
1996-03-24 22:03:48 +00:00
jtc
cac62b2d65
Be pedantic, main() returns int in C.
1996-03-21 17:56:15 +00:00
tls
da9420b27e
Add FreeBSD object files; close out pr#1719
1996-03-20 08:20:21 +00:00
jtc
62bdd99390
Sync with 4.4lite2
1996-03-19 03:21:27 +00:00
jtc
e758ad3dac
imported from 44lite2
1996-03-19 02:06:46 +00:00
jtc
8f3d20ea80
Added `extern "C"' to getenv() declaration when compiling with C++.
1996-03-19 01:59:27 +00:00
jtc
e6ec329595
Fix typo. From Masanobu Saitoh in PR #2197 .
1996-03-18 23:16:57 +00:00
ragge
d05395713d
Removed a couple of #ifdef vax causing systat to malfunction.
1996-03-15 22:19:23 +00:00
christos
0acf990595
Add PHONY attribute and target. This is the first step to cleanup the
...
xinstall and xlint crud.
1996-03-15 21:52:32 +00:00
christos
6750270dc6
data and date aren't the same...
1996-03-12 18:04:27 +00:00
mrg
3bf34254eb
fix stdin-missing-paren-in-prompt bug. pr#2158 from enami tsugutomo
1996-03-12 05:15:24 +00:00
christos
57cad0d107
Jonathan Stone's fixes:
...
main.c: Remove double include of <sys/resource.h>; if MACHINE is defined, use
that instead of uname.
Makefile: Add util.c.
1996-03-11 13:45:31 +00:00
thorpej
ab5476b242
Only build exportable telnet/libtelnet if the domestic version doesn't
...
exist in the source tree or defined(EXPORTABLE_SYSTEM). This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place. (XXX)
1996-03-10 05:45:38 +00:00
jtc
95151c4196
unused file
1996-03-07 06:52:51 +00:00
christos
9779dee0b1
Fix PR/2118; apply sysincludes patch.
1996-03-06 00:15:17 +00:00
jtc
27cbf79a35
define YYLEX and YYEMPTY macros, as expected by some parsers written for bison
1996-03-05 01:07:55 +00:00
phil
e496287dfc
Add processing of "%expect num".
1996-03-05 00:33:19 +00:00
thorpej
c5f7cf3a9e
RCS id police.
1996-03-03 17:21:25 +00:00
mrg
aca9ab527c
do not complain about missing terminal attributes in more mode
1996-02-29 07:20:55 +00:00
mrg
9db49696aa
turn on -f (force open of non-regular files) in more mode.
1996-02-29 06:54:06 +00:00
thorpej
077a490a9f
RCS id cosmetics.
1996-02-28 21:03:49 +00:00
jtc
088d06a21e
use const qualifer for crctab
1996-02-27 21:29:53 +00:00
cgd
a0a5237453
what's the point of having prototypes if they're not actually _used_
...
in the appropriate places? include extern.h in these files, and fix
up the bugs that its inclusion uncovered.
1996-02-27 21:17:25 +00:00
jtk
bf9897158a
put back in a change I accidentally dropped from telnet.95.10.23
1996-02-24 20:02:02 +00:00
jtk
0058997e19
restore last of the lost local changes.
1996-02-24 18:43:37 +00:00
jtk
07f5d8ea64
replace another lost change: "help" is a valid hostname.
1996-02-24 18:33:50 +00:00
jtk
42a670f945
restore local change mistakenly overrun in import of 95.10.23
...
telnet--keep track of a client-side close and just turn off one
direction of the socket; keep running until server side closes down too.
1996-02-24 07:32:00 +00:00
jtk
583a8146a9
update to 95.10.23 version of telnet
...
also, RCS ID police
1996-02-24 01:18:25 +00:00
mrg
5aaba7ba7b
turn on -G in more mode (no search highlight). discovered by cgd
1996-02-21 00:39:16 +00:00
fvdl
beb0929ea8
Fix NFS include files; sync with Lite2
1996-02-20 16:04:47 +00:00
jtc
f2a05c8ae1
USE_OLD_TTY no longer needed
1996-02-20 00:14:43 +00:00
jtc
6f400e259c
made cmdtab const
1996-02-19 21:54:32 +00:00
pk
8f3621c4b6
Convey rpcgen's version into generated header files. This allows programs
...
to contain support for previous (and future) versions of rpcgen.
[ Note: the current version generates some function prototype templates
differently from rpcgen pre-dating June 1995.
]
1996-02-19 11:12:43 +00:00
fvdl
aa58cf9320
Bring in NFSv3 code by Rick Macklem (from Lite2).
1996-02-18 12:02:00 +00:00
christos
1b11cdf58d
if PR/2090, sysvinclude too optimistic, did not check for space after the
...
include keyword
1996-02-17 13:28:09 +00:00
cgd
faf2b8bb49
since we're going to use the mem*() functions, we need them prototyped
...
so that the return types work right on the Alpha.
1996-02-16 03:08:39 +00:00
tls
ebe345eab2
I seem to have forgotten to commit the patch in PR1608 when I closed it. Fix VLNEXT handling.
1996-02-15 00:59:16 +00:00
ghudson
bd8bd7340f
Don't rely on select() not to modify the timeval argument. Also,
...
simplify the code by passing in NULL rather than an empty fd_set to
indicate no file descriptors.
1996-02-13 16:49:10 +00:00
mycroft
b4a40b06a9
Make ww_index and related variables explicitly unsigned.
1996-02-08 21:48:51 +00:00
mycroft
c5f36c1ce7
Compress struct ww somewhat.
1996-02-08 21:07:57 +00:00
mycroft
486a2f1ade
Minor cleanup for 8-bit cleanliness. From der Mouse, PR 1322.
...
Eliminate the use of char variables for holding booleans.
1996-02-08 20:44:57 +00:00
mycroft
1a97a35609
Fix off-by-one error in checking field numbers. From der Mouse, PR 1356.
1996-02-08 18:24:16 +00:00
thorpej
fb02474c1f
In ParseDoInclude(), make a temporary copy of the current file name
...
while searching for ""-type include files, since the current file name
might not be a writeable string.
1996-02-07 23:04:04 +00:00
christos
8862d696fa
fix pr/1421 and pr/1997
1996-02-04 22:20:27 +00:00
christos
b941a324f5
Support SVR4 style archives.
1996-02-04 20:34:41 +00:00
mrg
dc8adb9e7c
don't warn about missing files with -s. POSIX doesn't define a specific
...
action, and, most other implimentations use this (sane) method. (from jtc).
1996-02-01 03:32:41 +00:00
jtc
0366d49b2d
Fixed to use ffs instead of ufs; See PR #1790 , etc.
1996-02-01 02:33:52 +00:00
jtc
dd05bd5124
Rename struct timespec fields to conform to POSIX.1b
1996-02-01 00:04:52 +00:00
mycroft
d4b276c3d5
Update to match kernel.
1996-01-31 04:01:48 +00:00
thorpej
9ceb2e3fc2
Disks now share a common interface for "unlock" and "eject". Teach
...
eject(1) how to use it. There is now a single eject_disk() rather
than eject_floppy(), eject_cdrom(), etc.
1996-01-30 18:35:47 +00:00
mrg
b8842d3846
don't emit ti/te sequences where they will cause lossage
1996-01-22 20:36:07 +00:00
mrg
74c88ac929
alter description for -d to match reality
1996-01-22 20:36:02 +00:00
mrg
a6fe8f7e38
more is less.
...
less is more.
QED.
1996-01-22 10:08:31 +00:00
mrg
9b6032417d
finished implimentation of more's -d switch
1996-01-22 05:38:24 +00:00
mrg
0048551bc4
more -> less
1996-01-22 04:07:22 +00:00
mrg
b53f5a6212
initial import of less290
1996-01-22 03:14:17 +00:00
mycroft
4b28075484
Add a `-q' option, to be quiet about cycles. From der Mouse, PR 1204.
1996-01-17 20:37:49 +00:00
pk
ca1b8e8285
Add capability to read archives (from Thomas Eberhardt; PR#497).
1996-01-14 23:07:11 +00:00
pk
16060cce1f
Use err() & warn().
1996-01-14 23:04:03 +00:00
thorpej
b62a077e9a
Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
...
in PR #1113 .
1996-01-14 03:52:44 +00:00
pk
e09468dc31
Handle multichar comment and quote delimiters (up to 5 characters, per the
...
manual page). Takes care of PR#485.
1996-01-13 23:25:23 +00:00
pk
9151edd345
Fetch `-p' documentation from a previous version of the man page.
1996-01-09 22:36:19 +00:00
pk
94f289c7bb
Fix formatting of timestamp (Mike Grupenhoff; PR#1906).
1996-01-07 00:48:24 +00:00
tls
5a03ea3e48
contrary to unpopular opinion, 'help' is a perfectly valid hostname.
1996-01-05 04:19:30 +00:00
tls
a3e32ad737
and once more, courtesy of CVS being weird.
1996-01-04 22:32:15 +00:00
tls
e0dccd2ef1
oops, accidentally commited krb version on last change -- delete what isn't supposed to be there any more
1996-01-04 22:28:21 +00:00
tls
aaffe4da8f
typo in last commit
1996-01-04 22:25:50 +00:00
jtc
76450a80cf
merge in change accidently made to release branch
1996-01-04 18:25:47 +00:00
tls
f53c6669e7
fix incorrect prototypes for krb functions. I think some of the fixing is ultimately going to have to be done in the functions themselves again -- the Young libdes thinks some functions take *C_Block where the MIT one just takes C_Block.
1996-01-04 17:19:43 +00:00
thorpej
4e1c709e0c
Make tn3270 compile again, from Lennart Augustsson <augustss@cs.chalmers.se>
...
in PR #1873 .
1996-01-01 02:16:34 +00:00
jonathan
c82a4ed224
Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
...
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c. (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
mycroft
7c55315acb
We don't need non-blocking mode without SIGIO.
1995-12-21 11:05:58 +00:00
mycroft
0c627dfad5
Eliminate the use of SIGIO, and some other cleanup.
1995-12-21 10:45:28 +00:00
mycroft
02fedf5cab
Use POSIX signals. Always set FNONBLOCK on the tty.
1995-12-21 08:39:50 +00:00
mycroft
52b61da0eb
Our VMIN works fine.
1995-12-21 05:24:49 +00:00
jonathan
bdb182a2cc
Change xinstall to work with strip from GNU binutils, for mips and alpha ports.
...
When using a strip that uses a temp file and moves that to the target,
unlinking the original, install would set the modes of the
original (now unlinked) file, not the new stripped one.
Fixed by re-opening the fd used for fchown/chmod after stripping.
1995-12-20 10:25:17 +00:00
cgd
3beadd2412
don't forget to remove the _symbol_ temp file.
1995-12-20 04:45:11 +00:00
jonathan
3716ffd555
Use GNU-binutils friendly lorder script on mips as well as alpha.
1995-12-18 07:59:12 +00:00
jonathan
39890661ee
Eliminate separate invocation of nm for each .o file on command line.
...
Add check for dependencies introduced by symbol types 'G' (mips gp-relative
constant pool) and 'R' (readonly data).
1995-12-18 07:45:17 +00:00
jonathan
96d023c99d
Fix pmax read_names() to compile with updated (release 1.1) names for
...
pmax device-driver structures.
1995-12-17 05:30:05 +00:00
jonathan
9b69a8f7e5
Add PTRDIFF_IS_LONG and SIZEOF_IS_ULONG config entries for (32-bit) mips.
1995-12-17 02:53:11 +00:00
christos
f0874be2f5
- Added .WAIT to synchronize between sources like other pmake variants.
...
- Updated documentation to include .ORDER .PARALLEL .NO_PARALLEL .NONPARALLEL
1995-12-16 05:03:09 +00:00
cgd
ff5fc3cf84
delete bogus declaration of abort() and include stdlib.h, so that this
...
compiles w/o warning.
1995-12-11 23:22:09 +00:00
jtc
0076a482bb
fix typo
1995-12-05 03:33:39 +00:00
jtc
7439a63b22
Rename uuencode.format(5) to uuencode(5) as recommended by PR #1786
1995-12-05 03:02:31 +00:00