• src/sbbs3/getmsg.cpp

    From rswindell@VERT to CVS commit on Wed Feb 13 23:24:40 2013
    src/sbbs3 getmsg.cpp 1.43 1.44
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20002

    Modified Files:
    getmsg.cpp
    Log Message:
    No longer word-wrap message tails (tear/tag/origin lines) when displaying messages in the terminal server.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nicholas Boel@VERT to rswindell on Thu Feb 14 19:44:45 2013
    Re: src/sbbs3/getmsg.cpp
    By: rswindell to CVS commit on Wed Feb 13 2013 11:24 pm

    Modified Files:
    getmsg.cpp
    Log Message:
    No longer word-wrap message tails (tear/tag/origin lines) when displaying messages in the terminal server.

    Wow, Nice! Unfortunately I could have mentioned this to you a long time ago when I noticed it, but figured it was supposed to be that way -- mainly the QWK origin lines, since the [] Synchronet [] extends the line a bit longer.

    Either way, just means I'm gonna have to set some time aside for another upgrade. Thanks Rob. :)

    Regards,
    Nick

    --- SBBSecho 2.20-Linux
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
    þ Synchronet þ Vertrauen þ Home of Synchronet
  • From rswindell@VERT to CVS commit on Wed Nov 25 00:48:22 2015
    src/sbbs3 getmsg.cpp 1.46 1.47
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv4932

    Modified Files:
    getmsg.cpp
    Log Message:
    Remove date from copyright.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thu Nov 26 02:35:44 2015
    src/sbbs3 getmsg.cpp 1.47 1.48
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv21727

    Modified Files:
    getmsg.cpp
    Log Message:
    Enable plain-text only display of MIME encoded messages (posts and email) by default (in the Terminal server), use Raw I/O mode (Ctrl-Z) to toggle this behavior off/on (same as word-wrap toggle).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Fri Dec 4 00:48:22 2015
    src/sbbs3 getmsg.cpp 1.49 1.50
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1601

    Modified Files:
    getmsg.cpp
    Log Message:
    Display the message header's "To-Extension" value (usually the user number) *after* the to-net-addr value (if there is one), so the header display makes more logical sense when viewing QWK netmail sent to a QWKnet node on the
    QWKnet hub system.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sun Dec 6 19:39:46 2015
    src/sbbs3 getmsg.cpp 1.51 1.52
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3780

    Modified Files:
    getmsg.cpp
    Log Message:
    Change to sbbs_t::show_msghdr():
    Don't include the to/from network-arddress in the displayed header if the net-type value is NET_NONE (not a normal/expected combination).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Fri Nov 18 17:23:41 2016
    src/sbbs3 getmsg.cpp 1.58 1.59
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18236

    Modified Files:
    getmsg.cpp
    Log Message:
    Include message score (upvotes - downvotes) in the MsgVotes header line (optionally).
    Sub-board operators can now see all poll-results (always) for locally-posted polls (same as pollster).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From sbbs@VERT to CVS commit on Mon Nov 21 14:10:14 2016
    src/sbbs3 getmsg.cpp 1.62 1.63
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/sbbs/src/sbbs3

    Modified Files:
    getmsg.cpp
    Log Message:
    Fixed crash (null pointer defefernce) when reading email/netmail, as reported by Bill McGarrity: new bug.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to sbbs on Mon Nov 21 14:15:19 2016
    Re: src/sbbs3/getmsg.cpp
    By: sbbs to CVS commit on Mon Nov 21 2016 02:10 pm

    src/sbbs3 getmsg.cpp 1.62 1.63
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/sbbs/src/sbbs3

    Modified Files:
    getmsg.cpp
    Log Message:
    Fixed crash (null pointer defefernce) when reading email/netmail, as reported by Bill McGarrity: new bug.

    My editor needs a spell checker: that should be "dereference". :-)

    digital man

    Synchronet "Real Fact" #61:
    How to get Synchronet technical support: http://wiki.synchro.net/howto:support Norco, CA WX: 63.1øF, 68.0% humidity, 6 mph E wind, 0.45 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Lord Time@VERT/TIME to Digital Man on Mon Nov 21 15:54:17 2016
    src/sbbs3 getmsg.cpp 1.62 1.63
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/sbbs/src/sbbs3

    Modified Files:
    getmsg.cpp
    Log Message:
    Fixed crash (null pointer defefernce) when reading email/netmail, as reported by Bill McGarrity: new bug.

    My editor needs a spell checker: that should be "dereference". :-)

    lol


    ---

    Rob Starr
    Lord Time SysOp of
    Time Warp of the Future BBS
    Telnet://Time.Darktech.Org:24 or
    Telnet://Time.Synchro.Net:24 (qwk or ftn & e-mail)
    ICQ # 11868133 or # 70398519 Jabber : lordtime2000@gmail.com
    Yahoo : lordtime2000 AIM : LordTime20000 Astra : lord_time
    X-Box : Lord Time 2000 oovoo : lordtime2000
    ---
    þ Synchronet þ Time Warp of the Future BBS - Home of League 10 IBBS Games
  • From rswindell@VERT to CVS commit on Mon Nov 27 18:22:46 2017
    src/sbbs3 getmsg.cpp 1.66 1.67
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31406

    Modified Files:
    getmsg.cpp
    Log Message:
    When displaying message body text, skip all initial white-space and strip all trailing white-space.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Dec 7 18:05:44 2017
    src/sbbs3 getmsg.cpp 1.68 1.69
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv32415

    Modified Files:
    getmsg.cpp
    Log Message:
    Adjustment to change introduced in rev1.67:
    When displaying message body text, skip all initial ocurrences of CR or LF (rather than all initial white-space). Some people use white-space for centering or justifying blocks of text and we don't want to mess up the presentation of their messages.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jan 8 16:54:52 2018
    src/sbbs3 getmsg.cpp 1.70 1.71
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv6335

    Modified Files:
    getmsg.cpp
    Log Message:
    When showing message headers and using a msghdr.asc file, don't force a blank line (CRLF) after the header and before the message body. If you want a blank line, it must be in the msghdr.asc file. This change is to be consistent with the behavior in v3.16.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Jan 12 14:21:50 2018
    src/sbbs3 getmsg.cpp 1.72 1.73
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9838

    Modified Files:
    getmsg.cpp
    Log Message:
    Added a synchronization comment.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed May 1 17:40:45 2019
    src/sbbs3 getmsg.cpp 1.83 1.84
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    getmsg.cpp
    Log Message:
    Restore accidentally removal of strchr (!).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu May 2 20:08:31 2019
    src/sbbs3 getmsg.cpp 1.86 1.87
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31753

    Modified Files:
    getmsg.cpp
    Log Message:
    show_msgattr() now includes the netattr "Sent" and "InTransit" flags, when set as well as the auxattr "Attach" when either FILEATTACH or MIMEATTACH is set (requires an updated MsgAttr line in text.dat).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jul 29 21:20:12 2019
    src/sbbs3 getmsg.cpp 1.90 1.91
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv916

    Modified Files:
    getmsg.cpp
    Log Message:
    Don't word-wrap ANSI-encoded message text.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Aug 3 03:17:04 2019
    src/sbbs3 getmsg.cpp 1.93 1.94
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv24822

    Modified Files:
    getmsg.cpp
    Log Message:
    We don't display the MSG_HFIELDS_UTF8 auxattr flag, so ignore it in show_msghdr()


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 7 12:23:27 2019
    src/sbbs3 getmsg.cpp 1.95 1.96
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27208

    Modified Files:
    getmsg.cpp
    Log Message:
    Fix bug in "Download attached file: <fname> ?" prompt, tp points to str, so can't use it as an argument to sprintf(str, ...)
    Also, use getfname()... more.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 7 17:21:15 2019
    src/sbbs3 getmsg.cpp 1.96 1.97
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    getmsg.cpp
    Log Message:
    Remove unused variable.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Aug 8 16:59:36 2019
    src/sbbs3 getmsg.cpp 1.97 1.98
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv10756

    Modified Files:
    getmsg.cpp
    Log Message:
    Fix FTN file-attachment download issue where "Download attached file" prompt would reuse the same buffer where the message subject (list of filenames)
    was stored causing havok. Reported by Alterego (ALTERANT).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Oct 7 20:01:57 2019
    src/sbbs3 getmsg.cpp 1.100 1.101
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2096

    Modified Files:
    getmsg.cpp
    Log Message:
    Include the "KillSent" attribute in the displayed message attributes.
    Don't suppress the display of the "from network address" just because there's an '@' in the "from name" - some Internet email (e.g. SPAM) "From" names include '@'s to try and follow the reader. <sigh>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 27 00:17:05 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5b310552ae629b3608fc3e69
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    Update getlastmsg() to return total messages, excluding votes & poll-closures.

    The return value of getlastmsg() is displayed as the total messages in a sub-board when scanning subs. For sub-boards that allow voting, use the new smb_msg_count() function to determine the number of displayable messages.
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Dec 9 00:56:39 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/1806aaf90600fbe42dddd980
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    Some message attributes (auxiliary and network) weren't shown

    Copy some code from atcodes.cpp to show all the aux and network attributes.

    Also, the MsgAttr text.dat string only contains 17 %s's but we were passing 18, so the last attribute (KillSent) would never be shown.

    Instead, split this into 3 strings and just pass those 3 strings to the MsgAttr format string along with a ton of blank strings. So we don't have to keep updating the MsgAttr text.dat string every time we add more attribute flags (that was kind of ridiculous).
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 10 01:33:34 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/4a824f52e48c220a23d02608
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    Display message comment headers without relying on smb_getmsgtxt()

    Since we're calling smb_getplaintext() manually here, and its not going to return the comment headers as part of the plain-text (the way smb_getmsgtxt() can), so we need to display find/display the comment headers first.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Dec 19 16:09:15 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/90310234a0396f4bb4a5d508
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    In Raw I/O mode, disable markup support and @-code expansion
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Jan 20 23:00:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f039b2aa3d8c26807b35390e
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    Clean-up MIME-Decoded plain-text format message

    Don't display at all if smb_getplaintext() returns a blank string.
    Don't display "(null)" if there's no text sub-type.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Jul 3 15:55:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bd725db622999e7311ab340e
    Modified Files:
    src/sbbs3/getmsg.cpp
    Log Message:
    Paranoia around use of smb.subnum as an index into scfg.sub[]

    Use the is_valid_subnum() function before using the smb.subnum as an index into (s)cfg.sub[]. Related to the previous committed fix of writemsg(): leaving the global smb.subnum as -1 (INVALID_SUB) after replying to a post via email or netmail, resulting in a crash here.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net