OSX Terminal Colours


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Snake Sneak

Posts: 105

Joined: Monday, 11th July 2011, 13:53

Post Tuesday, 28th August 2012, 17:39

OSX Terminal Colours

When I open crawl in OSX Lion, the parts of the dungeon I cannot see have the same color as ego items. Anyone has an idea how to get it back to (dark?) grey or whatever the standard is? When I use the color settings of the terminal to replace blue with grey, ego items are also grey which I don't want.

[edit]
This is true for the menu too (and probably all parts of the game), as you can see in the second screenshot.
Attachments
Screen Shot 2012-08-28 at 8.18.21 PM.png
Screen Shot 2012-08-28 at 8.18.21 PM.png (89.44 KiB) Viewed 1436 times
Screen Shot 2012-08-28 at 7.30.07 PM.png
Screen Shot 2012-08-28 at 7.30.07 PM.png (90.68 KiB) Viewed 1442 times
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Wednesday, 29th August 2012, 14:25

Re: OSX Terminal Colours

Console crawl changes some colours on Apple Terminal because it (probably just older versions) doesn't treat the "bold" flag as "brighter colour", making darkgrey appear as black. If your version does treat bold as a bright, you can add the following in your rc file to re-enable all the suppressed colours:
  Code:
colour.darkgrey = darkgrey
colour.lightblue = lightblue
colour.lightgreen = lightgreen
colour.lightcyan = lightcyan
colour.lightred = lightred
colour.lightmagenta = lightmagenta
colour.yellow = yellow
colour.white = white

Or you can disable the check by running it as "TERMINAL_PROGRAM=ignore crawl" (doesn't have to be "ignore"; anything other than "Apple_Terminal" would do).

If this makes darkgrey things appear as black, you'll instead need to pick a different colour, e.g. "colour.darkgrey = magenta".

Tartarus Sorceror

Posts: 1773

Joined: Monday, 21st February 2011, 15:57

Location: South Carolina

Post Wednesday, 29th August 2012, 16:16

Re: OSX Terminal Colours

Or you can check "use bright colors for bold text" in the text preferences for Terminal.app.
Image

See this thread from last week:
viewtopic.php?f=5&t=5458&p=73334#p73334

For this message the author jejorda2 has received thanks:
HenryFlower
User avatar

Dungeon Master

Posts: 502

Joined: Wednesday, 7th March 2012, 13:25

Location: Lexington, KY, US

Post Thursday, 30th August 2012, 02:36

Re: OSX Terminal Colours

You probably want to do both: "use bright colors for bold text" so that the terminal can do darkgrey, lightred, etc; and the colour.foo = foo settings (or the TERMINAL_PROGRAM=ignore hack) so that crawl actually uses them rather than deciding "it's Apple Terminal, better use only eight colours".
User avatar

Blades Runner

Posts: 575

Joined: Tuesday, 18th January 2011, 15:11

Post Thursday, 30th August 2012, 06:36

Re: OSX Terminal Colours

you could also use iterm2 instead.
Wins: DDBe (3 runes, morgue file)

Snake Sneak

Posts: 105

Joined: Monday, 11th July 2011, 13:53

Post Thursday, 30th August 2012, 07:36

Re: OSX Terminal Colours

absolutego wrote:you could also use iterm2 instead.

iTerm2 shows flickering lines when moving, which annoys me.


I saw that kilobyte commited a fix to this, but it made everything black on my screen. But with "use bright colors for bold text" and this fix it works fine.

Thanks all! I'm pretty new to OSX.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.