Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-03 Thread Cyrille Lefevre
Le 14/10/2011 11:43, Oleksandr Gavenko a écrit : Look to my session: well, you session isn't very clear, however... As you can see first time script does not use SHELL, second time use it and third tie use it. So SHELL env var does not exported by bash... well, shells doesn't export anythi

Re: Problem with execution of binary file

2011-11-03 Thread Eliot Moss
On 11/3/2011 4:56 PM, Eliot Moss wrote: Ok, so here's one thing about bash: to get it to run an *executable* (as opposed to a *script*), you need to say "bash -c FLEXPART_GFORTRAN". You might try strace on that. In addition to the objdump suggestion. I have a moment to expand on this a little.

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 i

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 known_

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: http://cygwin.com/p

Re: ssh public key authentication problem using curl

2011-11-03 Thread Yaakov (Cygwin/X)
On Tue, 2011-11-01 at 15:24 -0500, carolus wrote: > 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 authentica

Re: Problem with execution of binary file

2011-11-03 Thread Eliot Moss
Ok, so here's one thing about bash: to get it to run an *executable* (as opposed to a *script*), you need to say "bash -c FLEXPART_GFORTRAN". You might try strace on that. In addition to the objdump suggestion. Regards -- EM -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Possible Bug (clarification) in Cygwin 1.7.5 -- findfirstfile (and findnextfile) yeild bad cfilename when file names have special characters. Works in cygwin 1.5, fails in 1.7

2011-11-03 Thread Charles Wilson
On 11/3/2011 4:48 PM, Leon Vanderploeg wrote: > With cygwin 1.7.5, cFileName with a special characters such as ñ (n > with tidle above it) fail be properly extracted from a > WIN32_FIND_DATA structure with findFirstFile (or findNextFile). > > To set up a simple test scenario, I created a file in C

[ANNOUNCEMENT] New package: source-highlight-3.1.5-1

2011-11-03 Thread Yaakov (Cygwin/X)
The following package has been added to the Cygwin distribution: *** source-highlight-3.1.5-1 *** libsource-highlight4-3.1.5-1 *** libsource-highlight-common-3.1.5-1 *** libsource-highlight-devel-3.1.5-1 GNU Source-highlight is a utility which creates documents with syntax-highlighting from sourc

[ANNOUNCEMENT] New package: libid3tag-0.15.1b-10

2011-11-03 Thread Yaakov (Cygwin/X)
The following packages have been added to the Cygwin distribution: *** libid3tag0-0.15.1b-10 *** libid3tag-devel-0.15.1b-10 libid3tag is a library for reading ID3 tags in audio files, both ID3v1 and the various versions of ID3v2. -- Yaakov Cygwin/X CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ==

Possible Bug (clarification) in Cygwin 1.7.5 -- findfirstfile (and findnextfile) yeild bad cfilename when file names have special characters. Works in cygwin 1.5, fails in 1.7

2011-11-03 Thread Leon Vanderploeg
Greetings, This issue is making my head flat from pounding it against the wall. It appears to be a bug in Cygwin 1.7, but I can't say with any certainty. I've been down too many dead end trails already... With cygwin 1.7.5, cFileName with a special characters such as ñ (n with tidle above it

Re: Problem with execution of binary file

2011-11-03 Thread Mark Geisert
Edvardsen Kåre writes: > Here is a few lines of "od -b" output from both the working and bad > binary, respectively. [...] Maybe more fruitful would be 'objdump -fp' run on both good and bad versions? ..mark -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: ssh public key authentication problem using curl

2011-11-03 Thread Andrey Repin
Greetings, 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: > public

Re: invisible / hidden prompt text after exiting process

2011-11-03 Thread Ryan Johnson
On 03/11/2011 11:54 AM, Eric Vlach wrote: After exiting a process that returns me back to the shell, my prompt text is hidden. (Example - emacs file.txt; or ssh myserver.com; then exit. From then on, prompt text is hidden.) The characters are passed: when I type blindly and hit enter the comma

invisible / hidden prompt text after exiting process

2011-11-03 Thread Eric Vlach
After exiting a process that returns me back to the shell, my prompt text is hidden. (Example - emacs file.txt; or ssh myserver.com; then exit. From then on, prompt text is hidden.) The characters are passed: when I type blindly and hit enter the command goes through, but I cannot see what I am

Re: Problem with execution of binary file

2011-11-03 Thread Edvardsen Kåre
On to., 2011-11-03 at 08:21 -0500, Eliot Moss wrote: > Someone more expert than I am may be able to say more > (or correct me if I'm wrong), but it appears that bash > opened the file, read 80 bytes, and didn't like what it > saw. So: What does "file FLEXPART_GFORTRAN.exe" say > about the file? Or

Re: recompiling gcc, make, and binutils for my cpu architecture?

2011-11-03 Thread Ryan Johnson
On 03/11/2011 8:54 AM, Jorge wrote: Hi all, I hope I am posting in the right location. This has nothing whatsoever to do with cygwin. I would like to setup/optimize gcc, binutils, and make for my CPU architecture, AMD K8, and rebuild. I have installed the cygwin sources. Invoking gcc with "-m

Re: Problem with execution of binary file

2011-11-03 Thread Eliot Moss
Someone more expert than I am may be able to say more (or correct me if I'm wrong), but it appears that bash opened the file, read 80 bytes, and didn't like what it saw. So: What does "file FLEXPART_GFORTRAN.exe" say about the file? Or maybe you could give us the first few lines from "od -b FLEXPA

Re: Problem with execution of binary file

2011-11-03 Thread Edvardsen Kåre
On to., 2011-11-03 at 14:01 +0100, Edvardsen Kåre wrote: > On Nov 3 12:20, Edvardsen KÃre wrote: > > I keep getting the "cannot execute binary file" and don't understand > > why. I have compiled same software on two different machines, but only > > one of the binaries work (it works on both machin

recompiling gcc, make, and binutils for my cpu architecture?

2011-11-03 Thread Jorge
Hi all, I hope I am posting in the right location. I would like to setup/optimize gcc, binutils, and make for my CPU architecture, AMD K8, and rebuild. I have installed the cygwin sources. When I build, I get i686-pc-cygwin. How can I make the build K8-pc-cygwin with the proper optimizations.

Re: Problem with execution of binary file

2011-11-03 Thread Corinna Vinschen
On Nov 3 12:20, Edvardsen Kåre wrote: > I keep getting the "cannot execute binary file" and don't understand > why. I have compiled same software on two different machines, but only > one of the binaries work (it works on both machines). The successful > machine is a HP laptop with W7 Pro, the oth

[ANNOUNCEMENT] Updated: bzr 2.4.2-1 -- Python based distributed version control (DVCS)

2011-11-03 Thread Jari Aalto
PACKAGE DESCRIPTION === Home page: http://bazaar.canonical.com License : GPL (Bzr is part of GNU project) Distributed version control that is used in projects like managing Ubuntu packages and it is one of the funded projects of Canonical. - Uses one .b

[ANNOUNCEMENT] Updated: mercurial-1.9.3-1 -- Python based distributed version control (DVCS)

2011-11-03 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://mercurial.selenic.com License : GPL Distributed, efficient Python based source control system. Mercurial is designed for efficient handling of very large distributed projects. CHANGES SINCE LAST RELEASE == See htt