Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux term type #9

Open
ltworf opened this issue Dec 2, 2012 · 1 comment
Open

Linux term type #9

ltworf opened this issue Dec 2, 2012 · 1 comment
Assignees

Comments

@ltworf
Copy link
Contributor

ltworf commented Dec 2, 2012

On linux-boxes, the TERM type of non-X sessions is identified with
TERM='linux'
And the colormaps for both xterm and VT100 cause cyan/gray color to be used in any case.
A specific class for this kind of terminal should be provided.

@ghost ghost assigned scottfrazer Dec 3, 2012
@scottfrazer
Copy link
Contributor

I think perhaps a more sophisticated approach to detecting terminal color capabilities is in order. Perhaps something like the Python curses module or termcap, terminfo, and/or infocmp could be of use for detecting which escape codes can be used.

I'll have to look into the details of how exactly this would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants