• src/sbbs3/ansiterm.cpp co

    From rswindell@VERT to CVS commit on Thursday, May 09, 2019 21:14:00
    src/sbbs3 ansiterm.cpp 1.21 1.22 con_out.cpp 1.98 1.99 getkey.cpp 1.54 1.55 getstr.cpp 1.35 1.36 js_console.cpp 1.129 1.130 load_cfg.c 1.75 1.76 newuser.cpp 1.80 1.81 prntfile.cpp 1.33 1.34 putmsg.cpp 1.47 1.48 sbbs.h 1.518 1.519 sbbsdefs.h 1.239 1.240 scfgdefs.h 1.47 1.48 scfglib.h 1.23 1.24 scfglib2.c 1.48 1.49 str_util.c 1.58 1.59 text.h 1.39 1.40 text_defaults.c 1.61 1.62 useredit.cpp 1.56 1.57
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    ansiterm.cpp con_out.cpp getkey.cpp getstr.cpp js_console.cpp
    load_cfg.c newuser.cpp prntfile.cpp putmsg.cpp sbbs.h
    sbbsdefs.h scfgdefs.h scfglib.h scfglib2.c str_util.c text.h
    text_defaults.c useredit.cpp
    Log Message:
    Support bright background colors:
    - for PETSCII, this is automatic and you don't lose blink, but you do lose
    colored foreground when enabling a bright background ("reverse video")
    - for ANSI, this mode is typically referred to as "iCE colors" and disables
    blinking-text support
    - Ctrl-AE (^AE) is the new attribute code to enable bright-background
    (will have no effect on ANSI terminals that are not iCE color enabled)
    "E" is now valid in the ctrl/attr.cfg file and string values for JS
    console.attributes assignments, as well
    - Ctrl-AI (^AI) - blink - now does nothing for ANSI/ICE color terminals
    (blinking is not supported in combination with bright-background)
    - Using a new/non-standard CGA attribute bit-flag to indicate the selection of
    bright-background colors (BG_BRIGHT, bit 10), separate from BLINK.
    This change required all/most char/uchar attribute representations to be
    converted to int/uint.

    New text.dat strings:
    - PetTerminalDetected (renamed from PetTermDetected)
    - PetTerminalQ
    - TerminalAutoDetect
    - TerminalColumns
    - TerminalRows
    - TerminalMonochrome
    - TerminalColor
    - TerminalIceColor
    - IceColorTerminalQ
    This also moved the MsgCarbonCopyList definition to the end of the file
    for now.

    PETSCII reverse-video attribute fix:
    When a CR is sent to the terminal, the reverse-video attibute is auto-disabled so update our "current attribute" (curatr) value to match the remote.

    Support new printfile/putmsg mode flag: P_WRAP to force an ungraceful
    line-wrap (splitting) to the specified column width. If no column width is specified (0), then this mode will force an ungraceful wrap before the last terminal column where some terminals *may* auto-wrap.

    JS console.printfile() and printtail() methods now support an optional "orig_columns" argument, similar to console.putmsg(). Must specify P_WORDWRAP or P_WRAP for this argument to have any effect.

    Much improved terminal-type selection/configuration in the user defaults
    menu and abort (^C) at any of the yes/no prompts is now detected/handled much better (to answers to the prompted questions are not saved to the user settings).



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