Eggdrop:Help formatting in XChat broken
This article helps in fixing the Eggdrop help files to properly display in the XChat 2 IRC Client for Windows.
Contents |
Problem Summary
XChat-2 for Windows has problems properly displaying the Eggdrop help files. Bold items in Eggdrop help will not display in bold. This is confirmed to be a issue for Y-Chat (aka SilvereX) and XChat-WDK. Users of the official XChat build for Windows do not appear to have this issue.
Example: ?[1mm?[0m is displayed instead of m.
This is caused by a flaw in the authoring of the Eggdrop help pages. XChat parses %B to signify bold text, the help files use %b to signify bold text. Unfortunately, you cannot simply replace the %b with %B as Eggdrop has reserved %B for <bot name>.
As of 2011-09-11, this problem has been verified as also affecting XChat 2.8.8 on Linux (Debian Squeeze).
This problem does not exist when using mIRC. Bold text items in the Eggdrop help will display in mIRC.
Solution
Since bold text is a formatting option, the simple solution for XChat users is to remove the text formatting.
Remove Formatting Using SED
sed -i.bak 's/%b//g' * will remove the bold code from the help files while making a backup <oldfilename>.bak
This needs to be done in the eggdrop/text and eggdrop/help directories.
Replace the Files with Reformatted Files
Warning: the help files archive will overwrite the entire text and help tree so be sure to make a good backup before proceeding.
Please make backups of eggdrop/text and eggdrop/help directories before proceeding!
MOTD File
Untar this archive to your eggdrop/text directory.
Help Files
Untar this archive to your eggdrop/help directory.