From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7141 invoked by alias); 8 Jun 2015 06:53:44 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 7109 invoked by uid 48); 8 Jun 2015 06:53:44 -0000 From: "memo.salas at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/15163] Vi settings within ~/.inputrc prevent entering/exiting TUI via C-x a Date: Mon, 08 Jun 2015 06:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: 7.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: memo.salas at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00393.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15163 --- Comment #5 from Memo Salas --- I changed my workaround by to not hard-code a key combination for exiting the tui mode, and instead pick up a key combination from the ~/.inputrc file, , by modifying the function tui_initialize_readline to call rl_re_read_init_file (in readline/bind.c) before returning. My ~/.inputrc now has a keyboard mapping to associate to "tui-switch-mode". Regardless, for a better out-of-the-box experience perhaps a better default for vi key bindings is needed, at least for "tui-switch-mode", then things would work without requiring users to modify ~/.inputrc or similar. -- You are receiving this mail because: You are on the CC list for the bug.