summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-15 10:34:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-15 10:34:11 +0000
commit89dd44b6e9fd55f23b3fed63eb4756d20aa51a3e (patch)
tree8313f0d6e61df1228bac7ecb5911ac9e9c358e3f /term.h
parent9333cc4988cfd740a762d891a0494bc1d121c8e6 (diff)
downloadmandoc-89dd44b6e9fd55f23b3fed63eb4756d20aa51a3e.tar.gz
Backed out all ANSI code.VERSION.1.5.1
Diffstat (limited to 'term.h')
-rw-r--r--term.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/term.h b/term.h
index a5ee7675..6fe37bc4 100644
--- a/term.h
+++ b/term.h
@@ -70,11 +70,6 @@ enum tsym {
TERMSYM_MAX = 41
};
-enum termenc {
- TERMENC_ANSI,
- TERMENC_NROFF
-};
-
struct termsym {
const char *sym;
size_t sz;
@@ -96,18 +91,11 @@ struct termp {
#define TERMP_IGNDELIM (1 << 4) /* Delims like regulars. */
#define TERMP_NONOSPACE (1 << 5) /* No space (no autounset). */
#define TERMP_NONOBREAK (1 << 7) /* Don't newln NOBREAK. */
-#define TERMP_STYLE 0xff00 /* Style mask. */
+#define TERMP_STYLE 0x0300 /* Style mask. */
#define TERMP_BOLD (1 << 8) /* Styles... */
#define TERMP_UNDER (1 << 9)
-#define TERMP_BLUE (1 << 10)
-#define TERMP_RED (1 << 11)
-#define TERMP_YELLOW (1 << 12)
-#define TERMP_MAGENTA (1 << 13)
-#define TERMP_CYAN (1 << 14)
-#define TERMP_GREEN (1 << 15)
char *buf;
struct termsym *symtab; /* Special-symbol table. */
- enum termenc enc; /* Encoding. */
};
struct termpair {