On Fri, Aug 02, 2019 at 06:30:39PM +0200, Sven Joachim wrote:
> On 2019-08-02 11:50 +0200, Romain Francoise wrote:
> 
> > Hi Sven,
> >
> > On Wed, Jul 31, 2019 at 7:57 PM Sven Joachim <svenj...@gmx.de> wrote:
> >> So rin=\E[%p1%dT has been added in sid, apparently because of the
> >> following change in the 20190630 patchlevel:
> >>
> >> ,----
> >> |       + add a check in tic for paired indn/rin
> >> `----
> >
> > Would it be possible to temporarily revert this change in Debian,
> 
> I think reverting this particular change is not the right thing, rather
> we should drop "rin" from tmux (which Thomas has already promised) and
> from screen, which tmux still uses (for better or worse) as its default
> value for $TERM.

I see :-)

fwiw, it's been in screen a while.  I see it in 3.7.1 (1995).
This comment in patchlevel.h appears to describe the change

 * 27.04.94 -- 3.05.10 97801 obscure code support. Linux long
 *                     password workaround.

But it wasn't in the terminal description using these capabilities:

       parm_index                    indn       SF        scroll forward #1
                                                          lines (P)
       parm_rindex                   rin        SR        scroll back #1 lines
                                                          (P)
...
       Parameterized versions of the scrolling  sequences  are  indn  and  rin
       which  have  the same semantics as ind and ri except that they take one
       parameter, and scroll that many lines.  They are also undefined  except
       at the appropriate edge of the screen.

(The non-parameterized ind/ri could have used this, but already
had been assigned to sequences which a VT100 would recognize).

Actually I'd thought the tmux program would select "tmux" if available,
in preference to "screen', but a quick check of the source
code doesn't support that idea.

For example, in options-table.c:

        { .name = "default-terminal",
          .type = OPTIONS_TABLE_STRING,
          .scope = OPTIONS_TABLE_SERVER,
          .default_str = "screen"
        },

I'll check for anything I may have overlooked,
and probably add a somewhat longer note, explaining the situation.
 
-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to