Hi DM,
For quite a while, when replying to a message, SlyEdit has had the ability to get the author's initials from the message the user is replying to, in order to quote the message with that message's author's initials. Normally, SlyEdit gets the current sub-board code & message number from bbs.smb_sub_code and bbs.msg_number (if > 0) or bbs.smb_curmsg. However, when using my message reader (DDMsgReader), it seems bbs.msg_number, bbs.smb_curmsg, and related are read-only, so DDMsgReader can't set them to pass along that information to a message editor (such as SlyEdit) that might want to use those.
The solution I added a long time ago was for DDMsgReader
to write a sort of 'drop file' with that information, and SlyEdit reads it (if it exists) when SlyEdit runs, so that SlyEdit can get author initials from the correct message.
I feel like this drop file solution might not be the best solution for the issue, though I'm not sure of a different solution. I imagine those bbs.* propeties probably shouldn't be made settable.. Is bbs.mods intended for this sort of thing?
I'm wondering if DDMsgReader could set some properties
in bbs.mods for the current sub-board & message #, which SlyEdit could read (and then DDMsgReader would have to clear the bbs.mods values upon exit).
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 158:44:18 |
Calls: | 162 |
Files: | 5,334 |
Messages: | 221,585 |