public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Disable bracketed paste mode in GDB tests
Date: Mon, 18 Jan 2021 20:26:30 +0100	[thread overview]
Message-ID: <87lfcqjbbt.fsf@igel.home> (raw)
In-Reply-To: <20210118192000.1489237-1-tom@tromey.com> (Tom Tromey's message of "Mon, 18 Jan 2021 12:20:00 -0700")

On Jan 18 2021, Tom Tromey wrote:

> +    # Don't let a .inputrc file or an existing setting of INPUTRC mess
> +    # up the test results.  Certain tests (style tests and TUI tests)
> +    # want to set the terminal to a non-"dumb" value, and for those we
> +    # want to disable bracketed paste mode.  It seems harmless to
> +    # simply always do this.
> +    setenv INPUTRC [cached_file inputrc "set enable-bracketed-paste off"]

Note that readline will barf if it finds an unknown variable in INPUTRC.
When using --with-system-readline and the system readline is < 8.1 this
will fail.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

  reply	other threads:[~2021-01-18 19:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 19:20 Tom Tromey
2021-01-18 19:26 ` Andreas Schwab [this message]
2021-01-18 19:35   ` Tom Tromey
2021-01-18 19:52     ` Tom Tromey
2021-01-18 20:01     ` Andreas Schwab
2021-01-21 23:24       ` Tom Tromey
2021-01-22 15:18         ` Tom Tromey
2021-01-23 15:43 ` Tom Tromey

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=87lfcqjbbt.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /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).