Colour 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 #define COLOR_PUSH      16      /* Save current color */
23 #define COLOR_POP       17      /* Restore saved color */
24
25 /*
26  * declarations
27  */
28 void load_command_set(void);
29 void sttybbs(int cmd);
30 void newprompt(char *prompt, char *str, int len);
31 void strprompt(char *prompt, char *str, int len);
32 int boolprompt(char *prompt, int prev_val);
33 int intprompt(char *prompt, int ival, int imin, int imax);
34 int fmout(int width, FILE *fp, char pagin, int height, int starting_lp,
35           char subst);
36 int getcmd(char *argbuf);
37 void display_help(char *name);
38 void color(int colornum);
39 void cls(int colornum);
40 void send_ansi_detect(void);
41 void look_for_ansi(void);
42 int inkey(void);
43 void set_keepalives(int s);
44 extern int enable_color;
45 int yesno(void);
46 int yesno_d(int d);
47 void keyopt(char *);