7 * Colors for color() command
17 #define BRIGHT_BLACK 8
19 #define BRIGHT_GREEN 10
20 #define BRIGHT_YELLOW 11
21 #define BRIGHT_BLUE 12
22 #define BRIGHT_MAGENTA 13
23 #define BRIGHT_CYAN 14
24 #define BRIGHT_WHITE 15
25 #define COLOR_PUSH 16 /* Save current color */
26 #define COLOR_POP 17 /* Restore saved color */
27 #define ORIGINAL_PAIR -1 /* Default terminal colors */
32 void load_command_set(void);
33 void stty_ctdl(int cmd
);
34 void newprompt(char *prompt
, char *str
, int len
);
35 void strprompt(char *prompt
, char *str
, int len
);
36 int boolprompt(char *prompt
, int prev_val
);
37 int intprompt(char *prompt
, int ival
, int imin
, int imax
);
38 int fmout(int width
, FILE *fpin
, char *text
, FILE *fpout
, char pagin
,
39 int height
, int starting_lp
, int subst
);
40 int getcmd(CtdlIPC
*ipc
, char *argbuf
);
41 void display_help(CtdlIPC
*ipc
, char *name
);
42 void color(int colornum
);
43 void cls(int colornum
);
44 void send_ansi_detect(void);
45 void look_for_ansi(void);
47 void set_keepalives(int s
);
48 extern int enable_color
;
52 char keymenu(char *menuprompt
, char *menustring
);
53 void async_ka_start(void);
54 void async_ka_end(void);
55 int checkpagin(int lp
, unsigned int pagin
, unsigned int height
);
56 char was_a_key_pressed(void);
59 void pprintf(const char *format
, ...) __attribute__((__format__(__printf__
,1,2)));
61 void pprintf(const char *format
, ...);
66 extern char rc_url_cmd
[SIZ
];
67 extern char rc_open_cmd
[SIZ
];
68 extern char rc_gotmail_cmd
[SIZ
];
69 extern int lines_printed
;
70 extern int rc_remember_passwords
;