Age | Commit message (Collapse) | Author |
|
OK schwarze@, zhuk@
fine with me tb@
|
|
OK zhuk@ and schwarze@
fine with me tb@
|
|
ok millert@ schwarze@
|
|
|
|
|
|
better off without it.
|
|
|
|
|
|
|
|
From Martijn van Duren
|
|
which used to be used as the message number to lookup in the
catalog. From Martijn van Duren
|
|
msg_close() functions along with the msgcat command.
From Martijn van Duren
|
|
upstream. From Martijn van Duren.
|
|
allocation macros. No binary change.
ok tb@
|
|
These days, ^V to escape is a universal feature and needing two
keystrokes to delete backslashes is really annoying.
ok tb@ claudio@ schwarze@
|
|
requested by and ok jmc@
(a sign that these files really need to be merged into the manpage
so they don't get any more stale...)
|
|
From FreeBSD.
ok claudio@ tb@
|
|
requested by and ok jmc@
|
|
ok tb@
|
|
|
|
It makes no sense to keep support for a non-base tool in base, especially
for a feature that few if any people use.
|
|
Pointed out by Theo Buehler.
|
|
ok deraadt@
|
|
In some cases, do additional cleanup in the immediate vicinity.
|
|
a file to edit. Based on a diff from Patrick Keshishian.
|
|
ok guenther@
|
|
ok deraadt@ guenther@ miod@ millert@
|
|
|
|
window resizes, which was leaking massive amounts of memory.
Try observing vi in top(1) and while resizing the window a few times
before and aftering applying this diff..
Also some more comment cleanup and another memory leak..
From github.com/lichray/nvi2
879d2ad6dd4a4343eb0a588ebfe637e1c9845bc4
a8c38480adb030a05bbb2aafec6067dd65d8c2eb
ok millert@
|
|
unifdef. It seems clear that no one was using these (SA_INTERRUPT didn't
even build the other way). Tweak comments as appropriate.
ok brynet@
|
|
the other #defined in common/key.h. There is no reason to have both. For
consistency use the isblank function from <ctype.h>, remove the #define in
common/key.h, and add #include <ctype.h> to the files that were missing the
header.
ok brynet@
|
|
enabled in our tree, also removes some stragglers from a global struct
referencing nonexistent Tcl/TK and "IP support". And finally.. deletes
an empty file missed by earlier cleanup by bentley@.
Inspired by and ok bcallah@
|
|
From Theo Buehler.
|
|
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
From Zhihao Yuan.
ok millert@ miod@
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
OK miod@
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
There have been various build errors for coming on two years now.
It doesn't work and nobody has expressed any interest in saving it.
From natano; ok millert@
|
|
It is undocumented and triggers the same conditional inclusions as
PURIFY does.
From Martin Natano.
|
|
_PATH_BSHELL, _PATH_SENDMAIL, _PATH_TMP and _PATH_TTY are defined in
<paths.h> and _PATH_SYSV_TTY is unused. All of them can be removed from
pathnames.h. The other defines can be made unconditionally.
|
|
The 'tcl' command in vi does nothing, except to print the message
"Vi was not loaded with a Tcl interpreter". Printing the standard
message for unknown commands would be equally descriptive with the
benefit of reducing code size.
|
|
The vi editor contains code for two different file locking methods -
one using flock(), the other using fcntl(). The fcntl method is unused
and has severe limitations (as described in a code comment). Let's
remove it for sake of readibility.
|
|
|
|
ok bcallah@ millert@
|
|
|
|
|
|
|
|
From Martin Natano.
ok nicm@
|
|
ok nicm@ millert@ plus a comment tweak from nicm@
|