• src/conio/cterm.c

    From rswindell@1:103/705 to CVS commit on Tue Jan 23 20:48:40 2018
    src/conio cterm.c 1.158 1.159
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv13109

    Modified Files:
    cterm.c
    Log Message:
    ...and I put the first-available-font-slot in front of the version number. Fixed.

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Jan 30 15:26:01 2018
    src/conio cterm.c 1.164 1.165
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9785

    Modified Files:
    cterm.c
    Log Message:
    Don't indent left-aligned stuff.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jan 31 02:42:10 2018
    src/conio cterm.c 1.168 1.169
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22548

    Modified Files:
    cterm.c
    Log Message:
    Fix Query Extended State information request (CSI=...n), broken in rev 1.162: no responses were being sent for a couple of different reasons (misplaced break and erroneous check of strcmp result).

    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 08:28:44 2018
    src/conio cterm.c 1.169 1.170
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2173

    Modified Files:
    cterm.c
    Log Message:
    Fix SOS temrination handling



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 15:35:12 2018
    src/conio cterm.c 1.170 1.171
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22332

    Modified Files:
    cterm.c
    Log Message:
    Major overhaul of ANSI parsing...

    Instead of each control function having separate code to parse sequences,
    use shared code which splits it into a structure and parses parameters.

    This fixes all sorts of ANSI bugs with leading zeros, default values, etc.

    Not all sequences have been updated yet, but I'll plug away at this slowly.

    Now, instead of a couple sequences having broken parsing, and them all being broken in different ways, all sequences can be broken in the same way all at once.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 18:24:48 2018
    src/conio cterm.c 1.171 1.172
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9896

    Modified Files:
    cterm.c
    Log Message:
    Use common parsing code for all the things.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 18:37:55 2018
    src/conio cterm.c 1.172 1.173
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11278

    Modified Files:
    cterm.c
    Log Message:
    "Fix" warnings.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 18:54:00 2018
    src/conio cterm.c 1.173 1.174
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv13062

    Modified Files:
    cterm.c
    Log Message:
    Create a function to check a sequence for legality and delete SO MUCH copy pasta.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 19:02:20 2018
    src/conio cterm.c 1.174 1.175
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14011

    Modified Files:
    cterm.c
    Log Message:
    Parameter strings not starting with <, =, >, or ? can not contain any of those characters.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jan 31 19:30:35 2018
    src/conio cterm.c 1.175 1.176
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27808

    Modified Files:
    cterm.c
    Log Message:
    Add case and comment for all standard sequences.
    Also, delineate standard from non-standard.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 1 16:58:05 2018
    src/conio cterm.c 1.178 1.179
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20001

    Modified Files:
    cterm.c
    Log Message:
    Initial support for XTerm 256-color mode.

    You can now use CSI [ 38 ; 5 ; X m to set the foreground colour, and
    CSI [ 48 ; 5 ; X m to set the background colour from the palette and use
    any of the 256 standard colours, any of the 16 Commodore 64 colours (start
    at 256), or the two Atari colors (after the C64 colours). In addition,
    you can use the palette redefinition commands to extend the palette past
    those entries.

    NOTE: Since this is only CTerm so far, using SyncTERM and UIFC features
    will lose the palette blocks for the characters, and they will revert to
    their current 16-color value. Further, I haven't testing how this interacts with alternat fonts, blinking, etc yet.

    But it looks cool!


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 1 19:10:44 2018
    src/conio cterm.c 1.181 1.182
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17109

    Modified Files:
    cterm.c
    Log Message:
    Fix out-of-bounds write in sequence parsing.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 1 22:46:59 2018
    src/conio cterm.c 1.182 1.183
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14194

    Modified Files:
    cterm.c
    Log Message:
    Initial Sixel support...

    List of known problems:
    1) Does not support different aspect ratios. This is simple.
    2) The VT-340 programmers manual says the default is to set all pixels,
    but all the sample Sixel files I've found don't specify that and expect
    zero bits to not be written. For now, we just never set the background
    colour until we figure out what's up with that.
    3) Line lengths don't seem to match up... maybe repeat is broken?
    4) Sixel graphics will not cause scrolling... the bottom will be chopped off
    if it reaches the bottom of the terminal.
    5) Sixel graphics do not scroll... they sit where they were drawn until
    overwritten by text boxes. They should scroll with the text.
    6) The background clear thing in the raster attribute command isn't supported.
    I want to figure out what's up with background and set all pixels before
    I work on this.
    7) Instead of parsing as it's read, it gets all the data in a string, then
    parses the string... this is wasteful.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 1 22:48:27 2018
    src/conio cterm.c 1.183 1.184
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv14987

    Modified Files:
    cterm.c
    Log Message:
    Yep, it was repeat... graphics look good now.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 2 02:06:49 2018
    src/conio cterm.c 1.185 1.186
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2048

    Modified Files:
    cterm.c
    Log Message:
    Fix up cursor position after Sixels, and hide cursor while drawing.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 2 02:41:04 2018
    src/conio cterm.c 1.186 1.187
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv5502

    Modified Files:
    cterm.c
    Log Message:
    Fix up the rest of the Sixel stuff... only three minor issues remain:

    1) Instead of parsing as it's read, it gets all the data in a string, then
    parses the string... this is wasteful. This is the toughest one to fix.
    2) The background clear thing in the raster attribute command doesn't
    work if the image scrolls. Somthing Must Be Done.
    3) No save/restore pixel data, so menus and scrollback break images.
    This one is fairly straightforward to fix.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 2 14:27:19 2018
    src/conio cterm.c 1.187 1.188
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv1499

    Modified Files:
    cterm.c
    Log Message:
    Only draw the background on the first pass of a sixel line... this seems to
    be what is ment/expected.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sun Feb 4 22:58:19 2018
    src/conio cterm.c 1.192 1.193
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27231

    Modified Files:
    cterm.c
    Log Message:
    Set the height/width of the pixel buffer when erasing the sixel background.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Feb 5 02:01:40 2018
    src/conio cterm.c 1.194 1.195
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16762

    Modified Files:
    cterm.c
    Log Message:
    Make the mask big enough... should fix random memory clobbers and crashes
    in sixel stuff.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Feb 6 22:56:08 2018
    src/conio cterm.c 1.197 1.198
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7475

    Modified Files:
    cterm.c
    Log Message:
    Added support for querying the current font/char dimenions (height;width)
    with: CSI=3n
    Replaced a couple \e's and %c with \x1b's.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Feb 7 01:40:04 2018
    src/conio cterm.c 1.198 1.199
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22708

    Modified Files:
    cterm.c
    Log Message:
    Shift the palette up during cterm_write() operations... this prevents
    palette stuff from messing with the display.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Feb 7 15:29:06 2018
    src/conio cterm.c 1.199 1.200
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv27695

    Modified Files:
    cterm.c
    Log Message:
    Take BGBRIGHT and NOBRIGHT video flags into account when updating the 32-bit colour. In general, this should work as exepected, except if you use XTerm 256-colour extensions to set the colour to the current standard one, then adjust the appropriate flag, the colour will change. I don't know if that's expected or not to be honest.

    Anyway, this fixes rendering of tcf - 22 - amidala.XB


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 8 13:54:03 2018
    src/conio cterm.c 1.202 1.203
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23078

    Modified Files:
    cterm.c
    Log Message:
    Fix scrollback foreground and background colours.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 8 14:27:33 2018
    src/conio cterm.c 1.204 1.205
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv26521

    Modified Files:
    cterm.c
    Log Message:
    Fix some errors in last commit


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 8 20:52:15 2018
    src/conio cterm.c 1.206 1.207
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2225

    Modified Files:
    cterm.c
    Log Message:
    Add CSI < Ps c command to query extended device attributes.

    Sixel support, loadable fonts, etc.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 8 22:28:40 2018
    src/conio cterm.c 1.208 1.209
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15347

    Modified Files:
    cterm.c
    Log Message:
    Remove unused stuff.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Feb 8 22:47:26 2018
    src/conio cterm.c 1.209 1.210
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17614

    Modified Files:
    cterm.c
    Log Message:
    We can get the mode from cio_api.mode directly.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 9 15:30:33 2018
    src/conio cterm.c 1.211 1.212
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv32071

    Modified Files:
    cterm.c
    Log Message:
    Ye olde bugs in last commit commit.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Feb 9 20:56:36 2018
    src/conio cterm.c 1.213 1.214
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv1256

    Modified Files:
    cterm.c
    Log Message:
    Fix CSI 7 m... how long has THAT been broken?



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Noisome@1:103/705 to deuce on Sat Feb 10 00:36:42 2018
    src/conio cterm.c 1.211 1.212
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv32071

    Modified Files:
    cterm.c
    Log Message:
    Ye olde bugs in last commit commit.


    Having a heck of a time compiling after this commit:

    ...
    make -C ../../smblib lib
    make[2]: Entering directory '/home/noisome/sbbs/src/smblib'
    make[2]: Nothing to be done for 'lib'.
    make[2]: Leaving directory '/home/noisome/sbbs/src/smblib'
    Linking gcc.linux.armv7l.exe.release/umonitor ../../conio/gcc.linux.armv7l.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write': cterm.c:(.text+0x59c6): undefined reference to `b64_decode' collect2: error: ld returned 1 exit status
    GNUmakefile:29: recipe for target 'gcc.linux.armv7l.exe.release/umonitor' failed make[1]: *** [gcc.linux.armv7l.exe.release/umonitor] Error 1
    make[1]: Leaving directory '/home/noisome/sbbs/src/sbbs3/umonitor' GNUmakefile:155: recipe for target 'umonitor' failed
    make: *** [umonitor] Error 2

    Looks like its not finding the base64.h/c in the necessary spots.

    ---
    ■ Synchronet ■ Digital 52 BBS - digital52.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Feb 10 01:24:46 2018
    src/conio cterm.c 1.214 1.215
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11834

    Modified Files:
    cterm.c
    Log Message:
    We need to use pputtext() when clearing due to possiblity of 256-colour background


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Noisome on Sat Feb 10 15:30:48 2018
    Re: Re: src/conio/cterm.c
    By: Noisome to deuce on Sat Feb 10 2018 12:36 am

    src/conio cterm.c 1.211 1.212
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv32071

    Modified Files:
    cterm.c
    Log Message:
    Ye olde bugs in last commit commit.


    Having a heck of a time compiling after this commit:

    ...
    make -C ../../smblib lib
    make[2]: Entering directory '/home/noisome/sbbs/src/smblib'
    make[2]: Nothing to be done for 'lib'.
    make[2]: Leaving directory '/home/noisome/sbbs/src/smblib'
    Linking gcc.linux.armv7l.exe.release/umonitor ../../conio/gcc.linux.armv7l.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write': cterm.c:(.text+0x59c6): undefined reference to `b64_decode' collect2: error: ld returned 1 exit status

    Looks like its not finding the base64.h/c in the necessary spots.

    Correct. It was moved from sbbs3 to smblib a while ago. If you just do "make clean all" that should fix ya up.

    digital man

    This Is Spinal Tap quote #39:
    Airport Security Officer: Do you have any artificial plates or limbs?
    Norco, CA WX: 63.0°F, 63.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From John McCoy@1:249/400 to Digital Man on Sun Feb 11 18:48:58 2018
    On 02/10/18, Digital Man said the following...

    Linking gcc.linux.armv7l.exe.release/umonitor ../../conio/gcc.linux.armv7l.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write': cterm.c:(.text+0x59c6): undefined reference to `b64_decode' collect2: error: ld returned 1 exit status
    Looks like its not finding the base64.h/c in the necessary spots.

    Correct. It was moved from sbbs3 to smblib a while ago. If you just do "make clean all" that should fix ya up.

    I just tried a completely fresh start from CVS and got the same thing:

    Linking gcc.linux.x64.exe.release/umonitor ../../conio/gcc.linux.x64.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write':
    cterm.c:(.text+0x6615): undefined reference to `b64_decode'
    collect2: error: ld returned 1 exit status
    make[1]: *** [GNUmakefile:30: gcc.linux.x64.exe.release/umonitor] Error 1 make[1]: Leaving directory '/sbbs/src/sbbs3/umonitor'
    make: *** [GNUmakefile:155: umonitor] Error 2

    I looked at the command line the makefile is issuing where this fails: $(QUIET)$(CC) $(LDFLAGS) $(OBJS) -o $@ $(SMBLIB_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS)

    Since ciolib uses b64_decode from smblib in cterm.c, it should come before smblib in the list in order for the linker to know it needs to grab b64_decode from smblib when it comes across it. After changing the order, umonitor now links.

    Syncview also fails to link with the same error but doesn't have smblib in its list of libraries at all. Adding smblib after ciolib in that makefile allows
    it to link as well.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Subcarrier BBS (1:249/400)
  • From Digital Man@1:103/705 to John McCoy on Sun Feb 11 22:17:45 2018
    Re: Re: src/conio/cterm.c
    By: John McCoy to Digital Man on Sun Feb 11 2018 06:48 pm

    On 02/10/18, Digital Man said the following...

    Linking gcc.linux.armv7l.exe.release/umonitor ../../conio/gcc.linux.armv7l.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write': cterm.c:(.text+0x59c6): undefined reference to `b64_decode' collect2: error: ld returned 1 exit status
    Looks like its not finding the base64.h/c in the necessary spots.

    Correct. It was moved from sbbs3 to smblib a while ago. If you just do "make clean all" that should fix ya up.

    I just tried a completely fresh start from CVS and got the same thing:

    Linking gcc.linux.x64.exe.release/umonitor ../../conio/gcc.linux.x64.lib.release/libciolib_mt.a(cterm.o): In function `cterm_write':
    cterm.c:(.text+0x6615): undefined reference to `b64_decode'
    collect2: error: ld returned 1 exit status
    make[1]: *** [GNUmakefile:30: gcc.linux.x64.exe.release/umonitor] Error 1 make[1]: Leaving directory '/sbbs/src/sbbs3/umonitor'
    make: *** [GNUmakefile:155: umonitor] Error 2

    I looked at the command line the makefile is issuing where this fails: $(QUIET)$(CC) $(LDFLAGS) $(OBJS) -o $@ $(SMBLIB_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS)

    Since ciolib uses b64_decode from smblib in cterm.c, it should come before smblib in the list in order for the linker to know it needs to grab b64_decode from smblib when it comes across it. After changing the order, umonitor now links.

    Syncview also fails to link with the same error but doesn't have smblib in its list of libraries at all. Adding smblib after ciolib in that makefile allows
    it to link as well.

    Thanks and appreciate the analysis as well.

    digital man

    Synchronet/BBS Terminology Definition #31:
    ISDN = Integrated Services Digital Network
    Norco, CA WX: 54.5°F, 74.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sun Feb 11 23:51:58 2018
    src/conio cterm.c 1.218 1.219
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv29577

    Modified Files:
    cterm.c
    Log Message:
    Fix replace_font() call using legacy font loading.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Feb 12 01:06:52 2018
    src/conio cterm.c 1.219 1.220
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv4972

    Modified Files:
    cterm.c
    Log Message:
    Limit string sizes to 512MB This puts a cap of on the max asset size of 384MB



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Feb 12 01:11:04 2018
    src/conio cterm.c 1.220 1.221
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv5475

    Modified Files:
    cterm.c
    Log Message:
    Some SOS handling cleanup.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Feb 12 13:53:25 2018
    src/conio cterm.c 1.222 1.223
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv24649

    Modified Files:
    cterm.c
    Log Message:
    First pass at supporting all the XTerm 38/48m sequences, specifically:

    CSI 38 : 5 : X m
    CSI 38 ; 5 : X m
    CSI 38 ; 5 ; X m
    CSI 38 : 2 : Z : R : G : B m
    CSI 38 : 2 : R : G : B m
    CSI 38 ; 2 : Z : R : G : B m
    CSI 38 ; 2 : R : G : B m
    CSI 38 ; 2 ; R ; G ; B m

    X = palette slot
    Z = colour space identifier (ignored)
    R/G/B = Reg/Green/Blue values



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Feb 14 13:21:22 2018
    src/conio cterm.c 1.226 1.227
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17287

    Modified Files:
    cterm.c
    Log Message:
    Fix font loading... since setfont return value was inverted, check the
    inverted value.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:11:52 2018
    src/conio cterm.c 1.227 1.228
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv21054

    Modified Files:
    cterm.c
    Log Message:
    Fix memory leak handling SOS.
    -- coverity



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:13:47 2018
    src/conio cterm.c 1.228 1.229
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv21242

    Modified Files:
    cterm.c
    Log Message:
    Fix error handling unsupported 'n' FB sequences.
    --coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:34:17 2018
    src/conio cterm.c 1.229 1.230
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23357

    Modified Files:
    cterm.c
    Log Message:
    Coverity likes arrays to be passed to functions using arrays.
    --coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:37:20 2018
    src/conio cterm.c 1.230 1.231
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23626

    Modified Files:
    cterm.c
    Log Message:
    If we can't get the vmode, don't do sixel stuff.
    --coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:39:55 2018
    src/conio cterm.c 1.231 1.232
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23946

    Modified Files:
    cterm.c
    Log Message:
    More vmode value testing... all impossible.
    --coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:43:39 2018
    src/conio cterm.c 1.232 1.233
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv24284

    Modified Files:
    cterm.c
    Log Message:
    No no, that's how how you test something...



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 11:45:41 2018
    src/conio cterm.c 1.233 1.234
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv24544

    Modified Files:
    cterm.c
    Log Message:
    More vmode == -1 tests.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 13:16:15 2018
    src/conio cterm.c 1.234 1.235
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3706

    Modified Files:
    cterm.c
    Log Message:
    Some bugs found by Coverity
    Thanks Coverity!


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Feb 20 13:36:24 2018
    src/conio cterm.c 1.235 1.236
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv5905

    Modified Files:
    cterm.c
    Log Message:
    Another bug
    Thanks Coverity


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Mar 8 21:34:05 2018
    src/conio cterm.c 1.236 1.237
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv10803

    Modified Files:
    cterm.c
    Log Message:
    "fix" "issue" found by scan-build.
    Not impressed yet. :-)


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Mar 8 22:13:55 2018
    src/conio cterm.c 1.237 1.238
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15373

    Modified Files:
    cterm.c
    Log Message:
    Fix potential NULL dereference on illegal strings commands.
    Found by scan-build.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Mar 8 22:20:36 2018
    src/conio cterm.c 1.238 1.239
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv16211

    Modified Files:
    cterm.c
    Log Message:
    Fix use of uninitialized value when more than 16 bits of colour channel information are specified in an xterm rgb: color definition.
    Found by scan-build.



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Mar 8 22:55:40 2018
    src/conio cterm.c 1.239 1.240
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv20366

    Modified Files:
    cterm.c
    Log Message:
    Fix various useless assignments.
    Thanks scan-build!



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Mar 24 21:27:17 2018
    src/conio cterm.c 1.240 1.241
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv23263

    Modified Files:
    cterm.c
    Log Message:
    Fix a large number of errors involving re-using an in-use index variable as
    a temp variable. Mostly impacting the setting of video flags.



    --- SBBSecho 3.03-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 17 23:33:16 2018
    src/conio cterm.c 1.241 1.242
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3482

    Modified Files:
    cterm.c
    Log Message:
    Copy the current font one into the CTerm altfont array during cterm_init()

    This should fix the issue with non-CP437 fonts reported by Kirkman.



    --- SBBSecho 3.04-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Kirkman@1:103/705 to deuce on Wed Apr 18 10:25:07 2018
    Re: src/conio/cterm.c
    By: deuce to CVS commit on Tue Apr 17 2018 11:33 pm

    Copy the current font one into the CTerm altfont array during cterm_init() This should fix the issue with non-CP437 fonts reported by Kirkman.

    It's definitely much better than it was yesterday but I'm still seeing some character glitches in game title screens.

    There's a separate problem (which is what led me to compare 1.0 with 1.1b in the first place) where background colors don't get reset. Both versions have this problem. I'll send you screenshots for reference.

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    ■ Synchronet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Oct 20 21:55:45 2018
    src/conio cterm.c 1.242 1.243
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9250

    Modified Files:
    cterm.c
    Log Message:
    Translate C128 colour codes to CGA palette.
    This may mess up colour hacks in other places, but should fix C128 colours
    in the terminal.



    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Oct 20 21:59:12 2018
    src/conio cterm.c 1.243 1.244
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv9744

    Modified Files:
    cterm.c
    Log Message:
    Add missing brace.



    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Oct 21 00:33:56 2018
    src/conio cterm.c 1.244 1.245
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv29846

    Modified Files:
    cterm.c
    Log Message:
    Bug-fix for PETSCII modes: disable reverse video upon carriage-return (13). Should this also be done for 141 (shift-CR)? I'd love to know where you
    found the document which inspired the comment ("disabled reverse") - but
    the code just wasn't doing it and it was apparent when viewing PETSCII
    art and comparing the behavior with other emulators.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Jul 9 15:17:57 2019
    src/conio cterm.c 1.246 1.247
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv21320

    Modified Files:
    cterm.c
    Log Message:
    Implement DECRQSS for SCR.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Jul 9 16:35:24 2019
    src/conio cterm.c 1.248 1.249
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30728

    Modified Files:
    cterm.c
    Log Message:
    Fix sub-parameter parsing and extended color DECRPSS.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Jul 10 12:46:42 2019
    src/conio cterm.c 1.250 1.251
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv6048/conio

    Modified Files:
    cterm.c
    Log Message:
    Various minor issues found by Coverity.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Jul 11 12:03:21 2019
    src/conio cterm.c 1.251 1.252
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2820

    Modified Files:
    cterm.c
    Log Message:
    Fix vaious issues with saving extended colour codes.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Jul 12 15:35:24 2019
    src/conio cterm.c 1.255 1.256
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv15348

    Modified Files:
    cterm.c
    Log Message:
    Fix error handling.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Apr 11 05:34:30 2020
    src/conio cterm.c 1.262 1.263
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv1072

    Modified Files:
    cterm.c
    Log Message:
    Remove todo comment.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Apr 11 05:51:23 2020
    src/conio cterm.c 1.263 1.264
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3506

    Modified Files:
    cterm.c
    Log Message:
    Actually convert the y axis in coord_conv_xy().



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Apr 11 06:36:35 2020
    src/conio cterm.c 1.264 1.265
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv17340

    Modified Files:
    cterm.c
    Log Message:
    "Implement" Character Position Backward



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Apr 11 09:33:04 2020
    src/conio cterm.c 1.267 1.268
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30709

    Modified Files:
    cterm.c
    Log Message:
    Clean up sixel position init.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Apr 13 11:26:38 2020
    src/conio cterm.c 1.271 1.272
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22895

    Modified Files:
    cterm.c
    Log Message:
    Fix nF sequence detection.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Mon Apr 13 15:04:36 2020
    src/conio cterm.c 1.272 1.273
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv30339

    Modified Files:
    cterm.c
    Log Message:
    Parse all valid sequences (which means suppressing them if not handled)
    Various sixel fixes for sixel scroll mode.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 14 05:03:39 2020
    src/conio cterm.c 1.273 1.274
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv2628

    Modified Files:
    cterm.c
    Log Message:
    Some bugs introduced by the sane coordinate changes...
    Found by Coverity.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 14 06:41:04 2020
    src/conio cterm.c 1.274 1.275
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv24745

    Modified Files:
    cterm.c
    Log Message:
    Remove unneeded assignments.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 15 10:46:50 2020
    src/conio cterm.c 1.276 1.277
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv31933

    Modified Files:
    cterm.c
    Log Message:
    Fix *z parameter parsing.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 15 11:35:31 2020
    src/conio cterm.c 1.277 1.278
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv6761

    Modified Files:
    cterm.c
    Log Message:
    Fix ATASCII newline handling, broken in coord update



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Apr 16 17:45:07 2020
    src/conio cterm.c 1.279 1.280
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv19154

    Modified Files:
    cterm.c
    Log Message:
    Fix PETSCII bug introduced a few days ago.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 21 09:16:00 2020
    src/conio cterm.c 1.281 1.282
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv7421

    Modified Files:
    cterm.c
    Log Message:
    Work around what appears to be semaphores racing with mutexes on Win32.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 22 16:24:03 2020
    src/conio cterm.c 1.282 1.283
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22426

    Modified Files:
    cterm.c
    Log Message:
    Fix dellines()



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Apr 24 13:48:39 2020
    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)



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri Apr 24 18:59:28 2020
    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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to deuce on Fri Apr 24 22:41:34 2020
    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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat Apr 25 01:21:30 2020
    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.



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 28 02:51:40 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 28 10:12:41 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 28 13:23:42 2020
    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



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 28 13:45:07 2020
    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().



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Tue Apr 28 14:29:47 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 02:20:56 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 03:47:09 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 04:24:35 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 13:54:30 2020
    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



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 14:29:01 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Wed Apr 29 16:16:16 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Thu Apr 30 11:18:21 2020
    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)



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Fri May 1 20:20:27 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat May 2 03:22:06 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sat May 2 22:00:04 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sun May 3 00:26:30 2020
    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.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From deuce@1:103/705 to CVS commit on Sun May 3 00:56:15 2020
    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.



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 13 11:26:13 2021
    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 clearthe cell, but now it is translated. For ATASCII, this results ina heart character being displayed instead of an empty cell wheninserting or deleting characters.Fixes bug #28 on Sourceforge.
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 20 11:48:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2f33ee734bc31462d7ce4e7f
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix error on scroll with left/right marginsScrolling would clear the line to the end of the screen, not theend of the scrolling region.Sorry echicken.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 20 12:22:05 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5abc5cdae5f652cf7a478b44
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Ensure cleared block in in scrolling regionDo not clear at the current X/Y on scroll (derp)
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Feb 25 10:54:50 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/37cdd991af1c54c30752bcc6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add a UINT64_MAX hack for VS 2022Not sure why this isn't defined from inttypes.h, but blah.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Oct 12 11:05:11 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bb233b89b205ae98af9eacb6
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Continue fixing a coverity issue.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Dec 22 23:35:08 2022
    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/105Closes SyncTERM bug 79.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon May 15 11:48:25 2023
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed May 31 13:27:51 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/cda7525d78b0948996c19561
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix off-by-one in delete linesPreviously, delete lines would erase the line above the current one.This was visible in vim which makes extensive use of delete lineto scroll.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jun 9 11:24:59 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e5c75c3a8268961c2552edb9
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add comments to hopefully shut up Coverity
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 26 20:24:21 2023
    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 functionFix multiple warning: ignoring return value of ΓÇÿasprintfΓÇÖ declared with attribute ΓÇÿwarn_unused_resultΓÇÖ
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jun 28 10:01:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1181333075e9674aad79ff3e
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix for 80379e916The commit just the zero-length behaviour from uninitialized usewith possible undefined behaviour to guaranteed undefined behaviour.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Feb 10 22:28:17 2024
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Feb 11 13:43:18 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Feb 18 17:38:55 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Feb 22 06:50:40 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Mar 28 06:28:53 2024
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Sep 25 15:42:12 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Nov 2 14:02:08 2024
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Nov 3 10:45:58 2024
    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.
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Nov 3 22:42:40 2024
    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.
    --- SBBSecho 3.21-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Nov 27 05:28:48 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/9ab3cfcb1eb84576fe44740f
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix up the Prestel "Engineering Test Page" rendering

    This was due to two main bugs... the simple one was a type where
    the cutoff between separated and contiguous mosaics was incorrect,
    which caused the first four separated mosaics to not be displayed.

    The second was due to a number of bugs in the Hold Mosaic
    implementation.

    This fixes the first half of issue 172.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Nov 27 09:34:34 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/548763fda45f0d0db2bda11b
    Modified Files:
    src/conio/cterm.c
    Log Message:
    The final fixings for issue 172

    Use 0 for "no held mosaic" to avoid confusion around printable bytes.
    Store the state of the current cell *before* updating in fix_line()
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Dec 28 22:19:59 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/348f1a7e91c6fbab5b81c9e9
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Bump the CTerm revision.

    Commands are added.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jan 3 09:59:49 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/110f23bfdda7e6f7c96f8f1c
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Add some paranoia around size of macros.

    Initially set 1MB as the max macro size. I can't imagine wanting
    one bigger than this, but I can bump it up if needed.

    This likely fixes a vulerability where the BBS could at least crash
    SyncTERM, and at most take control of the users system. This
    likely isn't the only place that needs bounds checks like this.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 21:51:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c08f1613744351338e822c30
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix NULL dereference in strbuf error

    If strbuf is over 5MB, or the realloc() fails, clear strbuf and
    break before writing to strbuf.
    Found by scan-build
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 21:51:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0b61127f46337d568bba8560
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Set defaults for XTerm graphics query before checking

    Fixes potential read of uninitialized data.
    Found by scan-build
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 21:51:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/72b1a6ed7da07e08e677c471
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Avoid read out of bounds in bad CSI m

    In the CSI 38 : 2 : Z? : R : G : B m variant, if there was no
    sub params (ie: CSI 38 : m), a read out of bounds would be
    triggered.
    Found by scan-build
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 21:51:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/dc75bc36a58f294681a71856
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Handle malicious sequences with 2147483648 parameters.

    Previously, this could (but likely wouldn't) result in accesses
    outside of allocated memory, doing Very Bad Things.
    Found by scan-build
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 4 22:39:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5ff8b9fe668544911d33451b
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Another NULL dereference after overrunning the string buf.

    Found by scan-build
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 11 00:01:13 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/9f6780d23478b6cb933d4949
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Get strncat() and strnlen() out of the hot path...

    Down to 4.7s now... 38× faster.
    Starting to get somewhere useful now.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 11 00:25:01 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d308ae450e792921290484a5
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Get strspn() out of the ANSI hot path.

    This was the only standout issue when profiling the ANSI parsing
    code, and is a trivial fix since we're pretty much only checking
    contiguous ranges of characters.

    Unfortunately, I didn't create a test for comparison here.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 18 15:13:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/274d038bd34c8da952533932
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Fix race condition in starting/stopping playnote thread
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Jan 19 08:44:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/51644d7992facd9e90a07b6a
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Indicate not running before posting sem

    Memory is free()ed after sem is posted, so this write goes into
    lalaland.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jan 20 16:21:27 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jan 22 10:34:07 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jan 22 11:55:15 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1eb4ec043e73713ba2e9e4b2
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Ignore invalid ESC sequences in Prestel mode
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jan 22 11:56:38 2025
    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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jan 22 12:00:47 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Jan 22 12:07:34 2025
    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".
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Jan 23 12:26:13 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/4ab569ff44a8501fbfd653f4
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Some todone comments.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 5 16:11:20 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 5 20:03:09 2025
    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").
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 5 20:09:46 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8379c1205104a28c7a10cee4
    Modified Files:
    src/conio/cterm.c
    Log Message:
    Character 127 in Beeb mode is destructive backspace.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 5 22:31:53 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Feb 9 13:53:41 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Feb 12 18:53:42 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 24 09:52:53 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Feb 25 07:23:57 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Feb 25 07:24:36 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d90f4a4dad3ba0bbdaabb6cf
    Modified Files:
    src/conio/cterm.c
    Log Message:
    SGR has at least one (defaulted) parameter
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Mar 3 16:24:41 2025
    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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 30 09:44:05 2025
    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
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Wed Apr 2 11:54:01 2025
    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.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)