]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - doc/html/man/keyok.3x.html
ncurses 6.2 - patch 20210619
[ncurses.git] / doc / html / man / keyok.3x.html
index afa6514f3289e03d9e010c601e4bd5bd885050ef..19e309db022849dfd99eeb848c377769fc72e91c 100644 (file)
@@ -1,6 +1,7 @@
-<!-- 
+<!--
   ****************************************************************************
   ****************************************************************************
-  * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
+  * Copyright 2018,2020 Thomas E. Dickey                                     *
+  * Copyright 1998-2010,2017 Free Software Foundation, Inc.                  *
   *                                                                          *
   * Permission is hereby granted, free of charge, to any person obtaining a  *
   * copy of this software and associated documentation files (the            *
   *                                                                          *
   * Permission is hereby granted, free of charge, to any person obtaining a  *
   * copy of this software and associated documentation files (the            *
   * authorization.                                                           *
   ****************************************************************************
   * Author: Thomas E. Dickey 1997
   * authorization.                                                           *
   ****************************************************************************
   * Author: Thomas E. Dickey 1997
-  * @Id: keyok.3x,v 1.13 2018/07/28 21:34:56 tom Exp @
+  * @Id: keyok.3x,v 1.15 2020/10/17 23:39:59 tom Exp @
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <HTML>
 <HEAD>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
 <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
 -->
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <HTML>
 <HEAD>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
 <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>keyok 3x</TITLE>
+<TITLE>keyok 3X</TITLE>
 <link rel="author" href="mailto:bug-ncurses@gnu.org">
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </HEAD>
 <BODY>
 <link rel="author" href="mailto:bug-ncurses@gnu.org">
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </HEAD>
 <BODY>
-<H1 class="no-header">keyok 3x</H1>
+<H1 class="no-header">keyok 3X</H1>
 <PRE>
 <PRE>
-<STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>                                                            <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>
+<B><A HREF="keyok.3X.html">keyok(3X)</A></B>                                                            <B><A HREF="keyok.3X.html">keyok(3X)</A></B>
 
 
 
 
 </PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
 
 
 
 
 </PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
-       <STRONG>keyok</STRONG> - enable or disable a keycode
+       <B>keyok</B> - enable or disable a keycode
 
 
 </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
 
 
 </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
-       <STRONG>#include</STRONG> <STRONG>&lt;curses.h&gt;</STRONG>
+       <B>#include</B> <B>&lt;curses.h&gt;</B>
 
 
-       <STRONG>int</STRONG> <STRONG>keyok(int</STRONG> <STRONG>keycode,</STRONG> <STRONG>bool</STRONG> <STRONG>enable);</STRONG>
+       <B>int</B> <B>keyok(int</B> <I>keycode</I><B>,</B> <B>bool</B> <I>enable</I><B>);</B>
 
 
 </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
        This  is an extension to the curses library.  It permits an application
 
 
 </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
        This  is an extension to the curses library.  It permits an application
-       to disable specific keycodes, rather than use the  <EM>keypad</EM>  function  to
+       to disable specific keycodes, rather than use the  <I>keypad</I>  function  to
        disable all keycodes.  Keys that have been disabled can be re-enabled.
 
 
 </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
        disable all keycodes.  Keys that have been disabled can be re-enabled.
 
 
 </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
-       The  keycode  must  be  greater than zero, else <STRONG>ERR</STRONG> is returned.  If it
-       does not correspond to a defined key, then <STRONG>ERR</STRONG>  is  returned.   If  the
-       <EM>enable</EM>  parameter  is  true,  then the key must have been disabled, and
-       vice versa.  Otherwise, the function returns <STRONG>OK</STRONG>.
+       The  keycode  must  be  greater than zero, else <B>ERR</B> is returned.  If it
+       does not correspond to a defined key, then <B>ERR</B>  is  returned.   If  the
+       <I>enable</I>  parameter  is  true,  then the key must have been disabled, and
+       vice versa.  Otherwise, the function returns <B>OK</B>.
 
 
 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
 
 
 </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
@@ -76,7 +77,7 @@
 
 
 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
 
 
 </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
-       <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>.
+       <B><A HREF="define_key.3X.html">define_key(3X)</A></B>.
 
 
 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
 
 
 </PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>
@@ -84,7 +85,7 @@
 
 
 
 
 
 
-                                                                     <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>
+                                                                     <B><A HREF="keyok.3X.html">keyok(3X)</A></B>
 </PRE>
 <div class="nav">
 <ul>
 </PRE>
 <div class="nav">
 <ul>