2 /** \file tty-internal.h
3 * \brief Header: internal suff of the terminal controlling library
6 #ifndef MC__TTY_INTERNAL_H
7 #define MC__TTY_INTERNAL_H
9 #include "lib/global.h" /* include <glib.h> */
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /* Taken from S-Lang's slutty.c */
14 #ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */
17 #ifdef _POSIX_VDISABLE
18 #define NULL_VALUE _POSIX_VDISABLE
20 #define NULL_VALUE 255
24 /*** enums ***************************************************************************************/
26 /*** structures declarations (and typedefs of structures)*****************************************/
28 /*** global variables defined in .c file *********************************************************/
30 /* If true lines are shown by spaces */
31 extern gboolean slow_tty
;
33 /* If true use +, -, | for line drawing */
34 extern gboolean ugly_line_drawing
;
36 /* The mouse is currently: TRUE - enabled, FALSE - disabled */
37 extern gboolean mouse_enabled
;
39 /*** declarations of public functions ************************************************************/
41 char *mc_tty_normalize_from_utf8 (const char *);
43 /*** inline functions ****************************************************************************/
44 #endif /* MC_TTY_INTERNAL_H */