root/lib/tty/tty-internal.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 
   2 /** \file tty-internal.h
   3  *  \brief Header: internal stuff of the terminal controlling library
   4  */
   5 
   6 #ifndef MC__TTY_INTERNAL_H
   7 #define MC__TTY_INTERNAL_H
   8 
   9 #include "lib/global.h"         /* include <glib.h> */
  10 
  11 /*** typedefs(not structures) and defined constants **********************************************/
  12 
  13 /* Taken from S-Lang's slutty.c */
  14 #ifdef _POSIX_VDISABLE
  15 #define NULL_VALUE _POSIX_VDISABLE
  16 #else
  17 #define NULL_VALUE 255
  18 #endif
  19 
  20 /*** enums ***************************************************************************************/
  21 
  22 /*** structures declarations (and typedefs of structures)*****************************************/
  23 
  24 /*** global variables defined in .c file *********************************************************/
  25 
  26 /* The mouse is currently: TRUE - enabled, FALSE - disabled */
  27 extern gboolean mouse_enabled;
  28 
  29 /* terminal ca capabilities */
  30 extern char *smcup;
  31 extern char *rmcup;
  32 
  33 /* pipe to handle SIGWINCH */
  34 extern int sigwinch_pipe[2];
  35 
  36 /*** declarations of public functions ************************************************************/
  37 
  38 void tty_create_winch_pipe (void);
  39 
  40 char *mc_tty_normalize_from_utf8 (const char *);
  41 void tty_init_xterm_support (gboolean is_xterm);
  42 int tty_lowlevel_getch (void);
  43 
  44 /*** inline functions ****************************************************************************/
  45 
  46 #endif /* MC_TTY_INTERNAL_H */

/* [previous][next][first][last][top][bottom][index][help]  */