]> code.citadel.org Git - citadel.git/blob - citadel/commands.h
more color changes
[citadel.git] / citadel / commands.h
1 /* $Id$ */
2
3 /*
4  * Colors for color() command
5  */
6 #define DIM_BLACK       0
7 #define DIM_RED         1
8 #define DIM_GREEN       2
9 #define DIM_YELLOW      3
10 #define DIM_BLUE        4
11 #define DIM_MAGENTA     5
12 #define DIM_CYAN        6
13 #define DIM_WHITE       7
14 #define BRIGHT_BLACK    8
15 #define BRIGHT_RED      9
16 #define BRIGHT_GREEN    10
17 #define BRIGHT_YELLOW   11
18 #define BRIGHT_BLUE     12
19 #define BRIGHT_MAGENTA  13
20 #define BRIGHT_CYAN     14
21 #define BRIGHT_WHITE    15
22
23 /*
24  * declarations
25  */
26 void load_command_set(void);
27 void sttybbs(int cmd);
28 void newprompt(char *prompt, char *str, int len);
29 void strprompt(char *prompt, char *str, int len);
30 int boolprompt(char *prompt, int prev_val);
31 int intprompt(char *prompt, int ival, int imin, int imax);
32 int fmout(int width, FILE *fp, char pagin, int height, int starting_lp,
33           char subst);
34 int getcmd(char *argbuf);
35 void display_help(char *name);
36 void color(int colornum);
37 void cls(int colornum);
38 void send_ansi_detect(void);
39 void look_for_ansi(void);
40 int inkey(void);
41 void set_keepalives(int s);
42 extern int enable_color;
43 int yesno(void);
44 int yesno_d(int d);
45 void keyopt(char *);