• Detect/Translate 16-color palette colors to true color for DOS colors.

    From Michael J. Ryan@1:103/705 to GitLab issue in main/sbbs on Fri Dec 11 17:53:04 2020
    open https://gitlab.synchro.net/main/sbbs/-/issues/193

    When using a lot of default terminal apps for SSH/Telnet, the colors are usually using xterm 16-color defaults as opposed to DOS/ANSI 16-colors. It would be cool to translate those to 16-bit color sequences for actual DOS colors, possibly likewise for other terminal palettes?The foreground escape sequence is \033[38;2;<r>;<g>;<b>mThe background escape sequence is \033[48;2;<r>;<g>;<b>mCan provide more details if there's desire to support this.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael J. Ryan@1:103/705 to GitLab issue in main/sbbs on Fri Dec 11 17:53:30 2020
    update https://gitlab.synchro.net/main/sbbs/-/issues/193

    When using a lot of default terminal apps for SSH/Telnet, the colors are usually using xterm 16-color defaults as opposed to DOS/ANSI 16-colors. It would be cool to translate those to 16-bit color sequences for actual DOS colors, possibly likewise for other terminal palettes? The foreground escape sequence is \033[38;2;<r>;<g>;<b>m The background escape sequence is \033[48;2;<r>;<g>;<b>mCan provide more details if there's desire to support this.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael J. Ryan@1:103/705 to GitLab issue in main/sbbs on Fri Dec 11 18:28:48 2020
    update https://gitlab.synchro.net/main/sbbs/-/issues/193

    When using a lot of default terminal apps for SSH/Telnet, the colors are usually using xterm 16-color defaults as opposed to DOS/ANSI 16-colors. It would be cool to translate those to 16-bit color sequences for actual DOS colors, possibly likewise for other terminal palettes? The foreground escape sequence is \033[38;2;<r>;<g>;<b>m The background escape sequence is \033[48;2;<r>;<g>;<b>mhttps://github.com/termstandard/colors
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Dec 11 18:28:58 2020
    https://gitlab.synchro.net/main/sbbs/-/issues/193#note_1163

    Sure, how would the server (BBS) detect support in the terminal for the RGB control sequence?
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to GitLab note in main/sbbs on Fri Jan 1 10:08:22 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/193#note_1260

    The correct sequences are actually CSI 38:2:<r>:<g>:<b> m (colons, not semi-colons). Using semi-colons means potentially toggling unexpected bits in the graphic rendition (ie: dim).
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael J. Ryan@1:103/705 to GitLab note in main/sbbs on Sun Jan 3 10:28:32 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/193#note_1266

    @rswindell Not sure, other than asking... also not sure how utf8 is detected for that matter. Was just thinking it would be nice for color matching/translation since many terminals support the feature, and the default colors are off compared to dos color defaults.. for that matter, not sure what the colors are/were for comodore etc.@Deuce Haven't seen an example using colons, everything I've read is only using semi-colons, but yeah, might mess with things, I don't know what terminals and compatability options there are to check for.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sun Jan 3 17:44:22 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/193#note_1268

    UTF-8 is auto-detected based on cursor position during automatic terminal detection upon logon. The feature you're describing does not sound like it could be auto-detected.When you say "the default colors are off" - I don't know what you're referring to. The default colors of what? In the terminals I use, the colors seem right.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)