I made a local modification to DDMsgReader yesterday to convert Y-style MCI color codes on Amiga systems to CTRL-A codes.
function convertYStyleMciCodesToCtrlA (str) {
There are a handful of Amiga boards on ArakNet and I think fsxNet and FidoNet too, so thought it might be worth converting the Y-style codes. Hope you find it useful.
Right now I'm just calling it everywhere msgbase.get_msg_body gets called, but realized today it might make more sense if it were added to attr_conv.js where the rest of the conversion functions live. :)
codes should be converted and used as color codes in messages. Currently, Y-style MCI color codes are not in there, but I suppose DDMsgReader could just go ahead and convert them by default (or maybe there could be a setting in DDMsgReader.cfg for whether or not to convert those).
codes should be converted and used as color codes in messages.
Currently, Y-style MCI color codes are not in there, but I suppose
DDMsgReader could just go ahead and convert them by default (or
maybe there could be a setting in DDMsgReader.cfg for whether or not
to convert those).
Turns out the person whose system uses those color codes decided to go in another direction, and translate them himself before the message goes out over the network. Makes much more sense now that I think about it. :)
Re: DDMsgReader - MCI Color Code Conversion
By: Nightfox to Codefenix on Mon Jan 09 2023 10:24 am
codes should be converted and used as color codes in messages. Currently, Y-style MCI color codes are not in there, but I suppose DDMsgReader could just go ahead and convert them by default (or maybe there could be a setting in DDMsgReader.cfg for whether or not to convert those).
Turns out the person whose system uses those color codes decided to go in another direction, and translate them himself before the message goes out over the network. Makes much more sense now that I think about it. :)
Sysop: | Kurt Hamm |
---|---|
Location: | Columbia, SC |
Users: | 7 |
Nodes: | 20 (0 / 20) |
Uptime: | 230:05:57 |
Calls: | 2,774 |
Calls today: | 2 |
Files: | 64 |
Messages: | 848,222 |