emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: comint.el - comint-highlight-prompt and unreadable colors


From: tomas
Subject: Re: RFC: comint.el - comint-highlight-prompt and unreadable colors
Date: Fri, 30 Mar 2007 05:16:28 +0000
User-agent: Mutt/1.5.9i

-----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...
> 
> 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 term'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ás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFGDJ0rBcgs9XrR2kYRAq8OAJ0Swh6n4NpAELsM09jgmhN5uuUOsACffkJf
M925eu5HKLeJslnnBeKEOFg=
=KK9Z
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]