2 * $Id: termin.gen.h 890 2007-12-21 05:34:43Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2022 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_OSDEP_TERMIN_GEN_INCLUDED
18 #define PINE_OSDEP_TERMIN_GEN_INCLUDED
24 #define READ_COMMAND(U) (read_command_prep() ? read_command(U) : NO_OP_COMMAND)
26 /* exported prototypes */
27 UCS
read_command(char **);
28 int read_command_prep(void);
29 int key_recorder(int);
30 int optionally_enter(char *, int, int, int, char *, ESCKEY_S
*, HelpType
, int *);
31 UCS
validatekeys(UCS
);
32 int process_config_input(UCS
*);
33 int key_recorder(int);
34 int key_playback(int);
35 int recent_keystroke(int *, char *, size_t);
36 int init_tty_driver(struct pine
*);
37 void end_tty_driver(struct pine
*);
40 void init_keyboard(int);
41 void end_keyboard(int);
42 int pre_screen_config_opt_enter(char *, int, char *,
43 ESCKEY_S
*, HelpType
, int *);
45 int pcpine_oe_cursor(int, long);
48 #endif /* PINE_OSDEP_TERMIN_GEN_INCLUDED */