• src/sbbs3/putmsg.cpp

    From rswindell@1:103/705 to CVS commit on Thu Jan 4 00:33:26 2018
    src/sbbs3 putmsg.cpp 1.33 1.34
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13116

    Modified Files:
    putmsg.cpp
    Log Message:
    stop reading file upon Ctrl-Z when CPM_EOF mode flag used

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 15 12:38:06 2018
    src/sbbs3 putmsg.cpp 1.34 1.35
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27408

    Modified Files:
    putmsg.cpp
    Log Message:
    This is a bit of a hack for Nelgin, who noticed that novice menu mode
    would not always auto-redisplay menu files when the user hits 'Q' (or 'N'
    or Ctrl-C) at auto-pause prompts:

    When displaying a "message" (e.g. file), if the console abort flag is set before a single line has been displayed, clear the abort flag. This most
    likely means a pause (hit a key) prompt was automatically displayed due to
    a clear screen code in the message/file and the user hit 'Q' or 'N' or
    Ctrl-C at the prompt. In this special case, don't treat that as an
    "abort message" command and keep displaying the message/file.

    Once one or more lines in the message/file have been displayed, then the behavior is the same as before: a console abort (even as a result of an auto-pause prompt key) will stop the display of the current message/file.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Oct 3 21:03:53 2018
    src/sbbs3 putmsg.cpp 1.35 1.36
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6325

    Modified Files:
    putmsg.cpp
    Log Message:
    Updated some very obsolete comments.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Oct 14 21:16:35 2018
    src/sbbs3 putmsg.cpp 1.37 1.38
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22404

    Modified Files:
    putmsg.cpp
    Log Message:
    @eof@ (all-caps) is now another way to insert a premature EOF marker for a display file.

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Oct 15 18:17:25 2018
    src/sbbs3 putmsg.cpp 1.38 1.39
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19954

    Modified Files:
    putmsg.cpp
    Log Message:
    If the Ctrl-A" code contains an empty/bogus filename, don't try to display
    it. This Ctrl-A code is dubious and perhaps should just be removed.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Oct 25 19:04:59 2018
    src/sbbs3 putmsg.cpp 1.40 1.41
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv10622

    Modified Files:
    putmsg.cpp
    Log Message:
    New @-code: WRAPOFF - used to mark the end of a word-wrapped section in a display/menu file.
    Also, the WORDWRAP @-code may now appear anywhere in the file and multiple times in the file (to mark multiple word-wrapped blocks of text).

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Dec 14 20:50:03 2018
    src/sbbs3 putmsg.cpp 1.42 1.43
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11590

    Modified Files:
    putmsg.cpp
    Log Message:
    Fix bug when the @center@ code when displaying files that contain Unix-style line endings (sole-LF) instead of CR/LF line endings.
    Thanks to Mark Lewis (wkitty42) for the bug report!


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Apr 25 16:42:15 2019
    src/sbbs3 putmsg.cpp 1.45 1.46
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    putmsg.cpp
    Log Message:
    Fix for PCBoard @Xxx code parsing:
    @X00 saves the current color and @XFF restores that saved color.
    Thanks to NuSkooler for the PCBoard manual, which is pretty good.


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Apr 25 17:25:39 2019
    src/sbbs3 putmsg.cpp 1.46 1.47
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22919

    Modified Files:
    putmsg.cpp
    Log Message:
    Added support for PCBoard @ macros QOFF and QON:
    QOFF - user cannot abort the display of the file
    QON - user can abort the display of the file


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jul 10 14:41:38 2019
    src/sbbs3 putmsg.cpp 1.50 1.51
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31168

    Modified Files:
    putmsg.cpp
    Log Message:
    Calculate string length *before* the initial parsing of the WORDWRAP/WRAPOFF codes.


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Thu Jul 25 22:23:58 2019
    src/sbbs3 putmsg.cpp 1.52 1.53
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25006

    Modified Files:
    putmsg.cpp
    Log Message:
    Ctrl-A" is a potentially dangerous Ctrl-A code, so only support it when
    @-codes are also supported (i.e. displaying sysop-controlled content).


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Jul 29 15:38:02 2019
    src/sbbs3 putmsg.cpp 1.54 1.55
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23720

    Modified Files:
    putmsg.cpp
    Log Message:
    Strip "ZHEX" ('B') from ZDLE/ZHEX combinations which trigger auto-ZMODEM transfers. These should *not* be included in message text.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Aug 5 04:14:35 2019
    src/sbbs3 putmsg.cpp 1.57 1.58
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23795

    Modified Files:
    putmsg.cpp
    Log Message:
    Only restore the previously current output_rate if it was changed in the msg.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Apr 5 19:49:34 2020
    src/sbbs3 putmsg.cpp 1.58 1.59
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19396

    Modified Files:
    putmsg.cpp
    Log Message:
    The hack for Nelgin created back in rev 1.35 (Aug-15-2018) was:
    - incomplete, it didn't account for the CLEAR @-code which is only handled here - caused side-effects in that any Baja PRINT function call with a single line
    that contained any ^A or @-codes would reset the console abort indication
    flag (SS_ABORT).
    Observed: hitting Ctrl-C at while executing the yesnobar.bin or noyesbar.bin
    would leave "Yes Yes No" on the console, for example.
    Solution: use the tos (top-of-screen) state before/after the call to ctrl_a()
    or show_atcode() to determine if the reset-abort hack should be applied.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun May 3 01:29:00 2020
    src/sbbs3 putmsg.cpp 1.60 1.61
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29188

    Modified Files:
    putmsg.cpp
    Log Message:
    After displaying a native PETSCII (.seq) file, reset the character set to Upper/Lower for compatibility with the rest of the BBS (some PETSCII Art files change the character set to Upper/Graphics).

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri May 8 18:52:41 2020
    src/sbbs3 putmsg.cpp 1.63 1.64
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6598

    Modified Files:
    putmsg.cpp
    Log Message:
    non-PETSCII (.seq) display files are assumed to retain their attributes between
    lines, but PETSCII terminals reset the inverse attribute upon CR's, so restore the attribute if it changes unexpectedly. We could make this check only when outputting CR's (rather than all characters), if it's a problem later.

    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Mon Sep 7 19:03:45 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/225f441b1bff674fb9a575d9
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Eliminate unused variable.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Mon Sep 7 20:08:02 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/749e288ff5e2b9865c269e50
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:sbbs/sbbs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Thu Oct 8 20:12:37 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/9919c23e8e52f5b7bb9a79f4
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Don't pass-through ANSI Device Attributes (DA) requestsputmsg(), used to display messages and display/menu files, will no longer pass-through the ANSI sequence ESC[c (found in some corrupted ANSI posts to fsxNet->FSX_BOT echo) to the client terminal since this will stimulate a (unwanted) response from the client.I do wonder if the outchar_esc value check should be == here instead of >=, but I'm not familiar with the string and SOS states. I wonder if any display files sent from the BBS would ever include those sequences.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Rob Swindell on Fri Oct 9 00:31:00 2020
    Rob Swindell wrote to Git commit to sbbs/master <=-

    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Don't pass-through ANSI Device Attributes (DA) requests

    putmsg(), used to display messages and display/menu files, will no
    longer pass-through the ANSI sequence ESC[c (found in some corrupted
    ANSI posts to fsxNet->FSX_BOT echo) to the client terminal since this
    will stimulate a (unwanted) response from the client.

    Thank you!

    Hatton


    ... DalekDOS v(overflow): (I)Obey (V)ision impaired (E)xterminate
    --- MultiMail/Win v0.52
    ■ Synchronet ■ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Thu Oct 8 22:18:21 2020
    Re: Re: src/sbbs3/putmsg.cpp
    By: Hatton to Rob Swindell on Fri Oct 09 2020 12:31 am

    Rob Swindell wrote to Git commit to sbbs/master <=-

    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Don't pass-through ANSI Device Attributes (DA) requests

    putmsg(), used to display messages and display/menu files, will no longer pass-through the ANSI sequence ESC[c (found in some corrupted ANSI posts to fsxNet->FSX_BOT echo) to the client terminal since this will stimulate a (unwanted) response from the client.

    Thank you!

    Sure. There are likely more sequences we might want to filter out of ANSI-encoded messages (or whitelist only the ones we *do* want to pass-through), but this'll work for now.

    digital man

    Synchronet "Real Fact" #95:
    Synchronet v3.15b was released in October of 2011 (5 years after v3.14a). Norco, CA WX: 62.8°F, 84.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Mon Nov 2 02:30:29 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/93dc3f128816d1ddb24b6cab
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Allow punctuation characters on either side of the markup tagsSo you can do stuff (*like this*).Also, we don't need to heavily scrutinize the closing tag when we come upon it because we already determined it was valid before we accepted the opening tag/character.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Nov 8 13:15:19 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/9090d40fc64d791bc7dd37a3
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Don't support back-to-back marks in markup parsingAddresses false-positive matches in URLs (e.g. https://minftn.net/) where the second slash was being interpreted as a the beginning of an italic markup.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Nov 8 15:57:40 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/515b0854e73a3f2ff5fb89a5
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Don't allow adjacent marked-up text.This allows us to ignore markup codes in a string like: "/sbbs/ctrl/*cnf*"
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jan 23 01:08:25 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/09a32c0dad9f896893f2845b
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Basic PETSCII output column/line counting in putmsg()When printing a PETSCII Sequence (.seq) file, count the lines/rows and columns similar to how we would if we were using outchar() (but we don't, we use the lower-level outcom() to bypass any translations).This is related to issue #325:PETSCII seq files seem to display just fine, the problem I saw was with the auto-pausing (e.g. before a screen-clear) after displaying them.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jan 23 12:29:13 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ca9bac807ce2a4721d6c17cb
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Add case fall-through commentTo address CID 345626
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jan 23 12:48:34 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/77c7a2933e156cd2f0e61619
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Address GCC warnings: case label value exceeds maximum value for type
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Thu Mar 10 00:24:49 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/3ca2c14ff9a87674c8e8808b
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Fix Clang warnings.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 12 17:36:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6365250b6a0c4a3ea845918e
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Add TRUNCATE @-code to enable line truncation when too wide for user's terminal --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 12 18:24:18 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2c546dc85b72fc25b1ffd6b0
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Add TRUNCOFF @-code to turn off line truncation (if already turned on)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Mon Mar 13 18:31:32 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9a43c11f3a86ae90d9af26cd
    Modified Files:
    src/sbbs3/putmsg.cpp
    Log Message:
    Fix typo in comment
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)