<HTML>
-<BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
+<BODY>
<PRE>
<STRONG>define_key</STRONG> - define a keycode
</PRE>
<H2>SYNOPSIS</H2><PRE>
- <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
+ <STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
<STRONG>int</STRONG> <STRONG>define_key(char</STRONG> <STRONG>*definition,</STRONG> <STRONG>int</STRONG> <STRONG>keycode);</STRONG>
terminfo database.
If the given string is null, any existing definition for
- the keycode is removed.
+ the keycode is removed. Similarly, if the given keycode
+ is negative or zero, any existing string for the given
+ definition is removed.
</PRE>
-
-
</PRE>
</BODY>
</HTML>