(tty_capable_p): New function.
authorMiles Bader <miles@gnu.org>
Sun, 26 May 2002 07:22:22 +0000 (07:22 +0000)
committerMiles Bader <miles@gnu.org>
Sun, 26 May 2002 07:22:22 +0000 (07:22 +0000)
(TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM)
(TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros.

src/dispextern.h

index e921e97..b27ad5f 100644 (file)
@@ -2201,7 +2201,19 @@ extern EMACS_INT tool_bar_button_relief;
 
 \f
 /***********************************************************************
-                        Function Prototypes
+                        Terminal Capabilities
+ ***********************************************************************/
+
+#define TTY_CAP_INVERSE                0x01
+#define TTY_CAP_UNDERLINE      0x02
+#define TTY_CAP_BOLD           0x04
+#define TTY_CAP_DIM            0x08
+#define TTY_CAP_BLINK          0x10
+#define TTY_CAP_ALT_CHARSET    0x20
+
+\f
+/***********************************************************************
+                         Function Prototypes
  ***********************************************************************/
 
 /* Defined in xdisp.c */
@@ -2443,6 +2455,7 @@ extern void tty_setup_colors P_ ((int));
 extern void term_init P_ ((char *));
 extern void fatal P_ ((/* char *, ... */));
 void cursor_to P_ ((int, int));
+extern int tty_capable_p P_ ((struct frame *, unsigned, unsigned long, unsigned long));
 
 /* Defined in scroll.c */