Problems with ANSI colors in official-channels section

These are old archives. They are kept for historic purposes only.
Post Reply
duxa
Posts: 4
Joined: Fri Feb 29, 2008 1:33 am
Contact:

Problems with ANSI colors in official-channels section

Post by duxa »

Help me, please...How to use an ANSI collors attribute in a official-channels section of unrealircd.conf? Try a lot of ways but can't do it...
SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Re: Problems with ANSI colors in official-channels section

Post by SpaceDoG »

Have you tried copying the color code of your client into the unrealircd.conf file?
duxa
Posts: 4
Joined: Fri Feb 29, 2008 1:33 am
Contact:

Re: Problems with ANSI colors in official-channels section

Post by duxa »

I don't know how to view it... I use mIRC v6.03. Can you help me?
I know how to use color text, for example, in bash, but in Unreal escape sequence "\E" not work property.
Kinight
Posts: 13
Joined: Sat Feb 23, 2008 5:16 pm

Re: Problems with ANSI colors in official-channels section

Post by Kinight »

for color in mIRC

click CTRL+K and you will get a small box with colors, click one, for background: you would do <CTRL+K>1,1 that would do black text on black. To end a color, or to switch colors, type CTRL+K again. For bold: CTRL+B for Underline: CTRL+U (No symbol)
duxa
Posts: 4
Joined: Fri Feb 29, 2008 1:33 am
Contact:

Re: Problems with ANSI colors in official-channels section

Post by duxa »

After reading documentation http://www.unrealircd.com/files/docs/un ... l#regexlit i deside that it must be like that one:

Code: Select all

official-channels {
  "#sib54" { topic "\x7Best IRC channel in Novosibirsk"; };
};
But it is not work!

I can't copy text from mIRC to config because midnight commander whitch i use don't allowing me to do it...
nate
Posts: 148
Joined: Fri Jul 29, 2005 10:12 am
Location: Johnstown, Pa
Contact:

Re: Problems with ANSI colors in official-channels section

Post by nate »

If I recall, I remember someone saying those strings are stripped of all control codes upon output into /LIST and what not...

Any one else know if thats the case?
duxa
Posts: 4
Joined: Fri Feb 29, 2008 1:33 am
Contact:

Re: Problems with ANSI colors in official-channels section

Post by duxa »

Color text work excellent!
I do this:
- open mIRC, connect with irc server in which I am saw a color text in a channels
- select in context menu option "List options" and select a filename - mIRC save a channels name with escape chars in file on my disk
- this file I am send on my server by ssh and copy need blocks to my config
Post Reply