From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: RFC: comint.el - comint-highlight-prompt and unreadable colors Date: Fri, 30 Mar 2007 05:16:28 +0000 Message-ID: <20070330051627.GA11833@www.trapp.net> References: <87wt14a158.fsf@pacem.orebokech.com> <20070326124509.GB23542@www.trapp.net> <20070329144412.GB9814@www.trapp.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1175232126 32605 80.91.229.12 (30 Mar 2007 05:22:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 05:22:06 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 30 07:22:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HX9Yp-00032e-6N for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 07:22:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HX9bT-0000uE-61 for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 00:24:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HX9bQ-0000tt-BI for emacs-devel@gnu.org; Fri, 30 Mar 2007 01:24:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HX9bO-0000tY-H8 for emacs-devel@gnu.org; Fri, 30 Mar 2007 01:24:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HX9bO-0000tV-7d for emacs-devel@gnu.org; Fri, 30 Mar 2007 00:24:42 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104] helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HX9Yh-0002YZ-TT for emacs-devel@gnu.org; Fri, 30 Mar 2007 01:21:56 -0400 Original-Received: from www.elogos.de (localhost [127.0.0.1]) by www.elogos.de (Postfix) with ESMTP id 27D9B4B598; Fri, 30 Mar 2007 05:16:28 +0000 (UTC) Original-Received: by www.elogos.de (Postfix, from userid 4000) id 1D2734B59C; Fri, 30 Mar 2007 05:16:28 +0000 (UTC) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68770 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Mar 29, 2007 at 12:10:35PM -0400, Stefan Monnier wrote: > > That's true. So the most elegant way around seems to be Miles' env > > variables... >=20 > Are they properly propagated by things like `ssh'? Yes and no. The ssh man page mentions a set of variables which are propagated (things like TZ, MAIL, PATH and some ssh specific stuff), and then you may pre-set things in .ssh/environment. I don't know whether Putty mimics this. But then, all this behaviour can be disabled, server-side. (Hmpf. Come to think of it, I _know_ my ssh propagates LANG as well, although it isn't mentioned in the man page. Ah, I see: man page is wrong. Which vars to send can be configured for the client as well). > I'd think a terminal command (i.e. escape sequence) which returns the t= erm's > identification would be even better. Yes, the ideal would be to be able to query the terminal about its current settings ("are you dark background?"). But the flexibility of ssh would allow the users to solve the concrete Putty problem now, I think. Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGDJ0rBcgs9XrR2kYRAq8OAJ0Swh6n4NpAELsM09jgmhN5uuUOsACffkJf M925eu5HKLeJslnnBeKEOFg=3D =3DKK9Z -----END PGP SIGNATURE-----