Re: Color display looks different between tmux and normal console

2011-06-14 Thread Floyd Cheng
Thank you for your response. tmux version is 1.3.2. TERM outside is xterm, TERM inside is set to screen-256color. I use XShell in Windows 7 to login my host Debian 6 via ssh. Best regards Floyd On Wed, Jun 15, 2011 at 1:14 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > What tm

Re: How to differentiate tmux environment between Console and X

2011-06-14 Thread Nicholas Marriott
you can check if you are inside tmux by checking $TMUX but of course you can't tell what the outside terminal is, tmux hides it, that's the point On Wed, Jun 15, 2011 at 01:35:34PM +0800, alphachi wrote: >I want to customize my csh prompt based on the current environment. For >example, I

How to differentiate tmux environment between Console and X

2011-06-14 Thread alphachi
I want to customize my csh prompt based on the current environment. For example, I can determine the current environment according to $TERM: "$TERM == 'cons25'" is Console; "$TERM == 'xterm'" is X. But for tmux the $TERM is still screen, whether under Console or X. How can I differentiate tmux env

Re: Color display looks different between tmux and normal console

2011-06-14 Thread Nicholas Marriott
What tmux version? What is TERM set to inside and outside tmux? What platform? Is this using xterm? On Wed, Jun 15, 2011 at 11:25:52AM +0800, Floyd Cheng wrote: >Hi, *I am now in trouble with color display in tmux. *I login to my host >via ssh normally, and use vim to highlight a keywo

Color display looks different between tmux and normal console

2011-06-14 Thread Floyd Cheng
Hi, I am now in trouble with color display in tmux. I login to my host via ssh normally, and use vim to highlight a keyword, it display like below. [image: image.png] After running tmux, do the same thing, the highlight appearance looks like this [image: image.png] Could anyone told me why this h