texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5806] use kB terminal capability instead of bt


From: Gavin D. Smith
Subject: [5806] use kB terminal capability instead of bt
Date: Sun, 07 Sep 2014 17:47:40 +0000

Revision: 5806
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5806
Author:   gavin
Date:     2014-09-07 17:47:39 +0000 (Sun, 07 Sep 2014)
Log Message:
-----------
use kB terminal capability instead of bt

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/terminal.c
    trunk/info/terminal.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-07 17:37:28 UTC (rev 5805)
+++ trunk/ChangeLog     2014-09-07 17:47:39 UTC (rev 5806)
@@ -6,6 +6,10 @@
        * info/infokey.c (compile): Use KEYMAP_META instead of Meta to allow
        binding key chords including Meta.
 
+       * info/terminal.c (term_bt, term_kB, terminal_initialize_terminal)
+       (initialize_byte_map): Get 'BackTab' key byte sequence from 'kB'
+       capability instead of 'bt'.
+
 2014-09-07  Gavin Smith  <address@hidden>
 
        * info/session.c (info_clear_search): New user command.

Modified: trunk/info/terminal.c
===================================================================
--- trunk/info/terminal.c       2014-09-07 17:37:28 UTC (rev 5805)
+++ trunk/info/terminal.c       2014-09-07 17:47:39 UTC (rev 5806)
@@ -248,7 +248,7 @@
 char *term_ke = NULL;  /* end */
 char *term_kD = NULL;  /* delete */
 char *term_ki = NULL;  /* ins */
-char *term_bt = NULL;  /* back tab */
+char *term_kB = NULL;  /* back tab */
 
 /* Move the cursor to the terminal location of X and Y. */
 void
@@ -599,7 +599,7 @@
       KEY_END, &term_ke,
       KEY_DELETE, &term_kD,
       KEY_INSERT, &term_ki,
-      KEY_BACK_TAB, &term_bt
+      KEY_BACK_TAB, &term_kB
   };
 
   byte_seq_to_key = xmalloc (256 * sizeof (BYTEMAP_ENTRY));
@@ -787,7 +787,7 @@
   term_ki = tgetstr ("kI", &buffer);
   term_kD = tgetstr ("kD", &buffer);
 
-  term_bt = tgetstr ("bt", &buffer);
+  term_kB = tgetstr ("kB", &buffer);
 
   /* String introducing a mouse event. */
   term_Km = tgetstr ("Km", &buffer);

Modified: trunk/info/terminal.h
===================================================================
--- trunk/info/terminal.h       2014-09-07 17:37:28 UTC (rev 5805)
+++ trunk/info/terminal.h       2014-09-07 17:47:39 UTC (rev 5806)
@@ -132,7 +132,7 @@
 extern char *term_kP, *term_kN;
 extern char *term_ke, *term_kh;
 extern char *term_kD, *term_ki;
-extern char *term_bt;
+extern char *term_kB;
 
 extern char *term_so, *term_se;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]