[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mac OS X: colors in a terminal
From: |
Kevin Rodgers |
Subject: |
Mac OS X: colors in a terminal |
Date: |
Wed, 25 Apr 2007 21:17:17 -0600 |
User-agent: |
Thunderbird 1.5.0.10 (Macintosh/20070221) |
The mac/INSTALL file says:
To use colors in a terminal, put the following lines in the file
~/.termcap and log in again.
-----
# added ANSI color
vt100|vt100-am|vt100am|dec vt100:\
:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[m:AF=\E[3%dm:AB=\E[4%dm:\
:do=^J:co#80:li#24:cl=\E[;H\E[2J:sf=2*\ED:\
:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
:rf=/usr/share/tabset/vt100:\
:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[;r\E[0m\E(B\E)B\E[2J:\
:ks=\E[?1h\E=:ke=\E[?1l\E>:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
-----
But on my platform (see below), starting Emacs from a Terminal with
/usr/local/bin/emacs -Q -f list-colors-display
displays a *Colors* buffer with these entries even though I don't even
have a ~/.termcap file:
black black
#000000
red red
#cd0000
green green
#00cd00
yellow yellow
#cdcd00
blue blue
#0000ee
magenta magenta
#cd00cd
cyan cyan
#00cdcd
white white
#e5e5e5
`C-h i' displays the *info* buffer with fontified text in colors,
and `M-x list-faces-display' displays colored faces as well.
Is the suggestion in mac/INSTALL obsolete altogether or does it just
need to be clarified?
In GNU Emacs 22.0.99.1 (i386-apple-darwin8.9.1, Carbon Version 1.6.0)
of 2007-04-25 on The-Rodgers-Computer.local
Windowing system distributor `Apple Inc.', version 10.4.9
configured using `configure '--enable-carbon-app''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: iso-8859-1
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
encoded-kbd-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
ESC x r e p o r t TAB RET
Recent messages:
("/usr/local/bin/emacs" "-Q" "-f" "list-colors-display")
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading help-mode...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
--
Kevin Rodgers
Denver, Colorado, USA
- Mac OS X: colors in a terminal,
Kevin Rodgers <=