2009-07-12 14:22:41 +04:00
|
|
|
|
|
|
|
/** \file tty-internal.h
|
|
|
|
* \brief Header: internal suff of the terminal controlling library
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MC_TTY_INTERNAL_H
|
|
|
|
#define MC_TTY_INTERNAL_H
|
|
|
|
|
2010-01-20 17:11:52 +02:00
|
|
|
#include "lib/global.h" /* include <glib.h> */
|
2009-07-12 14:22:41 +04:00
|
|
|
|
2010-02-06 13:07:35 +03:00
|
|
|
/* Taken from S-Lang's slutty.c */
|
|
|
|
#ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */
|
|
|
|
# define NULL_VALUE -1
|
|
|
|
#else
|
|
|
|
# ifdef _POSIX_VDISABLE
|
|
|
|
# define NULL_VALUE _POSIX_VDISABLE
|
|
|
|
# else
|
|
|
|
# define NULL_VALUE 255
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2009-07-12 14:22:41 +04:00
|
|
|
/* If true lines are shown by spaces */
|
|
|
|
extern gboolean slow_tty;
|
|
|
|
|
2009-08-23 20:42:28 +00:00
|
|
|
/* If true use +, -, | for line drawing */
|
|
|
|
extern gboolean ugly_line_drawing;
|
|
|
|
|
2009-07-13 22:13:19 +04:00
|
|
|
/* The mouse is currently: TRUE - enabled, FALSE - disabled */
|
|
|
|
extern gboolean mouse_enabled;
|
|
|
|
|
2009-09-28 11:04:54 +03:00
|
|
|
char *mc_tty_normalize_from_utf8 (const char *);
|
|
|
|
|
2009-09-17 01:07:04 +03:00
|
|
|
#endif /* MC_TTY_INTERNAL_H */
|