• src/conio/cterm.c

    From deuce to CVS commit on Friday, April 24, 2020 13:48:39
    src/conio cterm.c 1.284 1.285
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv26509

    Modified Files:
    cterm.c
    Log Message:
    Fix CSI E and CSI F (were not going to column 1)



  • From deuce to CVS commit on Friday, April 24, 2020 18:59:28
    src/conio cterm.c 1.286 1.287
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9646

    Modified Files:
    cterm.c
    Log Message:
    Don't allow TAB to move to the next line.



  • From Nightfox@DIGDIST to deuce on Friday, April 24, 2020 22:41:34
    Re: src/conio/cterm.c
    By: deuce to CVS commit on Fri Apr 24 2020 06:59 pm

    Don't allow TAB to move to the next line.

    I'll move to the next line with whatever soft drink I choose!

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From deuce to CVS commit on Saturday, April 25, 2020 01:21:30
    src/conio cterm.c 1.288 1.289
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv31127

    Modified Files:
    cterm.c
    Log Message:
    Fix macro space query.



  • From deuce to CVS commit on Tuesday, April 28, 2020 02:51:40
    src/conio cterm.c 1.292 1.293
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18827

    Modified Files:
    cterm.c
    Log Message:
    Fix off-by-one in shift which caused a crash.



  • From deuce to CVS commit on Tuesday, April 28, 2020 10:12:41
    src/conio cterm.c 1.293 1.294
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv13592

    Modified Files:
    cterm.c
    Log Message:
    Fix pixel-based checksum calculation.



  • From deuce to CVS commit on Tuesday, April 28, 2020 13:23:42
    src/conio cterm.c 1.295 1.296
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17465

    Modified Files:
    cterm.c
    Log Message:
    DECCKSR is documented incorrectly on the XTerm website. It's always
    DSR Pn ! ~ x x x x ST



  • From deuce to CVS commit on Tuesday, April 28, 2020 13:45:07
    src/conio cterm.c 1.296 1.297
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20742

    Modified Files:
    cterm.c
    Log Message:
    Fix out-of-bounds read in do_backtab().



  • From deuce to CVS commit on Tuesday, April 28, 2020 14:29:47
    src/conio cterm.c 1.297 1.298
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27756

    Modified Files:
    cterm.c
    Log Message:
    DECCKSR specifies upper-case hex digits.



  • From deuce to CVS commit on Wednesday, April 29, 2020 02:20:56
    src/conio cterm.c 1.298 1.299
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4975

    Modified Files:
    cterm.c
    Log Message:
    Fix tab handling code.



  • From deuce to CVS commit on Wednesday, April 29, 2020 03:47:09
    src/conio cterm.c 1.299 1.300
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20042

    Modified Files:
    cterm.c
    Log Message:
    memmove() for overlapping memory.



  • From deuce to CVS commit on Wednesday, April 29, 2020 04:24:35
    src/conio cterm.c 1.300 1.301
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv28348

    Modified Files:
    cterm.c
    Log Message:
    Better cleanup of cterm sessions.



  • From deuce to CVS commit on Wednesday, April 29, 2020 13:54:30
    src/conio cterm.c 1.301 1.302
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27998

    Modified Files:
    cterm.c
    Log Message:
    Add separate term clreol()
    Reset mouse state on terminal reset



  • From deuce to CVS commit on Wednesday, April 29, 2020 14:29:01
    src/conio cterm.c 1.302 1.303
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2295

    Modified Files:
    cterm.c
    Log Message:
    Fix autowrap disable.



  • From deuce to CVS commit on Wednesday, April 29, 2020 16:16:16
    src/conio cterm.c 1.303 1.304
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22913

    Modified Files:
    cterm.c
    Log Message:
    Apply CSI t colours immediately.
    Fixes issue with Pablo 24-bit colour ANSIs.



  • From deuce to CVS commit on Thursday, April 30, 2020 11:18:21
    src/conio cterm.c 1.304 1.305
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30126

    Modified Files:
    cterm.c
    Log Message:
    Ensure cterm->strbuf is always NUL terminated (no functional change)



  • From deuce to CVS commit on Friday, May 01, 2020 20:20:27
    src/conio cterm.c 1.306 1.307
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16795

    Modified Files:
    cterm.c
    Log Message:
    Don't use a shadow palette unless CONIO_OPT_EXTENDED_PALETTE is set.



  • From deuce to CVS commit on Saturday, May 02, 2020 03:22:06
    src/conio cterm.c 1.308 1.309
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv12727

    Modified Files:
    cterm.c
    Log Message:
    Fix bug in last commit that resulted in C64 colours being broken for outputs with extended palettes.



  • From deuce to CVS commit on Saturday, May 02, 2020 22:00:04
    src/conio cterm.c 1.309 1.310
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23943

    Modified Files:
    cterm.c
    Log Message:
    Fix C128 40-column colour mapping. The palette was changed to match C64,
    but the mapping wasn't.



  • From deuce to CVS commit on Sunday, May 03, 2020 00:26:30
    src/conio cterm.c 1.310 1.311
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18057

    Modified Files:
    cterm.c
    Log Message:
    Fix weird font reset issue in PETSCII emulation.


  • From deuce to CVS commit on Sunday, May 03, 2020 00:56:15
    src/conio cterm.c 1.311 1.312
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23370

    Modified Files:
    cterm.c
    Log Message:
    Fix the last fix so it's fixed.



  • From Deuc╨╡ to Git commit to main/sbbs/master on Saturday, March 13, 2021 11:26:13
    https://gitlab.synchro.net/main/sbbs/-/commit/ec06a1687a66ddd48fd6aa38
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix issue with ATASCII delete/insert character.

    Before the Unicode support was added, displaying a NUL would clear
    the cell, but now it is translated. For ATASCII, this results in
    a heart character being displayed instead of an empty cell when
    inserting or deleting characters.

    Fixes bug #28 on Sourceforge.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Saturday, March 20, 2021 11:48:38
    https://gitlab.synchro.net/main/sbbs/-/commit/2f33ee734bc31462d7ce4e7f
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix error on scroll with left/right margins

    Scrolling would clear the line to the end of the screen, not the
    end of the scrolling region.

    Sorry echicken.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Saturday, March 20, 2021 12:22:05
    https://gitlab.synchro.net/main/sbbs/-/commit/5abc5cdae5f652cf7a478b44
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Ensure cleared block in in scrolling region

    Do not clear at the current X/Y on scroll (derp)
  • From Deuc╨╡ to Git commit to main/sbbs/master on Friday, February 25, 2022 10:54:50
    https://gitlab.synchro.net/main/sbbs/-/commit/37cdd991af1c54c30752bcc6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add a UINT64_MAX hack for VS 2022

    Not sure why this isn't defined from inttypes.h, but blah.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, October 12, 2022 11:05:11
    https://gitlab.synchro.net/main/sbbs/-/commit/bb233b89b205ae98af9eacb6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Continue fixing a coverity issue.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thursday, December 22, 2022 23:35:08
    https://gitlab.synchro.net/main/sbbs/-/commit/1e9dcf477a5de94298f9bb74
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Clamp sixel repeat to 0x7fff per specification.

    This is the issue behind CVE-2022-24130 in xterm.
    Reported against SyncTERM by Autumn Lamonte (Thanks!)
    Discussion here: https://gitlab.com/klamonte/jexer/-/issues/105

    Closes SyncTERM bug 79.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Monday, May 15, 2023 11:48:25
    https://gitlab.synchro.net/main/sbbs/-/commit/5c12fc2e5c7362a36fd68c23
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix memory leak and uninitialized acces in sixel graphics.

    Properly initialize sixel mask width/height.
    Free sx_mask->bits when finished.

    These were broken by the PPM feature commit 4975b41
  • From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, May 31, 2023 13:27:51
    https://gitlab.synchro.net/main/sbbs/-/commit/cda7525d78b0948996c19561
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix off-by-one in delete lines

    Previously, delete lines would erase the line above the current one.
    This was visible in vim which makes extensive use of delete line
    to scroll.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Friday, June 09, 2023 11:24:59
    https://gitlab.synchro.net/main/sbbs/-/commit/e5c75c3a8268961c2552edb9
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add comments to hopefully shut up Coverity
  • From Rob Swindell (on ChromeOS) to Git commit to main/sbbs/master on Monday, June 26, 2023 20:24:21
    https://gitlab.synchro.net/main/sbbs/-/commit/80379e9161895f4241bc30f3
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix warning: ‘end’ may be used uninitialized in this function

    Fix multiple warning: ignoring return value of ‘asprintf’
    declared with attribute ‘warn_unused_result’
  • From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, June 28, 2023 10:01:38
    https://gitlab.synchro.net/main/sbbs/-/commit/1181333075e9674aad79ff3e
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix for 80379e916

    The commit just the zero-length behaviour from uninitialized use
    with possible undefined behaviour to guaranteed undefined behaviour.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Saturday, February 10, 2024 22:28:17
    https://gitlab.synchro.net/main/sbbs/-/commit/2f436df7f1606aa07ca81b1a
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix macro recusion protection for macros 32-63.

    Found by MSVC
  • From Deuc╨╡ to Git commit to main/sbbs/master on Sunday, February 11, 2024 13:43:18
    https://gitlab.synchro.net/main/sbbs/-/commit/6621c97c34e6e1f193e45bb3
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Disable MSVC warnings 4244 and 4267.

    The alternative is to explicitly copy/paste the type everywhere
    forcing the compiler to do the only thing it could possibly do,
    and making it painful to change a type later.

    Honestly, in my opinion, these warnings should just be disabled
    completely everywhere.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Sunday, February 18, 2024 17:38:55
    https://gitlab.synchro.net/main/sbbs/-/commit/21c6201278ed7f0b9ee5f45e
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix doorway mode.

    CSI=255h was not entering doorway mode anymore.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thursday, February 22, 2024 06:50:40
    https://gitlab.synchro.net/main/sbbs/-/commit/dc2b586763a0c4a1be105efa
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Use default instead of enum value in warning suppression.

    This will hopefully keep both Coverity and compilers happy.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thursday, March 28, 2024 06:28:53
    https://gitlab.synchro.net/main/sbbs/-/commit/28bfe4a1424f57bb6abf2f8a
    Modified Files:
    src/conio/cterm.c
    Log Message:
    When ANSI Music is enabled, CSI M with parameters is still delete line
  • From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, September 25, 2024 15:42:12
    https://gitlab.synchro.net/main/sbbs/-/commit/f209a29da73cb1da1bc7b4bf
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Bump revision.

    I need to document when I should do this better.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Saturday, November 02, 2024 14:02:08
    https://gitlab.synchro.net/main/sbbs/-/commit/e8c6145d3d975d6157ec772d
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Implement line editing support.

    Changing "stuff" on a line will now propogate to the right
    appropriately.

    Next up is double-height characters... hopefully.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Sunday, November 03, 2024 10:45:58
    https://gitlab.synchro.net/main/sbbs/-/commit/252e539cc03a4411e4b52897
    Modified Files:
    src/conio/cterm.c
    Log Message:
    "Handle" malloc() failures

    Just scream on stderr, and screw things up in the window.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Sunday, November 03, 2024 22:42:40
    https://gitlab.synchro.net/main/sbbs/-/commit/76bf7cde63a9a19dfdb75034
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Make the default Prestel ID 0 bytes long.

    CCl4 sends an ENQ character in the login screen, and sends an ENQ
    which will auto-fill your username. Also, if you enter six zeros
    into the username, it will take you to the password field.

    With ten zeros, this means it's impossible to log in to CCl4.