History log of /openbsd/usr.bin/vi/common/key.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 75290643 21-Apr-2022 millert <millert@openbsd.org>

v_event_get: check qp->output for NULL before passing to e_memcmp().
Other users of qp->output already include a NULL check.
Avoids a crash when cursor key support is disabled in cl/cl_term.c.
From J

v_event_get: check qp->output for NULL before passing to e_memcmp().
Other users of qp->output already include a NULL check.
Avoids a crash when cursor key support is disabled in cl/cl_term.c.
From Jeremy Mates. OK tb@

show more ...


# a0242ada 18-Apr-2017 deraadt <deraadt@openbsd.org>

free(NULL) is ok so use it; from Michael W. Bombardieri


# 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


# 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@


# abd21832 10-Nov-2014 tedu <tedu@openbsd.org>

remove old, unnecessary compat code. from Martin Natano


# 9dcc8e16 28-Nov-2013 krw <krw@openbsd.org>

Convert the display screens and hidden screens CIRCLEQ's to TAILQ's.

ok pelikan@ zhuk@


# 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 ...


# 9cd62ad2 08-Jan-2006 miod <miod@openbsd.org>

Make sure we can exit from a loop in v_key_init() regardless of the locale
we're in; 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@


# 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 ...


# d4e7c603 29-Jan-2001 niklas <niklas@openbsd.org>

$OpenBSD$


# 52473d7e 26-Nov-1999 millert <millert@openbsd.org>

o Update README files etc. from nvi-1.79 so they have the correct info
o make port.h empty since we there is nothing we lack
o include <sys/param.h>, not <sys/types.h> in files that use MIN/MAX macro

o Update README files etc. from nvi-1.79 so they have the correct info
o make port.h empty since we there is nothing we lack
o include <sys/param.h>, not <sys/types.h> in files that use MIN/MAX macros
o add perl api support since we have libperl (off by default)

show more ...


# c8723e9b 16-Oct-1996 michaels <michaels@openbsd.org>

nvi 1.78:
+ Fix bugs when both the leftright scrolling and number edit options
were on.
+ Fix bug where splitting in the middle of the screen could repaint
incorre

nvi 1.78:
+ Fix bugs when both the leftright scrolling and number edit options
were on.
+ Fix bug where splitting in the middle of the screen could repaint
incorrectly.
+ Fix first-nul in input bug, where random garbage was inserted.
+ Correct search and mark-as-motion-command bug, it's a line mode
action if the search starts at or before the first non<blank>.
+ Fix bug autoindent bug, where ^D could shift too far in the line.
+ Fix core dump where ! command called from the .exrc file.
+ Add the -S command-line option, which initializes vi to have the
secure edit option preset.

show more ...


# e91eb1de 24-Jul-1996 mickey <mickey@openbsd.org>

bring vi/ex up to 1.71


# 45f2ab88 22-May-1996 deraadt <deraadt@openbsd.org>

new vi