Re: copy&paste in vim inside screen that started from console (not started from under X)

2011-09-08 Thread ping
thanks again Kevin! just read this and following the instructions it work! I'll going to test the -X/-T options and feedback my test result. best regards ping regards ping On 09/06/2011 04:14 PM, Kevin Van Workum wrote: Hi Ping, There are a couple of options for setting DISPLAY automatically

Re: copy&paste in vim inside screen that started from console (not started from under X)

2011-09-06 Thread Kevin Van Workum
Hi Ping, There are a couple of options for setting DISPLAY automatically for new windows. 1. You could put "export DISPLAY=:0.0" in your bashrc file. 2. You could put "setenv DISPLAY :0.0" in your screenrc file. 3. You could manually run the above screen command (via C-a :) in an active screen se

Re: copy&paste in vim inside screen that started from console (not started from under X)

2011-09-06 Thread ping
hi kevin/folks: just update about this issue. this morning my X got froze after long weekend -- I was able to work on it in ssh all the time though. I have 2 screen sessions previously created using option 2) -- start screen inside ssh connections to loopback. I killed the X and got a new X. I

Re: copy&paste in vim inside screen that started from console (not started from under X)

2011-08-02 Thread ping
kevin, thanks for your time on that. but you forget " when you yank to register, so to yank things to X clipboard, type: "+ not just + yes I just tested your 2 more alternates out, here is the results: option 1) the export DISPLAY method works great! option 2) the ssh method also works in terms

Re: copy&paste in vim inside screen that started from console

2011-08-02 Thread Pieter Luteijn
I think you should just "set ttym=xterm2" in your .vimrc. That way, when vim is started in a non-xterm, it will still be set to recognize the xterm mouse escapes when you later access it through putty or an xterm by using screen. See also ":help ttym" under vim. Pieter

Re: copy&paste in vim inside screen that started from console (not started from under X)

2011-08-02 Thread Kevin Van Workum
On Mon, Aug 1, 2011 at 5:12 PM, ping wrote: > hi Kevin / Paul : > yes I think this might be vim issue. or , at least vim-screen integration > issue. > but being able to use vim smoothly in screen is essential for my daily work > and it is a big part of my use of screen. > > the steps to reprod

copy&paste in vim inside screen that started from console (not started from under X)

2011-08-01 Thread ping
hi Kevin / Paul : yes I think this might be vim issue. or , at least vim-screen integration issue. but being able to use vim smoothly in screen is essential for my daily work and it is a big part of my use of screen. the steps to reproduce is quick simple: 1) c-s-5 to go to console 5 2) start