From 43e87b8a95aa36ab5a7f78de3034e081bac2e8ad Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 16 Sep 2002 02:48:56 +0000 Subject: hurd/ 2002-09-16 Marcus Brinkmann * console.h (conchar_attr_t): Add bits for italic and bold text attributes. console/ 2002-09-16 Marcus Brinkmann * hurd.ti: Add capabilities , , , . * display.c (handle_esc_bracket_m): Add support for italic. (display_output_one): Add new capabilities PU1 and PU2 to toggle bold mode. Reset PARSE->state on most escape sequences. * console.c (parse_attributes): Rename old bold attribute to bright. Add support for italic and bold. --- hurd/ChangeLog | 5 +++++ hurd/console.h | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'hurd') diff --git a/hurd/ChangeLog b/hurd/ChangeLog index d4c72fac..52ed7006 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,3 +1,8 @@ +2002-09-16 Marcus Brinkmann + + * console.h (conchar_attr_t): Add bits for italic and bold text + attributes. + 2002-09-10 Marcus Brinkmann * console.h (struct cons_display): New member FLAGS. diff --git a/hurd/console.h b/hurd/console.h index bf15e357..09fd088f 100644 --- a/hurd/console.h +++ b/hurd/console.h @@ -31,17 +31,25 @@ typedef enum typedef struct { + /* The intensity is traditionally a color attribute. */ #define CONS_ATTR_INTENSITY_NORMAL 000000000000 #define CONS_ATTR_INTENSITY_BOLD 000000000001 #define CONS_ATTR_INTENSITY_DIM 000000000002 uint32_t intensity : 2; + uint32_t underlined : 1; uint32_t blinking : 1; uint32_t reversed : 1; uint32_t concealed : 1; + + /* Color attributes. */ uint32_t bgcol : 3; uint32_t fgcol : 3; -} conchar_attr_t; + + /* Font attributes. */ + uint32_t italic : 1; + uint32_t bold : 1; +} conchar_attr_t; typedef struct { -- cgit v1.2.3