2013-05-18 02:21:28 -04:00
|
|
|
#ifndef _INPUT_H_
|
|
|
|
#define _INPUT_H_
|
|
|
|
|
|
|
|
#include "edef.h"
|
|
|
|
|
2013-09-27 02:29:26 -04:00
|
|
|
extern int kbdm[] ; /* Holds kayboard macro data */
|
|
|
|
extern int *kbdptr ; /* current position in keyboard buf */
|
|
|
|
extern int *kbdend ; /* ptr to end of the keyboard */
|
|
|
|
|
2013-09-19 04:10:29 -04:00
|
|
|
int mlyesno( const char *prompt) ;
|
|
|
|
int mlreply( const char *prompt, char *buf, int nbuf) ;
|
|
|
|
int mlreplyt( const char *prompt, char *buf, int nbuf, int eolchar) ;
|
2013-05-18 02:21:28 -04:00
|
|
|
int ectoc( int c) ;
|
|
|
|
int ctoec( int c) ;
|
|
|
|
fn_t getname( void) ;
|
|
|
|
int tgetc( void) ;
|
|
|
|
int get1key( void) ;
|
|
|
|
int getcmd( void) ;
|
2013-09-19 04:10:29 -04:00
|
|
|
int getstring( const char *prompt, char *buf, int nbuf, int eolchar) ;
|
2013-05-18 02:21:28 -04:00
|
|
|
void outstring( char *s) ;
|
|
|
|
void ostring( char *s) ;
|
|
|
|
|
|
|
|
#endif
|