| View previous topic :: View next topic |
| Author |
Message |
forwardslash
Joined: 02 Aug 2010 Posts: 3
|
Posted: Mon Aug 02, 2010 1:41 pm Post subject: Terminal Colors |
|
|
I recently tried out tintin on my Arch installation and the colors didn't match up. I'm currently using urxvt with some customization (colors and what not) and am wondering if that's what is messing up.
Basically I want to know if the colors used in tintin are affected by .Xdefaults or if they're affected by some other config file? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3281
|
Posted: Mon Aug 02, 2010 6:43 pm Post subject: |
|
|
TinTin++ colors are whatever the terminal has set as the default. You could try something like the following in .Xdefaults:
| Code: |
Rxvt*background: #000000
Rxvt*foreground: #ffffff
Rxvt*scrollBar: False
Rxvt*font: Courier-15
Rxvt*boldFont: Courier-15
Rxvt*saveLines: 2000
Rxvt*loginShell: True
Rxvt*title: rxvt
Rxvt*iconName: rxvt
Rxvt*scrollTtyOutput: False
Rxvt*scrollTtyKeypress: True
Rxvt*visualBell: True
Rxvt*cursorColor: #55FF55
Rxvt*color0: #000000
Rxvt*color1: #AA0000
Rxvt*color2: #00AA00
Rxvt*color3: #AAAA00
Rxvt*color4: #0000AA
Rxvt*color5: #AA00AA
Rxvt*color6: #00AAAA
Rxvt*color7: #AAAAAA
Rxvt*color8: #555555
Rxvt*color9: #FF5555
Rxvt*color10: #55FF5A
Rxvt*color11: #FFFF55
Rxvt*color12: #5555FF
Rxvt*color13: #FF55FF
Rxvt*color14: #55FFFF
Rxvt*color15: #FFFFFF
|
|
|
| Back to top |
|
 |
forwardslash
Joined: 02 Aug 2010 Posts: 3
|
Posted: Mon Aug 02, 2010 9:43 pm Post subject: |
|
|
| Hmm, is there anyway to make the standard colors load when I start tt++? I have my .Xdefaults setup to work with my desktop theme. |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3281
|
Posted: Mon Aug 02, 2010 10:10 pm Post subject: |
|
|
You can try the colorinit alias in the color utils script:
http://tintin.sourceforge.net/scripts/colorutils.php
It works for xterm, but I don't think it works for rxvt.
If that fails it's an option to substitute your mud's ansi colors to xterm 256 color codes. You'd have to enable: #config {convert meta} {on} and add a color substitution for each ansi color, typically 16 or so.
For example to change ansi bright red to xterm bright red you'd use:
#substitute {\e[1;31m} {<fbb>}
Some muds use odd combinations however, like \e[0;1;31m. |
|
| Back to top |
|
 |
forwardslash
Joined: 02 Aug 2010 Posts: 3
|
Posted: Tue Aug 03, 2010 1:06 pm Post subject: |
|
|
| Awesome, I'll try that tonight after work. Many thanks! |
|
| Back to top |
|
 |
|