From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7j2e-0005Xt-UK for garchives@archives.gentoo.org; Wed, 24 Aug 2005 00:22:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7O0KSJE015967; Wed, 24 Aug 2005 00:20:28 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7O0G8Iv006862 for ; Wed, 24 Aug 2005 00:16:08 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E7iwz-0005Qk-Fz for gentoo-dev@lists.gentoo.org; Wed, 24 Aug 2005 00:17:05 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E7iwo-0007Id-3a for gentoo-dev@gentoo.org; Wed, 24 Aug 2005 02:16:54 +0200 Received: from dsl-082-083-001-105.arcor-ip.net ([82.83.1.105]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Aug 2005 02:16:54 +0200 Received: from skoehler by dsl-082-083-001-105.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Aug 2005 02:16:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: =?ISO-8859-1?Q?Sven_K=F6hler?= Subject: [gentoo-dev] Re: Fixing the TERM mess Date: Wed, 24 Aug 2005 02:10:04 +0200 Message-ID: References: <20050821220505.4efbaff2@snowdrop.home> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig06A2E29DEDA8E39F13EC329B" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl-082-083-001-105.arcor-ip.net User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <20050821220505.4efbaff2@snowdrop.home> X-Enigmail-Version: 0.92.0.0 Sender: news X-Archives-Salt: 039d3eb4-b6c5-4847-85b1-4e0deb61cbc6 X-Archives-Hash: 3a8c9f7679b6f8496293b1d54f2f15bd This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig06A2E29DEDA8E39F13EC329B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > See, certain terminal emulators lie about their TERM setting. Usually > it's things that aren't xterm pretending to be an xterm, although rxvt > sometimes crops up too. Examples of things pretending to be xterm > include Konsole, Gnome Terminal. > > The logic behind it goes like this: > > * We don't understand this 'terminfo' thing, but we want our terminal to > work with programs which use ncurses. > > * We've implemented xterm-style colour sequences and some basic cursor > movement. > > * Therefore, we shall set TERM=xterm. > > This is not a good idea. See, real xterm supports a hell of a lot of > fancy voodoo. It and rxvt-unicode are two of the most fully featured > terminal emulators (from a terminal capability point of view) out there. > None of these cheap knockoffs that claim to be xterm come anywhere near > close to supporting full xterm capabilities. I fully agree with you, but ... did xterm support the full feature-set right from the start? So what happens if i've got a box running an old xterm and then do an ssh-session to a newer box where the application thinks that xterm support some fency new feature? After the all, the whole mess can IMHO only be cleared up, if there's something like a universal terminal-type, and the application could ask the terminal for it's feature-set. So i'm not aware if this is possible, but this seems to be the only _really_ reliable extensible way to do this. I don't see the point in define lots of all new terminal-types. Of course this isn't and a short-term sollution and would have to be implemented by all the terminal-emulators that lie about their terminal-type. --------------enig06A2E29DEDA8E39F13EC329B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDC7rc7Ww7FjRBE4ARAqrDAJ9x7sTzc2Ooxfpt/00zTMEnxpmcLgCglD3E ZvL+G26Y3OwAaG0DEvs2E0w= =AAxk -----END PGP SIGNATURE----- --------------enig06A2E29DEDA8E39F13EC329B-- -- gentoo-dev@gentoo.org mailing list