Problems: 80 bytes per line and escape sequences in MOTD
Posted: Thu Jun 30, 2011 6:39 pm
Hello!
I have just set up my first Unreal IRCD, and I am having trouble with the MOTD. Not sure what I am doing wrong, I have tried to search the forums, FAQs, docs etc. to no avail.
My problem is the 80 bytes per line limit in the ircd.motd. I thought there was supposed to be an escape sequence to kill off the newline character to concatenate several lines together, the "\". However, I can't get that or any other escape sequences to work in my MOTD. I also tried some color codes and backspace, but I always get the plain text in the output as if the escape sequence isn't being parsed/interpreted at all. So if i write e.g. "\b", it would just print out "\b" in my MOTD instead of doing a backspace. Or maybe I can't write escape sequences just like that?!
Is there any way I can work around the 80 bytes per line limit and create a MOTD output that contains more bytes per line?
The charset for my ircd.motd file is UTF-8. I also tried if the escape sequences work in ANSI encoding, but they don't. I need UTF-8 for my ASCII art. The IRCD is sitting on Windows 2000 Server.
Thanks for any help, I'm a total newbie with this stuff!
I have just set up my first Unreal IRCD, and I am having trouble with the MOTD. Not sure what I am doing wrong, I have tried to search the forums, FAQs, docs etc. to no avail.
My problem is the 80 bytes per line limit in the ircd.motd. I thought there was supposed to be an escape sequence to kill off the newline character to concatenate several lines together, the "\". However, I can't get that or any other escape sequences to work in my MOTD. I also tried some color codes and backspace, but I always get the plain text in the output as if the escape sequence isn't being parsed/interpreted at all. So if i write e.g. "\b", it would just print out "\b" in my MOTD instead of doing a backspace. Or maybe I can't write escape sequences just like that?!
Is there any way I can work around the 80 bytes per line limit and create a MOTD output that contains more bytes per line?
The charset for my ircd.motd file is UTF-8. I also tried if the escape sequences work in ANSI encoding, but they don't. I need UTF-8 for my ASCII art. The IRCD is sitting on Windows 2000 Server.
Thanks for any help, I'm a total newbie with this stuff!