• src/sexpots/sexpots.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, January 29, 2022 20:19:22
    https://gitlab.synchro.net/main/sbbs/-/commit/af4a8764c35db996c89bb734
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Add optional RingCount and RingInterval [modem] settings

    Only used in manual answer mode,
    RingCount defaults 1 (answer after the first ring) and RingInterval defaults to 6000 (maximum elapsed milliseconds between rings of the same "call").

    This should address issue/feature-request #330 by Nelgin. Give that a try.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, January 30, 2022 20:58:26
    https://gitlab.synchro.net/main/sbbs/-/commit/6977a080e9258f6e663f7bb5
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Support an optional log identifier to syslog()

    Nelgin: "anyway to get sexpots to report itself differently to syslog" [?]

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, February 07, 2022 22:05:30
    https://gitlab.synchro.net/main/sbbs/-/commit/869e0ebdf76bbc8417682ec1
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Setting IgnoreDCD=true causes wait_for_call() to immediate return

    For Nelgin's null modem setup, putty doesn't raise DTR?

    <nelgin> sexpots 1492 root 3u CHR 4,64 0t0 90 /dev/ttyS0
    <nelgin> Well, it's listening, but when I connect with putty I get nothing. <nelgin> DigitalMan, probably always assume a client is connected since I have my pc wired to my linux box.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, February 07, 2022 23:46:45
    https://gitlab.synchro.net/main/sbbs/-/commit/8cf2abe7b7402672e0602167
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Parse/apply [COM:x] section upon prompted key press of 'x'

    Another hack for Nelgin: this'll allow (in theory) the serial device to switch parity modes (e.g. 8N1 or 7E1) depending on what the user selects (key pressed).

    I did not add byte/stop bit size configurations. We may need that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, February 08, 2022 19:32:58
    https://gitlab.synchro.net/main/sbbs/-/commit/32fa13dda8e2c1522d4255f8
    Modified Files:
    src/sexpots/sexpots.c
    Log Message:
    Don't call com_setup() unless an alternate [COM:x] section is loaded

    Apparently com_setup() (which just calls tcsetattr()) will cause an attached modem (with a caller) to disconnect the caller. So you can't do this with a live modem. Leave the hack in for Nelgin's null modem cable setup, but you can't (apparently) support both 8N1 and 7E1 "callers" with a real modem (not surprisingly, for multiple reasons).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Monday, February 06, 2023 11:55:16
    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 Monday, February 06, 2023 18:46:04
    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 Tuesday, February 07, 2023 20:45:21
    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 Monday, June 05, 2023 16:54:36
    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