[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bracketed paste ANSI sequence on non-ANSI terminals
From: |
G. Branden Robinson |
Subject: |
Re: bracketed paste ANSI sequence on non-ANSI terminals |
Date: |
Fri, 3 Nov 2023 10:28:39 -0500 |
At 2023-11-03T10:51:44-0400, Chet Ramey wrote:
> There's no portable way to determine whether a particular terminal
> supports bracketed paste. Readline does suppress it for dumb
> terminals, but the vt52 and adm3a are just smart enough to pass its
> tests.
That's a pretty low bar--those terminals predate ECMA-48![1]
Bracketed paste mode still has a showroom shine by comparison.
Some study of the terminfo database might enable a test with greater
specificity. I've been knocking about in ncurses lately; I'll send a
patch if I spot anything promising.
Regards,
Branden
[1] DEC VT52, 1974
Lear-Sigler ADM-3a, 1976
ECMA-48 (1st edition), 1976
I'm assuming LSI had the design of the ADM-3a locked down before
ECMA-48 was finalized.
Also, ECMA-48 came first; ANSI X3.64 followed. It's more correct to
say "ECMA-48 escape sequences".
signature.asc
Description: PGP signature
- bracketed paste ANSI sequence on non-ANSI terminals, John Tsiombikas, 2023/11/02
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Chet Ramey, 2023/11/03
- Re: bracketed paste ANSI sequence on non-ANSI terminals,
G. Branden Robinson <=
- Re: bracketed paste ANSI sequence on non-ANSI terminals, John Tsiombikas, 2023/11/04
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Chet Ramey, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, John Tsiombikas, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Mike Jonkmans, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Hans Lub, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Chet Ramey, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, Chet Ramey, 2023/11/06
- Re: bracketed paste ANSI sequence on non-ANSI terminals, John Tsiombikas, 2023/11/07