Updated doc/NEWS file
[midnight-commander.git] / lib / tty / tty-internal.h
blob77f0062c1856a26db486e0b18dd22d7749547edd
2 /** \file tty-internal.h
3 * \brief Header: internal suff of the terminal controlling library
4 */
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! */
15 #define NULL_VALUE -1
16 #else
17 #ifdef _POSIX_VDISABLE
18 #define NULL_VALUE _POSIX_VDISABLE
19 #else
20 #define NULL_VALUE 255
21 #endif
22 #endif
24 /*** enums ***************************************************************************************/
26 /*** structures declarations (and typedefs of structures)*****************************************/
28 /*** global variables defined in .c file *********************************************************/
30 /* The mouse is currently: TRUE - enabled, FALSE - disabled */
31 extern gboolean mouse_enabled;
33 /* terminal ca capabilities */
34 extern char *smcup;
35 extern char *rmcup;
37 /*** declarations of public functions ************************************************************/
39 char *mc_tty_normalize_from_utf8 (const char *);
40 void tty_init_xterm_support (gboolean is_xterm);
41 int tty_lowlevel_getch (void);
43 /*** inline functions ****************************************************************************/
44 #endif /* MC_TTY_INTERNAL_H */