On Wed, Aug 25, 2010 at 11:10:20PM +0200, d...@mobi1e.me wrote:
> On Aug 25, 2010, at 10:38 PM, biinn wrote:
> > not sure if it is tmux issue. i run tmux within urxvt and dont have  
> > this problem though.
> I was satisfied with Xterm but it's good to know it works in urxvt.
> 
> On Aug 25, 2010, at 10:39 PM, Nicholas Marriott wrote:
> >> after closing a file (edited with vim, nano) tmux deletes the
> >> previous content from the screen.
> > closing a file in vim inside tmux, right?
> right.
> 
> >> [...]
> >> % tmux.conf:
> >> set-option -g default-terminal "screen-256color"
> > does echo $TERM show "screen-256color" after you open a window in  
> > tmux?
> No, echo says 'xterm-color'

this is wrong then, check your shell startup files aren't changing it

> 
> >> % vimrc:
> >> set term=xterm-color
> > this is wrong inside tmux
> But setting it to 'screen-256color' results in a vim error: E558:  
> Terminal entry not found in terminfo 'screen-256color' not known.
> What is the right term parameter for vim inside tmux?

screen or screen-256color. if it doesn't exist then you need to upgrade
terminfo on your platform

> 
> -- Dan
> 
> >
> >> % Xresources:
> >> XTerm*name: xterm-color
> >>
> >> Which entry do I miss to leave the previous content on screen after
> >> closing a file buffer?
> >>
> >> Best regards,
> >> Dan
> >>
> >> --------------------------------------------------------------------- 
> >> ---------
> >> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> >> Be part of this innovative community and reach millions of netbook  
> >> users
> >> worldwide. Take advantage of special opportunities to increase  
> >> revenue and
> >> speed time-to-market. Join now, and jumpstart your future.
> >> http://p.sf.net/sfu/intel-atom-d2d
> >> _______________________________________________
> >> tmux-users mailing list
> >> tmux-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> 
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users 
> worldwide. Take advantage of special opportunities to increase revenue and 
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to