[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Meta mode in modern XTerm is not configurable in readline library
From: |
werner |
Subject: |
Meta mode in modern XTerm is not configurable in readline library |
Date: |
Wed, 30 Sep 2009 13:00:27 +0200 |
Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.0
-L/usr/src/packages/BUILD/bash-4.0/../readline-6.0
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-suse-linux-gnu'
-DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -std=gnu89 -Wextra
-Wno-unprototyped-calls -Wno-switch-enum -Wno-unused-variable
-Wno-unused-parameter -ftree-loop-linear -pipe -fprofile-use
uname output: Linux boole 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100
i686 i686 i386 GNU/Linux
Machine Type: i586-suse-linux-gnu
Bash Version: 4.0
Patch Level: 24
Release Status: release
Description:
I've got a bug report of a python user which imports the readline
library for command line support. It apears that if terminfo
includes meta mode support (smm/rmm) the readline library send
ESC [ ? 1034 h
which cause problems if used in network environments.
Repeat-By:
Use XTerm at least version X.Org 6.8.99.903(236)
Fix:
Use the patch below for bind.c from the readline library to
be able to use
set meta-mode off
in /etc/inputrc
--- bind.c
+++ bind.c 2009-09-30 11:25:38.087930034 +0200
@@ -1473,6 +1473,7 @@ static const struct {
#if defined (VISIBLE_STATS)
{ "visible-stats", &rl_visible_stats, 0 },
#endif /* VISIBLE_STATS */
+ { "meta-mode", &_rl_enable_meta, 0 },
{ (char *)NULL, (int *)NULL }
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Meta mode in modern XTerm is not configurable in readline library,
werner <=