From owner-freebsd-questions@freebsd.org Thu Apr 30 02:29:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97ECD2CA8FA for ; Thu, 30 Apr 2020 02:29:03 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49CK7y5Stmz47ZK for ; Thu, 30 Apr 2020 02:29:02 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=e764bsgjSaYpNyvESmefvJnJ66JBnMnGfdWvC4+URBg=; b=fBS1nRMfNaSTtFLRnuQAlLNHf/ BPncOCWfSMFW9IFOMnmii9+FrDNMq/3+7FPNJ0x3UG77fMr2F1SVPlr5EZmLHUI9W1lRzLRivhkTp mhYzVV4ED5MCOhm4xNxOtZxgamSjngrw+MjykvUc2QFZOvXhF0Wbje8gWRZNEsvrRrTU=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jTywe-0004EY-TE for freebsd-questions@freebsd.org; Thu, 30 Apr 2020 09:29:00 +0700 Date: Thu, 30 Apr 2020 09:29:00 +0700 From: Victor Sudakov 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> References: <20200429150458.GA1475@admin.sibptus.ru> <9dc5f37c-11f3-4b08-9b0c-fd45442e51ac@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <9dc5f37c-11f3-4b08-9b0c-fd45442e51ac@fastmail.com> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49CK7y5Stmz47ZK X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=fBS1nRMf; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.23)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.29), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 02:29:03 -0000 --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--