bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-ncurses] ANN: ncurses-6.4-20240120


From: Thomas Dickey
Subject: Re: [bug-ncurses] ANN: ncurses-6.4-20240120
Date: Mon, 22 Jan 2024 04:15:39 -0500

On Mon, Jan 22, 2024 at 09:12:31AM +0100, Dr. Werner Fink wrote:
> On 2024/01/20 23:32:02 +0000, Thomas Dickey wrote:
> >  misc/terminfo.src                               | 1440 +++++------
>   
> > 20240120
> >     + use ansi+sgrbold, ansi+sgrdim, ansi+sgrso, ansi+sgrul, ansi+tabs
> >       ecma+color, ecma+sgr, vt100+4bsd, vt100+pfkeys, vt220+pcedit
> >       xterm+256color, xterm+acs, xterm+nopcfkeys, xterm+pcf2 to trim -TD
> 
> Simple question on (u)rxvt (with TERM=rxvt-unicode): in rxvt-basic the arrow
> keys are given as
> 
>   kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
> 
> this agrees with the result on the shell command line
> 
>  ^[[D^[[A^[[B^[[C
> 
> but not within an application like vim
> 
>  ^[OD^[OA^[OB^[OC

perhaps this -

vim uses smkx/rmkx,

        rmkx=\E>, 
        smkx=\E=, 

but not is1/rs1

infocmp rxvt-basic rxvt-unicode
        is1: '\E[?47l\E=\E[?1l', '\E[!p'.
        rs1: '\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H', '\Ec'.

but \E= sets application mode

        ESC =     Application Keypad (DECKPAM).
        ESC >     Normal Keypad (DECKPNM), VT100.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]