Currently in pyclewn 1.6, if pyclewn started from vim with the :Pyclewn 
command, there is no terminal associated with pyclewn, and use the 
"inferior_tty.py" script which occupya so highcpu usage.
So, I prefer use  a general terminal emulator such as gnome-terminal.
These are main code snippets.

python << PYTHON_EOF
import subprocess
import vim
pyclewnPopen = subprocess.Popen(['gnome-terminal', '-t', 'pyclewn', '-e', "sh 
-c 'LC_ALL=en_US.UTF-8 VIM_SERVERNAME='%s' pyclewn --cargs=%s'" % 
(vim.eval('v:servername'), vim.eval('sTempFile'))])
PYTHON_EOF

Currently It works well here.
Have any advices?
Thanks.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to