[Top][All Lists]

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

Re: Info faces

From: Gerd Moellmann
Subject: Re: Info faces
Date: Tue, 24 Oct 2000 17:22:46 +0200 (CEST)
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.90

Miles Bader <address@hidden> writes:

> "Eli Zaretskii" <address@hidden> writes:
> > The requirement is to be able to tell, from within Emacs, whether a
> > given tty frame is displayed on a real terminal or on some terminal
> > emulator on top of a windowed system such as X.
> The underlying requirement is to tell whether or not the terminal in use
> has a `dark' or a `light' background. 

That's what I thought was the question.

> That's basically impossible, but I thought it might be somehow
> possible to do it for only xterms &c -- they probably represent a
> large percentage of the light-background terminals emacs will be
> used with.

I've looked for something like that in the past, but I couldn't figure
out how to do it.

> If it's impossible to tell that, simply knowing that the terminal is an
> xterm at least lets you set the default so that it will capture
> represent the common case (since most people, to the best of my
> knowledge, use black-on-white xterms).

I'm not so sure.  Xterm's default seems to be a white background.

reply via email to

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