Re: Using multiple download mirrors in Cygwin setup.exe

2014-02-28 Thread carolus
On 2/22/2014 9:32 AM, carolus wrote: When multiple mirrors are selected in setup.exe, if a server becomes unresponsive should the program automatically roll over to another server and continue? When it does, should it avoid repeating previous downloads? answered: http://cygwin.com/ml/cygwin

Re: new setup.exe - another problem, or is this behavior expected?

2014-02-28 Thread carolus
On 2/27/2014 5:36 PM, Larry Hall (Cygwin) wrote: , if you start one session of setup, select a package, download it, and don't install it (for whatever reason), then start another setup session and do the same thing with a with a different mirror, you'll get the same package again under a

new setup.exe - another problem, or is this behavior expected?

2014-02-27 Thread carolus
On my last download, a few days ago, when the initial server became unresponsive, the setup process simply hung up even though I had selected several alternate servers. After waiting a while, I terminated and restarted the process but again the process hung up. I had to remove the offending

Using multiple download mirrors in Cygwin setup.exe

2014-02-22 Thread carolus
When multiple mirrors are selected in setup.exe, if a server becomes unresponsive should the program automatically roll over to another server and continue? When it does, should it avoid repeating previous downloads? -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: g77 on cygwin64

2014-02-12 Thread carolus
On 2/12/2014 9:07 AM, Scott T. Marshall wrote: My colleagues have no interest in fixing it since they have g77 on their unix machines, and to them, it isn't broken. Perhaps your colleagues would be willing to look at your results and tell you whether there is a trivial fix for your problem.

Re: Invoking Cygwin vim from Windows Explorer

2014-02-10 Thread carolus
On 2/10/2014 10:14 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: My suggestion was not an exact recipe, it was just a scheme. Here the exact step-by-step procedure. I've checked it works on my Windows 7 box. From the Windows Start menu, in the Search box at the bottom (formerly called

Re: Invoking Cygwin vim from Windows Explorer

2014-02-10 Thread carolus
On 2/10/2014 11:41 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: an administrative password to run minty That's new to me. My PC at work (despite being secured with tons and tons of Gov't restrictive policies) does not require any additional permissions to run a command incorporated in the

Re: Invoking Cygwin vim from Windows Explorer

2014-02-10 Thread carolus
On 2/10/2014 8:34 PM, Andrey Repin wrote: Just C:\Programs\CygWin\bin\mintty.exe --exec /bin/vi.exe is enough. or in my case C:\cygwin\bin\mintty.exe --exec /bin/vim-nox.exe Thanks -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: Invoking Cygwin vim from Windows Explorer

2014-02-10 Thread carolus
On 2/10/2014 8:41 PM, Andrey Repin wrote: @carolus, navigate to your Cygwin installation /bin, locate mintty.exe, bring up it's properties and remove the Requires admin powers checkbox on Compatibility tab. Confirm your changes, and it should work fine from now on. Done, works OK now

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/8/2014 11:09 PM, Andrey Repin wrote: Greetings, carolus! Is there some configuration that will let me open a text file in Cygwin vim by clicking on the file in an Explorer window? There's like 5 ways to do it. What you've tried already and what your results so far? I don't know how

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 8:37 AM, Andrey Repin wrote: Greetings, carolus! Is there some configuration that will let me open a text file in Cygwin vim by clicking on the file in an Explorer window? There's like 5 ways to do it. What you've tried already and what your results so far? I don't know how

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 11:35 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: If there is no simple answer, Maybe not as simple, but... What about adding a Vim destination to your Send To... folder under your Windows profile? Thanks, but maybe not simple enough for me. I find a SendTo shortcut under

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 2:07 PM, Andrey Repin wrote: Greetings, carolus! Is there some configuration that will let me open a text file in Cygwin vim by clicking on the file in an Explorer window? If there is no simple answer, let's just drop the subject. I'll continue to open cygwin and cd

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 4:16 PM, Andrey Repin wrote: Just create a shell link in your personal Send To... folder with specified command. On Windows XP, it is in %USERPROFILE%/SendTo. Dunno about other, This way, even though a bit convoluted, allow you to edit ANY file with your chosen program. Regardless

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 12:49 PM, carolus wrote: On 2/9/2014 11:35 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: If there is no simple answer, Maybe not as simple, but... What about adding a Vim destination to your Send To... folder under your Windows profile? Thanks, but maybe not simple enough

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 7:49 PM, Andrey Repin wrote: Greetings, carolus! Just create a shell link in your personal Send To... folder with specified command. On Windows XP, it is in %USERPROFILE%/SendTo. On Windows 7, %USERPROFILE$ points to my user folder. But I get an access forbidden message

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 10:44 PM, carolus wrote: Right-click and Send To now briefly flashes a Cygwin console but then immediately closes it. More exactly, it requests an administrative password to run mintty, and only after supplying the password does the Cygwin window flash on the screen. I had

Re: Invoking Cygwin vim from Windows Explorer

2014-02-09 Thread carolus
On 2/9/2014 5:54 PM, Lee wrote: I'm surprised this worked, but right click on a .txt file in explorer, select open with, choose program click on browse, navigate to c:\cygwin\bin (or wherever you installed cygwin), double-click on vi.exe Hot dog! It really works. (But on my system it is

Invoking Cygwin vim from Windows Explorer

2014-02-08 Thread carolus
Is there some configuration that will let me open a text file in Cygwin vim by clicking on the file in an Explorer window? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

How to remount hotplugged USB drive as noacl (for use with rsync)?

2014-02-04 Thread carolus
How can one remount a hotplugged NTFS external USB drive as noacl? (I take it this is necessary to get sensible Windows permissions when using rsync for backup. If not, please correct me.) -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: How to remount hotplugged USB drive as noacl (for use with rsync)?

2014-02-04 Thread carolus
On 2/4/2014 9:10 AM, Andrey Repin wrote: How can one remount a hotplugged NTFS external USB drive as noacl? (I take it this is necessary to get sensible Windows permissions when using rsync for backup. If not, please correct me.) Change the /cygdrive entry in /etc/fstab Then you'll get

Re: How to remount hotplugged USB drive as noacl (for use with rsync)?

2014-02-04 Thread carolus
On 2/4/2014 10:27 AM, Larry Hall (Cygwin) wrote: On 2/4/2014 11:09 AM, carolus wrote: On 2/4/2014 9:10 AM, Andrey Repin wrote: How can one remount a hotplugged NTFS external USB drive as noacl? (I take it this is necessary to get sensible Windows permissions when using rsync for backup

Re: How to remount hotplugged USB drive as noacl (for use with rsync)?

2014-02-04 Thread carolus
On 2/4/2014 10:50 AM, Andrey Repin wrote: How can one remount a hotplugged NTFS external USB drive as noacl? (I take it this is necessary to get sensible Windows permissions when using rsync for backup. If not, please correct me.) Change the /cygdrive entry in /etc/fstab

installing rsyncd

2012-06-05 Thread carolus
The Cygwin README for rsync says: 2) to install service: (cygrunsrv --help for help) cygrunsrv -I rsyncd -p /usr/bin/rsync -a '--daemon --no-detach' This command seems to run OK with no messages, but then ps does not show rsyncd or rsync. -- Problem reports:

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/6/2012 5:05 PM, Yaakov (Cygwin/X) wrote: The -mno-cygwin flag is still handled by gcc3, but that is deprecated and may be removed at any time. The officially supported way to build such apps is to use the appropriate mingw or mingw64 cross-compiler. Is there an easy procedure that is

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 1:51 PM, Tim Prince wrote: On 2/6/2012 2:29 PM, Charles D. Russell wrote: i686-w64-mingw32-gfortran.exe hello.f -o hello cdr@dell03 ~/mingtest $ ./hello /home/cdr/mingtest/hello.exe: error while loading shared libraries: libgfortran- 3.dll: cannot open shared object file: No such

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 2:26 PM, Tim Prince wrote: How about the recent suggestion of -static? That solves my problem. It took a while for the suggestion to sink in. Thanks -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 1:44 PM, Chris Sutcliffe wrote: On 6 February 2012 14:29, Charles D. Russell wrote: cdr@dell03 ~/mingtest $ make hello i686-w64-mingw32-gfortran.exehello.f -o hello cdr@dell03 ~/mingtest $ ./hello /home/cdr/mingtest/hello.exe: error while loading shared libraries:

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 10:42 AM, marco atzeri wrote: On 2/7/2012 5:13 PM, carolus wrote: On 2/6/2012 5:05 PM, Yaakov (Cygwin/X) wrote: The -mno-cygwin flag is still handled by gcc3, but that is deprecated and may be removed at any time. The officially supported way to build such apps is to use

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 3:12 PM, Corinna Vinschen wrote: There's the usual misconception about the GPL. If you create an application which is linked against the Cygwin DLL (or any other GPLed library), but you only use the application in-house, there's no reason at all to distribute the source code to

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 5:14 PM, Jesse Ziser wrote: Well, if you don't want them to have to install Cygwin, then that's a bigger issue than just licensing. Think of Cygwin like an OS. If you want to create something that can run under Windows, not Cygwin, then you have to build it for Windows, not Cygwin.

Re: Documentation on -mno-cygwin Accuracy

2012-02-07 Thread carolus
On 2/7/2012 11:58 PM, Christopher Faylor wrote: Actually, you can easily bundle a program with the Cygwin DLL and have it work fine. I confess to doing that for a while, until I learned about -mno-cygwin, but is that not a license violation? My understanding is that in order to conform to

Re: Searching manpages for option codes, e.g. --all

2011-11-30 Thread carolus
On 11/29/2011 8:29 PM, carolus wrote: Then maybe I just need to update my Cygwin installation, which is about a year old. Yes, that fixes the problem. Thanks, everyone. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Searching manpages for option codes, e.g. --all

2011-11-29 Thread carolus
After opening man ls, trying to search for --all leads to Pattern not found (press RETURN). Inquiring on comp.unix.shell, I was told that for this kind of search to work properly in linux , one must set PAGER=less. However, that does not seem to work in Cygwin, at least using the old default

Re: Searching manpages for option codes, e.g. --all

2011-11-29 Thread carolus
On 11/29/2011 3:56 PM, Tim McDaniel wrote: On Tue, 29 Nov 2011, carolus wrote: After opening man ls, trying to search for --all leads to Pattern not found (press RETURN). My experiment agrees with that. Do you know why that happens -- what is it doing so /--all doesn't work? No idea

Re: Searching manpages for option codes, e.g. --all

2011-11-29 Thread carolus
On 11/29/2011 5:13 PM, Gary Johnson wrote: Man pages were being formatted with some sort of Unicode hyphen or dash character in place of the ASCII hyphen. Not sure that is the same problem. What happens if you search for --all in man ls? For me, the display looks OK, but the search doesn't

Re: Searching manpages for option codes, e.g. --all

2011-11-29 Thread carolus
On 11/29/2011 5:49 PM, Gary Johnson wrote: The display scrolls so that the line -a, --all is at the top of the screen and the string --a is highlighted in reverse video in that line Then maybe I just need to update my Cygwin installation, which is about a year old. Are you using the

midnight commander does not see external USB hard drives on remote machine

2011-11-20 Thread carolus
Midnight commander does not see USB storage devices on a remote machine using an ssh connection. cd /cygdrive/f gives the message no such file or directory from within mc, but the same command works as expected from ssh. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: midnight commander does not see external USB hard drives on remote machine

2011-11-20 Thread carolus
On 11/20/2011 3:55 PM, marco atzeri wrote: On 11/20/2011 3:59 PM, carolus wrote: Midnight commander does not see USB storage devices on a remote machine using an ssh connection. cd /cygdrive/f gives the message no such file or directory from within mc, but the same command works as expected

Re: ssh public key authentication problem using curl

2011-11-04 Thread carolus
On 11/4/2011 2:33 PM, Andrey Repin wrote: You didn't supplied a username to the remote host at all. Quite predictable, you got a name mismatch... Thanks. That was the clue. The following all work, connecting to my cygwin home directory on the server: ssh dell03 sftp dell03 lftp

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 10:51 AM, Andrey Repin wrote: What was exact command? curl -v -O sftp://dell03/cygdrive/f/transit_ext/this_is_external_drive.txt (without the newline. I can't get rid of it using the Thunderbird newsreader to write this reply.) -- Problem reports:

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 6:08 PM, Yaakov (Cygwin/X) wrote: Look at the output: You're using the wrong keys with the curl command. How do I get them right? Why does curl insist on using the DSA key, when ssh is quite happy with the RSA key? I tried appending the public DSA key from the client to

Re: ssh public key authentication problem using curl

2011-11-03 Thread carolus
On 11/3/2011 6:57 PM, carolus wrote: I tried appending the public DSA key from the client to known_hosts on the server, but that didn't change anything. Correction: What I did was to append id_dsa.pub from the client to authorized_keys on the server, and to delete known_hosts on the server

ssh public key authentication problem using curl

2011-11-01 Thread carolus
After setup with ssh-host-config, ssh-user-config, and ssh-copy-id, public key authentication works with ssh but fails with curl. (Password authentication works with curl -u, but is less convenient.) curl -v shows: SSH authentication methods available:

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread carolus
On 3/14/2011 10:58 AM, Corinna Vinschen wrote: On Mar 14 10:29, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 11:11 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Charles Russell sent the following at Monday, March 14, 2011 10:03 AM Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? Something like this? function label() { $(cygpath

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 4:55 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: carolus sent the following at Monday, March 14, 2011 1:05 PM I didn't realize that the output of dir depended on whether it was invoked from cygwin or from cmd, and I didn't know about label.exe. dir does not differ depending