init version.
[bush.git] / lib / readline / parse-colors.h
blobaef86f784d45d519cc3a2b6f69eafd30a550dff8
1 /* `dir', `vdir' and `ls' directory listing programs for GNU.
3 Modified by Chet Ramey for Readline.
5 Copyright (C) 1985, 1988, 1990-1991, 1995-2010, 2012 Free Software Foundation,
6 Inc.
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 /* Written by Richard Stallman and David MacKenzie. */
23 /* Color support by Peter Anvin <Peter.Anvin@linux.org> and Dennis
24 Flaherty <dennisf@denix.elk.miles.com> based on original patches by
25 Greg Lee <lee@uhunix.uhcc.hawaii.edu>. */
27 #ifndef _PARSE_COLORS_H_
28 #define _PARSE_COLORS_H_
30 #include "readline.h"
32 #define LEN_STR_PAIR(s) sizeof (s) - 1, s
34 void _rl_parse_colors (void);
36 static const char *const indicator_name[]=
38 "lc", "rc", "ec", "rs", "no", "fi", "di", "ln", "pi", "so",
39 "bd", "cd", "mi", "or", "ex", "do", "su", "sg", "st",
40 "ow", "tw", "ca", "mh", "cl", NULL
43 /* Buffer for color sequences */
44 static char *color_buf;
46 #endif /* !_PARSE_COLORS_H_ */