Getting started with bash

2008-04-07 Thread Michael Holm
Hi, I have read a lot of documents, but i really cant get this issue solved :( All i want is to be able to execute bash scripts from a windows desktop.. what i do now is.. a batch script: c:\cygwin\bin\bash c:\cygwin\example.sh this is my bash script. example.sh ls -l but i get the followin

Re: Getting started with bash

2008-04-07 Thread Joel M. Baldwin
--On Monday, April 07, 2008 10:25 AM +0200 Michael Holm <[EMAIL PROTECTED]> wrote: Hi, I have read a lot of documents, but i really cant get this issue solved :( All i want is to be able to execute bash scripts from a windows desktop.. what i do now is.. a batch script: c:\cygwin\bin\bash

Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?)

2008-04-07 Thread Corinna Vinschen
On Apr 6 21:52, James Abley wrote: > On 02/04/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > I just looked into this stuff again. Actually I had implemented reading > > reparse points so that directory junctions are recognized as symlinks. > > But it didn't work for these special junctio

A problem sending mail to this list

2008-04-07 Thread Angelo Graziosi
Every time I put as subject of an email Fwd: Packaging error?[Attn: libXft maintainer] or Packaging error?Attn: libXft maintainer or Packaging error?Attn: lib Xft maintainer or Packaging error? libxft maintainer or Packaging error? libxft or Packaging error? [Attn: xft maintainer] I

[ANNOUNCEMENT] Updated: {fftw3/fftw3-doc/libfftw3_3/libfftw3-devel}-3.1.2-2 : discrete Fourier transform (DFT) library

2008-04-07 Thread Marco Atzeri
Hi New versions of 'fftw3/fftw3-doc/libfftw3_3/libfftw3-devel' have been uploaded to a server near you. DESCRIPTION: FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, and of both real and complex d

Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?)

2008-04-07 Thread Corinna Vinschen
On Apr 7 11:54, James Abley wrote: > On 07/04/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > On Apr 6 21:52, James Abley wrote: > > > On 02/04/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I applied a patch which you'll find in the next snaphshot, which fixes >

Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008

2008-04-07 Thread Christoph Herdeg
Hello List, Brian, thank you for your 1st intervention. As I already wrote to the list on Friday one of our two problems (copying the skeleton files) has resolved meanwhile: it was caused by the Nullsoft-Installer creating /home and /home/Administrator. When I look at "/etc/profile" I can see this

Re: Snapshot cygwin-inst-20080327 regression in ls (permissions?)

2008-04-07 Thread James Abley
On 07/04/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Apr 6 21:52, James Abley wrote: > > On 02/04/2008, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > > > > > I applied a patch which you'll find in the next snaphshot, which fixes > > > both problems. > > > > > > > > > Corin

Packaging error? [Attn: ... maintainer]

2008-04-07 Thread Angelo Graziosi
Every time I cite libXft package on the subject of this mail I got a failur notice. What is wrong in citing a package? Perhaps there is a packaging bug. After installing libXft*-2.1.7, 'cygcheck' says that --- File type mismatch: /usr/include/

Re: Getting started with bash

2008-04-07 Thread Mark J. Reed
You hit the nail on the head with the environment vars question. Bash tries to do the minimum amount of work possible when invoked non-interactively, on the assumption - almost universally true in *NIX - that it is being invoked by a process (usually another shell) that has its environment all set

RE: Bodo

2008-04-07 Thread daniel
Hi--you've reached an old address that's been discontinued due to spam. I will NOT see your message. IF YOU WANT TO CONTACT ME, PLEASE go to http://www.will-harris.com/design.htm and click on "Just drop me a note." I want to hear from you and am doing this to ensure you don't get stuck in spam

RE: Getting started with bash

2008-04-07 Thread Buchbinder, Barry (NIH/NIAID) [E]
Mark J. Reed wrote on Monday, April 07, 2008 8:21 AM: > You hit the nail on the head with the environment vars question. > Bash tries to do the minimum amount of work possible when invoked > non-interactively, on the assumption - almost universally true in > *NIX - that it is being invoked by a p

Performance question

2008-04-07 Thread w1hkj
We are porting a real time data acquisition program for amateur radio digital signal processing. The program, fldigi, uses the Fast Light Tool Kit and and a number of support libraries including PortAudio and Sndfile. The source code for this program can be found at http://www.w1hkj.com. fld

Re: Attn: cygport maintainer [was: Re: Libtool 2.2.2]

2008-04-07 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles Wilson wrote: | That should be taken up with the libtool maintainers. However, it has | been their position, even in the libtool-1.4 and -1.5 days, that relying | on that behavior was not recommended. Therefore they do not support it | "di

Another packaging error? [Attn: Xaw3d maintainer]

2008-04-07 Thread Angelo Graziosi
Installing libXaw3d-devel causes the same problem described here [1] it installs in /usr/include/X11 but the package xorg-x11-devel need /usr/include/X11 be a link to ../X11R6/include/X11. How do we solve this contradiction? It looks to me that after installing libXft-devel and libXaw3d-devel

RE: Performance question/ amateur radio DSP

2008-04-07 Thread Mike Marchywka
As a former radio amateur with some DSP interest, > We would appreciate any assistance or suggestions on how to improve the > performance when linking to cygwin1.dll. I would suggest building with the profiler and finding some suspects. These can be non-obvious and easy to fix once identified.

Re: Performance question

2008-04-07 Thread Tim Prince
w1hkj wrote: We are porting a real time data acquisition program for amateur radio digital signal processing. The program, fldigi, uses the Fast Light Tool Kit and and a number of support libraries including PortAudio and Sndfile. The source code for this program can be found at http://www.w

Re: [ANNOUNCEMENT] Updated: csih-0.1.3-1

2008-04-07 Thread Corinna Vinschen
On Apr 3 10:55, Corinna Vinschen wrote: > On Apr 2 23:46, Charles Wilson wrote: > > Attached is an updated implementation of ssh-host-config that uses csih. It > > seems to work pretty well for the various tests I've put it through, > > although it REQUIRES csih-0.1.3. > > Wow, thanks for doin

Re: Another packaging error? [Attn: Xaw3d maintainer]

2008-04-07 Thread Dr. Volker Zell
> Angelo Graziosi writes: > Installing libXaw3d-devel causes the same problem described here [1] > it installs in /usr/include/X11 but the package xorg-x11-devel need > /usr/include/X11 be a link to ../X11R6/include/X11. > How do we solve this contradiction? In the long run t

Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008

2008-04-07 Thread Brian Dessent
Christoph Herdeg wrote: > manually executing /etc/profile works without any problem - but what can we > draw from this? I draw the conclusion that there is some environmental difference when NSIS launches cygwin.bat. > Adding the "set -x" produces the following output (also run > manually): > >

Re: Packaging error? [Attn: ... maintainer]

2008-04-07 Thread Brian Dessent
Angelo Graziosi wrote: > Every time I cite libXft package on the subject of this mail I got a > failur notice. Well, for one thing, you're sending it to the wrong mailing list. cygwin-apps is the place to discuss packaging. But this is also the wrong list to discuss anything X11 related and I s

Re: Performance question

2008-04-07 Thread Brian Dessent
w1hkj wrote: > There is is very significant difference in cpu usage between running the > application from the Cygwin X-terminal and running from the run command > (with the cygwin1.dll) from Windows. > > System X-term Windows-Run > HP Athalon 33% 100% > Dell 30003 %

mtime question

2008-04-07 Thread Manuel Gonzalez Montoya
Hi all, I'm writing a little program in C in order to detect when a file download is completed. The way i do that is checking when file's mtime stop changing. So far the code works ok on a real Linux installation, but I'm having problems on cygwin because mtime is changed only once at the end of

[ANNOUNCEMENT] Updated: {Xaw3d/libXaw3d7/libXaw3d-devel}-1.5D-6: A 3D version of the MIT Athena widget set for X

2008-04-07 Thread Dr. Volker Zell
Hi New versions of 'Xaw3d/libXaw3d7/libXaw3d-devel' have been uploaded to a server near you. DESCRIPTION: Xaw3d is an enhanced version of the MIT Athena widget set for the X Window System. Xaw3d adds a three-dimensional look to X11 applications with minimal or no source code change

Re: [ITA] xfig/xfig-lib: An interactive drawing tool

2008-04-07 Thread Angelo Graziosi
Dr. Volker Zell wrote: > I would like to adopt... This is a good news! But why still 3.2.4 version? A new release 3.2.5 with several bug fixes has been released [1]. In any case many thanks, Angelo. --- [1] http://cygwin.com/ml/cygwin-apps/2007-06/msg00087.html Facesti come quei che va

[ANNOUNCEMENT] Updated: gv-3.6.3-2: A PostScript and PDF viewer for X using 3d Athena Widgets

2008-04-07 Thread Dr. Volker Zell
Hi A new version of 'gv' has been uploaded to a server near you. DESCRIPTION: A PostScript and PDF viewer for X using 3d Athena Widgets Cygwin NEWS: o Accomodate latest ghostscript packaging UPDATE: === To update your installation, click on the "Install Cygwin

[ANNOUNCEMENT] Updated: multitail-5.2.1-1: View one or multiple files like tail but with multiple windows.

2008-04-07 Thread Dr. Volker Zell
Hi A new version of 'multitail' has been uploaded to a server near you. DESCRIPTION: MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). It can also monitor wildcards: if ano

Re: [ANNOUNCEMENT] Updated: csih-0.1.3-1

2008-04-07 Thread Charles Wilson
Corinna Vinschen wrote: On Apr 3 10:55, Corinna Vinschen wrote: On Apr 2 23:46, Charles Wilson wrote: Attached is an updated implementation of ssh-host-config that uses csih. It seems to work pretty well for the various tests I've put it through, although it REQUIRES csih-0.1.3. Wow, thanks

Attn: cygport, openssh, and exim/cron maintainers [Was: [ANNOUNCEMENT] Updated: csih-0.1.3-1]

2008-04-07 Thread Charles Wilson
I'm trying to be explicit about licensing in csih for the next release. I realize it's a little silly to use the GPL on a script (binary == source, right?), but it may be necessary because part of it is derived from cygport, which is GPLv3. csih (the script part) has been derived from a number

Re: mtime question

2008-04-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Manuel Gonzalez Montoya on 4/7/2008 2:51 PM: | Is the file's mtime supposed to change on every write to the file?. No - the file's mtime is only supposed to be scheduled for update on every write to a file, where the update period can be

A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Today was a revolutionary day. Ever since I started using cygwin years ago, I just assumed that defrag was doing whatever it does best, and that it was normal to have a whole whack of user application files un-defragged. This list of "fragged" files got enormous over the years, and almost all the

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Brian Dessent
Gmane User wrote: > The defragger I used was JkDefrag. And there was the explanation, right in > the > online documentation. The files to be defragged need to be accessible by > admin. > I never suspected that something as system-wide as defragging would be > dependent on a specific account.

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Brian Dessent wrote: > Gmane User wrote: >> The defragger I used was JkDefrag. And there was the explanation, >> right in the online documentation. The files to be defragged need >> to be accessible by admin. I never suspected that something as >> system-wide as defragging would be dependent on

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Brian Dessent
Gmane User wrote: > I'm defragging the whole disk, so I need the defragger to be able to > access all files from whatever account it runs under. I've never had any problem doing that without having to specifically loosen any ACLs. > About defragging as a service, http://support.microsoft.com/kb/

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Brian Dessent wrote: > Gmane User wrote: > >> I'm defragging the whole disk, so I need the defragger to be able >> to access all files from whatever account it runs under. > > I've never had any problem doing that without having to specifically > loosen any ACLs. Let's make sure we're comparing th

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Brian Dessent
Gmane User wrote: > Let's make sure we're comparing the same situation. I've used bash to > explicitly change permissions to go-rwx for most of my files. This is To be pedantic, you used chmod (or some other utility); bash is just a shell, it does not set permissions. > on a nonadmin account.

Re: [ANNOUNCEMENT] Updated: csih-0.1.3-1

2008-04-07 Thread Charles Wilson
Well, I'm waiting for answers to the questions here: http://cygwin.com/ml/cygwin/2008-04/msg00211.html from Corinna and Yaakov, but in the meantime: Here's a version of ssh-user-config that works with CVS csih (what will become 0.1.4 very soon). -- Chuck #!/bin/bash # # ssh-user-config, Co

Re: [ANNOUNCEMENT] Updated: csih-0.1.3-1

2008-04-07 Thread Charles Wilson
Corinna Vinschen wrote: Looks good to me. I will upload a new OpenSSH release in the next couple of days, but I guess I'll wait until you uploaded a new csih release. A couple of reminders: (1) add csih to requires: (2) the implementation of ssh-host-config I posted adds a dependency on diff

Re: Attn: cygport maintainer [was: Re: Libtool 2.2.2]

2008-04-07 Thread Charles Wilson
Yaakov (Cygwin Ports) wrote: Charles Wilson wrote: | That should be taken up with the libtool maintainers. However, it has [snip] If I need to add LT_OUTPUT already, then I might as well switch entirely to the LT_* macros. True. But that is NOT required. libtool-emit-time is simply a new (p

Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008

2008-04-07 Thread Christoph Herdeg
Hello Brian, I already tried that, but the installer wouldn't unpack the new file...I'll try to modify it again during today, but I've got to attend to some meetings so let's see when I will find the time to do so...I'll report back in any case...thanks so far, Chris