blob: f3312307f8b85cd63828e8d350d1ae62707f9857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#define READLINE_LIBRARY
#if defined (HAVE_CONFIG_H)
# include <config.h>
#endif
#include <stdio.h>
#include "readline.h"
#include "rlprivate.h"
rl_vintfunc_t *rl_prep_term_function = rl_prep_terminal;
rl_voidfunc_t *rl_deprep_term_function = rl_deprep_terminal;
int
tgetent (buffer, termtype)
char *buffer;
char *termtype;
{
return -1;
}
int
tgetnum (name)
char *name;
{
return -1;
}
int
tgetflag (name)
char *name;
{
return -1;
}
char *
tgetstr (name, area)
char *name;
char **area;
{
return NULL;
}
int
tputs (string, nlines, outfun)
char *string;
int nlines;
int (*outfun) ();
{
while (*string)
outfun (*string);
}
int
_rl_disable_tty_signals ()
{
return 0;
}
int
_rl_restore_tty_signals ()
{
return 0;
}
void
rl_prep_terminal (meta_flag)
int meta_flag;
{
return;
}
void
rl_deprep_terminal ()
{
return;
}
int
rl_restart_output (count, key)
int count;
int key;
{
return 0;
}
void
rl_tty_set_default_bindings (kmap)
Keymap kmap;
{
}
|