Date: Tue, 16 May 2017 21:51:48 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Freddie Cash <fjwcash@gmail.com> 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: <591B5854.305@quip.cz> In-Reply-To: <CAOjFWZ7nF7j3_o85_1aX2cA_3G6cvobNSjpFCENg_YM7eQcZcw@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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=screen-256color >> >> And missing lines are different on each run. >> > > Just curious, but what happens if you set TERM=tmux instead of > TERM=screen? Newer versions of tmux accept that as an option, and the > termcap/terminfo should be cleaner/more up-to-date than the screen setting. > > From: > > https://www.freebsd.org/cgi/man.cgi?query=tmux&sektion=1&apropos=0&manpath=FreeBSD+11.0-RELEASE+and+Ports > > "default-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. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?591B5854.305>