[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nethack-el-devel] colors, suppress-keymap
From: |
Ryan Yeske |
Subject: |
Re: [Nethack-el-devel] colors, suppress-keymap |
Date: |
16 Sep 2002 22:05:15 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Istvan Marko <address@hidden> writes:
> It turns out that this was caused by me having TTY_GRAPHICS enabled in
> addition to LISP_GRAPHICS (so that I could play both in emacs and in
> tty mode with the same binary). When TTY_GRAPHICS is enabled
> mapglyph.c uses the wintty.h version of has_color():
>
> mapglyph.c:
> #include "hack.h"
> #if defined(TTY_GRAPHICS)
> #include "wintty.h" /* for prototype of has_color() only */
> #endif
> [...]
> #if !defined(TTY_GRAPHICS)
> #define has_color(n) TRUE
> #endif
>
> And when running under emacs, the TTY_GRAPHICS version of has_color
> figures that the "tty" it is running on doesn't have colors.
Istvan,
Thanks for tracking this down, I fixed the problem in CVS.
Ryan