Re: cannot execute binary file

2013-12-16 Thread Gerry Reno
On 12/16/2013 09:39 PM, Larry Hall (Cygwin) wrote: > On 12/16/2013 7:32 PM, Gerry Reno wrote: >> On 12/16/2013 07:27 PM, Max Polk wrote: >>> On 12/16/2013 5:55 PM, Gerry Reno wrote: /usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is

PHP error

2013-12-16 Thread wynfield
While checking to see what verions of php I had I ran php --version and received the following warning regarding mysqli: $ php --version PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 PHP 5.4.19 (cli)

Re: cannot execute binary file

2013-12-16 Thread Larry Hall (Cygwin)
On 12/16/2013 7:32 PM, Gerry Reno wrote: On 12/16/2013 07:27 PM, Max Polk wrote: On 12/16/2013 5:55 PM, Gerry Reno wrote: /usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is the error that greets me when I try to execute a command in cygwin from a Win

Re: cannot execute binary file

2013-12-16 Thread Gerry Reno
On 12/16/2013 07:27 PM, Max Polk wrote: > On 12/16/2013 5:55 PM, Gerry Reno wrote: >> /usr/bin/ls: /usr/bin/ls: cannot execute binary file >> /bin/bash: Exit 126 >> >> >> This is the error that greets me when I try to execute a command in cygwin >> from a Windows Command Prompt like so:

Re: cannot execute binary file

2013-12-16 Thread Max Polk
On 12/16/2013 5:55 PM, Gerry Reno wrote: /usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is the error that greets me when I try to execute a command in cygwin from a Windows Command Prompt like so: C:\cygwin\bin\mintty.exe -h always /bin/bash -l ls

Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Lord Laraby
Please do not #TOFU. That makes reading these threads very confusing. Terry -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: How to disable all syntax coloring in Cygwin/bash?

2013-12-16 Thread Gary Johnson
On 2013-12-16, Chris Wolf wrote: > On Mon, Dec 16, 2013 at 4:58 PM, Chris Wolf wrote: > > I just installed a recent release of Cygwin and notice that it now > > features syntax highlighting. Is there a way to totally disable this? > > All I want is be able to set the foreground/background colors

cannot execute binary file

2013-12-16 Thread Gerry Reno
/usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is the error that greets me when I try to execute a command in cygwin from a Windows Command Prompt like so: C:\cygwin\bin\mintty.exe -h always /bin/bash -l ls This was after installing a new version of C

Re: How to disable all syntax coloring in Cygwin/bash?

2013-12-16 Thread Chris Wolf
I was able to come up with something, though not sure it's the best or what I had before. Sorry if this is obvious to most people, but to get rid of colorized output, I added to my .bashrc: export LS_COLORS='' If $PS1 has terminal color escape codes, then replace that also with something else, e

How to disable all syntax coloring in Cygwin/bash?

2013-12-16 Thread Chris Wolf
I just installed a recent release of Cygwin and notice that it now features syntax highlighting. Is there a way to totally disable this? All I want is be able to set the foreground/background colors via the Windoze way of right clicking on the frame and I don't want the out of "ls" colorized nor

Re: moving pty master by dup()/close() causes read() to fail

2013-12-16 Thread Christopher Faylor
On Mon, Dec 16, 2013 at 10:21:12PM +0900, Jun T. wrote: >Hi all. I'm new to this list. > >The test code at the end of this post has some problem on Cygwin. Thanks for the test code. I can duplicate the problem and am looking into it. cgf -- Problem reports: http://cygwin.com/problems.html

Re: grep sometimes hang on 1.7.25

2013-12-16 Thread Christopher Faylor
On Sun, Dec 15, 2013 at 02:00:00AM +0100, Marcin J. wrote: > `ps | cat` will hang too. I can duplicate this problem. I'm looking into it. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

RE: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Steven Bardwell
OK -- I rewrote the test program using the POSIX IPC routine sem_open() and the program runs in SH.exe (and mintty.exe) but gives this message when run from a DOS box: Warning: '/dev/shm' does not exists or is not a directory. POSIX semaphores require the existance of this directory. Create the

moving pty master by dup()/close() causes read() to fail

2013-12-16 Thread Jun T.
Hi all. I'm new to this list. The test code at the end of this post has some problem on Cygwin. What the code does are: use forkpty() to open pty master (and slave for child), write a character 'A' to the slave, duplicate the master file descriptor, and read() from the (duplicated) master.

Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Corinna Vinschen
On Dec 14 08:04, Steven Bardwell wrote: > I would like my Cygwin programs to work from a DOS (CMD.exe) window, but I > am > having problems with some API calls. Here is a simple program that tries to > create > a semaphore – it works fine when it is run from sh.exe (or in a mintty > window), but >

Re: Problems with Cygwin symlinks on a TrueCrypt volume

2013-12-16 Thread Corinna Vinschen
On Dec 16 10:33, Dr Rainer Woitok wrote: > Corinna, > > On Fri, 13 Dec 2013 14:06:26 +0100 you wrote: > > > ... > > You just have to put the released Cygwin 1.7.27 DLL back in place, > > that's all. I assume you copied it somewhere else for the time being? > > Just copy it back into place and, i

Re: Problems with Cygwin symlinks on a TrueCrypt volume

2013-12-16 Thread Dr Rainer Woitok
Corinna, On Fri, 13 Dec 2013 14:06:26 +0100 you wrote: > ... > You just have to put the released Cygwin 1.7.27 DLL back in place, > that's all. I assume you copied it somewhere else for the time being? > Just copy it back into place and, if that was not the solution, copy the > snapshot DLL over