07-17-2008
Emacs set-cursor-color in iTerm problem
Hi
I'm trying to customise emacs to work within iTerm (I've aliased emacs = emacs -nw so it runs inside my shell) but I can't get the 'set-cursor-color' to work. I have the following in my .emacs file:
(set-cursor-color "LightSkyBlue")
(set-background-color "Black")
(set-foreground-color "White")
(set-mouse-color "LightSkyBlue")
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
which successfully changes the background and foreground colours, but not the cursor colour! (so now it's black on black.. I can't see it!)
This setting works if I open emacs outside my terminal, or under X11 or Mac's inbuild 'Terminal' application, but I like using iTerm... any ideas most welcome!
Thanks
Pepperjack
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to be able to get color with my SSH sessions (I'm using PuTTY) when using Emacs... but I've been unable to.
Someone told me to change the Terminal-type string to "xterm-color" and I've tried that... but I still can't get any color.
Any and all help will be appreciated. (4 Replies)
Discussion started by: xyyz
4 Replies
2. Solaris
Hi All.
How can I change the color of my cusor in sun solaris 8 permanently ? Right now my cursor color is yellow. I want black.
Please reply me soon.
Thanks
Pankaj Verma. (3 Replies)
Discussion started by: pankaj verma
3 Replies
3. UNIX for Dummies Questions & Answers
I am using a telnet session (VT100) and need to modify my .profile so that it will set the color of the telnet session. I am not using Xterm (ie: can't use .Xdefaults). I am able to change the colors via menu's but need to preset in .profile. Is this possible??? Can't find anything at all on how... (3 Replies)
Discussion started by: dvella
3 Replies
4. UNIX for Dummies Questions & Answers
So... i cant get it to work.
I had already posted this but it got deleted. Details:
Im running SSH shell on Windows XP, connecting to a server whose term is vt100 (someone asked me that last time)
Im trying to get the syntax highlighting in cc mode to work in color, but its black and... (0 Replies)
Discussion started by: viejid
0 Replies
5. Solaris
Hello Friends,
I am using solaris 10 operating system. I would like to know how to use the xterm color in it. I am trying this command:- xterm -bg color, but it is giving this
talc:/home/ania {ania} xterm -bg color
21469
-bg: Command not found.
What should i do? Can u help me... (3 Replies)
Discussion started by: asirohi
3 Replies
6. Shell Programming and Scripting
Hi All,
how do I set in .profile file Unix terminal background color = BLUE ?
Please advice me.
:confused: (2 Replies)
Discussion started by: raghur77
2 Replies
7. Shell Programming and Scripting
Hi folks
This is our prompt at the moment
oracle@pinkipinki:/opt/oracle> grep 'set prompt' .cshrc
set prompt = "$user@`uname -n`:$cwd> "
We wish to have in production the same prompt, but red.
Howto do that? I tried a lot a internet manuals, but it doesn't work. (1 Reply)
Discussion started by: slashdotweenie
1 Replies
8. UNIX for Advanced & Expert Users
I want to differentiate the STDOUT and STDERR messages in my terminal .
If a script or command is printing a message in terminal I want to differentiate by colors,
Is it possible ?
Example:
$date
Wed Jul 27 12:36:50 IST 2011
$datee
bash: datee: command not found
$alias ls
alias... (2 Replies)
Discussion started by: ungalnanban
2 Replies
LEARN ABOUT SUSE
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)