weixin_39786706 2020-11-30 12:40 采纳率: 0%
浏览 0

extend vt100.js to support xterm 256 colors

From ele....com on January 02, 2011 09:15:54

i really like my vim/screen/mutt/finch colors as defined by my server conf files.

since vt100 emulators can support 256 colors by interpreting additional escape codes sent by the server, i went ahead and implemented this on my local copy of shellinabox.

the only changes i made were in vt100.js and some of the included css files.

with these updates, i can run screen/vim/mutt with full 256 color support as per the color themes on the server. the css files i changed merely provide the base 16 system colors as well as a default background/front-color.

perhaps others would like this feature as well?

and btw, this is a great project, thanks for your work. i learned a lot about terminal emulators going through your code...

Attachment: white-on-black.css color.css

Original issue: http://code.google.com/p/shellinabox/issues/detail?id=105

该提问来源于开源项目:shellinabox/shellinabox

  • 写回答

13条回答 默认 最新

  • weixin_39786706 2020-11-30 12:40
    关注

    From ele....com on January 02, 2011 00:18:44

    i made the same changes in color.css to styles.css as well. basically i just matched the 16 system colors to that of Terminal.app as found here: http://en.wikipedia.org/wiki/Ansi_escape_codes#Colors

    评论

报告相同问题?