• src/syncterm/term.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, March 13, 2021 00:17:52
    https://gitlab.synchro.net/main/sbbs/-/commit/ecc690f573875558e0cf0a21
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Handle the new value of CIO_KEY_QUIT better.

    The low byte is no longer zero.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, March 13, 2021 14:23:07
    https://gitlab.synchro.net/main/sbbs/-/commit/0f312cb33a391e7addf592f4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove some backslashes from the ends of lines...

    Presumably these were part of macros once and never cleaned up?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 14, 2021 22:57:48
    https://gitlab.synchro.net/main/sbbs/-/commit/2ca3bc02fda2de5eb85d8e15
    Modified Files:
    src/syncterm/term.c
    Log Message:
    In XModem/YModem, when total_files reaches zero, stop downloading.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, March 15, 2021 00:03:43
    https://gitlab.synchro.net/main/sbbs/-/commit/24739b234af6f95de7651d7b
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Revert last change... YModem is supposed to send a termination block.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, March 15, 2021 01:30:18
    https://gitlab.synchro.net/main/sbbs/-/commit/581087f329a38dc7130b0c76
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Work around broken sz

    Some broken protocol drivers (like sz) don't send a YModem terminate
    at the end of a batch (or maybe just after a single file?) so SyncTERM
    ends up trying to fall back from G to CRC-16 to 8-bit before ending.

    This detects when the last known file was received, and if the YModem
    header that follows is not correct, aborts the transfer.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, March 19, 2021 11:05:12
    https://gitlab.synchro.net/main/sbbs/-/commit/d8920e0602d46033d5949aa0
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Better comment conformance in key parsing

    There's a comment saying we set key=0 when we consume it... do so
    in a couple cases where it wasn't done.

    Range check the key before sending to the remote.

    This should not actually do anything different, but in the future
    if things are changed at least the comments won't be misleading.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, May 17, 2021 22:29:22
    https://gitlab.synchro.net/main/sbbs/-/commit/b815404814b9dd6819c14c13
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix ETA calculation.

    Use remaining bytes divided by CPS rather than total estimated time
    minus elapsed time.

    We squirrley on resumed ZModem downloads.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, December 25, 2022 14:09:03
    https://gitlab.synchro.net/main/sbbs/-/commit/cd3a3a2d9f5b63b722194c80
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix b64 decode buf length calculation

    Previously, b64_decode was being asked to decode past the end of
    the application string.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 19:54:31
    https://gitlab.synchro.net/main/sbbs/-/commit/29eb84a9762d210550e54c0e
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Since we have the code to generate the correct gamma transfer, let's
    not scale it in one colour space before translating it to a different
    one.

    Also, since almost all PPMs will use a maxval of 255, compile that
    in as the default so we don't need to generate it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 20:21:12
    https://gitlab.synchro.net/main/sbbs/-/commit/6cfed436084fb6acf5591e7e
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize pointer to NULL to avoid free()ing unallocated memory.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, December 28, 2022 20:22:50
    https://gitlab.synchro.net/main/sbbs/-/commit/fafed094c52b0ca167e6fd51
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Initialize mbuf too.

    ---
    þ 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 Wednesday, March 29, 2023 12:40:18
    https://gitlab.synchro.net/main/sbbs/-/commit/7aa6f21e42f94ff7807279a5
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Resolve GCC 12.2 warnings

    warning: format `%s' expects argument of type `char *', but argument 4 has type `void *'
    warning: `sprintf' writing a terminating nul past the end of the destination

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, April 21, 2023 13:50:36
    https://gitlab.synchro.net/main/sbbs/-/commit/d0650fbaeb167af68d51d2bf
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Perform unicode-to-codepage for US-ASCII input

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, April 21, 2023 13:53:30
    https://gitlab.synchro.net/main/sbbs/-/commit/79831364263801c9e3a6141d
    Modified Files:
    src/syncterm/term.c
    Log Message:
    include <math.h> for pow()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, May 31, 2023 21:33:50
    https://gitlab.synchro.net/main/sbbs/-/commit/12eb94e24a34dee6eea938db
    Modified Files:
    src/syncterm/term.c
    Log Message:
    warning: pointer targets in passing argument 1 of `strcmp' differ in signedness

    ---
    þ 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/a47f94b80878b4d6597234a6
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix GCC v12.2.0 -O1 warnings

    warning: `maxval' may be used uninitialized
    warning: `inch' may be used uninitialized

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, February 12, 2024 10:19:22
    https://gitlab.synchro.net/main/sbbs/-/commit/450bc21718802b2e4f33e74a
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Actually fall-through like the comment says.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, February 12, 2024 10:33:56
    https://gitlab.synchro.net/main/sbbs/-/commit/a910575e7f831c59501d5332
    Modified Files:
    src/syncterm/term.c
    Log Message:
    When backspace sends delete, send CSI 3 ~ for delete.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Friday, February 23, 2024 21:58:38
    https://gitlab.synchro.net/main/sbbs/-/commit/e59a247c7387ec63a8a6a069
    Modified Files:
    src/syncterm/term.c
    Log Message:
    We need to call uifcbail() after calling show_bbslist()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, March 14, 2024 10:29:34
    https://gitlab.synchro.net/main/sbbs/-/commit/bbb6ab35ba69856c3ebeb77a
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Remove unused variable.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 31, 2024 12:13:22
    https://gitlab.synchro.net/main/sbbs/-/commit/2f6eaf2213e3d7865618bf23
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Attempt to silence silly Coverity warning.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Skylar@VERT to Deuc¨ on Sunday, March 31, 2024 14:55:17
    Re: src/syncterm/term.c
    By: Deuc¨ to Git commit to main/sbbs/master on Sun Mar 31 2024 12:13 pm

    Attempt to silence silly Coverity warning.

    Good luck.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 17:47:10
    https://gitlab.synchro.net/main/sbbs/-/commit/93a8c94862d8c76146460413
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix bug generating SAUCE date introduced by commit dcf8c35f9b

    Using snprintf() prevents the last character of the date from
    being put into the string.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 18:10:09
    https://gitlab.synchro.net/main/sbbs/-/commit/829c5009fcfb0b2c5be5eac2
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix last commit.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, September 30, 2024 19:53:31
    https://gitlab.synchro.net/main/sbbs/-/commit/02460447d3eaa1f1532229e4
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix SAUCE date properly... avoid writing past the end of the buffer

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, October 23, 2024 09:38:38
    https://gitlab.synchro.net/main/sbbs/-/commit/f25fafae6c6cc27761998909
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Fix some remains of input weirdness...

    Now that the conio layer is handling translation of character sets,
    the key handler in term.c should only handle terminal related
    translations (such as backspace to delete).

    This fixes bug 159, but there's still some inconsistency across
    the various backends on how they handle C0 control characters and
    input characters outside of US-ASCII.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, November 03, 2024 01:40:35
    https://gitlab.synchro.net/main/sbbs/-/commit/b50d96f6f771017444853a31
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Make Return send #, use CTRL-Return for return

    Not tested on Windows.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, November 03, 2024 01:49:08
    https://gitlab.synchro.net/main/sbbs/-/commit/774d285494551046a4e73ec8
    Modified Files:
    src/syncterm/term.c
    Log Message:
    Map underscore to pound

    I think this map may be the final one.

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