4 messages in com.perforce.perforce-user[p4] Cygwin and P4Win| From | Sent On | Attachments |
|---|---|---|
| Robert Duff | 23 Jul 2002 07:44 | |
| Schaible, Jorg | 24 Jul 2002 02:05 | |
| Kevin McWhirter | 25 Jul 2002 10:56 | |
| "Schaible, Jörg" | 29 Jul 2002 01:47 |
| Subject: | [p4] Cygwin and P4Win![]() |
|---|---|
| From: | Schaible, Jorg (Joer...@gft.com) |
| Date: | 07/24/2002 02:05:32 AM |
| List: | com.perforce.perforce-user |
Hi Robert,
Here is what I want to do... I want to use P4Win to launch Cygwin's version of "vim" as an editor. When I try to do so, however, I get this error message:
E303: Unable to open swap file for "c:\p4\perforce\dev\perforce\bin\client-label-backup.pl", recovery impossible "c:\p4\perforce\dev\perforce\bin\client-label-backup.pl" 102 lines, 4154 characters Hit ENTER or type command to continue
the problem is, that vim is a cygwin application and does not understand the DOSish paths. You have to use a batch file to start vim and convert the path with cygpath (possibly by starting ash and executing a shell script).
I can launch vim.exe fine without being within the Cygwin environment, however when P4Win does it, it doesn't seem to work. Does anyone have any experience with this? Could anyone offer any solutions?
What do I? I use the corresponding Win32 port of gvim as editor, but have a text mount from /usr/share/vim to the apropriate directory of W32 (c:\Program files\vim). This construct will keep the common files up-to-date using Cygwin ... and I have a good editor in Perforce :) Not to mension that vim is my choice from the command line.
Regards, Jorg




