Re: colour8 displayed as black

2014-03-07 Thread Nicholas Marriott
no, it is only grey in the 256 colour palette. if your terminal doesn't support 256 colours it is translated to the nearest 8 colour equivalent which is black On Fri, Mar 07, 2014 at 02:07:07PM +0100, Matus Kmit wrote: > that did it, thanks. but same colour8 should be grey even for TERM=xterm, >

Re: colour8 displayed as black

2014-03-07 Thread Matus Kmit
that did it, thanks. but same colour8 should be grey even for TERM=xterm, shouldn't it? On Fri, Mar 07, 2014 at 12:41:31PM +, Nicholas Marriott wrote: > > Set TERM to xterm-256color outside tmux > > > > On Fri, Mar 07, 2014 at 01:37:07PM +0100, Matus Kmit wrote: > > echo $TERM -> xterm >

Re: colour8 displayed as black

2014-03-07 Thread Matus Kmit
sorry i was answering some of yours questions in my replies to another user, but as i was not using the group's email in CC you were not seeing them. so: - i changed 38 to 48 in the script. i am seeing colour8 as grey. - my TERM is xterm i hope i answered all now :-o On Fri, Mar 07, 2014 at 12

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
On 2014-03-07 12:03, Balazs Kezes wrote: > When you enumerate all the background colors via 'for i in {0..255} ; > do printf "\x1b[38;5;${i}mcolour${i}\n"; done' Sorry, that should say this (s/38/48/g): When you enumerate all the background colors via 'for i in {0..255} ; do printf "\x1b[48;5;${i

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
[+tmux-users@lists.sourceforge.net], let's keep the list in loop. On 2014-03-07 12:01, Matus Kmit wrote: > > Try changing the number from 38 to 48 to enumerate the background > > colors. Do you still see colour8 as grey? > yes, i still see colour8 as black Sorry this is a bit unclear to me. When

Re: colour8 displayed as black

2014-03-07 Thread Balazs Kezes
> #!/usr/bin/env bash > for i in {0..255} ; do > printf "\x1b[38;5;${i}mcolour${i}\n" > done > > I found out that I need "colour8" for grey. > > But after setting "set -g status-bg colour8" the background of the > status bar is black. You are enumerating the foreground colors. Try changing the

Re: colour8 displayed as black

2014-03-07 Thread Nicholas Marriott
What tmux version? Original message From: Matus Kmit Date: 06/03/2014 23:00 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: colour8 displayed as black Hi all I want to change the colour of my status bar to grey. echo $TERM -> 8 With the help of: #!/usr/bin/