public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/30290] New: [gdb/tui] tui unusable with editing off
@ 2023-03-30 4:12 vries at gcc dot gnu.org
2023-03-30 9:37 ` [Bug tui/30290] " vries at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30 4:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30290
Bug ID: 30290
Summary: [gdb/tui] tui unusable with editing off
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: tui
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
- start gdb
- type "set editing off<enter>"
- type "tui enable<enter>"
- type "quit<enter>"
After entering tui, nothing happens.
The "quit" isn't echoed, and gdb hangs.
It's stuck in gdb_readline_no_editing_callback, waiting for a '\n', which never
comes because the <enter> at the end of the quit somehow produces a '\r'
instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tui/30290] [gdb/tui] tui unusable with editing off
2023-03-30 4:12 [Bug tui/30290] New: [gdb/tui] tui unusable with editing off vries at gcc dot gnu.org
@ 2023-03-30 9:37 ` vries at gcc dot gnu.org
2023-03-30 10:56 ` vries at gcc dot gnu.org
2023-03-30 16:20 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30 9:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30290
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 14790
--> https://sourceware.org/bugzilla/attachment.cgi?id=14790&action=edit
Tentative patch
Fixes:
- the hang
- echoing of keys while typing, including enter
Still doesn't do anything useful with say backspace, which does work with
editing off outside of tui. I think that might be a raw vs cooked mode
terminal thing.
But at least it makes things workable at a very basic level.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tui/30290] [gdb/tui] tui unusable with editing off
2023-03-30 4:12 [Bug tui/30290] New: [gdb/tui] tui unusable with editing off vries at gcc dot gnu.org
2023-03-30 9:37 ` [Bug tui/30290] " vries at gcc dot gnu.org
@ 2023-03-30 10:56 ` vries at gcc dot gnu.org
2023-03-30 16:20 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30 10:56 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30290
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Another thing to do here could be to refuse entering tui with editing off.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tui/30290] [gdb/tui] tui unusable with editing off
2023-03-30 4:12 [Bug tui/30290] New: [gdb/tui] tui unusable with editing off vries at gcc dot gnu.org
2023-03-30 9:37 ` [Bug tui/30290] " vries at gcc dot gnu.org
2023-03-30 10:56 ` vries at gcc dot gnu.org
@ 2023-03-30 16:20 ` vries at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2023-03-30 16:20 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30290
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Submitted RFC:
https://sourceware.org/pipermail/gdb-patches/2023-March/198490.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-30 16:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 4:12 [Bug tui/30290] New: [gdb/tui] tui unusable with editing off vries at gcc dot gnu.org
2023-03-30 9:37 ` [Bug tui/30290] " vries at gcc dot gnu.org
2023-03-30 10:56 ` vries at gcc dot gnu.org
2023-03-30 16:20 ` vries at gcc dot gnu.org
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).