public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26816] New: tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command
@ 2020-10-30 0:13 sourceware.org at daveola dot com
2020-11-01 16:20 ` [Bug tui/26816] " tromey at sourceware dot org
2020-11-01 20:33 ` sourceware.org at daveola dot com
0 siblings, 2 replies; 3+ messages in thread
From: sourceware.org at daveola dot com @ 2020-10-30 0:13 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26816
Bug ID: 26816
Summary: tui-switch-mode readline bindings in inputrc are
ignored until readline re-read-init-file command
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: sourceware.org at daveola dot com
Target Milestone: ---
The tui-switch-mode command is available to readline bindings, but
unfortunately any bindings to that specific command are ignored unless the
readline "re-read-init-file" command is issued (even if the file has not
changed).
As an example, this very simple .inputrc:
"y": re-read-init-file
"z": tui-switch-mode
The binding of a simple 'z' for the "tui-switch-mode" command (to toggle the
tui mode) is ignored until we reload the init file (using the binding 'y').
The binding is known, since we can't type 'z' - but the tui-switch-mode does
not occur.
We know the .inputrc file has been read, since it recognizes the 'y' binding,
as well as any other bindings we may put into the file. Perhaps after loading
the initial readline config gdb is breaking some bindings in it's setup?
The workaround of reloading the inputrc was discovered by John W in this cygwin
bug:
https://www.cygwin.com/bugzilla/show_bug.cgi?id=15163#c9
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tui/26816] tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command
2020-10-30 0:13 [Bug gdb/26816] New: tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command sourceware.org at daveola dot com
@ 2020-11-01 16:20 ` tromey at sourceware dot org
2020-11-01 20:33 ` sourceware.org at daveola dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2020-11-01 16:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26816
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Component|gdb |tui
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tui/26816] tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command
2020-10-30 0:13 [Bug gdb/26816] New: tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command sourceware.org at daveola dot com
2020-11-01 16:20 ` [Bug tui/26816] " tromey at sourceware dot org
@ 2020-11-01 20:33 ` sourceware.org at daveola dot com
1 sibling, 0 replies; 3+ messages in thread
From: sourceware.org at daveola dot com @ 2020-11-01 20:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26816
David Stellar <sourceware.org at daveola dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sourceware.org at daveola dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-01 20:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 0:13 [Bug gdb/26816] New: tui-switch-mode readline bindings in inputrc are ignored until readline re-read-init-file command sourceware.org at daveola dot com
2020-11-01 16:20 ` [Bug tui/26816] " tromey at sourceware dot org
2020-11-01 20:33 ` sourceware.org at daveola dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).