TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Terminal Colors

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
forwardslash



Joined: 02 Aug 2010
Posts: 3

PostPosted: Mon Aug 02, 2010 1:41 pm    Post subject: Terminal Colors Reply with quote

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
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Mon Aug 02, 2010 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
forwardslash



Joined: 02 Aug 2010
Posts: 3

PostPosted: Mon Aug 02, 2010 9:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Mon Aug 02, 2010 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
forwardslash



Joined: 02 Aug 2010
Posts: 3

PostPosted: Tue Aug 03, 2010 1:06 pm    Post subject: Reply with quote

Awesome, I'll try that tonight after work. Many thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group