From: Tom Tromey <tom@tromey.com>
To: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
Cc: Tom de Vries <tdevries@suse.de>, Tom Tromey <tom@tromey.com>
Subject: Re: [RFC] [gdb/tui] Add set tui border-kind acs-or-space/acs-or-ascii
Date: Fri, 15 Dec 2023 12:43:05 -0700 [thread overview]
Message-ID: <87wmtf5k1i.fsf@tromey.com> (raw)
In-Reply-To: <20230419133743.3288-1-tdevries@suse.de> (Tom de Vries via Gdb-patches's message of "Wed, 19 Apr 2023 15:37:43 +0200")
>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:
I don't recall if we discussed or finished discussing this...
Tom> The gdb TUI testsuite uses a custom ansi terminal emulator (tuiterm.exp) in
Tom> order to be able to inspect the state of the terminal, and consequently runs
Tom> all test-cases using TERM=ansi.
Tom> Once in a while I manually replay a test-case on an actual terminal emulator,
Tom> using TERM=ansi to make sure I trigger the same behaviour, and run into funny
Tom> looking borders, like this:
Tom> ...
Tom> ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Tom> ³ ³
Tom> ³ [ No Source Available ] ³
Tom> ³ ³
Tom> ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Tom> ...
Tom> This is PR tui/30370.
IIUC, you are not using an actual ANSI terminal, but some other thing,
and then setting TERM=ansi?
I think in this case you should just expect that things will go wrong.
TERM has to reflect the capabilities of the actual terminal. I tend to
think gdb shouldn't try to work around this kind of thing, if a user
does this it will probably affect any terminal-aware program.
Tom
next prev parent reply other threads:[~2023-12-15 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-19 13:37 Tom de Vries
2023-12-15 19:43 ` Tom Tromey [this message]
2023-12-16 9:50 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmtf5k1i.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).