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

Add --256-color option to set TERM=fbterm #29

Closed
GoogleCodeExporter opened this issue Nov 2, 2015 · 6 comments
Closed

Add --256-color option to set TERM=fbterm #29

GoogleCodeExporter opened this issue Nov 2, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

the 256-color mode (by setting TERM=fbterm) is rather useful.
Wonder if you would add an option to set TERM=fbterm ?
Like this:

$ fbterm
 -> TERM=linux

$ fbterm --256-color
 -> TERM=fbterm

Original issue reported on code.google.com by oldh...@gmail.com on 24 Feb 2010 at 7:35

@GoogleCodeExporter
Copy link
Author

executing 'fbterm --256-color' is better than 'TERM=fbterm fbterm' ?

Original comment by zgchan...@gmail.com on 25 Feb 2010 at 10:36

@GoogleCodeExporter
Copy link
Author

@zgchan317,
'TERM=fbterm fbterm' won't work.
TERM still equals "linux" in that fbterm.

Original comment by oldh...@gmail.com on 25 Feb 2010 at 12:16

@GoogleCodeExporter
Copy link
Author

It seems like the init script of your shell overrides the value of TERM. 
Addition of a  
256-color option won't fix this problem, because it just does the same work 
with 
'TERM=fbterm fbterm'.

To enable 256 color mode only when fbterm is active, you may execute 'FBTERM=1 
fbterm', and add  '[ -n "$FBTERM"] && export TERM=fbterm' to the end of 
~/.bashrc 
if the shell is bash.

Original comment by zgchan...@gmail.com on 26 Feb 2010 at 10:56

@GoogleCodeExporter
Copy link
Author

OK, solved.
Thanks!

Original comment by oldh...@gmail.com on 26 Feb 2010 at 3:46

@GoogleCodeExporter
Copy link
Author

Original comment by zgchan...@gmail.com on 6 Oct 2010 at 4:14

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

> It seems like the init script of your shell overrides the value of TERM. 
Addition of a 256-color option won't fix this problem, because it just does the 
same work with 'TERM=fbterm fbterm'.

It seems that this is merely because fbterm itself directly sets $TERM to 
`linux' no matter what $TERM has already been (see issue 48).

Original comment by CasperVector on 29 Jan 2012 at 8:38

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

No branches or pull requests

1 participant