diff src/console.c @ 155:43dd3413c7c7 r20-3b4

Import from CVS: tag r20-3b4
author cvs
date Mon, 13 Aug 2007 09:39:39 +0200
parents 59463afc5666
children 28f395d8dc7a
line wrap: on
line diff
--- a/src/console.c	Mon Aug 13 09:38:27 2007 +0200
+++ b/src/console.c	Mon Aug 13 09:39:39 2007 +0200
@@ -1284,6 +1284,7 @@
     console_local_flags.default_minibuffer_frame = always_local_resettable;
     console_local_flags.overriding_terminal_local_map =
       always_local_resettable;
+    console_local_flags.tty_erase_char = always_local_resettable;
     
     console_local_flags.function_key_map = make_int (1);
     
@@ -1320,6 +1321,14 @@
 \[#<keypress-event f1> #<keypress-event x>].
 */ );
 
+  /* ### Should this somehow go to TTY data?  How do we make it
+     accessible from Lisp, then?  */
+  DEFVAR_CONSOLE_LOCAL ("tty-erase-char", tty_erase_char /*
+The ERASE character as set by the user with stty.
+When this value cannot be determined or would be meaningless (on non-TTY
+consoles, for example), it is set to nil.
+*/ );
+
   /* While this should be CONST it can't be because some things
      (i.e. edebug) do maninpulate it. */
   DEFVAR_CONSOLE_LOCAL ("defining-kbd-macro", defining_kbd_macro /*