Commit Graph

9923 Commits

Author SHA1 Message Date
wiz
fb73034467 Sort SEE ALSO.
Remove unnecessary Bk/Ek in SYNOPSIS.
2008-09-05 09:05:13 +00:00
lukem
b5b5e891d4 crank to WARNS=4 2008-09-05 07:56:07 +00:00
lukem
68089bcfee Add -P pagesize, to tune the btree psize and hash bsize.
Set to 0 to let the system choose (based on st_blksize of the file)
Defaults to 4096.
2008-09-05 07:55:33 +00:00
lukem
0e22f8f32f Support -Th (VIS_HTTPSTYLE) when -U decoding key/value for delete or write 2008-09-05 05:04:40 +00:00
lukem
081a7c3db2 Fix -N so that it sets O_TRUNC in the flags to pass to dbopen(3)
and not the flags used by db(1) to control internal behaviour.
2008-09-05 03:41:35 +00:00
lukem
82ec76f4db Support -Th to enable VIS_HTTPSTYLE.
Expand description of -T so there's less need to consult
both vis(1) and strvis(3) to determine what the characters mean.
2008-09-04 09:54:56 +00:00
drochner
316dc7a8ab Support -the "-A addressformat" flag for od(1), from FreeBSD.
(I found a script which tries to figure out the byteorder of a box
by "od -An | grep", but it is POSIX anyway.)
There is a little behavioural change: The whitespace without any arguments
is like "-to2" now; before it was custom. It's not worse imho.
2008-09-03 16:32:57 +00:00
christos
369f880abf disable completely. 2008-09-02 09:26:55 +00:00
christos
fb5e0a80e2 Add docs back the best way we can:
1. Don't add changelog and other implementation specific nvi files because
   this have changed from 1.79 and are probably not relevant in 1.81
2. Put back virecover.
3. Descend regularly to subdirs instead of Makefile hacks
4. Use USD.doc stuff from the 1.81 docs except for vi.ref which has
   unfortunately been converted to texinfo. For that, we preserve
   the original documents because we want to still be able to make
   section 13 (building texinfo is not acceptable because it will not
   have the same look and feel as the rest of the book)
5. Since the texinfo reference is probably better maintained, build
   that too as a texinfo document.
2008-09-02 09:25:39 +00:00
dholland
0a268c3ebf Fix description of %b format. PR 39111 from Paul Goyette. 2008-09-01 09:20:41 +00:00
christos
19656dada9 For now descend into old vi for virecover and doc. Unfortunately the
new vi vi.ref is now texinfo and our makeinfo is too old to deal with it.
2008-08-31 12:09:48 +00:00
christos
0d6bb61e85 nvi is now default 2008-08-31 05:17:31 +00:00
christos
45ee307f3b no more magic.mime 2008-08-30 12:25:41 +00:00
cube
baebbcf71a Bump CONFIG_VERSION after the previous fix to main.c. 2008-08-30 02:59:55 +00:00
cube
8e3d873278 In find_declared_option, use the correct hash for file-systems. That way,
information about dependencies are actually processed.
2008-08-30 02:57:42 +00:00
gmcgarry
15631ee3b4 Undefine __PCC__ the same as __GNUC__ inside lint. 2008-08-29 00:44:48 +00:00
gmcgarry
3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
mrg
8cdb9d89bb don't parse $LESS env-var in more_mode. (also, don't parse $LESS twice
in non more_mode.)
2008-08-28 07:20:20 +00:00
gmcgarry
6745125758 Remove old pcc reachover build now that pcc and its libraries are built from
src/external/bsd/pcc.
2008-08-27 12:28:14 +00:00
christos
6677e30757 add the ability to have non widechar build, with USE_WIDECHAR=no
On i386:
vi		308685
nvi.nonwide	296856
nvi.wide	340860
2008-08-27 10:17:49 +00:00
christos
80a5932343 setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko 2008-08-27 08:56:49 +00:00
christos
d430a181cb - don't compile with debugging on
- split the wide regex options in preparation for a non-wide build.
2008-08-27 05:42:54 +00:00
lukem
c063e13c21 Repeat after me:
* define NOfoo before .including <bsd.own.mk> or anything else that
   might (indirectly) .include it, not after.
 * defining MKfoo=no isn't what Makefiles are supposed to do
(yes, both mistakes were present :)
2008-08-26 12:15:53 +00:00
lukem
7cf6380198 "-indent" isn't a valid directive to .Bl, and "-offset indent" didn't
seem consistent with other man pages.  Remove it.
2008-08-26 12:12:58 +00:00
wiz
8ff1fd42f2 Correction for previous from dillo: it is a backquote, not a single quote. 2008-08-25 09:36:24 +00:00
wiz
affdbfea59 Explicitly mention that it is the single quote character, to unconfuse joerg. 2008-08-23 16:32:50 +00:00
he
cef17755f2 Restore the "pages actige" and "pages inactive" value printouts
in "vmstat -s" output when run on the active kernel.

The reason we can't easily provide these values out of a crash
dump, is that these fields are no longer proper members of
struct uvmexp, but rather are estimated by and dependent on
the currently active page replacement policy in the kernel.
2008-08-20 18:51:49 +00:00
reed
b63f4fe587 Fix birth year for Meriwether Lewis.
Also add who he is.

(Why does this "birthday" file have deaths in it?)
2008-08-18 15:11:42 +00:00
dholland
81b964b825 Avoid dumping core on bad options. 2008-08-18 02:12:35 +00:00
gmcgarry
38c13341d1 Dont build atf tools with (${MKATF} == no). 2008-08-16 23:59:45 +00:00
wiz
5c6f9cb082 Fix typo in Dd argument. 2008-08-15 21:10:57 +00:00
apb
b1dd3534e7 For binary controls, ++ and -- toggle between on and off. 2008-08-15 17:41:29 +00:00
wiz
99f508ab37 Correct spellings.
From comet-berkeley <comet@transbay.net> on FreeBSD PR conf/126199,
and Frantisek Holop.

From Igor Sobrado <sobrado@openbsd.org>.
2008-08-15 13:12:15 +00:00
lukem
4f152bac9e Use AF_INET instead of AF_UNSPEC as the default family if !defined(INET6).
Avoids problem reported by Matthias Scheler <tron@NetBSD.org>.
2008-08-13 04:59:13 +00:00
wiz
6ae5b86a80 Drop trailing whitespace. Use .Dq. 2008-08-10 23:25:50 +00:00
gdt
69bdd817cc Add error checking to use of fputs in creating output file in
temprorary directory.  Previously, fputs was used without checking the
return value, leading to silent truncation when the temporary
filesystem was full (such as can easily happen when migrating to
tmpfs).
2008-08-10 22:36:23 +00:00
cube
dda0645b09 Clarify a bit .SUFFIXES and .IMPSRC. Should fix PR#37822. 2008-08-10 19:47:29 +00:00
skrll
38af541845 WARNS=3 2008-08-03 09:25:05 +00:00
apb
4e07a05b2d Lint predefines the following symbols: "__LINT__", "lint", "__lint", and
"__lint__"; not only "lint" as the man page previously claimed.
2008-08-02 12:05:48 +00:00
christos
2703aa2d0d enable -P 2008-07-31 15:25:18 +00:00
christos
8bba9bd7b0 document P 2008-07-31 15:24:09 +00:00
christos
3457928c2a Add Picky flag; this produces more warnings:
1. long a; int i; a = i * i;
   suggests casting i to long, so that we gain precision in the multiplication.
2. warns about magnitude comparisons in enums.
3. warns about possible sign extension issues when integer types become widened.
2008-07-31 15:21:34 +00:00
joerg
f45c989c53 Micro-optimise VarQuote by exploiting that meta characters are normally
rare and skipping over normal characters with strcspn is therefore
faster. Further simplify logic by always setting newline and precompute
the size of the string.

OK christos@
2008-07-31 15:19:19 +00:00
joerg
2ad045d932 Meta characters are a constant, mark it so. 2008-07-31 14:59:39 +00:00
dsl
0109c05abd Fix 'total' output from 'du -sc'.
Simplify the change (adding -d<depth>) that broke it by noting that
-d0 is supposed to be the same as -s.
Calling fts_set(fts,p,FTS_SKIP) here is also pointless.
2008-07-30 22:03:40 +00:00
pooka
f00b7c9b12 Solve the fstat-wants-to-look-at-kernel-data-structures in a nicer
way: don't export the fs internals to innocent userspace programs
which just want to mount the file system.
2008-07-29 09:10:09 +00:00
pooka
f99d5e92e0 include correct header 2008-07-28 18:05:09 +00:00
dsl
d4d6980a4b Add a check for 'continue' inside a 'do ... while (0)' loop.
'continue' has the same effect as 'break' - as that probably isn't
what the writer had in mind!
2008-07-25 18:33:53 +00:00
gmcgarry
8385c9b102 Both legs of a conditional operator must return the same type. 2008-07-25 06:53:43 +00:00
christos
ecfa5800d4 PR/39201: Brian Marcotte: "who am i" problem when using ptyfs, because it
strips pts/
2008-07-24 15:35:41 +00:00