Date: Thu, 30 Apr 2020 09:29:00 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: Re: sysutils/screen and its now default "screen.xterm-256color" terminal type Message-ID: <20200430022900.GA16206@admin.sibptus.ru> In-Reply-To: <9dc5f37c-11f3-4b08-9b0c-fd45442e51ac@fastmail.com> References: <20200429150458.GA1475@admin.sibptus.ru> <9dc5f37c-11f3-4b08-9b0c-fd45442e51ac@fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Yuri Pankov wrote:
> >
> > Have you noticed that the recent versions of sysutils/screen force the
> > setting of $TERM to "screen.xterm-256color"? FreeBSD does not know this
> > terminal type, which leads to different errors in programs running under
> > screen ("using dumb terminal" etc).
> >
> > I've opened a PR
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246029 but the
> > maintainer is too quick to close it IMHO.
> >
> > Does anyone care to view/comment on the PR?
>
> $ screen --version
> Screen version 4.08.00 (GNU) 05-Feb-20
>
> Not a screen user myself, I just installed the latest screen from ports to
> check, and not seeing this behavior: without ~/.screenrc I get $TERM of
> "screen", and with "term xterm256-color" in ~/.screenrc I get exactly that
> in $TERM.
This is probably because you are starting screen from a tty (console or
ssh) session. Start it from xterm and you'll see it.
>
> What are your other related settings? Or could it be stale system-wide
> configuration somewhere, stale patches?
No, you are just not using a FreeBSD desktop system :-) which I do.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJeqjfsAAoJEA2k8lmbXsY0PI8H/2Wf8pgjylXdW+Sdo8BhdUzm
2UNkz1kRSanIPwvSkSY/sWP5W2HhiGS0EPFOJNpFiiHoZin5FS33sJ0ghIWJNfJw
52PeHgLvGpXDtTZgTpMM8/x22ifd6yGZ4RCDG3QxsqwpI7ZKZhk/+OlsqQksH2Vy
ipDLuSRsSqWFU7abED0z46mjLtJepQxoc6UB+Plgmfna1MfiD/mpBJqkaak/dfsB
W0PkxL2eYiJQf4xvfb1YFLSyid5PCpRDc6dwgidhZbnqwLuDec9yZLQej/3CGQhq
Rxq+hmRtqbeE343NZIUICZzjEj09fbK2qg+eLnt4RqLu5Fo+z8yDsBqf5M0Xe0I=
=R7BA
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200430022900.GA16206>
