.\"
.\" Author: Thomas E. Dickey 1997
.\"
-.\" $Id: define_key.3x,v 1.44 2024/05/18 20:04:21 tom Exp $
-.TH define_key 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: define_key.3x,v 1.48 2024/06/08 23:25:11 tom Exp $
+.TH define_key 3X 2024-06-08 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.
.de bP
.ie n .IP \(bu 4
.I definition
of
.B NULL
-removes any existing one
+removes any existing binding from
.IR key-code "."
Similarly,
a non-positive
.I key-code
-removes any existing bindings for
-.IR definition "."
+removes an existing binding for
+.IR definition ","
+if any.
.SH RETURN VALUE
.B \%define_key
returns
.SH AUTHORS
Thomas Dickey
.SH SEE ALSO
-\fB\%ncurses\fP(3X),
-\fB\%keyok\fP(3X),
-\fB\%key_defined\fP(3X),
+\fB\%curses\fP(3X),
\fB\%keybound\fP(3X),
\fB\%keyok\fP(3X),
+\fB\%key_defined\fP(3X),
\fB\%terminfo\fP(5)