home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
me34src.zip
/
me3
/
ed
/
keymisc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-01-14
|
468b
|
22 lines
/* keymisc.c :
* C Durland
*/
/* Craig Durland Public Domain
* Distributed "as is", without warranties of any kind, but comments,
* suggestions and bug reports are welcome.
*/
#include <dtable.h>
#include <const.h>
#include "ed.h"
int Eset_pkey(pkeys,n,kc) PKey *pkeys; int n; EKeyCode kc;
{
if (0 <= n && n < PKEYS) { pkeys[n] = kc; return TRUE; }
return FALSE;
}
void Eclear_keytable(kt) dTable *kt;
{ reset_dTable(kt); } /* unbind all keys */