l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2006 Feb 01 09:35
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] using windows pathnames in cygwin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] using windows pathnames in cygwin



On 2/1/06, Peter Jay Salzman <p@dirac.org> wrote:
On Tue 31 Jan 06,  2:03 PM, Foo Lim <foolim@gmail.com> said:
>    Hi Pete,
>
>    When I installed gvim, I also installed the bat files for running from the
>    command line.  It's an option when installing gvim.  It puts batch files
>    in the Windows directory, so you can merely run:
>
>    gvim.bat file
>
>    I have successfully aliased vi to /cygdrive/c/WINDOWS/gvim.bat, & it
>    works.
>
>    Foo

Hi Foo,

This is *exactly* what I want, but unfortunately it's not working for me.  I
tried calling the bat file by name:

   $ /cygdrive/c/WINDOWS/gvim.bat /cygdrive/c/boot.ini

and got the same result:

   Unable to open swap file for \cygdrive\c\boot.ini

and gvim left me editing an empty file.  I have a new job which leaves me
zilch free time, plus I have a two hour commute each way (ugh!) so I don't
have much time for experimentation these days.  I don't suppose you have a
magic pill for this?  :)

Thanks!
Pete

Hi Pete,

This sounds like a permissions issue.  Are you part of the Administrators group?  The swap file should be created in the directory of the file you're editing.  What if you put
set noswapfile
in the _vimrc file in the Vim install directory?

Foo
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.