• src/conio/curs_cio.c

    From deuce@VERT to CVS commit on Tue Jan 30 01:59:42 2018
    src/conio curs_cio.c 1.33 1.34
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20704

    Modified Files:
    curs_cio.c
    Log Message:
    When resuming curses, call getch() (10ms timeout) to clear the input buffer.

    Prevents arrow-key weirdness in SyncTERM (and presumably others).




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Feb 10 07:31:31 2018
    src/conio curs_cio.c 1.36 1.37
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18512

    Modified Files:
    curs_cio.c
    Log Message:
    Fix 8-color mode.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Tue Feb 13 17:11:49 2018
    src/conio curs_cio.c 1.37 1.38
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv18244

    Modified Files:
    curs_cio.c
    Log Message:
    Fix gettext() on 16+ colour displays.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Mar 9 03:48:02 2018
    src/conio curs_cio.c 1.39 1.40
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19367

    Modified Files:
    curs_cio.c
    Log Message:
    Fix setvideoflags() in curses. Did nothing.
    Thanks scan-build!



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat Jan 19 06:26:04 2019
    src/conio curs_cio.c 1.41 1.42
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv6906

    Modified Files:
    curs_cio.c
    Log Message:
    Attempt to fix Linux weirdness with UIFC jsexec things.

    Basically, this just tracks if curses is already suspended or not and if it
    is, does not call noraw() and endwin() again. This should fix the issue on Linux since well-behaved scripts will call uifc.bail() before they exit.

    It appears what's happening is that jsexec sets the terminal as raw, then ciolib is initialized at which point ncurses saves the current terminal state. Before exiting, jsexec sets the terminal back to cooked mode, then exits. atexit() ciolib calls curs_suspend() which calls endwin() which restores
    the previously saved terminal state (ie: raw).




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thu May 30 21:24:33 2019
    src/conio curs_cio.c 1.42 1.43
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv31491

    Modified Files:
    curs_cio.c
    Log Message:
    Have all curses functions resume before any curses calls are made.

    Make resume only perform any actions if curses is suspended.
    This may fix the Syncterm OS X raw on exit in -iC mode.
    (But may not either)



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wed Apr 8 17:52:46 2020
    src/conio curs_cio.c 1.43 1.44
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20232

    Modified Files:
    curs_cio.c
    Log Message:
    Fix mouse in curses mode.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sun Apr 12 16:09:27 2020
    src/conio curs_cio.c 1.46 1.47
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17588

    Modified Files:
    curs_cio.c
    Log Message:
    Some fixes for ANSI mode gettext()




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sun Apr 12 16:21:36 2020
    src/conio curs_cio.c 1.47 1.48
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv25606

    Modified Files:
    curs_cio.c
    Log Message:
    Set mode correctly for CIOLIB_MODE_AUTO



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri May 1 23:32:09 2020
    src/conio curs_cio.c 1.52 1.53
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/home/deuce/sbbs/src/conio

    Modified Files:
    curs_cio.c
    Log Message:
    Fix mode palette in curses mode.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sat May 2 06:10:15 2020
    src/conio curs_cio.c 1.55 1.56
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/home/deuce/sbbs/src/conio

    Modified Files:
    curs_cio.c
    Log Message:
    Allow curses to use more than one mode.
    This likely breaks the forced mono thing.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sun May 3 03:49:44 2020
    src/conio curs_cio.c 1.56 1.57
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv10903

    Modified Files:
    curs_cio.c
    Log Message:
    Set vflags when using curses mode.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon May 4 22:32:15 2020
    src/conio curs_cio.c 1.58 1.59
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv25267

    Modified Files:
    curs_cio.c
    Log Message:
    Clamp curses maxx/maxy to 255 each.




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Feb 3 21:35:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b0c87a8e1f7e09c5d531e074
    Modified Files:
    src/conio/curs_cio.c
    Log Message:
    Use getcchar() so we can still use the NetBSD native curses

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