#
d9a51c35 |
| 26-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
#
bab5ef4d |
| 13-Apr-2021 |
millert <millert@openbsd.org> |
Ignore expandtab setting when in command mode. Fixes things like searching for a literal tab character when expandtab is enabled. From nvi2 (leres). OK martijn@
|
#
ebcaf48c |
| 30-Apr-2020 |
millert <millert@openbsd.org> |
Add an expandtab option, similar to what vim supports. If set, expands tabs to spaces in insert mode as well as when shifting and indenting/outdenting. If quoted with ^V, a literal tab is inserted.
Add an expandtab option, similar to what vim supports. If set, expands tabs to spaces in insert mode as well as when shifting and indenting/outdenting. If quoted with ^V, a literal tab is inserted. Adapted from NetBSD, but this implementation more closely matches vim's behavior. OK dlg@
show more ...
|
#
721c3ea3 |
| 27-May-2016 |
martijn <martijn@openbsd.org> |
Revert CHAR_T removal. Some signedness flaws were introduced. Found the hard way by jca@
|
#
0eb8a8cd |
| 02-May-2016 |
martijn <martijn@openbsd.org> |
Remove CHAR_T in favor of native types.
schwarze@ agrees with the direction. Few tweaks and OK tb@
|
#
c26b492f |
| 20-Jan-2016 |
bentley <bentley@openbsd.org> |
Remove ARG_CHAR_T, a relic from when the code was written K&R style.
ok millert@ schwarze@
|
#
a0b15055 |
| 06-Jan-2016 |
millert <millert@openbsd.org> |
Remove the numeric identifiers at the beginning of the messages which used to be used as the message number to lookup in the catalog. From Martijn van Duren
|
#
82391d35 |
| 03-Dec-2015 |
bentley <bentley@openbsd.org> |
After inserting a backslash, don't treat ^H ^? or ^U as special cases. These days, ^V to escape is a universal feature and needing two keystrokes to delete backslashes is really annoying.
ok tb@ cla
After inserting a backslash, don't treat ^H ^? or ^U as special cases. These days, ^V to escape is a universal feature and needing two keystrokes to delete backslashes is really annoying.
ok tb@ claudio@ schwarze@
show more ...
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
show more ...
|
#
486aa1f0 |
| 12-Nov-2014 |
bentley <bentley@openbsd.org> |
Ansify vi.
ok bcallah@ millert@
|
#
a0f97654 |
| 26-Nov-2013 |
krw <krw@openbsd.org> |
Tweak a tortuous manual loop into a TAILQ_FOREACH().
ok pelikan@
|
#
b80ec9ea |
| 26-Nov-2013 |
pelikan <pelikan@openbsd.org> |
fix incorrectly converted CIRCLEQ_END comparison to prevent NULL deref's
found by clang static analyzer, ok jca, otto
|
#
6afab947 |
| 25-Nov-2013 |
krw <krw@openbsd.org> |
Replace _texth CIRCLEQ with TAILQ. One down, five to go.
Read, tested, fixed and ok'd zhuk@ pelikan@ millert@
|
#
3e882f95 |
| 14-May-2013 |
millert <millert@openbsd.org> |
When ^W (WERASE) is hit in insert mode it's possible that the line buffer is accessed out of bounds. If 'max' == 0 and 'tp->cno' == 1 the 'tp->cno' value is first reduced by one and then 'tp->lb' is
When ^W (WERASE) is hit in insert mode it's possible that the line buffer is accessed out of bounds. If 'max' == 0 and 'tp->cno' == 1 the 'tp->cno' value is first reduced by one and then 'tp->lb' is accessed at 'tp->cno' - 1. Also remove dead (and incorrect) code in the TXT_ALTWERASE case. From Arto Jonsson; OK martynas@
show more ...
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
#
04626f32 |
| 22-Apr-2006 |
ray <ray@openbsd.org> |
Removes unused variables and rename variables shadowing external variables. No binary change.
Found by lint.
OK otto@ and jaredy@
|
#
973801a3 |
| 15-Mar-2006 |
pvalchev <pvalchev@openbsd.org> |
Handle ^C correctly, morph it to escape key so the input is correctly finished for a potential replay; if not, simply bail out and notify that something wrong occurs. Callers will cope. Consistent wi
Handle ^C correctly, morph it to escape key so the input is correctly finished for a potential replay; if not, simply bail out and notify that something wrong occurs. Callers will cope. Consistent with what vim and Solaris vi do. Fixes a crash described in NetBSD PR11544, fixed by aymeric ok otto ray
show more ...
|
#
fae81f58 |
| 11-Mar-2006 |
ray <ray@openbsd.org> |
Silence 39 warnings.
ok miod, otto
|
#
6cd32513 |
| 08-Jan-2006 |
miod <miod@openbsd.org> |
Appease gcc 3 and the C gods by fixing a couple of undefined statements; from Ray Lai.
|
#
ddc53e66 |
| 08-Jan-2006 |
miod <miod@openbsd.org> |
Explicit braces around macro fields and logical operations, gets rid of 148 warnings, no functional change.
From Ray Lai.
|
#
ce7de1e9 |
| 17-Oct-2005 |
otto <otto@openbsd.org> |
Use queue macros instead of directly accessing fields. ok pat@ "put it in" deraadt@
|
#
9810066d |
| 08-Jan-2005 |
pvalchev <pvalchev@openbsd.org> |
Move a line of code which was "obviously" misplaced. This fixes a core dump when auto-completing filenames and at least one of the file names is larger than the screen width.
from NetBSD PR and fix
Move a line of code which was "obviously" misplaced. This fixes a core dump when auto-completing filenames and at least one of the file names is larger than the screen width.
from NetBSD PR and fix by Peter Bex in PR#28382
show more ...
|
#
854cc1ee |
| 08-Jan-2005 |
pvalchev <pvalchev@openbsd.org> |
When an error occurs in v_txt(), leave input mode too. Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers when it's not true, leading to a crash because that TEXT buffer w
When an error occurs in v_txt(), leave input mode too. Otherwise, (among other things) db_get() thinks it can re-use the TEXT buffers when it's not true, leading to a crash because that TEXT buffer will be released just before it is actually used to create a new one. From NetBSD, fixes NetBSD PR#21797.
show more ...
|
#
f3c3a9c6 |
| 17-Feb-2002 |
millert <millert@openbsd.org> |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|