|
|
researchv10 Norman
/* @(#) _kpmode.c: 1.1 10/15/83 (1.21 2/11/83) */
#include "curses.ext"
extern int _outch();
_kpmode(m)
{
#ifdef DEBUG
if (outf) fprintf(outf, "kpmode(%d), SP->kp_state %d\n",
m, SP->kp_state);
#endif
if (m == SP->kp_state)
return;
if (m)
tputs(keypad_xmit, 1, _outch);
else
tputs(keypad_local, 1, _outch);
SP->kp_state = m;
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.