• src/sexpots/sexpots.c

    From Rob Swindell@1:103/705 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 returnFor 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.
    --- 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 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.
    --- 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 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 loadedApparently 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).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 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/deviceSet Debug=true in the [com] section of sexpots.ini to enable this (and you'llneed to be logging debug-level message as well). For Nelgin.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 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 commitThis should fix issue #509
    --- SBBSecho 3.20-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 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 comdebug log messages. Still a separate log message/line for every character(so very chatty/verbose).This fixes issue (feature request) #510
    --- SBBSecho 3.20-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 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.cDon't null-deref h_addr_list.Return in_addr_t instead of u_long.
    --- SBBSecho 3.20-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 Monday, October 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.

    See issue #662 to details.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Charles Blackburn@1:103/705 to Rob Swindell (on Debian L on Tuesday, October 17, 2023 07:36:11
    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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Charles Blackburn on Tuesday, October 17, 2023 19:03:44
    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 :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wednesday, February 07, 2024 13:07:34
    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*
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wednesday, February 21, 2024 07:17:58
    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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Monday, April 22, 2024 23:26:30
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)