screen + vim + paste -> not happy

Les Mikesell lesmikesell at gmail.com
Tue Nov 4 15:40:40 UTC 2008


Bryn M. Reeves wrote:
> Dave Feustel wrote:
>> Have you tried pasting into vim running in an xterm session?
>> (Past the text by going into insert and then pressing shift+insert).
> 
> Yes - running vim outside screen (xterm, gnome-terminal etc.) works 
> fine. Running it in screen, in either an xterm or a gnome-terminal gives 
> the problematic behaviour. Xorg CPU usage is noticably higher with 
> gnome-terminal and the delay (several minutes for gnome-terminal) 
> between pasting and some text appearing in the editor feels slightly 
> less, but the same basic problem persists.
> 
> There is no problem when pasting into vim running in a plain xterm (no 
> screen).

This may not solve your problem, but just in general I find it much 
nicer to use freenx and the NX client from www.nomachine.com for the 
things I might otherwise have done with screen.  That is, leave a 
desktop running under freenx on a stable, well connected machine with an 
assortment of terminal windows, perhaps ssh'd to other systems.  You can 
disconnect the NX client with everything running and reconnect later 
even from other locations just like screen except with a full GUI 
desktop and very good remote performance after the initial screen draw. 
  If you haven't tried it, it is much more responsive on remote 
connections than other remote X approaches and cross platform clients 
are easy to install.

-- 
   Les Mikesell
     lesmikesell at gmail.com




More information about the users mailing list