vim/cygwin: python support

92 views
Skip to first unread message

ping

unread,
Jun 29, 2012, 10:22:41 AM6/29/12
to vim-use Mailingliste, cyg...@cygwin.com, Vlad Irnov
not sure this should go to vim/cygwin team...so copy both and Vlad(Voom plugin author)
I got a new laptop (folio) come with win7.
for some reason I want to give win7 a trial.

cygwin full install went smooth.
but looks I don't have python support here.
that means I won't be able to have some plugins (like Voom) that is based on python.
I did a lot of search and looks this is a common issue, but still I don't see a clear answer yet.
any cygwin users can advise?

regards
ping

ping

unread,
Jun 29, 2012, 10:26:37 AM6/29/12
to vim-use Mailingliste, cyg...@cygwin.com, Vlad Irnov
got returned msg about cygwin. so resent..

Tony Mechelynck

unread,
Jun 30, 2012, 9:09:29 AM6/30/12
to vim...@googlegroups.com, ping, cyg...@cygwin.com, Vlad Irnov
When I was still on Windows, I used to have some Cygwin packages
installed, but the Python I used (and compiled Vim with, using the
make_cyg.mak and the Cygwin/MinGW gcc) was not from Cygwin but from
python.org itself. See
http://users.skynet.be/antoine.mechelynck/vim/compile.htm for details.

The vim.exe and gvim.exe which I made that way were _built_ under Cygwin
but not for _use_ under Cygwin � they were for use under Windows from a
desktop icon or a cmd.exe prompt, and did not use the cygwin1.dll
library. Also, Win64 was still a thing of the future at the time.

DISCLAIMER: The HowTo page mentioned two paragraphs above is about 1�
years old, and since I have left Windows forever I cannot check if it is
still accurate. However, even if it isn't, a "clever user" ought to be
able to fill in the gaps.


Best regards,
Tony.
--
Ask not for whom the <CONTROL-G> tolls.


ping

unread,
Jun 30, 2012, 5:32:14 PM6/30/12
to Tony Mechelynck, vim...@googlegroups.com, cyg...@cygwin.com, Vlad Irnov
Thanks
I just got it recompiled under cygwin with python support
At least Voom that is based on python runs smoothly now
I can post detailed steps if anyone is interested
but not for _use_ under Cygwin — they were for use under Windows from a
desktop icon or a cmd.exe prompt, and did not use the cygwin1.dll
library. Also, Win64 was still a thing of the future at the time.

DISCLAIMER: The HowTo page mentioned two paragraphs above is about 1½

Tony Mechelynck

unread,
Jun 30, 2012, 6:04:20 PM6/30/12
to songpi...@gmail.com, vim...@googlegroups.com, cyg...@cygwin.com, Vlad Irnov
On 30/06/12 23:32, ping wrote:
> Thanks
> I just got it recompiled under cygwin with python support
> At least Voom that is based on python runs smoothly now
> I can post detailed steps if anyone is interested
[...]

Maybe you should create a tip at http://vim.wikia.com/ ?


Best regards,
Tony.
--
There is a Massachusetts law requiring all dogs to have their hind legs
tied during the month of April.

ping

unread,
Jul 1, 2012, 1:11:02 AM7/1/12
to Tony Mechelynck, vim...@googlegroups.com, cyg...@cygwin.com, Vlad Irnov
On 6/30/2012 6:04 PM, Tony Mechelynck wrote:
> On 30/06/12 23:32, ping wrote:
>> Thanks
>> I just got it recompiled under cygwin with python support
>> At least Voom that is based on python runs smoothly now
>> I can post detailed steps if anyone is interested
> [...]
>
> Maybe you should create a tip at http://vim.wikia.com/ ?
>
>
> Best regards,
> Tony.

sure I'll seriously do it later..
but currently, I'm still testing it -- trying to move all my linux-based
works (whole .vim including all plugins!) on this new build.

so Voom (python based) works perfect:

[1] bash.exe - 1 [2] tech-tips2.txt_VOOM2
close
2 161 . . |c-s mod> 4570 === arp
2 162 . . |smc 4571
2 163 . . |swap 4572 ==== ##arp
2+ 164 . . |coredump 4573 in.arpd
2+ 166 . . |NFS /1 4574 /etc/inet/hosts <- /etc/hosts
2+ 181 . . |autoFS 4575
2+ 188 . . |RAID & v 4576 /etc/ethers
2+ 192 . . |config v 4577
2+ 196 . . |name ser 4578 arp -a
- 198 . |book3 4579 -s
2 199 . . |etherne> 4580 -d
- 200 = . . |arp 4581
3 201 . . . |##arp 4582
3 202 . . . |##rarp 4583 ==== ##rarp



and ... I do find some minor (maybe not that minor) issue in here, e.g:

1)sometime (not everytime, roughly half chances) follow warning/errors
prompt, press <enter> it will go away and laugh vim.

[ping@ping-new-laptop ~]$ vim
1 [main] vim 6740 child_info_fork::abort: address space needed by
'fcntl.dll' (0x320000) is already occupied

Cannot fork


Press ENTER or type command to continue


2) if 1) happened, then ConqueTerm plugin crash vim; otherwise it works
fine.

#when it crashes:

~
~
~
:ConqueTerm bash.exe

Error detected while processing function 231..conque_term#set_mappings:
line 150:
E31: No such mapping
Vim: Caught deadly signal HUPo continue

Vim: Finished.
Hangup


#when it works (inside vim buffer):

[ping@ping-new-laptop ~]$
[ping@ping-new-laptop ~]$ ls
c doc Dropbox fuf living files n vim win-home win-programfile
[ping@ping-new-laptop ~]$
~
~
~
-- INSERT -- 20,27
All


overall I feel there is still some hopes that it can be a production tool...

regards
ping
Reply all
Reply to author
Forward
0 new messages