• Slyedit

    From Nightfox@VERT/DIGDIST to ErikaX86 on Wed Dec 14 04:05:09 2022
    Re: Slyedit
    By: ErikaX86 to Digital Man on Tue Dec 13 2022 09:50 am

    Is this particular to a specific message editor?

    I just tested a few different editors on this BBS and on Nightfox's, and similar behavior happens in others. With further testing, it also doesn't seem to be a 100% thing that a final long paragraph will always be truncated in the quote window... but that seems to be the easiest way to make it happen in SlyEdit and FSedit.

    I've looked into it a bit, and part of it definitely stems from my message reader not checking the quote wrap setting in the external editor settings for the user's editor - If enabled, my reader should wrap the quote lines it writes to the quotes file.

    I'm making updates to my reader to do that, and that should fix it with my reader for any editor that's configured to have quote lines wrapped.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Wed Dec 14 04:34:01 2022
    Re: Editor quoted text wrapping
    By: Nightfox to Digital Man on Tue Dec 13 2022 10:44 pm

    Re: Slyedit
    By: Digital Man to Nightfox on Tue Dec 13 2022 08:19 pm

    QUOTES.TXT I'll have to look into where I can check that. I imagine
    I can check xtrn_area.editor[user.editor].settings for that?

    Yes, the XTRN_QUOTEWRAP bit-flag.

    There's also an option for the number of columns to wrap to (a number, or the user's terminal width). Is there a way to check for that value in JS?

    Not easily: that setting isn't directly modeled). However, you could use the cnflib.js to load xtrn.cnf and find that setting, or wait until v3.20a, where that setting is (much) easier to parse from xtrn.ini (converted form the old xtrn.cnf), OR just assume it's 0 (wrap to user's terminal width). That's likely the most common setting anyway.
    --
    digital man (rob)

    Rush quote #1:
    Danger plus survival equals fun. - Neil Peart
    Norco, CA WX: 43.0øF, 88.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Dec 14 13:27:11 2022
    Re: Editor quoted text wrapping
    By: Digital Man to Nightfox on Tue Dec 13 2022 11:34 pm

    QUOTES.TXT I'll have to look into where I can check that. I
    imagine I can check xtrn_area.editor[user.editor].settings for
    that?

    Yes, the XTRN_QUOTEWRAP bit-flag.

    There's also an option for the number of columns to wrap to (a number,
    or the user's terminal width). Is there a way to check for that value
    in JS?

    Not easily: that setting isn't directly modeled). However, you could use the cnflib.js to load xtrn.cnf and find that setting, or wait until v3.20a, where that setting is (much) easier to parse from xtrn.ini (converted form the old xtrn.cnf), OR just assume it's 0 (wrap to user's terminal width). That's likely the most common setting anyway.

    OK, thanks.
    I may look into using cnflib.js for now to see if I can get the setting that way.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to ErikaX86 on Wed Dec 14 14:45:55 2022
    Re: Slyedit
    By: ErikaX86 to Digital Man on Tue Dec 13 2022 09:50 am

    I just tested a few different editors on this BBS and on Nightfox's, and similar behavior happens in others. With further testing, it also doesn't seem to be a 100% thing that a final long paragraph will always be truncated in the quote window... but that seems to be the easiest way to make it happen in SlyEdit and FSedit.

    I just committed an update to DDMsgReader (and SlyEdit as well) for wrapping quote lines to make sure the quote lines are all available. On the other BBS you mentioned, I'd recommend they update to the latest DDMsgReader and SlyEdit.js once they're merged to the main branch in Synchronet's git repository.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From ErikaX86@VERT/BASEMENT to Nightfox on Wed Dec 14 14:00:01 2022
    Re: Slyedit
    By: Nightfox to Digital Man on Tue Dec 13 2022 05:45 pm

    I've been using my message reader though, and now that I think about it, my message reader doesn't check for that option when writing QUOTES.TXT I'll have to look into where I can check that. I imagine I can check xtrn_area.editor[user.editor].settings for that?

    Thanks to both you and digital man for taking up the thread. I was starting to wonder if I had gone too "high up the chain" bringing it up to you developers... like it was just something that Sysops needed to deal with. I'm happy it looks like I actually helped.

    Thanks again for looking into it!

    ---
    þ Synchronet þ Basement Theory BBS þ basement.synchro.net
  • From MRO@VERT/BBSESINF to ErikaX86 on Wed Dec 14 22:43:39 2022
    Re: Slyedit
    By: ErikaX86 to Nightfox on Wed Dec 14 2022 09:00 am

    Thanks to both you and digital man for taking up the thread. I was starting to wonder if I had gone too "high up the chain" bringing it up to you developers... like it was just something that Sysops needed to deal with. I'm happy it looks like I actually helped.

    Thanks again for looking into it!


    when i was on fidonet and other nets, i would ask my feed for help.
    half of the time it was their fault anyways.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Erikax86@VERT to Digital Man on Wed Dec 14 22:08:45 2022
    Re: Slyedit
    By: Digital Man to ErikaX86 on Tue Dec 13 2022 09:35 pm

    It sounds like you might be using a 3rd party (Nightfox's) message reader which is doing the message quoting for you. Try this same thing on a diffe

    I'm posting this from Vertrauen, and the above is the last two lines available in SlyEdit... however, all lines were available to "list" when using no external editor. FSEditor on Vert also picked up the final lines.

    Many other messages with long concluding paragraphs DID work fine with SlyEdit on Vert, though... in fact, I tried about a dozen before coming back to this message to tell you I couldn't reproduce it on Vert. But this one did produce the behavior.

    How ironic that it was the very message where I was going to say that I couldn't reproduce it here.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Erikax86 on Wed Dec 14 22:26:24 2022
    Re: Slyedit
    By: Erikax86 to Digital Man on Wed Dec 14 2022 05:08 pm

    Re: Slyedit
    By: Digital Man to ErikaX86 on Tue Dec 13 2022 09:35 pm

    It sounds like you might be using a 3rd party (Nightfox's) message reader which is doing the message quoting for you. Try this same thing on a diffe

    I'm posting this from Vertrauen, and the above is the last two lines available in SlyEdit... however, all lines were available to "list" when using no external editor. FSEditor on Vert also picked up the final lines.

    Many other messages with long concluding paragraphs DID work fine with SlyEdit on Vert, though... in fact, I tried about a dozen before coming back to this message to tell you I couldn't reproduce it on Vert. But this one did produce the behavior.

    How ironic that it was the very message where I was going to say that I couldn't reproduce it here.

    I have SlyEdit configured here on Vertrauen in SCFG with "Word-wrap Quoted Text" set to "No". Perhaps that needs to changes to "Yes".
    --
    digital man (rob)

    Sling Blade quote #21:
    Karl: Coffee makes me nervous when I drink it. Mmm.
    Norco, CA WX: 54.7øF, 44.0% humidity, 0 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to ErikaX86 on Wed Dec 14 23:23:37 2022
    Re: Slyedit
    By: ErikaX86 to Nightfox on Wed Dec 14 2022 09:00 am

    I've been using my message reader though, and now that I think about
    it, my message reader doesn't check for that option when writing
    QUOTES.TXT I'll have to look into where I can check that. I imagine
    I can check xtrn_area.editor[user.editor].settings for that?

    Thanks to both you and digital man for taking up the thread. I was starting to wonder if I had gone too "high up the chain" bringing it up to you developers... like it was just something that Sysops needed to deal with. I'm happy it looks like I actually helped.

    Thanks again for looking into it!

    Thanks for bringing it up again. Somehow it was something I had rarely seen, but now that I was able to see it happening, I was able to make a fix.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Dec 14 23:30:18 2022
    Re: Slyedit
    By: Digital Man to Erikax86 on Wed Dec 14 2022 05:26 pm

    I have SlyEdit configured here on Vertrauen in SCFG with "Word-wrap Quoted Text" set to "No". Perhaps that needs to changes to "Yes".

    That can help. I've also made a merge request that includes a change to SlyEdit to word-wrap quote lines, to help avoid this issue.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From ErikaX86@VERT/BASEMENT to Nightfox on Wed Jan 4 04:10:30 2023
    Re: Slyedit
    By: Nightfox to ErikaX86 on Wed Dec 14 2022 06:23 pm

    Thanks for bringing it up again. Somehow it was something I had rarely seen, but now that I was able to see it happening, I was able to make a fix.

    Thank you so very much! The bbs I'm on most installed the updates and the quote window problem is gone. Sorry it took so long to thank you (and you too digital man)... I was home for the holidays and bbs'ing is just something I seem to do regularly when I'm at my desktop. Never got into it on my tablet or other device.

    ---
    þ Synchronet þ Basement Theory BBS þ basement.synchro.net
  • From Nightfox@VERT/DIGDIST to ErikaX86 on Wed Jan 4 03:09:26 2023
    Re: Slyedit
    By: ErikaX86 to Nightfox on Tue Jan 03 2023 11:10 pm

    Thanks for bringing it up again. Somehow it was something I had
    rarely seen, but now that I was able to see it happening, I was able
    to make a fix.

    Thank you so very much! The bbs I'm on most installed the updates and the quote window problem is gone. Sorry it took so long to thank you (and you too digital man)... I was home for the holidays and bbs'ing is just something I seem to do regularly when I'm at my desktop. Never got into it on my tablet or other device.

    Good to hear the problem is fixed. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to Nightfox on Wed Jan 4 11:06:38 2023
    Re: Slyedit
    By: Nightfox to ErikaX86 on Tue Jan 03 2023 10:09 pm

    (and you too digital man)... I was home for the holidays and bbs'ing is just something I seem to do regularly when I'm at my desktop. Never got into it on my tablet or other device.

    Good to hear the problem is fixed. :)

    oh i do have a feature request.
    could you allow a user to turn it off if they choose? i'm a power user and i don't like to have it turned on in some cases. it would be good if a user's pref could be saved in a data file.

    also since you make so many updates maybe an auto-update feature?
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Nightfox@VERT/DIGDIST to MRO on Wed Jan 4 14:00:58 2023
    Re: Slyedit
    By: MRO to Nightfox on Wed Jan 04 2023 06:06 am

    oh i do have a feature request.
    could you allow a user to turn it off if they choose? i'm a power user and i don't like to have it turned on in some cases. it would be good if a user's pref could be saved in a data file.

    Turn what off?

    also since you make so many updates maybe an auto-update feature?

    I don't think my updates are that frequent (especially for SlyEdit). I'm not sure the best way I'd make an auto-update feature for my mods..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to Nightfox on Wed Jan 4 23:29:54 2023
    Re: Slyedit
    By: Nightfox to MRO on Wed Jan 04 2023 09:00 am

    Re: Slyedit
    By: MRO to Nightfox on Wed Jan 04 2023 06:06 am

    oh i do have a feature request.
    could you allow a user to turn it off if they choose? i'm a power user and i don't like to have it turned on in some cases. it would be good if a user's pref could be saved in a data file.

    Turn what off?

    oh i thought this post was about the msg viewer. it's about slyedit.

    the msg viewer. i'd like to toggle it off sometimes.
    I don't think my updates are that frequent (especially for SlyEdit). I'm not sure the best way I'd make an auto-update feature for my mods..

    you have it check your server periodically and then update it.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Nightfox@VERT/DIGDIST to MRO on Thu Jan 5 02:55:15 2023
    Re: Slyedit
    By: MRO to Nightfox on Wed Jan 04 2023 06:29 pm

    the msg viewer. i'd like to toggle it off sometimes.

    So, being able to let the user revert to the stock reader when desired?
    I think that could be doable, though perhaps a little weird. I could put a user option in DDMsgReader to turn it off so the BBS would use the stock reader, but then once the user is using the stock reader, the user would have no way to re-enable DDMsgReader unless there's a separate script to do so and the sysop adds an option to the menu for the user to do so.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to Nightfox on Thu Jan 5 07:12:10 2023
    Re: Slyedit
    By: Nightfox to MRO on Wed Jan 04 2023 09:55 pm

    Re: Slyedit
    By: MRO to Nightfox on Wed Jan 04 2023 06:29 pm

    the msg viewer. i'd like to toggle it off sometimes.

    So, being able to let the user revert to the stock reader when desired?
    I think that could be doable, though perhaps a little weird. I could put a user option in DDMsgReader to turn it off so the BBS would use the stock reader, but then once the user is using the stock reader, the user would have no way to re-enable DDMsgReader unless there's a separate script to do so and the sysop adds an option to the menu for the user to do so.


    cant you just set a user flag, have it look for it when loading, and if
    the user wants it on, they get it. if they dont, it's off

    i stored a mod inside the read prompt so you could probably do something like that to toggle it.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Nightfox@VERT/DIGDIST to MRO on Thu Jan 5 13:44:39 2023
    Re: Slyedit
    By: MRO to Nightfox on Thu Jan 05 2023 02:12 am

    cant you just set a user flag, have it look for it when loading, and if the user wants it on, they get it. if they dont, it's off

    Probably. And for the user to be able to change that, there'd have to be some script or something that the user can run so they can toggle it.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com