• src/conio/cterm.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, January 20, 2025 16:21:27
    https://gitlab.synchro.net/main/sbbs/-/commit/c85d0cc939bffa1b1d30f1a1
    Modified Files:
    src/conio/cterm.c
    Log Message:
    retbuf paranoia

    Reported in unmonitor, which always passes NULL.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, January 22, 2025 10:34:07
    https://gitlab.synchro.net/main/sbbs/-/commit/ac92a69b18331da6083a68e2
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix handling of C1 control characters

    At the same time, fix an old error in prestel_handle_escaped() that
    didn't pass the ctrl to prestel_apply_ctrl_after() properly, and
    always flush the print buffer before calling prestel_handle_escaped()

    We still shouldn't actually get C1 characters on a Prestel connection,
    but if we do, at least we're doing the right thing now.

    As for G1 characters, the default repetoire for these terminals per
    ITU-T REC. T0101 is the mosaic character set with smoothed moasics,
    something there's no evidence of a Prestel terminal ever supporting.
    In order to implement those properly, I would need special handling
    of "separated" in the renderer, and would need to fiddle with the
    font to include the contiguous smoothed mosaics (and exclide the
    separated ones). Since this would end up allowing wildly un-Pretel
    behaviour (ie: mosaics without a mosaic escape) I'm inclined to
    just treat them all as spaces and move on util/unless I do full
    support for all the Videotex standards. Nobody has asked me to
    open this can of worms, so I'm just going to leave it on the shelf.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, January 22, 2025 11:55:15
    https://gitlab.synchro.net/main/sbbs/-/commit/1eb4ec043e73713ba2e9e4b2
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Ignore invalid ESC sequences in Prestel mode
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, January 22, 2025 11:56:38
    https://gitlab.synchro.net/main/sbbs/-/commit/bf58917b5e6a0c11203e127d
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Clear cterm->sequence and cterm->escbuf when ignoring ESC
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, January 22, 2025 12:00:47
    https://gitlab.synchro.net/main/sbbs/-/commit/7982c3cf4ad4cf07ae92d7ce
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Switch back to ignoring unhandled C0 bytes.

    This "feels" more like what the spec means.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, January 22, 2025 12:07:34
    https://gitlab.synchro.net/main/sbbs/-/commit/1817c363cce0eb301f339cf0
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Update comments for closer reading of the spec.

    Section 2.3.1 is the C0 set, which "is not stored or displayed"
    Section 2.3.2 is the C1 set, so interpret "all control characters"
    in this context as meaning "all C1 characters".
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, January 23, 2025 12:26:13
    https://gitlab.synchro.net/main/sbbs/-/commit/4ab569ff44a8501fbfd653f4
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Some todone comments.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 05, 2025 16:11:20
    https://gitlab.synchro.net/main/sbbs/-/commit/d6315867039caf232b681831
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Mode 7 terminals (ie: Commstar) do not support cursor control

    Specifically, \x11 is not cursor on, and \x14 is not cursor off.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 05, 2025 20:03:09
    https://gitlab.synchro.net/main/sbbs/-/commit/ac68809c9d1f14f12b8fd6e1
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Split Prestel from Beeb emulation parsing, add VDU 7, 23, and 31

    Prestel and Beeb emulations are different enough that using a shared
    switch statement doesn't really make sense.

    This adds Mode 7 support for VDU commands 7 (beep), 23 (cursor only),
    and 31 (move to X/Y, 0-based).

    The rest of the unsupported commands don't seem overly useful in a
    BBS context (disable/enable output) or I don't want to deal with
    documenting and implementing ("Page mode").
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 05, 2025 20:09:46
    https://gitlab.synchro.net/main/sbbs/-/commit/8379c1205104a28c7a10cee4
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Character 127 in Beeb mode is destructive backspace.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 05, 2025 22:31:53
    https://gitlab.synchro.net/main/sbbs/-/commit/848602f4b2461e547f28bd31
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix handling of translated blast-through mosaics

    Since we're translating in ch[0], don't use buf[j] for mosaic or
    we'll lose the translation we just did.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, February 09, 2025 13:53:41
    https://gitlab.synchro.net/main/sbbs/-/commit/852e6b7af4771259c2cb2904
    Modified Files:
    src/conio/cterm.c
    Log Message:
    A couple more Atari ST VT52 fixes...

    FF and VT both move down one line, scrolling if necessary.

    The rest of the unsupported control characters have no effect
    (ie: work like NUL)

    Delete shows the delta.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 12, 2025 18:53:42
    https://gitlab.synchro.net/main/sbbs/-/commit/ca515cf3952ad14839b7d7e8
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix blast-through glyphs for high mosaics.

    The smooth mosaics aren't available with the SAA5050.
    Nothing to see here.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, February 24, 2025 09:52:53
    https://gitlab.synchro.net/main/sbbs/-/commit/cc07b354ec1912896a6bb546
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix defaults for variable length sequences

    Only SGR was impacted, but this explicitly sets the rest of the
    defaults to zero.

    Closes ticket 193.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 25, 2025 07:23:57
    https://gitlab.synchro.net/main/sbbs/-/commit/cbe604acdd0303d821bb8770
    Modified Files:
    src/conio/cterm.c
    Log Message:
    CSI < c only takes one manditory argument with default

    Fixes bug introduced in cc07b354 where the command without any
    parameters would not return anything.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 25, 2025 07:24:36
    https://gitlab.synchro.net/main/sbbs/-/commit/d90f4a4dad3ba0bbdaabb6cf
    Modified Files:
    src/conio/cterm.c
    Log Message:
    SGR has at least one (defaulted) parameter
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, March 03, 2025 16:24:41
    https://gitlab.synchro.net/main/sbbs/-/commit/38bd307bf3e777425f37b1d1
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix Mode7 APS handling

    The code is 0x1C, not 0x1E, and it's row then column.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 30, 2025 09:44:05
    https://gitlab.synchro.net/main/sbbs/-/commit/433eed47ed682016a43acef8
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Atari ST doesn't support the VT-52 Ident command
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, April 02, 2025 11:54:01
    https://gitlab.synchro.net/main/sbbs/-/commit/f6fbd8eac28330f9ecae607e
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Only call xptone_complete() if there's foreground notes

    Otherwise there's a race condition that will crash Win32 at least.
    Fixes ticket 199.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net