UNC within the PATH

2005-03-10 Thread junk
I've been messing around with a PATH like this: PATH=;\\machine\share I then place bash scripts in \\machine\share\ts1.sh and in c:\ts2.sh ts1.sh & ts2.sh look like this: #!/bin/sh echo "hello world" Finally I created a file association for the extension .sh so that it will use c:\cygwin\bin

Re: Issue with lpr in cygwin 1.5.13-1

2005-03-10 Thread Charles Wilson
Corinna Vinschen wrote: Chuck, could you have a look into that? I'm not at all familar with lpr and I guess neither is cgf. Not until next week sometime. Sorry...busy busy busy. Hence 2:30am posting. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-10 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 12:57:00AM -0300, Ricardo Fodra wrote: >Does setup have to download mirrors.lst and setup.bz2 every time? >Can't it compare the date of the files on the server and on the >computer? I have a dial up connection and I can only download a few >packages per day, and every day s

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-10 Thread Ricardo Fodra
Does setup have to download mirrors.lst and setup.bz2 every time? Can't it compare the date of the files on the server and on the computer? I have a dial up connection and I can only download a few packages per day, and every day setup downloads those files. Yah

running at jobs

2005-03-10 Thread Ravi Ram
is there a linux equivalent of at in cygwin. if so how do i use it. I have a Makefile which i can run it stand alone but couldn't get it working with cron. I am able to run simple jobs in cron. i would like to try at and try cron later thanks. --ravi -- Unsubscribe info: http://cygwin.com/

Problem with the "-r" test in Perl 5.8.6-4

2005-03-10 Thread Igor Pechtchanski
Hi, I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. Some perl script uses the "-r" test to chech whether a directory is readable. It fails on the following directory: $ perl -e 'exit !(-r $ARGV[0])' /cygdrive/c/Program\ Files/ThinkPad/Utilities && echo "yep" $ test -r /cygdrive/c/Pro

Hyperthreaded machine and cygwin

2005-03-10 Thread Earl Chew
I'd like some guidance or suggestions as to how to debug a problem that I suspect has to do with my hyperthreaded cpu machine. The symptom is that I have two build scripts executing. The scripts traverse directories, use make, bash, sh, perl, etc. I have two hyperthreaded cpus running XP, and very

Re: mktime() fails to return

2005-03-10 Thread Brian Dessent
Rich Natale wrote: > > I have two computers running XP Pro sp2. One has the cygwin development > environment installed. I created and tested an application on the > development computer which uses mktime(), and it works fine. I then > moved the executable, cygwin1.dll, and cygz.dll to the other co

Re: Building setup.exe from CVS?

2005-03-10 Thread Linda W
Well how do you expect me to find it when it's right in front of me? :-) Actually the link was colored as 'visited', but I don't remember the page... Didn't I remember to tell you my memory isn't so good these days...:-) *sigh* Igor Pechtchanski wrote: Two clicks away: www.cygwin.com -> "Cygwin Pac

Re: Building setup.exe from CVS?

2005-03-10 Thread Igor Pechtchanski
Top-post reformatted. On Thu, 10 Mar 2005, Linda W wrote: > Christopher Faylor wrote: > > > On Thu, Mar 10, 2005 at 12:49:40PM -0800, Linda W wrote: > > > > > I probably don't know what/where I am looking for what, but > > > it seems the source for the various apps (specifically setup.exe) > > >

Re: Building setup.exe from CVS?

2005-03-10 Thread Linda W
Thanks -- I tried looking on the website first, but couldn't find a link to it... Christopher Faylor wrote: On Thu, Mar 10, 2005 at 12:49:40PM -0800, Linda W wrote: I probably don't know what/where I am looking for what, but it seems the source for the various apps (specifically setup.exe) aren'

Re: /proc//exe points to void

2005-03-10 Thread Corinna Vinschen
On Mar 10 16:00, Sam Steingold wrote: > /proc//exe points to "foo", not to "foo.exe", so it cannot be > opened &c. > argv[0] also lacks ".exe" extension. > > is this a feature or a bug? Definitely a feature. Corinna -- Corinna Vinschen Please, send

Re: Possible bug in gas/ld when using .linkonce

2005-03-10 Thread Danny Smith
Pavel Tsekov wrote: > Hello, > > I found this one while playing with Cygwin's code which takes care of > seamless loading of dll functions (autoload.cc). It seems that when a > symbol in a section marked .linkonce is referenced, wrong relocation info > is generated for that symbol. > > For example

/proc//exe points to void

2005-03-10 Thread Sam Steingold
/proc//exe points to "foo", not to "foo.exe", so it cannot be opened &c. argv[0] also lacks ".exe" extension. is this a feature or a bug? -- Sam Steingold (http://www.podval.org/~sds) running w2k <

Re: Building setup.exe from CVS?

2005-03-10 Thread Christopher Faylor
On Thu, Mar 10, 2005 at 12:49:40PM -0800, Linda W wrote: >I probably don't know what/where I am looking for what, but >it seems the source for the various apps (specifically setup.exe) >aren't under "winsup" in CVS. > >What path should I be checking out if I want to try to build setup? > >Any "gotc

Re: disk not seen after adminstrative re-install

2005-03-10 Thread Corinna Vinschen
On Mar 10 10:30, Chris Winne wrote: > --- Corinna Vinschen <[EMAIL PROTECTED]> > wrote: > > > If you can still reproduce the behaviour, please > > drop "notraverse" > > from the CYGWIN variable again and call `strace -o > > mount.trace mount' > > and send the bzip'd mount.trace file to this list.

Building setup.exe from CVS?

2005-03-10 Thread Linda W
I probably don't know what/where I am looking for what, but it seems the source for the various apps (specifically setup.exe) aren't under "winsup" in CVS. What path should I be checking out if I want to try to build setup? Any "gotcha's" or things I should know? (Besides having ming installed). T

Proble with the display

2005-03-10 Thread Khaled Jmal
Hello, I'm using the network simulator under windows with cygwin. My problem is that cygwin doesn't detect my display. I'v set the DISPLAY variable but this doesn't help. Help me please. Thanks, Khaled -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: Two patches for cygwin build of 1.4.1rc2

2005-03-10 Thread Werner Koch
On Thu, 10 Mar 2005 10:34:48 -0500, Volker Quetschke said: > Thanks, but as the dll location is defined by the cygwin installation > (cf. www.cygwin.com) nothing except 1., 2. and 6. is an option. So what you are saying is that cygin passes a full filename to LoadModule and uses its own logic to

Re: disk not seen after adminstrative re-install

2005-03-10 Thread Chris Winne
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > If you can still reproduce the behaviour, please > drop "notraverse" > from the CYGWIN variable again and call `strace -o > mount.trace mount' > and send the bzip'd mount.trace file to this list. > (should be below > 6 or 7K). > It reproduces wi

sscanf interprets "n" and "na" as floating point numbers

2005-03-10 Thread Peter W. Draper
Hi to all, I'm running Cygwin 1.5.13 under Windows XP Pro and have noticed the following problem with sscanf. If I ask it to parse the strings "n" and "na" using "%lf%n" it returns the value 0.0, and also reports the lengths as 1 and 2 respectively. The following program shows the problem: #inclu

Re: Two patches for cygwin build of 1.4.1rc2

2005-03-10 Thread Volker Quetschke
Thanks, but as the dll location is defined by the cygwin installation (cf. www.cygwin.com) nothing except 1., 2. and 6. is an option. So what you are saying is that cygin passes a full filename to LoadModule and uses its own logic to find that module? Then they should also have a standard director

Solution For Handling Signals In Non-Cygwin Apps With SetConsoleCtrlHandler

2005-03-10 Thread Derosa, Anthony CIV NAVAIR 2035, 2, 205/214
At work, we use the Cygwin distribution primarily for the SSH server it provides. Almost everyone writes non-cygwin applications (not linked with Cygwin dll), which we spawn remotely through the Cygwin SSH server and bash. Some of these Windows programs need to clean up things when they are ki

Re: Issue with lpr in cygwin 1.5.13-1

2005-03-10 Thread Gates, Roger
On Mar 8 11:17, Frank Jacobs wrote: > If I attempt to run lpr under cygwin 1.5.13-1, I get the following > error: > > lpr: printer error: can't open '' for writing: The printer name is > invalid. > > > However, if I downgrade to cygwin 1.5.12-1, lpr works fine. > > Note that the issue does not

Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Eric Blake
> > > I think that just adding a -- is a better fix: > > > > if [ -z "$ZSH_NAME" -a `basename -- "$0"` = "lilypond-profile" ] ; the > > > > cgf > > This also fixes the problem for me and is clearly the better solution. > basename > --help does not mention this option. Actually, all coreutils

Re: how to reinstall the same packages on another computer

2005-03-10 Thread Igor Pechtchanski
On Wed, 9 Mar 2005, Brian Dessent wrote: > linsong wrote: > > >Now I want to install all cygwin packages that have been installed in > > Computer A to Computer B. Can I get the installed packages' information > > file and > > pass it setup.exe to install them? I search the document of setup.e

Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Wheeler, Frederick W \(Research\)
> I think that just adding a -- is a better fix: > > if [ -z "$ZSH_NAME" -a `basename -- "$0"` = "lilypond-profile" ] ; the > > cgf This also fixes the problem for me and is clearly the better solution. basename --help does not mention this option. Fred Wheeler -- Unsubscribe info: http:

Re: ssh-add hangers -- please try the latest snapshot

2005-03-10 Thread Andrew Schulman
> Hi All... > > With the latest snapshot, I can not see the problem now. > > It also seemd to take a long time sometimes with the previous snapshot > (March 4) in ssh-add. That also seems better now. But I really don't have > enough data to say much here...it just seems better. You're right--

Re: Two patches for cygwin build of 1.4.1rc2

2005-03-10 Thread Volker Quetschke
* crossposted to cygwin ml in case my opinion is not shared by the cygwin developers. * that would be either the location of the started executable or everything in the PATH variable. As the and 4 other locations. Windows looks for DLLs this way: 1. The directory from where the current process

Re: coreutils-5.3.0-3

2005-03-10 Thread Thomas Wolff
> > [EMAIL PROTECTED]:~> ls x* > > x.exe > > [EMAIL PROTECTED]:~> cat > x > > bash: x: cannot overwrite existing file > > --> should have created "x" which does not exist > > It works for me on WinXP using bash 2.05b-17 inside a cmd window: > $ ls x* > x.exe > $ cat x.exe > x > $ ls x* > x x.exe

[Fwd: Re: Emacs 21.3.50]

2005-03-10 Thread Paulo Sequeira
I inadvertently sent the mail only to Joe, so I'm posting it to the list. My apologies for the inconvenience. -- Paulo --- Begin Message --- Joe Buehler wrote: Igor Pechtchanski wrote: I think the OP is asking whether you plan to move 21.3.50-2 out of [test] and into [curr]. Unless what your ac

Re: ssh-add hangers -- please try the latest snapshot

2005-03-10 Thread Andrew Schulman
> On Thu, Mar 10, 2005 at 08:24:25AM -0500, Chuck wrote: > >Christopher Faylor wrote: > >>Corinna identified a couple of problems and checked in some fixes which > >>may solve the problem with ssh-add hanging. > >> > >>Please try the latest snapshot and report success for failure here. > >> > >>htt

still alive...

2005-03-10 Thread David Dindorp
Seems harmless, just thought I'd ask. What does this error mean? --- agent.sh: line 1: add_process: pid 592 (rm -f "$tmpfile0" >&/dev/null) is still alive --- (Snapshot 20050309 installed couple of minutes ago.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

ssh-add hangers -- please try the latest snapshot

2005-03-10 Thread Karl M
Hi All... With the latest snapshot, I can not see the problem now. It also seemd to take a long time sometimes with the previous snapshot (March 4) in ssh-add. That also seems better now. But I really don't have enough data to say much here...it just seems better. Thanks, ...Karl -- Unsubscribe

Possible bug in gas/ld when using .linkonce

2005-03-10 Thread Pavel Tsekov
Hello, I found this one while playing with Cygwin's code which takes care of seamless loading of dll functions (autoload.cc). It seems that when a symbol in a section marked .linkonce is referenced, wrong relocation info is generated for that symbol. For example if you have several symbols - symb

Re: /etc/profile.d/lilypond-profile.sh and basename

2005-03-10 Thread Christopher Faylor
On Thu, Mar 10, 2005 at 09:11:15AM -0500, Wheeler, Frederick W (Research) wrote: >In Cygwin, when I ssh to my machine, I get the following error from basename > >% ssh d1 >Last login: Thu Mar 10 08:54:40 2005 from caleb.crd.ge.com >basename: invalid option -- b >Try `basename --help' for more infor

Re: coreutils-5.3.0-3

2005-03-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [Moving to cygwin list, where this belongs] According to Thomas Wolff on 3/9/2005 2:53 PM: > I have rechecked some inconsistencies with the magic ".exe" suffix > handling (see http://sourceware.org/bugzilla/show_bug.cgi?id=581) > with coreutils 5.3.

Re: Emacs 21.3.50

2005-03-10 Thread Joe Buehler
Igor Pechtchanski wrote: I think the OP is asking whether you plan to move 21.3.50-2 out of [test] and into [curr]. Unless what your actually said meant that 21.2 is the latest official version of GNU Emacs, and once 21.3.50 is released, you'll make that the [curr] version? 21.3.50 is a developmen

Re: ssh-add hangers -- please try the latest snapshot

2005-03-10 Thread Christopher Faylor
On Thu, Mar 10, 2005 at 08:24:25AM -0500, Chuck wrote: >Christopher Faylor wrote: >>Corinna identified a couple of problems and checked in some fixes which >>may solve the problem with ssh-add hanging. >> >>Please try the latest snapshot and report success for failure here. >> >>http://cygwin.com/s

Re: ssh-add hangers -- please try the latest snapshot

2005-03-10 Thread Chuck
Christopher Faylor wrote: > Corinna identified a couple of problems and checked in some fixes > which may solve the problem with ssh-add hanging. > > Please try the latest snapshot and report success for failure here. > > http://cygwin.com/snapshots/ > > cgf > Seems to have fixed the problem.

Typo in how-to-debug-cygwin.txt

2005-03-10 Thread Pavel Tsekov
Hello, The following text is wrong: set CYGWIN_DEBUG=cat.exe=gdb.exe and should look like this: set CYGWIN_DEBUG=cat.exe:gdb.exe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/do

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.13-1

2005-03-10 Thread Dr. Volker Zell
> Christopher Faylor writes: > I've made a new version of the Cygwin DLL and associated utilities > available for download. As usual, a list of what has changed is below. The following files cygwin-1.5.13-1.tar\usr\share\info\libc.info libm.info a

Re: 1.0-1 ping problem

2005-03-10 Thread Corinna Vinschen
On Mar 7 15:13, Paul G Cantalupo wrote: > Hello, > > When I run ping as the administrator on my Win2K box, it works fine but as > a regular user, I get the following. > > ping: socket: operation not permitted I just had a look into the sources. Cygwin's ping is using raw sockets. This only wor