• src/sexpots/sexpots.c

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Feb 6 11:55:16 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/93cc268f1865ef6a7af2d983
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Add optional debug-level logging of all chars received over COM port/device

    Set Debug=true in the [com] section of sexpots.ini to enable this (and you'll need to be logging debug-level message as well). For Nelgin.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Feb 6 18:46:04 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a7b7daf1bc7bcd53c25e35db
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Fix printf format typo in previous commit

    This should fix issue #509

    ---
    ■ 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 Tue Feb 7 20:45:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a2034ad01c3627976c3d1bcc
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    [com] Debug will enable transmit debug log output (in addition to receive)

    Log the characters themselves of ASCII values (between 32 and 126) for com debug log messages. Still a separate log message/line for every character
    (so very chatty/verbose).

    This fixes issue (feature request) #510

    ---
    ■ 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 Mon Jun 5 16:54:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f8c65bcf598afdbddf969b11
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Fixup the copy-pasted resolve_ip() with same fixes from main.cpp/mailsrvr.c

    Don't null-deref h_addr_list.
    Return in_addr_t instead of u_long.

    ---
    ■ 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 Mon Oct 16 17:53:57 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/54a05b65148085247e667152
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Implement write-retry in modem_send()

    In attempt to address the "Error 11" (EAGAIN) error theat Nelgin sees when configuring some longer modem init strings on Linux.

    This is just a single retry (after a yield) after any modem command char
    send failure (for any reason), including the terminating carriage-return.

    See issue #662 to details.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Charles Blackburn@VERT/THEFBO to Rob Swindell (on Debian L on Tue Oct 17 07:36:11 2023
    Re: src/sexpots/sexpots.c
    By: Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Mon Oct 16 2023 17:53:57

    https://gitlab.synchro.net/main/sbbs/-/commit/54a05b65148085247e667152 Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Implement write-retry in modem_send()

    In attempt to address the "Error 11" (EAGAIN) error theat Nelgin sees when configuring some longer modem init strings on Linux.
    This is just a single retry (after a yield) after any modem command char send failure (for any reason), including the terminating carriage-return.

    im guessing that it's the &W he has at the end of the init string. some modems (including mine for some reason) won't send an OK when they get that.

    as you can see in a previous message, mine is a lot longer than his but works fine. I think his EAGAIN could be a resource conflict in some form of buffer maybe. ie sending data too fast (not that it should matter).

    not knowing his setup i couldnt answer that, but i would put money on it being on a cheap usb/serial adapter :D

    charlie

    ---
    ■ Synchronet ■ The FBO BBS - IPV4/V6 - bbs.thefbo.us or bbs6.thefbo.us
  • From MRO@VERT/BBSESINF to Charles Blackburn on Tue Oct 17 19:03:44 2023
    Re: src/sexpots/sexpots.c
    By: Charles Blackburn to Rob Swindell (on Debian L on Tue Oct 17 2023 07:36 am


    as you can see in a previous message, mine is a lot longer than his but works fine. I think his EAGAIN could be a resource conflict in some form of buffer maybe. ie sending data too fast (not that it should matter).

    not knowing his setup i couldnt answer that, but i would put money on it being on a cheap usb/serial adapter :D

    i think it's because some people throw settings that cant be stored with that method in the ram. i wouldn't even use a long init string. keep it simple.

    ---
    ■ Synchronet ■ ::: BBSES.info - free BBS services :::
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wed Feb 7 13:07:34 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0647142c0bc18ddcae3cacea
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Silence odd warning... I would expect these to be the same type
    save const, but apparently they're not. *shrug*

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wed Feb 21 07:17:58 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/05dcd69ab61c73a50f5d2879
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    On Win64, COM_HANDLE is bigger than a long.

    Use strtoll() to parse number (except when _BORLANDC_ of course)

    ---
    ■ 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 Mon Apr 22 23:26:30 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bd56646d3a9a53ef955c87c1
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Move swap version and platform in banner to accommodate 40 column display

    This should now display pretty normally on both 40 and 80 column displays.

    "FreeBSD" is 7 chars, so make that the max expected platform name (for now).

    Addresses issue #746, request from Nelgin

    ---
    ■ 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 Sun Jun 9 19:21:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/caa6e97941952127d440c31d
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Output the Git repo/branch/hash details in execution banner

    Not sent in connection banner.

    ---
    ■ 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 Sun Jun 9 20:15:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/08ab80e5fda4b2d45d23980b
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Fix warning about potential uninitialize variable value use

    ---
    ■ 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 Sun Jun 9 20:22:03 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d1c8606c97d83387e3d2e05a
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Log an error if calls to send() don't return the expected value

    This addresses GCC warnings about not using the return value of send().

    ---
    ■ 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 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