From 70eac792b01b68b06e73c18e5e5cb6be97bff393 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 16 Nov 2005 21:34:27 +0000 Subject: [PATCH] Added the undocumented ACS defines (S3, etc.) for DOS/OS2/Win. --- curses.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/curses.h b/curses.h index bc8a0e9b..4d1ca2ab 100644 --- a/curses.h +++ b/curses.h @@ -18,7 +18,7 @@ *************************************************************************** */ /* -$Id: curses.h,v 1.31 2005/11/14 16:15:19 wmcbrine Exp $ +$Id: curses.h,v 1.32 2005/11/16 21:34:27 wmcbrine Exp $ */ /* *---------------------------------------------------------------------- @@ -1273,6 +1273,18 @@ extern chtype *acs_map; # define ACS_BOARD (chtype)0xb0 /* SysV */ # define ACS_LANTERN ((chtype)0x0f | A_ALTCHARSET) /* SysV */ # define ACS_BLOCK (chtype)0xdb /* SysV */ + +/* That goes double for these -- undocumented SysV symbols. Don't use + them. Also, the definitions here aren't compatible with as many + code pages as those above. +*/ +# define ACS_S3 (chtype)0x2d +# define ACS_S7 (chtype)0x2d +# define ACS_LEQUAL (chtype)0xf3 +# define ACS_GEQUAL (chtype)0xf2 +# define ACS_PI (chtype)0xe3 +# define ACS_NEQUAL (chtype)0xd8 +# define ACS_STERLING (chtype)0x9c #endif /* colour attributes */