soren
1594850f00
Fix doubled 'the' in comment.
2000-03-13 22:46:59 +00:00
enami
c3a9dd2e8d
- Fix a typo that when group_from_gid is failed (though it merely fails
...
on NetBSD), numeric gid string is used as `user'.
- Don't mix use %u and %d for numeric uid/gid.
- Share temporary buffer.
2000-03-06 11:03:45 +00:00
dbj
00afbd6fd8
name database is kvm.db not kvm_netbsd.db
2000-02-22 06:47:27 +00:00
itohy
f8adf56da0
Cleanup and fix typos.
...
Partially from FreeBSD.
2000-02-17 03:12:22 +00:00
itohy
fae63d9627
Use lseek(2) on devices if not tape drives.
...
This makes listing on raw disk device much faster.
Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:08:40 +00:00
itohy
ba0ae447ef
Fix SIGINFO botch (PR #8868 ).
...
Continue partial write(2) on signals (xwrite()).
Partial read(2) at a few places are also continued (xread()).
Add {read,write}_with_restart() hooks for porting on systems
which don't restart interrupted read()/write() calls.
Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:06:12 +00:00
christos
9fcfbaea4d
Fix problem where commands that caused exitstatus != 0 inside loops did
...
not cause the shell to exit when -e was set.
2000-02-09 20:26:53 +00:00
enami
e91af3b888
Sync wi/ what mdoc.samples(7) says:
...
- The default argument of Ar macro is file ...
- Use or Ap ing.
2000-02-05 11:39:16 +00:00
mjacob
f62ad5baf7
Fix a buglet in the man page: eom spaces to the end of recorded media-
...
not the 'end of the media'.
2000-02-02 06:56:46 +00:00
christos
d6ac7627ea
Fix bin/9184, bin/9194, bin/9265, bin/9266
...
Exitcode and negation problems (From Martin Husemann)
2000-01-27 23:39:38 +00:00
enami
2486935741
Use .Ar macro for argument.
2000-01-25 13:06:51 +00:00
mycroft
f5d7100e26
Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
...
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
mycroft
a3db771521
Oops; remove unused variables.
2000-01-20 02:50:54 +00:00
mycroft
9f93f79f25
Just use setmode(3); don't special-case numeric values.
2000-01-20 02:49:41 +00:00
mycroft
8493d15a0c
Fix a glitch with handling files larger than 2GB.
2000-01-19 18:41:23 +00:00
christos
8b1a601327
Add a -f fflag that makes sure that we only try to read from plain files
...
so that there is no chance to block.
2000-01-15 01:13:15 +00:00
mjl
5a14e8cac6
On memory allocation failure, return 3 as per POSIX. (from OpenBSD)
2000-01-14 07:14:41 +00:00
abs
b1b361cb53
Slightly modified small fixes from Richard Rauch in PR bin/9150
2000-01-09 15:56:37 +00:00
mjl
5a87b7dd81
Add description of FIFOs in long display (was commented out).
2000-01-05 02:54:55 +00:00
kleink
c5d7701cd4
Make this slightly more portable by using putenv().
2000-01-04 14:15:09 +00:00
hubertf
6f51bb4732
make example cut&paste-ready
1999-12-29 04:11:30 +00:00
abs
98b54453f0
Remove duplicate 'string' / 's1' entry
1999-12-17 13:16:44 +00:00
jdolecek
73db9c4db7
fix typo
1999-12-14 17:30:11 +00:00
fredb
f3ac07c89e
Fix CL* purge fallout.
1999-12-05 18:33:28 +00:00
hubertf
b8a04b1a7e
Document -U switch (displays processes belonging to given user/uid).
...
Reported in PR 8943 by WL <wliao@dura.spc.uchicago.edu>
1999-12-04 01:23:09 +00:00
simonb
e7f8f72d9d
Since we have an "extern.h", put all external variable declarations in
...
that file and not sprinkled around various .c files.
1999-12-03 02:26:36 +00:00
simonb
5801c247fa
"ps -e" only shows the environment for the processes owned by the
...
current user id or all process if run by root.
Fixes PR security/5967 from Todd Vierling.
1999-12-03 02:16:41 +00:00
mrg
d246ccddbb
move rcorder to sbin.
1999-11-23 05:28:15 +00:00
lukem
cd9f19a91e
remove crud leftover from import
1999-11-19 09:57:39 +00:00
lukem
7e08da0e21
actually, it was netbsd 1.5
1999-11-19 09:56:28 +00:00
mrg
f439d16c23
this is called rcorder not order.
1999-11-19 06:12:16 +00:00
mrg
21b72d2622
add rcorder
1999-11-19 04:34:45 +00:00
mrg
2074720a4c
fix a WARNS
1999-11-19 04:33:56 +00:00
mrg
9182df6567
rcorder: order dependancies & prerequisites in "rc.d"-style scripts.
...
this tool was written by perry metzger, with a hash library stolen
from make(1), and with prerequisite support and other cleanup by myself.
1999-11-19 04:30:55 +00:00
kristerw
3d173ac8f8
Spelling ("occurences" -> "occurrences")
1999-11-18 19:16:34 +00:00
kleink
cdaf5a7728
Note that the options are extensions.
1999-11-17 22:35:38 +00:00
hubertf
a8bbeb8a4b
Add under which conditions the "read" builtin returns success/failure.
...
Suggested in PR 8813 by Eric Mumpower <nocturne@arepa.com>
1999-11-16 22:03:25 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
jdolecek
83a7edec11
remove debug printf accidentaly left in
1999-11-09 00:01:49 +00:00
jdolecek
3b4b01bddb
in emacs mode, escape the contents of completed word appropriately even
...
in CT_COMPLIST case ("complete and then list (if non-exact)" mode)
Noticed by Soren S. Jorvang <soren@wheel.dk>.
1999-11-08 23:56:41 +00:00
mycroft
e9e9dbbd42
Disable -pf for now, too.
1999-11-07 15:57:31 +00:00
mycroft
5d5e10aec4
Completely disable all the chflags(2) support for now. With this enabled, I
...
can't even get a build to finish over NFS. Not acceptable.
1999-11-07 15:48:24 +00:00
mycroft
39b5cd452c
Don't try to set file flags for a symlink.
1999-11-07 09:44:11 +00:00
jdolecek
7b61cc94ea
Implement (somewhat enhanced) idea stealed from bash:
...
when completing the filename (either in vi mode with vi-tabcomplete on,
or in emacs mode after double esc), escape any shell special characters
and chars from $IFS with backslash - very handy especially when
dealing with filenames containing spaces
The patch has been sent to maintainer, but I haven't got any reply yet even
after about a month :(
1999-11-02 22:06:45 +00:00
tron
c87c6d5c86
Call setlocale(3) to use localization in "ls" as suggested by
...
Jens A Nilsson in PR bin/8730.
1999-11-02 19:44:07 +00:00
tron
64aaf6d18b
Avoid segmenation fault if an external command is invoked in parse only
...
mode. Problem noted by Josh Lynch PR bin/8732.
1999-11-02 19:35:44 +00:00
mrg
14c29acc41
whoops; reverse the logic of the previous to make it correct. noted by mycroft.
1999-11-01 17:13:27 +00:00
mrg
058c411cdd
add CAF testing to extraction, archiving and listing (where it is used)
1999-11-01 16:46:52 +00:00
mrg
b60cafe2fb
add a new -p subflag: 'f' to preserve 4.4BSD fileflags. this only
...
really works for `pax -rw' but that's where it is most useful.
1999-11-01 01:35:58 +00:00
is
e413a4ff50
Implement positional -C argument to tar.
1999-10-22 20:59:08 +00:00