• src/comio/comio_nix.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Feb 8 00:07:43 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ebc26012ea6ab3acbf17843c
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    Fix weird gcc warning with white-space change (!)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed May 17 10:46:09 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1c2cce85f0034c91c9c16321
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    Another Coverity issue fixed.

    Although, Coverity is wrong, close() *can* "accept a negative number",
    it just always returns EBADF... which would behave correctly.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Jun 26 12:17:13 2020
    src/comio comio_nix.c 1.14 1.15
    Update of /cvsroot/sbbs/src/comio
    In directory cvs:/tmp/cvs-serv30513

    Modified Files:
    comio_nix.c
    Log Message:
    Add set/clear CTS



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Jun 26 12:42:35 2020
    src/comio comio_nix.c 1.16 1.17
    Update of /cvsroot/sbbs/src/comio
    In directory cvs:/tmp/cvs-serv623

    Modified Files:
    comio_nix.c
    Log Message:
    Hack in get/set TxFlowControl things... have it also control Rx flow control.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Jun 26 13:59:18 2020
    src/comio comio_nix.c 1.17 1.18
    Update of /cvsroot/sbbs/src/comio
    In directory cvs:/tmp/cvs-serv8035

    Modified Files:
    comio_nix.c
    Log Message:
    Cleanup and update Get/SetFlowControl functions for *nix.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Jun 27 01:23:39 2020
    src/comio comio_nix.c 1.18 1.19
    Update of /cvsroot/sbbs/src/comio
    In directory cvs:/tmp/cvs-serv32365

    Modified Files:
    comio_nix.c
    Log Message:
    Fix inverted logic generating a BOOL from ioctl() result in modem flag
    setting.




    ---
    þ 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/b8260ae628da934c414a8377
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    Don't reset the port baud rate to 0 in comOpen()

    As noticed while trouble-shooting issue #813, calling comOpen() would
    (on Linux, at least) set the port baud rate to 0 bps (B0) which in
    most or all Linux serial drivers triggers special logic to deassert DTR and
    RTS signals (to the modem, to attempt to "hangup" any connection).

    If the app (e.g. sexpots) did not explictily set the port baud rate after calling comOpen(), the port would be unusable. This is not how comOpen() works on Windows.

    So rather than just overwrite all the bits in termios.c_cflag, we clear the fields we know we want to, set the bits we want, and leave the rest (which usually includes the current baud rate, if CBAUD is defined) as-is.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Nov 8 21:19:29 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7538ce8be4502921c23f3a19
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    If CBAUD is defined, retain the CBAUD bits in c_cflags

    Otherwise, zero it out. Most termios implementations don't put the
    speed in here, but this *is* where dragons be.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Fri Nov 8 21:20:35 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bf8bb8248aaac44154147edf
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    Fix stupid

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Dec 4 14:35:52 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2315671ee90df86b94edf2f7
    Modified Files:
    src/comio/comio_nix.c
    Log Message:
    Enable ISTRIP mode when fewer than 8 bits are requested.

    With this, SyncTERM and SexPOTS on *nix won't actually need to strip
    received bytes themselves. No idea what Windows does though, so
    it'll likely still be needed forever.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net