emacs-devel
[Top][All Lists]
Advanced

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

Re: unicode-2, Emacs.app terminal mode after multi-tty merge


From: Stefan Monnier
Subject: Re: unicode-2, Emacs.app terminal mode after multi-tty merge
Date: Sun, 04 Nov 2007 16:08:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> I updated Emacs.app (Mac Cocoa port) to run under the multi-tty
> changes as merged into the unicode-2 branch,

Wonderful.  Can't wait to see this code in the CVS repository.

> however before releasing I need to solve one remaining problem: when
> run as -nw, the default face is set to green foreground, yellow
> background.  (If I go to customize-face it actually says "green" and
> "yellow".)  This occurs with emacs -Q -nw and is new -- unicode-2 CVS
> before the merge produces a black-on-white default face.

> Someone suggested something in my terminal settings caused the
> problem, though I don't have any customization (moved aside .cshrc).
> However the Apple terminal itself may be the cause?  If I run under an
> xterm the problem goes away, but I'm in black-and-white mode.  Setting
> the TERM variable under Apple terminal to various values likewise
> either gives green/yellow or full b-&-w mode.

What values give what result?  Check the code they run in lisp/term/*.el

> Another question -- is there any way to ask the new emacsclient to
> open a frame in the default windowing terminal?

That's what supposedly happens if you pass no option, if not, report it
as a bug.

> Finally, is basic use of multi-tty from inside emacs documented
> anywhere?

There's make-frame-on-tty.

> I read about some functions in the NEWS but could not find out how to
> get a list of the available terminal names to use for 'tty' arguments,

AFAIK there's no generic way to get such a list, indeed.  But any tty
in /dev to which we have write access should do.
It's kind of like X displays: you can't get a list of available
displays, but you can use any display to which you have access.

> or how to specify displays in non-X environments.  E.g.,
> I'd like to throw up a GUI window from inside a -nw session.

Don't know about that one.  There's probably no specific way to do it
because this was developed under X11.  So feel free to define such
a functionality for gnustep.  Note that IIRC w32 specifies
a constant/dummy value for `display' parameter of its frames, and
I guess the carbon code does likewise, so you may want to use that.


        Stefan




reply via email to

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