• src/sbbs3/scfg/scfgxtrn.c

    From rswindell@VERT to CVS commit on Sunday, March 31, 2019 12:19:58
    src/sbbs3/scfg scfgxtrn.c 1.62 1.63
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv16946

    Modified Files:
    scfgxtrn.c
    Log Message:
    Enable the "Word-wrap Quoted Text" (QUOTEWRAP) editor setting by default. Updated help text and option name, a bit.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, April 11, 2019 15:11:34
    src/sbbs3/scfg scfgxtrn.c 1.63 1.64
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv29333

    Modified Files:
    scfgxtrn.c
    Log Message:
    Define and use a new external message editor option: SAVECOLUMNS
    (default: off) - when enabled, the current terminal width (columns) will be saved in the msg header.
    When using the internal msg editor or raw intput mode, the columns are always saved in the message editor. fseditor.js should have this option enabled.
    In SCFG, this option is called "Record Terminal Width".


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, April 15, 2019 23:54:56
    src/sbbs3/scfg scfgxtrn.c 1.64 1.65
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv28818

    Modified Files:
    scfgxtrn.c
    Log Message:
    Add a new quotewrap_cols setting for external editors, default is 0 (current terminal width) - only used when the QUOTEWRAP option is set. Common values:
    0 - current behavior, wrap the quote file to the current terminal width
    80 - wrap 80 columns specifically (actually, 79)
    9999 - unwrap to long lines (one line per paragraph)



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to rswindell on Tuesday, April 16, 2019 10:40:14
    Re: src/sbbs3/scfg/scfgxtrn.c
    By: rswindell to CVS commit on Thu Apr 11 2019 05:11 pm

    scfgxtrn.c
    Log Message:
    Define and use a new external message editor option: SAVECOLUMNS
    (default: off) - when enabled, the current terminal width (columns) will be saved in the msg header.
    When using the internal msg editor or raw intput mode, the columns are always saved in the message editor. fseditor.js should have this option enabled. In SCFG, this option is called "Record Terminal Width".

    I have enabled this option for my local dev copy of SlyEdit. I tried writing a test message to myself with a 132-column terminal and then reading it with an 80-column terminal. My message had a few lines and didn't seem to be wrapped properly - The 2nd line was wrapped significantly less than the 80-column width and the rest of the line was on the next line. Should this setting work with local messages, or is it only for messages being shared via QWK and other networked areas?

    My local development copy of SlyEdit allows using the whole width of the terminal for the message and wraps as such and saves each line as its own line. I'm wondering if it needs to save each paragraph as one long line?

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Tuesday, April 16, 2019 18:46:14
    Re: src/sbbs3/scfg/scfgxtrn.c
    By: Nightfox to rswindell on Tue Apr 16 2019 12:40 pm

    Re: src/sbbs3/scfg/scfgxtrn.c
    By: rswindell to CVS commit on Thu Apr 11 2019 05:11 pm

    scfgxtrn.c
    Log Message:
    Define and use a new external message editor option: SAVECOLUMNS (default: off) - when enabled, the current terminal width (columns) will be saved in the msg header.
    When using the internal msg editor or raw intput mode, the columns a always saved in the message editor. fseditor.js should have this opt enabled. In SCFG, this option is called "Record Terminal Width".

    I have enabled this option for my local dev copy of SlyEdit. I tried writing a test message to myself with a 132-column terminal and then read
    it with an 80-column terminal. My message had a few lines and didn't see
    to be wrapped properly - The 2nd line was wrapped significantly less than the 80-column width and the rest of the line was on the next line. Shoul this setting work with local messages, or is it only for messages being shared via QWK and other networked areas?

    We might be talking about different things. The QUOTEWRAP option is for re-wrapping of the quote.txt file. If your resulting message is not displayed nicely, that could be a number of things:
    1. The method of viewing the message (the internal message reader or a script)? 1. The method of saving the message to the msgbase.

    My local development copy of SlyEdit allows using the whole width of the terminal for the message and wraps as such and saves each line as its own line. I'm wondering if it needs to save each paragraph as one long line?

    It doesn't *need* to, but I think that should at least be an option. If all messages were stored that way, then I think we'd have fewer problems, ultimately. Synchronet's internal message viewer can certainly display single-lone-line paragraph formatted messages nicely for the current terminal size. But most messages are not created in that manner today.

    digital man

    This Is Spinal Tap quote #40:
    Morty the Mime: Come on, don't talk back, mime is money, come on, move it. Norco, CA WX: 56.0F, 81.0% humidity, 6 mph E wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 16, 2019 19:07:52
    src/sbbs3/scfg scfgxtrn.c 1.65 1.66
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/home/rswindell/sbbs/src/sbbs3/scfg

    Modified Files:
    scfgxtrn.c
    Log Message:
    Better onlien help for the quotewrap width value.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Tuesday, April 16, 2019 19:29:41
    Re: src/sbbs3/scfg/scfgxtrn.c
    By: Digital Man to Nightfox on Tue Apr 16 2019 08:46 pm

    scfgxtrn.c
    Log Message:
    Define and use a new external message editor option: SAVECOLUMNS
    (default: off) - when enabled, the current terminal width
    (columns) will be saved in the msg header.

    I have enabled this option for my local dev copy of SlyEdit. I tried
    writing a test message to myself with a 132-column terminal and then
    read it with an 80-column terminal. My message had a few lines and
    didn't see to be wrapped properly - The 2nd line was wrapped
    significantly less than the 80-column width and the rest of the line
    was on the next line. Shoul this setting work with local messages, or
    is it only for messages being shared via QWK and other networked
    areas?

    We might be talking about different things. The QUOTEWRAP option is for re-wrapping of the quote.txt file. If your resulting message is not

    I'm not talking about the quote wrap option, I was talking about the SAVECOLUMNS option.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Tuesday, April 16, 2019 20:58:20
    Re: src/sbbs3/scfg/scfgxtrn.c
    By: Nightfox to Digital Man on Tue Apr 16 2019 09:29 pm

    Re: src/sbbs3/scfg/scfgxtrn.c
    By: Digital Man to Nightfox on Tue Apr 16 2019 08:46 pm

    scfgxtrn.c
    Log Message:
    Define and use a new external message editor option: SAVECOLUMNS rs>> (default: off) - when enabled, the current terminal width
    (columns) will be saved in the msg header.

    I have enabled this option for my local dev copy of SlyEdit. I tried
    writing a test message to myself with a 132-column terminal and then
    read it with an 80-column terminal. My message had a few lines and
    didn't see to be wrapped properly - The 2nd line was wrapped
    significantly less than the 80-column width and the rest of the line
    was on the next line. Shoul this setting work with local messages, or
    is it only for messages being shared via QWK and other networked
    areas?

    We might be talking about different things. The QUOTEWRAP option is for re-wrapping of the quote.txt file. If your resulting message is not

    I'm not talking about the quote wrap option, I was talking about the SAVECOLUMNS option.

    Okay, then it just adds the "COLS" (SMB_COLUMNS) header field your messages and when viewing using the built-in message reader, it'll use that value to intelligentally re-wrap (flow) the message for the current terminal width.

    If you're using your own custom message reader, it probably isn't using this columns header field (yet).

    digital man

    Synchronet "Real Fact" #55:
    Synchronet Terminal Server introduced RLogin support w/v3.00c (2000).
    Norco, CA WX: 54.1F, 87.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, April 28, 2019 23:34:50
    src/sbbs3/scfg scfgxtrn.c 1.66 1.67
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv7819

    Modified Files:
    scfgxtrn.c
    Log Message:
    Configurable "Soft-CR" (0x8D) character handling on a per message-editor basis: For QuickBBS editors, the default will be the same as previous behavior: to convert Soft-CRs to Hard-CRs (CRLFs).
    For non-QuickBBS editors, the default will be to treat Soft-CRs as any other valid printable character in the text ("Retain").
    A 3rd option is available to strip Soft-CRs completely from the generated message text.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, April 29, 2019 17:48:41
    src/sbbs3/scfg scfgxtrn.c 1.67 1.68
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/home/rswindell/sbbs/src/sbbs3/scfg

    Modified Files:
    scfgxtrn.c
    Log Message:
    Resolve GCC warning: enumeration value 'XEDIT_SOFT_CR_UNDEFINED' not handled
    in switch



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, February 13, 2024 20:37:50
    https://gitlab.synchro.net/main/sbbs/-/commit/a25d536954b782826bc4b6aa
    Modified Files:
    src/sbbs3/scfg/scfgxtrn.c
    Log Message:
    The "Soft-CR" strip/expansion feature is N/A for UTF-8 editors

    Updated help text for "Support UTF-8 Encoding" for external editors.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net