Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:42 PM, Rob wrote: > On 5 November 2011 19:21, Octoploid wrote: >> I switched to tmux yesterday and it's mostly working fine. >> There are however two small issues that came across: >> >> 2. When I edit a file in vim and (horizontally) split the window >>   and then close

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:52 PM, Octoploid wrote: > On Sat, Nov 5, 2011 at 8:42 PM, Rob wrote: >> On 5 November 2011 19:21, Octoploid wrote: >>> I switched to tmux yesterday and it's mostly working fine. >>> There are however two small issues that came across: >>> >>> 2. When I edit a file in vim

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:45 PM, Octoploid wrote: > On Sat, Nov 5, 2011 at 8:39 PM, Nicholas Marriott > wrote: >> mc is an ncurses program, yes? What does it's -x flag do? Thanks for the hint. I just switched to the slang implementation and the problem is gone: # USE="-ncurses slang" emerge mc

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:39 PM, Nicholas Marriott wrote: > mc is an ncurses program, yes? What does it's -x flag do? Yes. From the man page: -x, --xterm Force xterm mode. Used when running on xterm-capable terminals (two screen modes, and able to send mouse escape s

Re: Two small problems with vim and mc

2011-11-05 Thread Nicholas Marriott
mc is an ncurses program, yes? What does it's -x flag do? What is $TERM set to inside and outside tmux? What platform? Linux? On Sat, Nov 05, 2011 at 07:21:54PM +, Octoploid wrote: > I switched to tmux yesterday and it's mostly working fine. > There are however two small issues that came ac

Two small problems with vim and mc

2011-11-05 Thread Octoploid
I switched to tmux yesterday and it's mostly working fine. There are however two small issues that came across: 1. When I start mc with -x and then quit it again after some time, the first line of the previous screen (before starting mc) is still visible. The command prompt follows in the li