• src/sexpots/sexpots.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Nov 8 20:40:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/dd287bf2e64f5eafbb2e138f
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Enable signal (e.g. Ctrl-C) handling / ignoring

    Gracefully terminate with SIGQUIT, SIGINT, and SIGTERM

    Ignore SIGHUP and SIGPIPE.

    ---
    ■ 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 Fri Nov 22 18:05:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e2bcf7223ea3817ac6ae4d9d
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    If configured COM port byte size is less than 8, strip high 8-n bits on RX

    Some USB modems (reportedly, USRobotics USB modem) don't strip the parity bit of data received from modem connections operating in < 8 bit modes
    (e.g. 7-E-1), as is normally don't with a modem connected to a UART, so we'll do that stripping (forcing to 0) here, as recommended by Deuce.

    Nelgin, if you're doing some manually stripping of the 7th bit bytes received from 7-E-1 connected modems and then sent to your server/BBS over TCP, you shouldn't need to do that now.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Dec 18 17:10:17 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/9a588197886b3a7c384b7ad6
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    include signal.h for signal()

    ---
    ■ 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 Sat Mar 15 14:32:11 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/546725fc5a79ae67d5cf0c28
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Increase buffer size from 4096 to 10000 in handle_call()

    Log errors if/when comWriteBuf() fails.

    This is to hopefully help to root-cause or even possibly resolve the issue reported in #synchronet by PyRoDrAkE:
    "It all works well until the Dialup connection runs slower than 4800 baud
    using SexPots. I connect from my XT at either 1200 baud or 2400 baud and it would just stop drawing midway."

    There shouldn't be any write timeout in comWriteBuf(), so I don't know why
    this would help, but it's worth a try. Logging any comWriteBuf() errors is
    also a good idea in general.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Mar 22 16:47:33 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d2ec372c5881a2ff011e4dc3
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Log modem status value, helpful when debugging serial line/modem issues

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