I have made a change which should fix fbterm now, should be in 1.9.
On Sat, Feb 01, 2014 at 12:09:38AM -0800, Lawrence Jacob Siebert wrote: > I have to set it to fbterm to get fbterm to have 256 colors. * > Lawrence > About Me:*[1]http://about.me/lawrencesiebert > Constantly Coding:*[2]http://constantcoding.blogspot.com > > On Fri, Jan 31, 2014 at 3:28 AM, Nicholas Marriott > <[3]nicholas.marri...@gmail.com> wrote: > > Hi > > What is TERM set to outside tmux in fbterm? I want to see what it looks > like to see if we can detect this. > > On Thu, Jan 30, 2014 at 03:25:38AM -0800, Lawrence Jacob Siebert wrote: > > * *Got it from source forge repository. * [1][4]tmux.sourceforge.net > > * *I manually inserted the lines (into the dev version fwiw) and got > it > > * *working and it gives me 256 colors in a tty! So that's wonderful > :-)* > > * *Seriously, thank you very much. > > * *just checked and patch -l works as well. ** > > * *Assuming there aren't any problems with it, I definitely would love > to see > > * *this incorporated into the next version of tmux. > > * *Lawrence > > * *About Me:*[2][5]http://about.me/lawrencesiebert > > * *Constantly Coding:*[3][6]http://constantcoding.blogspot.com > > > > * *On Thu, Jan 30, 2014 at 2:49 AM, Nicholas Marriott > > * *<[4][7]nicholas.marri...@gmail.com> wrote: > > > > * * *Where did you get git code from? > > * * *Also try patch -l which might work if your mailer mangled the > spaces. > > > > * * *-------- Original message -------- > > * * *From: Lawrence Jacob Siebert <[5][8]gryf...@gmail.com> > > * * *Date: 30/01/2014 10:30 (GMT+00:00) > > * * *To: Nicholas Marriott > > * * > > *<[6][9]nicholas.marri...@gmail.com>,[7][10]tmux-users@lists.sourceforge.net > > * * *Subject: Re: 256 colors in tty console? > > > > * * *Hi, sorry for the late response. > > > > * * *I get a patch failure on hunk #1 with both the 1.8 code and the > > * * *development > > * * *version of the code. > > > > * * *I assume patch < fileWithYourPatch should work, right? > > > > * * *Thanks, > > * * *Lawrence > > > > * * *About Me: [8][11]http://about.me/lawrencesiebert > > * * *Constantly Coding: [9][12]http://constantcoding.blogspot.com > > > > * * *On Thu, Jan 16, 2014 at 3:11 AM, Nicholas Marriott < > > * * *[10][13]nicholas.marri...@gmail.com> wrote: > > > > * * *> Hi > > * * *> > > * * *> fbterm uses some weird escape sequence to set 256 colours > instead of > > * * *the > > * * *> normal \033[38;5;Nm ANSI ones which are currently hardcoded > into tmux. > > * * *> > > * * *> tmux could now probably use setaf and setab from terminfo for > 256 > > * * *> colours instead of hardcoding these, please see if this works: > > * * *> > > * * *> > > * * *> diff --git a/tty.c b/tty.c > > * * *> index 98f603f..13a9cd2 100644 > > * * *> --- a/tty.c > > * * *> +++ b/tty.c > > * * *> @@ -1586,8 +1586,15 @@ tty_try_256(struct tty *tty, u_char > colour, > > * * *const > > * * *> char *type) > > * * *>************ !(tty->term_flags & TERM_256COLOURS)) > > * * *>**************** return (-1); > > * * *> > > * * *> +#if 0 > > * * *>******** xsnprintf(s, sizeof s, "\033[%s;5;%hhum", type, > colour); > > * * *>******** tty_puts(tty, s); > > * * *> +#else > > * * *> +****** if (*type == '3') > > * * *> +************** tty_putcode1(tty, TTYC_SETAF, colour); > > * * *> +****** else > > * * *> +************** tty_putcode1(tty, TTYC_SETAB, colour); > > * * *> +#endif > > * * *>******** return (0); > > * * *>* } > > * * *> > > * * *> > > * * *> > > * * *> > > * * *> On Wed, Jan 15, 2014 at 09:28:50PM -0800, Lawrence Jacob > Siebert > > * * *wrote: > > * * *> >*** On Linux Mint (largely based on Ubuntu) I can switch to a > virtual > > * * *tty > > * * *> >*** console with Ctrl Alt F1. *I can use a program called > fbterm to > > * * *get > > * * *> 256 > > * * *> >*** colors using a framebuffer (it requires a minor tweak in > my > > * * *kernel > > * * *> >*** settings in grub, but that's it)... and screen works with > it, so > > * * *I > > * * *> can get > > * * *> >*** 256 colors in screen in the consol > > > > References > > > > * *Visible links > > * *1. [14]http://tmux.sourceforge.net/ > > * *2. [15]http://about.me/lawrencesiebert > > * *3. [16]http://constantcoding.blogspot.com/ > > * *4. mailto:[17]nicholas.marri...@gmail.com > > * *5. mailto:[18]gryf...@gmail.com > > * *6. mailto:[19]nicholas.marri...@gmail.com > > * *7. mailto:[20]tmux-users@lists.sourceforge.net > > * *8. [21]http://about.me/lawrencesiebert > > * *9. [22]http://constantcoding.blogspot.com/ > > * 10. mailto:[23]nicholas.marri...@gmail.com > > References > > Visible links > 1. http://about.me/lawrencesiebert > 2. http://constantcoding.blogspot.com/ > 3. mailto:nicholas.marri...@gmail.com > 4. http://tmux.sourceforge.net/ > 5. http://about.me/lawrencesiebert > 6. http://constantcoding.blogspot.com/ > 7. mailto:nicholas.marri...@gmail.com > 8. mailto:gryf...@gmail.com > 9. mailto:nicholas.marri...@gmail.com > 10. mailto:tmux-users@lists.sourceforge.net > 11. http://about.me/lawrencesiebert > 12. http://constantcoding.blogspot.com/ > 13. mailto:nicholas.marri...@gmail.com > 14. http://tmux.sourceforge.net/ > 15. http://about.me/lawrencesiebert > 16. http://constantcoding.blogspot.com/ > 17. mailto:nicholas.marri...@gmail.com > 18. mailto:gryf...@gmail.com > 19. mailto:nicholas.marri...@gmail.com > 20. mailto:tmux-users@lists.sourceforge.net > 21. http://about.me/lawrencesiebert > 22. http://constantcoding.blogspot.com/ > 23. mailto:nicholas.marri...@gmail.com ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users