Re: RFU: xmon 1.5.6-3

2012-09-21 Thread Jari Aalto
2012-09-19 18:58 Christopher Faylor
| 
| Replace *-2 with this one,
|
| I've uploaded the new version.  Why do you want to delete the prev version?

The older one uses obsolete /usr/X11R6/bin for binaries which, If I
remember correct, is not in the default PATH any longer.

Jari


Re: Possible changes to setup.exe interface and name

2012-09-21 Thread Andy Koppe
On 20 September 2012 16:11, Michael Benford wrote:
 I would like to change the setup.exe so that it loads the package selection
 page when it starts.

Better have a look at its -M/--package-manager option first.

Andy


Re: Possible changes to setup.exe interface and name

2012-09-21 Thread Michael Benford
On Fri, 21 Sep 2012 21:14:50 +0200, Andy Koppe andy.ko...@gmail.com  
wrote:



On 20 September 2012 16:11, Michael Benford wrote:
I would like to change the setup.exe so that it loads the package  
selection

page when it starts.


Better have a look at its -M/--package-manager option first.

Andy


It should open in -M mode automatically


Re: cannot execute binary file

2012-09-21 Thread P.Long

On 9/20/2012 6:07 PM, RobF wrote:

Seemingly spontaneously, my ls command has stopped working.

$ ls
-bash: /usr/bin/ls: cannot execute binary file

I tried reinstalling bash and that didn't help.  Any suggestions?




Rob:

there could be any number of reasons ls won't run.  U can't check the 
permissions using ls, but U can check the DACLs using icacls.exe or

cacls.exe (or, if it still works, getfacl).  if U're more of a GUI
guy, U can also check the Security tab of the Property sheet in
Explorer.

tanstaafl




--
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: cannot execute binary file

2012-09-21 Thread Csaba Raduly
On Fri, Sep 21, 2012 at 12:07 AM, RobF  wrote:
 Seemingly spontaneously, my ls command has stopped working.

 $ ls
 -bash: /usr/bin/ls: cannot execute binary file

 I tried reinstalling bash and that didn't help.  Any suggestions?

ls.exe is in the coreutils package. Try reinstalling that.

Out of curiosity, what is the output of

file /usr/bin/ls

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
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: Cygwin corrupted taskkill in windows commandline

2012-09-21 Thread jurriaan
From: Hazel black...@inbox.com
Date: Thu, Sep 20, 2012 at 07:06:39AM -0700
 Hi, I just installed cygwin and now I can not use the native taskkill command
 from windows command line, it will only reply with:
 
 'taskkill' is not recognized as an internal or external command, operable
 program or batch file.
 
I think that's more probably related to the command taskkill being found
than to the file taskkill.exe being corrupted by Cygwin. Did something
change your PATH ?

Kind regards,
Jurriaan
-- 
And money rides while people crawl
And another quiet night goes by
Oysterband - Another quiet night in England

--
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



[BUG] Cygwin default mounts in 1.7

2012-09-21 Thread Jiri Engelthaler
Hello Cygwin developers
I have a problem with cygwin default mounts
I have compiled gcc cross compiler for powerpc (some problem with arm
cross) and installed to destination directory. Installed directory
structure is (truncated)

+bin
|   +powerpc-unknown-linux-gnu-gcc.exe
+include
+lib
+libexec
|   +gcc
|  +powerpc-unknown-linux-gnu
|  +4.4.7
|   +cc1.exe
+powerpc-unknown-linux-gnu
+share

When I start “powerpc-unknown-linux-gnu-gcc.exe a.c” in “bin”
directory from windows command line, compiler fails with
“powerpc-unknown-linux-gnu-gcc: error trying to exec 'cc1': execvp: No
such file or directory”. Starting compiler from bash shell works fine
and a.c is compiled.
“powerpc-unknown-linux-gnu-gcc --print-search-dirs” says that one of
search paths for programs is
“/usr/bin/../libexec/gcc/powerpc-unknown-linux-gnu/4.4.7/” so all
should work.
But problem is with “/usr/bin” prefix. I have made tests with “ls” and
“pwd” copied do “bin” directory and found that:
- “pwd” is “/usr/bin”
- “ls” shows “bin” directory content
- “ls ..” shows “ls: cannot access ..: No such file or directory”
- “ls /” shows “bin  cygdrive  dev  etc  include  lib  libexec
powerpc-unknown-linux-gnu  proc  share”

Core of problem is that pwd for “bin” directory is “/usr/bin”, but
“/usr/bin/..” is not accessible.
How to mount current directory as /cygdrive/c/foo/bar/./bin
while executing pwd or ls?

  Thank you for your answer and have a nice day.
  Jiri Engelthaler

--
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: [BUG] Cygwin default mounts in 1.7

2012-09-21 Thread marco atzeri

On 9/21/2012 10:48 AM, Jiri Engelthaler wrote:

Hello Cygwin developers
I have a problem with cygwin default mounts
I have compiled gcc cross compiler for powerpc (some problem with arm
cross) and installed to destination directory. Installed directory
structure is (truncated)

+bin
|   +powerpc-unknown-linux-gnu-gcc.exe
+include
+lib
+libexec
|   +gcc
|  +powerpc-unknown-linux-gnu
|  +4.4.7
|   +cc1.exe
+powerpc-unknown-linux-gnu
+share

When I start “powerpc-unknown-linux-gnu-gcc.exe a.c” in “bin”
directory from windows command line, compiler fails with
“powerpc-unknown-linux-gnu-gcc: error trying to exec 'cc1': execvp: No
such file or directory”. Starting compiler from bash shell works fine
and a.c is compiled.
“powerpc-unknown-linux-gnu-gcc --print-search-dirs” says that one of
search paths for programs is
“/usr/bin/../libexec/gcc/powerpc-unknown-linux-gnu/4.4.7/” so all
should work.
But problem is with “/usr/bin” prefix. I have made tests with “ls” and
“pwd” copied do “bin” directory and found that:
- “pwd” is “/usr/bin”
- “ls” shows “bin” directory content
- “ls ..” shows “ls: cannot access ..: No such file or directory”
- “ls /” shows “bin  cygdrive  dev  etc  include  lib  libexec
powerpc-unknown-linux-gnu  proc  share”

Core of problem is that pwd for “bin” directory is “/usr/bin”, but
“/usr/bin/..” is not accessible.
How to mount current directory as /cygdrive/c/foo/bar/./bin
while executing pwd or ls?

   Thank you for your answer and have a nice day.
   Jiri Engelthaler



Jiri,
I tried to follow up your mail and I am confused and not really
sure what is you problem.
On cygwin /bin and /usr/bin are the same directory
(see http://cygwin.com/cygwin-ug-net/using.html#mount-table)

$ mount
E:/cygwin/bin on /usr/bin type ntfs (binary,auto)
E:/cygwin/lib on /usr/lib type ntfs (binary,auto)

as /usr/bin is a mount of /bin.

Pwd works in both the two cases:
$ cd /bin
$ pwd
/bin

$ cd /usr/bin
$ pwd
/usr/bin

Most of the compilers/programs expect to find themself in /usr/bin,
and some are referring their libraries relative to such position
in this way
../libexec/gcc/powerpc-unknown-linux-gnu/4.4.7/
is correctly targeting
/usr/bin/../libexec/gcc/powerpc-unknown-linux-gnu/4.4.7/

for this reason you should have in the PATH /usr/bin before /bin
( /bin not defined at all)
to avoid that these programs looks for

/bin/../libexec/gcc/powerpc-unknown-linux-gnu/4.4.7/

that does not exist.

What is your PATH ?

On /etc/profile it is defined as:
PATH=/usr/local/bin:/usr/bin:${PATH}

Regards
Marco










--
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: cannot execute binary file

2012-09-21 Thread RobF

On 21/09/2012 08:53, Csaba Raduly wrote:


ls.exe is in the coreutils package. Try reinstalling that.

Out of curiosity, what is the output of

file /usr/bin/ls

Csaba



Thx for the replies.  I ended up reinstalling the entire installation 
because I'd managed to fill up the top-level directory with tons of 
files (and directories) due to an error in a bash script, which may have 
had something to do with it.


--
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



cygport debuginfo extraction

2012-09-21 Thread Achim Gratz

I'm re-packaging the perl module DBI::Dumper as a Cygwin package for internal
distribution and the debuginfo package is not produced.  This is because
/usr/src/debug stays empty, while the .dll.dbg file is produced.  I can't figure
out what's keeping the source information from being extracted, there are
literally dozens of other perl module packages where this works correctly.



Regards,
Achim.


--
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: Cygwin corrupted taskkill in windows commandline

2012-09-21 Thread Voris, Ben
On my system, taskkill is /cygdrive/c/Windows/system32/taskkill.  That is, it 
is not part of Cygwin but is part of Windows.  I suspect either that your PATH 
no longer includes /cygdrive/c/Windows/system32 or that taskkill.exe has been 
removed from that Windows directory.

-Original Message-
From: Hazel 

Hi, I just installed cygwin and now I can not use the native taskkill command
from windows command line, it will only reply with:

'taskkill' is not recognized as an internal or external command, operable
program or batch file.


This installation of Windows XP Pro 32Bit SP3 has been working with no
issues since it was installed a year ago.

I really need to solve this issue as ALOT of tools i have for windows uses
taskkill for aborting DOS programs i use for special equipment such as a
dot-matrix printer.



--
View this message in context: 
http://cygwin.1069669.n5.nabble.com/Cygwin-corrupted-taskkill-in-windows-commandline-tp92938.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
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



[ANNOUNCEMENT] RM: jikes 1.22-2 -- Fast Java compiler adhering to language and VM specifications

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://sourceforge.net/projects/jikes
License : IBM Public License

IBM's Java compiler (now Open Source) that translates Java
source files as defined in The Java Language Specification
(Addison-Wesley, 1996) into the bytecoded instruction set and binary
format defined in The Java Virtual Machine Specification
(Addison-Wesley, 1996). Unlike other compilers, Jikes accepts the Java
language only as specified: not as a subset, variant, or superset.

REMOVAL
===

Package has been obsoleted/removed:

- Old.
- Does not support later Java versions.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
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



[ANNOUNCEMENT] RM: o3read 0.0.4-1 -- Standalone converter for OpenOffice.org documents

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://siag.nu/o3read
License : GPL

A collection of utilities that helps convertion of OpenOffice.org
Writer and Calc documents to the one of the three output formats:
o3read - displays a dump of the parse tree; o3totxt - creates plain
text; o3tohtml - creates html code.

REMOVAL
===

Package has been obsoleted/removed:

- Old; (*.sxw) and scalc (*.sxc) formats.
- Does not support Later OpenOffice or LibreOffice versions

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
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



[ANNOUNCEMENT] RM: dpatch -- Patch maintenance system for source packages

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://packages.debian.org/dpatch
License : GPL

An easy to use patch system for packages, It lets you store patches
and other simple customization templates in debian/patches and
otherwise does not require much reorganization of your source tree. To
get the patches applied at build time you simply need to include a
makefile snippet and then depend on the patch/unpatch target in the
build or clean stage of debian/rules - or you can use the dpatch
patching script directly.

REMOVAL
===

Package has been obsoleted/removed:

- The upstream has ceased development (abandoned).
- Equal and better functionality can be found from quilt package.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
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: cygport debuginfo extraction

2012-09-21 Thread Yaakov (Cygwin/X)

On 2012-09-21 08:06, Achim Gratz wrote:

I'm re-packaging the perl module DBI::Dumper as a Cygwin package for internal
distribution and the debuginfo package is not produced.  This is because
/usr/src/debug stays empty, while the .dll.dbg file is produced.  I can't figure
out what's keeping the source information from being extracted, there are
literally dozens of other perl module packages where this works correctly.


The C extension included in DBI::Dumper is precompiled by Inline::C 
rather than the usual MakeMaker-controlled XS-C-dll dance, so the 
usual means of getting debuginfo (via the OPTIMIZE Makefile variable) 
doesn't work.  AFAICS the solution would have to be package-specific 
(although I'm not sure exactly how yet).  I wouldn't spend too much time 
trying to figure this one out though.


BTW, in the future (and this goes for everyone), if you have a question 
about cygport, it would be helpful if you attach the .cygport in 
question, even if it's not perfect, so I don't have to recreate it myself.



Yaakov


--
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: [cygport bug] Latest cygport goes into infinite loop in Fixing libtool modules: step ...

2012-09-21 Thread Yaakov (Cygwin/X)

On 2012-09-18 09:43, Dr. Volker Zell wrote:

I have cygwin installed under C:\cygwin and I'm building under 
D:\misc\src\release
I have a symbolic link

lrwxrwxrwx 1 vzell None 16 Jun  5 15:19 /misc - /cygdrive/d/misc/

The infinite loop happens when cd'ing to /misc/src/release and building from
there. But it doesn't happen when cd'ing to /cygdrive/d/misc/src/release


http://cygwin.com/ml/cygwin-apps/2012-04/msg00040.html
http://cygwin.com/ml/cygwin-apps/2012-05/msg00013.html
http://cygwin.com/ml/cygwin-apps/2012-06/msg00029.html


Yaakov



--
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



[ANNOUNCEMENT] Updated: xmon 1.5.6-3 -- An interactive X protocol monitor

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://ftp.x.org/contrib/devel_tools
License : BSD-like

Monitor interactively the byte-stream connections between an X
server and a number of X clients. Xmon recognises all requests,
events, errors and replies sent between the clients and the server
which are part of the core X protocol.

CHANGES SINCE LAST RELEASE
==

Transition from /usr/X11R6/bin to /usr/bin

INSTALL OR UPGRADE NOTES


Standard install.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the Install Cygwin now link on the
http://cygwin.com/ web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the All category. After installation, read the
documentation at directories:

/usr/share/doc/package/*
/usr/share/doc/Cygwin/package-version.README

If you have questions or comments, please send them to the Cygwin
mailing list at cygwin(at)cygwin.com.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

--
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: cygport debuginfo extraction

2012-09-21 Thread Achim Gratz
Yaakov (Cygwin/X) writes:
 The C extension included in DBI::Dumper is precompiled by Inline::C
 rather than the usual MakeMaker-controlled XS-C-dll dance, so the
 usual means of getting debuginfo (via the OPTIMIZE Makefile variable)
 doesn't work.  AFAICS the solution would have to be package-specific
 (although I'm not sure exactly how yet).  I wouldn't spend too much
 time trying to figure this one out though.

It's OK, I don't really need it, just wondering what the reason might
be.

 BTW, in the future (and this goes for everyone), if you have a
 question about cygport, it would be helpful if you attach the .cygport
 in question, even if it's not perfect, so I don't have to recreate it
 myself.

I tried to, but the MUA-emulator that shall not be named kept telling me
I had lines longer than 80 characters (not sure why, sometimes it just
does that) until I removed it.  Sorry.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves


--
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: Cygwin corrupted taskkill in windows commandline

2012-09-21 Thread Earnie Boyd
On Fri, Sep 21, 2012 at 11:59 AM, Voris, Ben wrote:
 On my system, taskkill is /cygdrive/c/Windows/system32/taskkill.  That is,
 it is not part of Cygwin but is part of Windows.  I suspect either that your
 PATH no longer includes /cygdrive/c/Windows/system32 or that taskkill.exe
 has been removed from that Windows directory.

If it is 64 bit system then it will not be available in a 32 bit
process such as Cygwin's bash in that directory.  You'll need to look
at /cygdrive/c/Windows/sysnative/taskkill instead.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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: [ANNOUNCEMENT] Updated: mintty-1.1.2-1

2012-09-21 Thread Andy Koppe
On 14 September 2012 00:57, Daniel Colascione wrote:
 On 9/13/2012 12:57 PM, Andy Koppe wrote:
 mintty 1.1.2-1 is on its way to the Cygwin mirrors.

 CHANGES
 ===
 - Fixed buffer overflow in processing of the control sequence for
 querying font coverage.
 - Tweaked double-click word selection algorithm to handle shell
 variable references such as $FOO and %FOO%, and also exclamation marks
 in URLs.
 - Changed clicks-place-cursor feature to respect application cursor
 key mode when sending left/right arrow keycodes.

 Can you please consider doing something about the exit behavior? You don't 
 have
 to use my match, but please provide some sort of option for those of us who
 prefer traditional xterm behavior.

I'm sorry I'm only finding time for bug fixes, trivial enhancements
and basic support at the moment. This request is in the issue tracker
(as issue 319) and I've said what I want to do with it. Reminding me
after every release is not going to speed things up.

Andy

--
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: Bash dumps stack after writing to /etc

2012-09-21 Thread meingbg
A bug is found that might be located in cygwin or bash.

Bash dumps stack on exit if all of the following requirements are true:
- Bash was started from a windows batch script
- Bash was started in non-interactive mode to execute a script
- The script includes an attempt to write (pipe) data to a file in /etc
- The write attempt is enclosed by an if clause.

To reproduce the bug, start a windows batch script that starts bash in
non-interactive mode running a bash script that within an if clause
attempts to write to a file in the /etc directory. This will result in a bash
stack dump, at least on Windows 7 Professional SP1.

As an example, place example*.bat and script*.bash (code listed below)
in the cygwin root folder. Then start the batch files via the Windows GUI.

example1-breaks.bat reproduces the bug.
example1i-works.bat shows that bash works like expected in interactive mode.
example2-works.bat shows that bash works like expected when writing to
a file outside of /etc.
example3-maybe.bat shows that the if clause might change the behaviour.

File listing follows. Make sure to save the .bat files with windows
linebreaks, and the .bash files with unix linebreaks.

example1-breaks.bat:
@echo off
%~d0
cd %~dp0
bin\bash.exe script1.bash
pause

example1i-works.bat:
@echo off
%~d0
cd %~dp0
bin\bash.exe -i script1.bash
pause

example2-works.bat:
@echo off
%~d0
cd %~dp0
bin\bash.exe script2.bash
pause

example3-maybe.bat:
@echo off
%~d0
cd %~dp0
bin\bash.exe script3.bash
pause

script1.bash:
#!/bin/bash
PATH=/bin:$PATH
if true; then
echo hello  /etc/hello
fi

script2.bash:
#!/bin/bash
PATH=/bin:$PATH
if true; then
echo hello  /hello
fi

script3.bash:
#!/bin/bash
PATH=/bin:$PATH
echo hello  /etc/hello
fi




System information:
Machine: i686
OS: cygwin on Windows 7 Professional SP1
Compiler: gcc-4
Compilation CFLAGS:  -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc'
-DLOCALEDIR='/usr/$
uname output: CYGWIN_NT-6.1 Machine-name 1.7.16(0.262/5/3) 2012-07-20 22:55
i686 Cygwin
Machine Type: i686-pc-cygwin
See also attached cygcheck.out. It was created by cygcheck running
independently from any cygwin installation. WITHHELD denotes a
manual alteration.


cygcheck.out
Description: Binary data
--
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: Pristine-tar 1.17-1 and 1.18-1 block bug or update-info-files bug

2012-09-21 Thread Buchbinder, Barry (NIH/NIAID) [E]
Charles sent the following at Monday, September 17, 2012 3:36 PM
Windows 7 Home Premium (64), Cygwin version as of today

I previously downloaded selected packages (past four months) When I ran
the info command, a list of all info files in the directory appeared.

Yesterday I downloaded the entire Cygwin package (it seemed easier to
later uninstall unwanted or not needed packages) the following appeared
in the download/install window during update info files

Package: Pristine-tar.sh: exit code 1

I cannot determine what to post from the var/log/setup.log.full file -
just too long.

When I ran the info command, only five or six info entries appeared in
the directory.

I reinstalled Pristine-tar 1.18, same problem; I uninstalled 1.18 and
installed 1.17 - same problem.

I uninstalled Pristine-tar completely, ran info and the entire directory
appeared - from Archive through Zsh and mairix.

I reinstalled the latest version of Pristine-tar - same error message,
but the info directory was up to date; no entry for Pristine

Cygwin-apps is the wrong list.  Use the main one.  (This might explain
why you got no response previously.)  Redirected.

It is probably OK.  Sometime one gets an error message but everything is
OK.  Do the experiment:  Run pristine-tar to see if it works.  If it
doesn't, someone else would have make a suggestion.

Regarding the error, the following will probably be instructive.
$ sh -x -c /etc/postinstall/pristine-tar.sh ; echo $?

Figure out what went wrong.  Sometimes, one gets an exit code of 1 but
nothing is really wrong.  If there is something that you can change
that would be expected to make the error go away, try it.  Then run
/etc/postinstall/pristine-tar.sh again.

If it worked, do the following so that setup won't try running
/etc/postinstall/pristine-tar.sh again.
$ mv /etc/postinstall/pristine-tar.sh /etc/postinstall/pristine-tar.sh.done

Good luck.

To the cygwin demigods:

This might be added to the FAQ at
http://cygwin.com/faq-nochunks.html#faq.setup.setup-fails
and/or the UG at
http://cygwin.com/cygwin-ug-net/setup-net.html#setup-postinstall

Best wishes to all,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


--
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



[ANNOUNCEMENT] Updated: tar-1.25-1

2012-09-21 Thread Eric Blake (cygwin)
A new release of tar, 1.26-1, is available, leaving 1.25-1 as the
previous version.

NEWS:
=
This is a new upstream release.  Upstream release notes are attached.
See also the upstream documentation in /usr/share/doc/tar/.

DESCRIPTION:

GNU Tar is an archiver program. It is used to create and manipulate
files that are actually collections of many other files; the program
provides users with an organized and systematic method of controlling a
large amount of data.  Despite its name, that is an acronym of tape
archiver, GNU Tar is able to direct its output to any available
devices, files or other programs, it may as well access remote devices
or files.  The main areas of usage for GNU Tar are: storage, backup and
transportation.

UPDATE:
===
To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system. Save it and run setup, answer the questions and pick up 'tar'
from the 'Base' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from cygwin.com aren't allowed due to bandwidth
limitations.  This means that you will need to find a mirror which has
this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

-- 
Eric Blake
volunteer cygwin tar maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-YOU=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

version 1.26 - Sergey Poznyakoff, 2011-03-12

* Bugfixes

** Fix the --verify option, which broke in version 1.24.

** Fix storing long sparse file names in PAX archives.

** Fix correctness of --atime-preserve=replace

tar --atime-preserve=replace no longer tries to restore atime of
zero-sized files.

** Work around POSIX incompatibilities on FreeBSD, NetBSD and Tru64

** Fix bug with --one-file-system --listed-incremental

When invoked with these two options, tar 1.25 would add only the
top-level directory to the archive, but not its contents.


signature.asc
Description: OpenPGP digital signature


RM: jikes 1.22-2 -- Fast Java compiler adhering to language and VM specifications

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://sourceforge.net/projects/jikes
License : IBM Public License

IBM's Java compiler (now Open Source) that translates Java
source files as defined in The Java Language Specification
(Addison-Wesley, 1996) into the bytecoded instruction set and binary
format defined in The Java Virtual Machine Specification
(Addison-Wesley, 1996). Unlike other compilers, Jikes accepts the Java
language only as specified: not as a subset, variant, or superset.

REMOVAL
===

Package has been obsoleted/removed:

- Old.
- Does not support later Java versions.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


RM: o3read 0.0.4-1 -- Standalone converter for OpenOffice.org documents

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://siag.nu/o3read
License : GPL

A collection of utilities that helps convertion of OpenOffice.org
Writer and Calc documents to the one of the three output formats:
o3read - displays a dump of the parse tree; o3totxt - creates plain
text; o3tohtml - creates html code.

REMOVAL
===

Package has been obsoleted/removed:

- Old; (*.sxw) and scalc (*.sxc) formats.
- Does not support Later OpenOffice or LibreOffice versions

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


RM: dpatch -- Patch maintenance system for source packages

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://packages.debian.org/dpatch
License : GPL

An easy to use patch system for packages, It lets you store patches
and other simple customization templates in debian/patches and
otherwise does not require much reorganization of your source tree. To
get the patches applied at build time you simply need to include a
makefile snippet and then depend on the patch/unpatch target in the
build or clean stage of debian/rules - or you can use the dpatch
patching script directly.

REMOVAL
===

Package has been obsoleted/removed:

- The upstream has ceased development (abandoned).
- Equal and better functionality can be found from quilt package.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


Updated: xmon 1.5.6-3 -- An interactive X protocol monitor

2012-09-21 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://ftp.x.org/contrib/devel_tools
License : BSD-like

Monitor interactively the byte-stream connections between an X
server and a number of X clients. Xmon recognises all requests,
events, errors and replies sent between the clients and the server
which are part of the core X protocol.

CHANGES SINCE LAST RELEASE
==

Transition from /usr/X11R6/bin to /usr/bin

INSTALL OR UPGRADE NOTES


Standard install.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the Install Cygwin now link on the
http://cygwin.com/ web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the All category. After installation, read the
documentation at directories:

/usr/share/doc/package/*
/usr/share/doc/Cygwin/package-version.README

If you have questions or comments, please send them to the Cygwin
mailing list at cygwin(at)cygwin.com.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com(at)cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.


Updated: tar-1.25-1

2012-09-21 Thread Eric Blake (cygwin)
A new release of tar, 1.26-1, is available, leaving 1.25-1 as the
previous version.

NEWS:
=
This is a new upstream release.  Upstream release notes are attached.
See also the upstream documentation in /usr/share/doc/tar/.

DESCRIPTION:

GNU Tar is an archiver program. It is used to create and manipulate
files that are actually collections of many other files; the program
provides users with an organized and systematic method of controlling a
large amount of data.  Despite its name, that is an acronym of tape
archiver, GNU Tar is able to direct its output to any available
devices, files or other programs, it may as well access remote devices
or files.  The main areas of usage for GNU Tar are: storage, backup and
transportation.

UPDATE:
===
To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system. Save it and run setup, answer the questions and pick up 'tar'
from the 'Base' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from cygwin.com aren't allowed due to bandwidth
limitations.  This means that you will need to find a mirror which has
this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

-- 
Eric Blake
volunteer cygwin tar maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-YOU=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

version 1.26 - Sergey Poznyakoff, 2011-03-12

* Bugfixes

** Fix the --verify option, which broke in version 1.24.

** Fix storing long sparse file names in PAX archives.

** Fix correctness of --atime-preserve=replace

tar --atime-preserve=replace no longer tries to restore atime of
zero-sized files.

** Work around POSIX incompatibilities on FreeBSD, NetBSD and Tru64

** Fix bug with --one-file-system --listed-incremental

When invoked with these two options, tar 1.25 would add only the
top-level directory to the archive, but not its contents.


signature.asc
Description: OpenPGP digital signature