• src/conio/win32cio.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wed Oct 23 11:24:25 2024
    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 Wed Oct 23 14:03:34 2024
    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 Wed Oct 23 17:50:50 2024
    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 Thu Oct 24 07:11:11 2024
    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 Thu Oct 24 08:19:13 2024
    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 Thu Oct 24 18:41:27 2024
    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 Thu Oct 24 20:36:21 2024
    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 Thu Oct 24 22:27:02 2024
    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