RE: Webdav batch file transfer: curl, wget

2007-09-12 Thread Jeff Hawk
 -Original Message-

 From: On Behalf Of Richard Ivarson


 Sent: Wednesday, September 12, 2007 9:42 AM


 To: cygwin@cygwin.com


 Subject: Re: Webdav batch file transfer: curl, wget


 


 Steve Holden schrieb:


 [..]


  
curl --user NAME:PASSWORD


 


 https://webdavserver.com/folder/{fileAA,fileBB,fileCC,fileDD,fileEE,}.


 t


 xt


  -O -O -O -O -O


 


  ... I forgot to mention: In contrast to
A)1) with curl you can 


  ommit the :PASSWORD in the
script. The curl then nicely asks for 


  it at runtime.


 


  I don't know about getting rid of the five -O's
(have you tried it


 with


  just one to see whether that does what you
want?),


 


 Yes, I tried: with one -O just the first
fileAA.txt will be 


 written to local file (fileAA.txt),
while the other files will be 


 printed to the standard output (console).


 


   but you
could shorten


  the command line a bit using


 


  https://webdavserver.com/folder/file{AA,BB,CC,DD,EE}.txt


 


 


Try quoting the URL. 
curl --user NAME:PASSWORD 
https://webdavserver.com/folder/file{AA,BB,CC,DD,EE}.txt;
-O


 


If you are using bash, it is splitting the file names
into 5 separate names on the command line before curl gets them.


Then a single -O should work fine.


 


Regards,


Jeff


 





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: How to rename file case-sensitive?

2007-08-14 Thread Jeff Hawk


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Andrew DeFaria
 Sent: Tuesday, August 14, 2007 10:03 AM
 To: cygwin@cygwin.com
 Subject: Re: How to rename file case-sensitive?

 Fergus wrote:
   rename foo Foo
 
  Wish it was so easy. The syntax is
  rename from to filelist
  so here you need
  rename foo Foo foo
  Fergus
 How about:

 $ mv foo bar  mv bar foo



Looks like a NOOP to me

--Jeff


NAVIGON Inc. is one of the world’s leading providers of navigation products and 
software solutions. NAVIGON makes its own award-winning navigation brand 
consumer products and creates software solutions for OEM customers operating in 
personal navigation, wireless, and automotive sectors. For more information, 
visit www.navigon.com.

Recent International Product Awards:
- Best Hardware, Retail Vision 2007
- Red Dot “Best of the Best” Award 2007
- Best Navigation Application, Telematics Detroit 2007

*The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited. If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: how to make 'ftp Tab-clue' work in Cygwin

2007-07-31 Thread Jeff Hawk


 -Original Message-
 From: On Behalf Of Corinna Vinschen
 Sent: Tuesday, July 31, 2007 11:07 AM
 To: cygwin@cygwin.com
 Subject: Re: how to make 'ftp Tab-clue' work in Cygwin

 On Jul 31 23:58, sun wrote:
  hello, I have a problem when connecting another linux system by ftp
 in cygwin.
 
  No problem to use ftp, and I can see 'ftp' sign, the point is that
  the auto-complement of file name does not work in such environment,
  but it does work when ftp through other tools such as putty. Usually
  when the 'Tab' key is hit, the file name can be completed in the
  'ftp'. It just doesn't work for my cygwin.
 
  anyone can help me on this?

 Cygwin's ftp from the inetutils package is a rather old implementation.
 Try using lftp instead.


Or better yet, ncftp which is also available in setup.

--Jeff

NAVIGON Inc. is one of the world’s leading providers of navigation products and 
software solutions. NAVIGON makes its own award-winning navigation brand 
consumer products and creates software solutions for OEM customers operating in 
personal navigation, wireless, and automotive sectors. For more information, 
visit www.navigon.com.

Recent International Product Awards:
- Best Hardware, Retail Vision 2007
- Red Dot “Best of the Best” Award 2007
- Best Navigation Application, Telematics Detroit 2007

*The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited. If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Setup.exe 1.5.24-2

2007-07-17 Thread Jeff Hawk
 -Original Message-
 From: cygwin On Behalf Of Morgan gangwere
 Sent: Tuesday, July 17, 2007 4:31 PM
 To: cygwin@cygwin.com
 Subject: Re: Setup.exe 1.5.24-2


 I always use the download without installing option, burn an
 archive of all the packages, add Setup.exe to the CD, and i have a
 Live Cygwin install CD!


I doubt that you are downloading all of the packages, because these days that 
wouldn't fit on a CD.

--Jeff

*The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited. If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Missing cygwin1.dll per local install attempt

2007-06-27 Thread Jeff Hawk
 -Original Message-
 From: On
 Behalf Of Scott Ehrlich
 Sent: Wednesday, June 27, 2007 12:02 PM
 To:
 Subject: Missing cygwin1.dll per local install attempt

 I visited http://www.cygwin.com/setup.exe and downloaded the file to a
 folder called c:\temp\cygwin on my WinXP system.

 I ran it, selected the option to download installation files only (do
 not
 actually install) and directed Cygwin to download the files to
 c:\temp\cygwin

 Selected my preferred mirror, and selected a FULL install.

 After all files were downloaded, I copied the c:\temp\cygwin directory
 to
 a USB stick and put it in a system not connected to the Internet.

 I copied the cygwin folder from the USB stick to c:\cygwin

 I ran setup from c:\cygwin (i.e. the hard drive) and told it to perform
 a
 local install.

 At the end, while trying to run the post install scripts, it kept
 complaining it could not find cygwin1.dll.

 After acknowledging the error a few times, Cygwin presented the
 Congrats!
 window and offered to put a cygwin shortcut on the desktop and my start
 menu.

 Why could it not install the cygwin1.dll?   I've used cygwin for years,
 and I think this is the first time I've come across this.

It does not really install cygwin1.dll. It's in the c:\cygwin\bin directory.

Is there anything else unusual about this install?

--Jeff

*The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited. If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: program compiled with gcc doesn't print; cygcheck -s shows ssh and vi are missing, how do I get them

2007-06-07 Thread Jeff Hawk

If you have installed openssh and vim you might find those files on your system.

--Jeff

 -Original Message-
 From: Patil, Ashwin Channabasavaraj
 Sent: Thursday, June 07, 2007 9:15 AM
 Subject: RE: program compiled with gcc doesn't print; cygcheck -s shows
 ssh and vi are missing, how do I get them

 Use
 $./a.exe
 in the directory that has a.exe.

 Try running
 $which ssh
 /usr/bin/ssh will be the output.
 Check your mount. Run mount to check /usr/bin where you will find ssh
 and vi binaries.

 $mount


 -Ashwin
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf
 Of Ron Ratney
 Sent: Thursday, June 07, 2007 7:38 PM
 To: cygwin@cygwin.com
 Subject: program compiled with gcc doesn't print; cygcheck -s shows ssh
 and vi are missing, how do I get them

 Two questions:

 two very short C programs compiled OK by gcc but do not produce output.
 When I try to run a.exe I get the error message that the program can't
 be found.

 I ran cygcheck -s which found some missing components, most of which I
 was able to get through setup. But I can't find ssh or vi. Will either
 of these help printf actually print?

 Ron Ratney

 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


*The information contained in this communication may be CONFIDENTIAL and is 
intended only for the use of the recipient(s) named above. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication, or any of its contents, is 
strictly prohibited. If you have received this communication in error, please 
notify the sender and delete/destroy the original message and any copy of it 
from your computer or paper files.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Attn: Yaakov - gvim (Was: [ANNOUNCEMENT] Updated: vim-7.1-1)

2007-05-15 Thread Jeff Hawk


 -Original Message-
 From: On Behalf
 Of Michael Schaap
 Sent: Tuesday, May 15, 2007 7:00 AM
 To: Cygwin list
 Subject: Attn: Yaakov - gvim (Was: [ANNOUNCEMENT] Updated: vim-7.1-1)

 On 14-May-2007 17:05, Corinna Vinschen wrote:
  I have updated the version of vim on cygwin.com to 7.1-1.
 
 
 Yaakov, if possible, could you perhaps release a corresponding gvim as
 well?
 (Upgrading to vim-7.1 breaks gvim-7.0, so there is some amount of
 urgency...)


Is there some reason that these are not updated at the same time?

It seems like this happened the last time vim was updated.

--Jeff

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: popen problems

2007-05-04 Thread Jeff Hawk


 -Original Message-
 From: On Behalf
 Of Dan Armbrust
 Sent: Friday, May 04, 2007 9:36 AM
 To: cygwin@cygwin.com
 Subject: popen problems

 I made the mistake of upgrading a cygwin install that was working.

 Now:

  python
 Python 2.4.3 (#1, May 18 2006, 07:40:45)
 [GCC 3.3.3 (cygwin special)] on cygwin
 Type help, copyright, credits or license for more information.
  import os.path
  os.popen('ls').readline()
 Traceback (most recent call last):
   File stdin, line 1, in ?
 OSError: [Errno 13] Permission denied


 What on earth happened?

 Any idea how I can fix this?  I can't open anything with popen from
 python.



What did you actually upgrade?


The current python version in Cygwin is 2.5 (yours is 2.4.3)

--Jeff


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: popen problems

2007-05-04 Thread Jeff Hawk


 -Original Message-
 From: Dan Armbrust [mailto:Daniel dot armbrust dot list at gmail dot com]
 Sent: Friday, May 04, 2007 9:44 AM
 To: Jeff Hawk
 Subject: Re: popen problems

 python
 Python 2.5 (r25:51908, Mar 13 2007, 08:13:14)
 [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
 Type help, copyright, credits or license for more information.
  import os.path
  os.popen('ls').readline()
 Traceback (most recent call last):
   File stdin, line 1, in module
 OSError: [Errno 13] Permission denied

 This is inside of a rxvt window.

This works good for me.

--Jeff

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Mapping windows drives in cygwin?

2007-04-24 Thread Jeff Hawk
  =Keith

 I tryed the last method which will give me a drive letter and I get:
 [EMAIL PROTECTED] ~
 $ net use y: \\winops-hq\c$
 System error 67 has occurred.

 The network name cannot be found.


 [EMAIL PROTECTED] ~
 $ net use y: winops-hq\c$
 System error 67 has occurred.

 The network name cannot be found.

You're still missing a '\' before the \c$



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Mapping windows drives in cygwin?

2007-04-24 Thread Jeff Hawk


 -Original Message-
 
  You're still missing a '\' before the \c$

   I believe /you/'re still missing the reply that already said that on
 Friday
 and Kevin's Thanks, that did it response from Saturday last week.  Ah,
 the
 joys of catching up with an email backlog.
 http://cygwin.com/acronyms#YSHFRTT!


Ok, you caught me. And yes, I was a few days behind :(

I shall finish catching up _before_ I reply next time.

--Jeff

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: bash: tar: command not found

2007-04-12 Thread Jeff Hawk


 -Original Message-
 From: On Behalf
 Of Thorsten Kampe
 Sent: Thursday, April 12, 2007 11:03 AM
 To: [EMAIL PROTECTED]
 Subject: RE: bash: tar: command not found


 \cygwin\usr\bin and \cygwin\usr\lib are /real/ directories created by
 the initial Cygwin installation routine. He shouldn't delete those
 directories - just keep them empty...

Not true...

I have Cygwin installed and there is NO c:\cygwin\usr\bin directory

As has been mentioned before, /usr/bin is a *mount* point, not a real directory.

0 mount
C:\cygwin\bin on /usr/bin type system (binmode)   
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)

Like that ^^^

--Jeff

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: redefining $HOME

2007-04-10 Thread Jeff Hawk
What I do is to always use the short name version of the directories in $HOME 
and $PATH. It's a little bit of a pain because some programs put the long name 
in the path when they install, so every time I update iTunes (for example) I 
have to fix the path.

The short names are still available on Windows 2000 and XP (Vista?).

--Jeff

 -Original Message-
 From: Cygwin On Behalf
 Of Eric Backus
 Sent: Tuesday, April 10, 2007 1:04 PM
 To:
 Subject: Re: redefining $HOME

 Gustavo Seabra gustavo.seabra at gmail.com writes:

  Hi all,
 
  I was wondering if it is possible to use the windows folder My
  Documents or even C:\Documents and Settings\USERNAME (or some dir
  inside those) as the hoe directory in Cygwin. I though about
  substituting the user directory inside /home by a symlink to one of the
  above. Is there any reason that wouldn't work? Is there a better way to
  do it?
 
  The reason I am thinking about it is just practical: I want to have all
  my files (Windows or Cygwin) under one root.
 
  Thanks a lot
 
  Gustavo.

 Yes, you can do this.  I've done this for years by
 putting /cygdrive/c/Documents and Settings/ericjb/My Documents
 into /etc/passwd.  This works well, though every once in awhile you might
 find
 a shell script which doesn't correctly handle spaces in paths.  (Such a
 script
 is broken, and should be fixed.)  I can't even remember the last time I
 ran
 into that though, most scripts don't use $HOME.

 --
 Eric



 --

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cygwin1.DLL soon to be Windows Vista only

2007-04-01 Thread Jeff Hawk
That's why I am afraid; his email is time stamped 6 minutes before April 1st   
:(

--Jeff

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Markus Schönhaber
 Sent: Sunday, April 01, 2007 7:27 AM
 To: cygwin@cygwin.com
 Subject: Re: Cygwin1.DLL soon to be Windows Vista only
 
 Roberto Veiga wrote:
 
  You are joking, aren't you?
 
 No, cgf never jokes. Especially not when it's April 1st.
 
 Regards
   mks
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Jeff Hawk


 -Original Message-
 From:  On Behalf
 Of Dave Korn
 Sent: Thursday, March 29, 2007 11:37 AM
 Subject: RE: Is there any way to highlight to cut and past in cygwin?
 
 On 29 March 2007 16:43, Kevin Markle wrote:
 
  I'm used to using putty in SUN and was able to highlight and right
  click to paste can I do this in cygwin?
 
 
   Use 'xterm' or 'rxvt' as terminals instead of the standard dos-shell
 console
 and you'll get the same behaviour.
 

Except that it's middle click for paste.

I like using xterm (with bash inside), it's very nice and you almost
forget you're using Windows.

--Jeff


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh 4.6p1-1 ssh-add fails for Windows 2000

2007-03-22 Thread Jeff Hawk



From: Corinna Vinschen [EMAIL PROTECTED]
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: openssh 4.6p1-1 ssh-add fails for Windows 2000
Date: Thu, 22 Mar 2007 16:36:22 +0100

On Mar 21 23:15, Scott Reed wrote:
 Jeff Hawk's message received 3/21/2007 3:19 PM:
 Hi All,
 
 In the new version of OpenSSH (4.6p1-1), ssh-add fails with error code
 128 on Windows 2000. It works fine on Windows XP.
 
 strace output:
 0 ssh-add
 128 strace.exe ssh-add
 --- Process 2752, exception C139 at 77FAC57C
 --- Process 2752, exception C139 at 77FAC57C
 
 OpenSSH 4.5p1-1 does not have a problem.
 
 Regards,
 Jeff


Where did you get that error text from?  Certainly not from Cygwin's
strerror() function.


I got the error text by running the command shown (strace ssh-add). If I run 
it without strace, I get no output. Just a return code of 128.




Anyway, I just ran eval `ssh-agent` and ssh-add on my W2K test
machine (Cygwin 1.5.24-2, OpenSSH 4.6p1-1, OpenSSL 0.9.8e-2) and it
works fine.  So that's not a generic problem, rather a collision
with some foreign software, probably.



This may be, but that collision did not happen with the previous release 
(4.5). The only change that I made prior to the failure was to update cygwin 
using the setup.exe program.


I will investigate further when I have time (though I will be upgrading this 
machine to XP soon, so I may not).


Thanks Corrina

--Jeff

_
The average US Credit Score is 675. The cost to see yours: $0 by Experian. 
http://www.freecreditreport.com/pm/default.aspx?sc=660600bcd=EMAILFOOTERAVERAGE



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



openssh 4.6p1-1 ssh-add fails for Windows 2000

2007-03-21 Thread Jeff Hawk

Hi All,

In the new version of OpenSSH (4.6p1-1), ssh-add fails with error code 128 
on Windows 2000. It works fine on Windows XP.


strace output:
0 ssh-add
128 strace.exe ssh-add
--- Process 2752, exception C139 at 77FAC57C
--- Process 2752, exception C139 at 77FAC57C

OpenSSH 4.5p1-1 does not have a problem.

Regards,
Jeff

_
Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate 
new payment 
http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466moid=7581



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/