No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
I have a script called 'serv-stats' which pages *all* the services on this box and shows what their current status is. In an 'evilvte' or 'xterm' window that script shows *all* the output coloured and with little [ok] status boxes. However, using the same shells but with tmux running in both, it o

Re: No text colour in tmux window.

2013-11-17 Thread Nicholas Marriott
It probably does something silly like whitelist particular TERM settings. Does it work if you run it with TERM set temporarily to xterm-256color inside tmux? Original message From: Sharon Kimble Date: 17/11/2013 13:32 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subjec

Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 13:47:21 + Nicholas Marriott wrote: > It probably does something silly like whitelist particular TERM > settings. Does it work if you run it with TERM set temporarily to > xterm-256color inside tmux? With 'set TERM xterm-256color' and I then run 'serv-status' it makes no

Re: No text colour in tmux window.

2013-11-17 Thread Nicholas Marriott
Show me the script please or enough of it to reproduce Original message From: Sharon Kimble Date: 17/11/2013 14:43 (GMT+00:00) To: Nicholas Marriott ,tmux-users@lists.sourceforge.net Subject: Re: No text colour in tmux window. On Sun, 17 Nov 2013 13:47:21 + Nicholas

Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 15:01:48 + Nicholas Marriott wrote: > Show me the script please or enough of it to reproduce Attached. Thanks Sharon. > > Original message > From: Sharon Kimble > Date: 17/11/2013 14:43 (GMT+00:00) > To: Nicholas Marriott > ,tmux-users@lists.sourc

Re: No text colour in tmux window.

2013-11-17 Thread Nicholas Marriott
What platform is this on? On Sun, Nov 17, 2013 at 03:07:17PM +, Sharon Kimble wrote: > On Sun, 17 Nov 2013 15:01:48 + > Nicholas Marriott wrote: > > > Show me the script please or enough of it to reproduce > > Attached. > > Thanks > Sharon. > > > > Original message

Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 18:43:59 + Nicholas Marriott wrote: > What platform is this on? Debian testing, with fluxbox being the Desktop Environment. Its all in the sig. Thanks Sharon. > > > On Sun, Nov 17, 2013 at 03:07:17PM +, Sharon Kimble wrote: > > On Sun, 17 Nov 2013 15:01:48 + >

Re: No text colour in tmux window.

2013-11-17 Thread Nicholas Marriott
The Debian init scripts check for hpa terminfo attribute which is not present in screen/screen-256color terminfo entry. Because the scripts are simple and only use hpa and setaf, you can just put "export TERM=ansi" at the top of your script and it should work fine. Alternatively you could build y

Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 19:08:41 + Nicholas Marriott wrote: > The Debian init scripts check for hpa terminfo attribute which is not > present in screen/screen-256color terminfo entry. > > Because the scripts are simple and only use hpa and setaf, you can > just put "export TERM=ansi" at the top

Re: No text colour in tmux window.

2013-11-17 Thread Nicholas Marriott
well try TERM=xterm then, it should be the same though On Sun, Nov 17, 2013 at 07:46:15PM +, Sharon Kimble wrote: > On Sun, 17 Nov 2013 19:08:41 + > Nicholas Marriott wrote: > > > The Debian init scripts check for hpa terminfo attribute which is not > > present in screen/screen-256color

Re: tmux splitting single commands?

2013-11-17 Thread Chris Berkhout
Update: I'm not seeing it in plain bash with startup files sourced twice. It's just when inside tmux. I'm interested in how that bash might be different from the normal one, but I'm a bit stuck at the moment. Cheers, Chris On Sun, Nov 17, 2013 at 5:04 PM, Chris Berkhout wrote: > This hasn't y