Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 12:27:44 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Tommy Scheunemann <net@arrishq.net>, David Wolfskill <david@catwhisker.org>, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: sysutils/tmux - strange behaviour with new version 2.4
Message-ID:  <CAOjFWZ7nF7j3_o85_1aX2cA_3G6cvobNSjpFCENg_YM7eQcZcw@mail.gmail.com>
In-Reply-To: <591B507D.2040403@quip.cz>
References:  <5919E2CE.5010109@quip.cz> <40137405-2db0-759f-46d5-67519703d48f@FreeBSD.org> <591AE179.6030107@quip.cz> <20170516113522.GU1146@albert.catwhisker.org> <591AE823.8050809@quip.cz> <c0dba2b0-6312-867d-a137-bcdc60c7f2a6@arrishq.net> <591B507D.2040403@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 16, 2017 at 12:18 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote=
:

> Tommy Scheunemann wrote on 2017/05/16 20:48:
>
>> Le 16.05.2017 =C3=A0 13:53, Miroslav Lachman a =C3=A9crit :
>>
>>> David Wolfskill wrote on 2017/05/16 13:35:
>>>
>>>> Oddly enough, I saw the distinction you pointed out... even though I
>>>> read mail via mutt in a tmux window....  :-}
>>>>
>>>
>>> Uhm... maybe it depends on source of the text? Or locale?
>>>
>>
>> Hi,
>>
>> I've been able to re-produce the issue, though setting:
>>
>> set -g default-terminal "screen-256color"
>>
>> in your tmux.conf seemed to help. Tested both under console and inside a
>> running urxvt.
>> Without that line:
>>
>> env | grep TERM
>>
>> gives me just "screen", having it set the above value. Dunno if that
>> might be related to /etc/termcap the screen line that exists (note -
>> dunno, unsure, just a guess).
>>
>
> I tried your suggestion with screen-256color but it doesn't help.
>
> Many lines are missing:
> =E2=80=8B<snip>
>
>
> # env | grep TERM
> TERM=3Dscreen-256color
>
> And missing lines are different on each run.
>

=E2=80=8BJust curious, but what happens if you set TERM=3Dtmux instead of
TERM=3Dscreen?  Newer versions of tmux accept that as an option, and the
termcap/terminfo should be cleaner/more up-to-date than the screen setting.=
=E2=80=8B

=E2=80=8BFrom:=E2=80=8B

https://www.freebsd.org/cgi/man.cgi?query=3Dtmux&sektion=3D1&apropos=3D0&ma=
npath=3DFreeBSD+11.0-RELEASE+and+Ports

=E2=80=8B"=E2=80=8Bdefault-terminal terminal
    Set the default terminal for new windows created in this session
    - the default value of the TERM environment variable.  For tmux
    to work correctly, this must be set to `screen', `tmux' or a
    derivative of them."

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7nF7j3_o85_1aX2cA_3G6cvobNSjpFCENg_YM7eQcZcw>