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: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 01:58:25 |
Calls: | 335 |
Messages: | 113,420 |