• src/conio/win32cio.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, October 23, 2024 11:24:25
    https://gitlab.synchro.net/main/sbbs/-/commit/80598cfdc27549ff5a49a436
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Attempt to re-enable palette setting on Win32

    This was disabled due to mingw32 limitations, and we use mingw64 now

    ---
    þ 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 14:03:34
    https://gitlab.synchro.net/main/sbbs/-/commit/be9f0a1a670736f3a02cebf5
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    The MSVC builds apparently target some ancient API

    So we need to define the Windows API ourselves. :(

    ---
    þ 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 17:50:50
    https://gitlab.synchro.net/main/sbbs/-/commit/22c2c0a67dd8254374cc3510
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Some fixups to not crash and stuff.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 07:11:11
    https://gitlab.synchro.net/main/sbbs/-/commit/088948e0e05c5e6a491065ca
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    <nelgin> Wont crash if it wont build.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 08:19:13
    https://gitlab.synchro.net/main/sbbs/-/commit/ecd61d64935cf01e1a04c147
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Deal with consile resizing

    This doesn't fix the terrible crap Windows does to the contents of
    the console yet though (sigh).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 18:41:27
    https://gitlab.synchro.net/main/sbbs/-/commit/0f87d4e2881367a2c7fded9c
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Keep a local copy of the screen for windows

    Because it screws up the display when you resize the window.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 20:36:21
    https://gitlab.synchro.net/main/sbbs/-/commit/0bf419eba0d14238b02d3eca
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Some more Win32 Terminal fixes

    Almost there, the main issue remaining is when running from a
    command-line, it sometimes "unwraps" lines.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 22:27:02
    https://gitlab.synchro.net/main/sbbs/-/commit/714e0ec073f0bbd9023d7d48
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Deal with more windows console braindeadedness.

    The window and the screen buffer are two different things... the
    screen buffer must always be the same size as or larger than the
    window. Further, there are times where it's not possible to resize
    the windown programatically (new terminal for example).

    There still appears to be a stupid bug in what I assume is the
    Windows Terminal LCF flag implementation which causes writes to
    the beginning of a line that occur after a write to the end of the
    previous line to be in the wrong position. If it's not the LCF flag
    (which isn't turned on), it's in their wrapping thing which is extra
    irritating since I explocitly turn that off.

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