have you tried just setting TERM to "screen" instead of "sccreen-256color"?

If I have my TERM set to a value my terminfo db doesn't have i don't see any
colors.
Granted, I also see lots of warnings from various programs...

At work i had to build something into my .bashrc to check if the -256color
variant existed on that machine (/usr/share/terminfo/s/screen-256color)
because even if my local xterm understands it,
that doesn't mean the machine i'm sshed into does.

On Wed, Jun 15, 2011 at 8:43 PM, Floyd Cheng <floyds...@gmail.com> wrote:

> hi, Nicholas
>
> I try to convert TERM inside tmux from screen-256color to xterm, the color
> looks well. Is there any other conflict while use xterm inside tmux? Thanks
> a lot.
>
> Best regards
>
> Floyd
>
> On Wed, Jun 15, 2011 at 3:27 PM, Nicholas Marriott <
> nicholas.marri...@gmail.com> wrote:
>
>> Can you try tmux 1.4?
>>
>>
>> On Wed, Jun 15, 2011 at 02:34:26PM +0800, Floyd Cheng wrote:
>> >    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
>> >    <[1]nicholas.marri...@gmail.com> wrote:
>> >
>> >      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 keyword, it
>> display
>> >      like
>> >      > * *below.
>> >      > * *[1]image.png
>> >      > * *After running tmux, do the same thing, the
>> highlight*appearance
>> >      looks like
>> >      > * *this
>> >      > * *[2]image.png*
>> >      > * *Could anyone told me why this happens or how can I deal with
>> it.
>> >      Thanks
>> >      > * *you all.*
>> >      > * *Best regards
>> >      > * *Floyd
>> >      >
>> >      > References
>> >      >
>> >      > * *Visible links
>> >
>> >      >
>> >
>>  
>> ------------------------------------------------------------------------------
>> >      > EditLive Enterprise is the world's most technically advanced
>> content
>> >      > authoring tool. Experience the power of Track Changes, Inline
>> Image
>> >      > Editing and ensure content is compliant with Accessibility
>> Checking.
>> >      > [2]http://p.sf.net/sfu/ephox-dev2dev
>> >
>> >      > _______________________________________________
>> >      > tmux-users mailing list
>> >      > [3]tmux-users@lists.sourceforge.net
>> >      > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
>> >
>> > References
>> >
>> >    Visible links
>> >    1. mailto:nicholas.marri...@gmail.com
>> >    2. http://p.sf.net/sfu/ephox-dev2dev
>> >    3. mailto:tmux-users@lists.sourceforge.net
>> >    4. https://lists.sourceforge.net/lists/listinfo/tmux-users
>>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to