Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 13:12:23 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Tommy Scheunemann <net@arrishq.net>, freebsd-ports <freebsd-ports@freebsd.org>,  David Wolfskill <david@catwhisker.org>
Subject:   Re: sysutils/tmux - strange behaviour with new version 2.4
Message-ID:  <CAOjFWZ6G4qbdg70=rLnu69Qdv1BvZ7TYMpZ2o0rXvD9nSa-2yw@mail.gmail.com>
In-Reply-To: <591B5854.305@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> <CAOjFWZ7nF7j3_o85_1aX2cA_3G6cvobNSjpFCENg_YM7eQcZcw@mail.gmail.com> <591B5854.305@quip.cz>

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

> Freddie Cash wrote on 2017/05/16 21:27:
>
>> On Tue, May 16, 2017 at 12:18 PM, Miroslav Lachman <000.fbsd@quip.cz>
>> wrote:
>>
>
> [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 o=
f
>> 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&apr
>> opos=3D0&manpath=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."
>>
>
> I tried this in ~/.tmux.conf:
>
> set -g default-terminal "tmux"
>
> But when I run tmux command I got this error:
>
> tcsh: Cannot open /etc/termcap.
> tcsh: using dumb terminal settings.
>
> I think there is no tmux entry in /etc/termcap on FreeBSD 10.3
>
> And tmux output with dumb terminal is still misbehaving.


=E2=80=8BYeah, looks like there's no tmux entry in termcap/terminfo on Free=
BSD (at
least according to SVN web).  So much for following the man page.  ;)

I'll go back to lurking now ...

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6G4qbdg70=rLnu69Qdv1BvZ7TYMpZ2o0rXvD9nSa-2yw>