Skip site navigation (1)Skip section navigation (2)
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

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Yuri Pankov wrote:
> >=20
> > 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).
> >=20
> > I've opened a PR
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246029 but the
> > maintainer is too quick to close it IMHO.
> >=20
> > Does anyone care to view/comment on the PR?
>=20
> $ screen --version
> Screen version 4.08.00 (GNU) 05-Feb-20
>=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.=20

>=20
> 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.


--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature; name="signature.asc"

-----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-----

--vtzGhvizbBRQ85DL--



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