Re: Please upload: ncdu 1.3-1

2007-11-13 Thread Corinna Vinschen
On Nov 12 22:13, Christian Franke wrote:
 Please upload:

 http://franke.dvrdns.org/cygwin/release/ncdu/ncdu-1.3-1.tar.bz2
 http://franke.dvrdns.org/cygwin/release/ncdu/ncdu-1.3-1-src.tar.bz2

Done.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


[RFU] unison

2007-11-13 Thread Schulman . Andrew

I've updated the unison2.13, unison2.17, and unison2.27 packages.
unison2.27 has a new upstream release, and I now use alternatives(8) to
manage the common /usr/bin/unison symlink.  Please note that the
setup.hints have all changed, since all of the packages now depend on
alternatives.

Please upload.  Thanks, Andrew.

# unison2.13
wget \
  http://home.comcast.net/~aschulman2/cygwin/unison2.13/setup.hint \

http://home.comcast.net/~aschulman2/cygwin/unison2.13/unison2.13-2.13.16-3.tar.bz2
 \

http://home.comcast.net/~aschulman2/cygwin/unison2.13/unison2.13-2.13.16-3-src.tar.bz2

# unison2.17
wget \
  http://home.comcast.net/~aschulman2/cygwin/unison2.17/setup.hint \

http://home.comcast.net/~aschulman2/cygwin/unison2.17/unison2.17-2.17.1-3.tar.bz2
 \

http://home.comcast.net/~aschulman2/cygwin/unison2.17/unison2.17-2.17.1-3-src.tar.bz2

# unison2.27
wget \
  http://home.comcast.net/~aschulman2/cygwin/unison2.27/setup.hint \

http://home.comcast.net/~aschulman2/cygwin/unison2.27/unison2.27-2.27.48-1.tar.bz2
 \

http://home.comcast.net/~aschulman2/cygwin/unison2.27/unison2.27-2.27.48-1-src.tar.bz2



[RFU] lftp 3.6.1-1

2007-11-13 Thread Schulman . Andrew

I've updated the lftp package.  This is a new upstream release, with
several bug fixes.

Please upload.  Thanks, Andrew.

wget \
  http://home.comcast.net/~aschulman2/cygwin/lftp/lftp-3.6.1-1.tar.bz2 \

http://home.comcast.net/~aschulman2/cygwin/lftp/lftp-3.6.1-1-src.tar.bz2



From James Adamati

2007-11-13 Thread James Adamati


Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-

 

Respectfully,

James Adamati





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: syslog-ng-config errors

2007-11-13 Thread Tony Benham
Corinna Vinschen corinna-cygwin at cygwin.com writes:

 
 On Nov 12 18:22, Tony Benham wrote:
  I've decided to run syslog-ng on my cygwin installation. I updated to latest
  version 2.0.5.1. When I run syslog-ng-config I get four errors 
  setfacl : illegal acl entries
  
  Is this to be expected ?
 
 All four setfacl calls try to add the SYSTEM user to file/directory ACLs.
 If that doesn't work, the SYSTEM user doesn't exist in your /etc/passwd
 file, apparently.  If so, your /etc/passwd is broken.  You should fix it
 by rerunning mkpasswd.

I ran mkpasswd -d domain  /etc/passwd to recreate passwd. But the problem
remains. I cannot see the SYSTEM user in the file. Is there a switch for
mkpasswd I need to use ? This machine is also a W2003 DC will that make a
difference ?

 
 Corinna
 
I will look at your other suggestions when I can resolve the first problem.
Thanks
Tony




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: syslog-ng-config errors

2007-11-13 Thread Dave Korn
On 13 November 2007 10:25, Tony Benham wrote:


 I ran mkpasswd -d domain  /etc/passwd to recreate passwd. But the problem
 remains. I cannot see the SYSTEM user in the file. Is there a switch for
 mkpasswd I need to use ? 

  Try -l *as well*.  Then no need to append:

mkpasswd -l -d  /etc/passwd


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: syslog-ng-config errors

2007-11-13 Thread Tony Benham
Dave Korn dave.korn at artimi.com writes:

 
 On 13 November 2007 10:25, Tony Benham wrote:
 
  I ran mkpasswd -d domain  /etc/passwd to recreate passwd. But the problem
  remains. I cannot see the SYSTEM user in the file. Is there a switch for
  mkpasswd I need to use ? 
 
   Try -l *as well*.  Then no need to append:
 
 mkpasswd -l -d  /etc/passwd
 
 cheers,
   DaveK

Thanks Dave and Corinna. In the end I just reran the postinstall script
passwd-grp.sh.done as Corinna suggested, and this fixes the problems. I guess it
probably fixes other stuff I haven't found yet as well !



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Latest cygwin and rsync

2007-11-13 Thread BB
Hello All,

Have downloaded the latest version of cygwin.  Also the latest version of rsync.


Option for rsync --remove-source-files does not work.

Complains --remove-source-files unknown

rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .

I need to be able to remove files from the source target after files
are transfered.  Files are being transfered from a unix box to a
windows workstation.

Anybody have ideas?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Robert Pendell

Morgan Gangwere wrote:

/!\ WOOGA WOOGA /!\
 Possible Stupid human Error!
/!\ OOOPS OOOPS /!\

if the copy of xp is new enough, its got a funky little tool called
the Windows Malware Detection And removal Tool (a freind of mine who
is an MS MVP has had the same problem as you just under a different
circumstance.)

I took an sp1 machine, created some text files that i wanted to search
for and got no problems on an athlon machine (2.4Ghz)
I then upgraded to sp2 -- same machine, same 200gb sata hdd and everything

no problems

then i let it run its updates

BAM

trace shows:

its the windows malware detector (aka windows defender or whatever you
want to call it.)

also, avg can do this too

try moving 200 files with mv -r /tmp/std-output/* /logs/$$/, each
about 30kb each



One other thing I wanted to add to this was make sure the drives are not 
overheating.  Some drives will actually shut down or begin to act 
erratically if they get too hot.  I discovered this when doing work with 
my external drive (notebook ide using usb adapter).


P.S. - The reason for this issue was because I had the drive near an 
exhaust vent for my laptop -- mistake :(  It is normally fast enough to 
handle high speed burns or file transfers as necessary.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Starting Excel from crontab

2007-11-13 Thread cygwin . 20 . maillinglist
+cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin.c
[EMAIL PROTECTED] wrote: 
 [EMAIL PROTECTED] wrote:
 Hi folks,
 
 I like to use only one scheduler under window. And I like to use
 crontab for that. The problem is that if I start excel from the
 crontab no window of excel is shown. Excel is running. I can see it
 in the process list. The process is running under my name.
 
 
 Did you enable the cron service to interact with the desktop?

No I didn't. Now it works fine.

Thank you very much.

 
 A: Yes.
   Q: Are you sure?
   A: Because it reverses the logical flow of conversation.
   Q: Why is top posting annoying in email?

I hope that I could use the this part of your signature for my
signature? If not please post to the list.

Franz

IMPORTANT
I will read replies only from the mailing list. 
If you send me email directly it will be deleted.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Asynchronous i/o

2007-11-13 Thread mike_cygwin
New here, but I did review archives for info regarding AIO and aio.h.  Not sure 
I am getting the full story.  Will Cygwin ever support this?  (have an aio.h 
header)?
 
Are there work arounds, patches, packages that can help?
 
I found asio, but not sure that does anything (no aio_xxx functions, etc).
 
Mike 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Latest cygwin and rsync

2007-11-13 Thread Thorsten Kampe
* BB (Tue, 13 Nov 2007 08:49:30 -0600)
 Have downloaded the latest version of cygwin.  Also the latest version of 
 rsync.
 
 Option for rsync --remove-source-files does not work.
 
 Complains --remove-source-files unknown
 
 rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .
 
 I need to be able to remove files from the source target after files
 are transfered.  Files are being transfered from a unix box to a
 windows workstation.

Works for me:
% rsync -n --remove-source-files .
building file list ...
[...]
sent 13829 bytes  received 20 bytes  3077.56 bytes/sec
total size is 52259964  speedup is 3773.56
% rsync --version
rsync  version 2.6.9  protocol version 29
[...]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Starting Excel from crontab

2007-11-13 Thread Larry Hall (Cygwin)

[EMAIL PROTECTED] wrote:

+cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin.c
[EMAIL PROTECTED] wrote: 

[EMAIL PROTECTED] wrote:

Hi folks,

I like to use only one scheduler under window. And I like to use
crontab for that. The problem is that if I start excel from the
crontab no window of excel is shown. Excel is running. I can see it
in the process list. The process is running under my name.


Did you enable the cron service to interact with the desktop?


No I didn't. Now it works fine.

Thank you very much.


You're welcome.


A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?


I hope that I could use the this part of your signature for my
signature? If not please post to the list.


Fine by me.  I actually scoffed it from someone else so I can't
claim any ownership of it. :-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Thomas Baker
On Mon, Nov 12, 2007 at 04:03:14AM -0600, René Berber wrote:
 [snip]
  However, the other problem (see below) has occurred --
  sporadically -- on three different machines, all running
  German or English-language versions of XP, two with SATA
  disks and one with an ATA disk, all with freshly downloaded
  installations of cygwin.[snip]
 
 OK, that's interesting, 3 machines one using non SATA disk.  Same
 irregular pattern of 10 to 20 runs without problem?

I haven't run it enough to see clear patterns, but yes,
the error occurs in an irregular manner.  Since then I have
tested this on a fourth machine -- my old machine, with newly
installed XP and freshly downloaded Cywin but a slower hard
disk -- and I get the same irregular errors there too!

 No.  The actual storage of data is done by the operating system, not by
 Cygwin, the operating system provides the data even if it hasn't been
 stored on disk (it could still be in a memory buffer).

Okay, thank you for the explanation.

 The speed is not the problem, it could be the usual suspect: an
 anti-virus, unlikely because the data written is not executable but it
 could be adding an extraneous delay between data written and data read.

I'll ask the guy who installed the operating systems whether this
looks possible.

 The only solid evidence is the error message from Windows, and it says
 device, that means that the hard disk is having problems (it could be
 the driver) but not your script or any program.  Did you do anything
 special to the hard disks on all 3 machines? something like run an
 optimizer or tune parameters?

I'll find out.

 The other problem could be related to the first, if the disk is
 failing then creating/moving a file will fail, I'm not sure if
 permission denied will be the error message but I could test that
 later (I can make my SATA disk fail using a program that allows the
 async unbuffered I/O).

The /bin/pdksh script sequence that is causing problems is:

   1. gawk '$1 !~ /blahblah/' huh2 |/tmp/shf2080.tmp
  (no error messages)

   2. mv /tmp/shf2080.tmp huh2
  mv: cannot create regular file `huh2': Permission denied

   3. (some other commands in a looping construct)

   4. gawk '$1 !~ /blahblah/' huh2 |/tmp/shf2080.tmp
  gawk: cmd. line:1: fatal: cannot open file `huh2' for reading (No such 
file or directory)

Sometimes the sequence runs correct.  Sometimes it results in a
file huh2 with length 0.  But the sequence has _sometimes_
resulted in the creation of files such as:

   - 2007-10-28  20:31   4010  german

which _appear_ to have a length of 4010, but where od german
shows:

000 00 00 00 00 00 00 00 00
*
0007640 00 00 00 00 00
0007652

I'll get answers to the questions above...

Tom Baker

-- 
Tom Baker - [EMAIL PROTECTED] - [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Thomas Baker
On Mon, Nov 12, 2007 at 09:38:03PM -0500, Morgan Gangwere wrote:
 if the copy of xp is new enough, its got a funky little tool called
 the Windows Malware Detection And removal Tool (a freind of mine who
 is an MS MVP has had the same problem as you just under a different
 circumstance.)

I'll find out - thanks.

Tom Baker

-- 
Tom Baker - [EMAIL PROTECTED] - [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Thomas Baker
On Tue, Nov 13, 2007 at 09:58:31AM -0500, Robert Pendell wrote:
 One other thing I wanted to add to this was make sure the drives are not 
 overheating.  Some drives will actually shut down or begin to act 
 erratically if they get too hot.  I discovered this when doing work with 
 my external drive (notebook ide using usb adapter).
 
 P.S. - The reason for this issue was because I had the drive near an 
 exhaust vent for my laptop -- mistake :(  It is normally fast enough to 
 handle high speed burns or file transfers as necessary.

Thank you for the suggestion, but little script does its
work in 30 seconds or so, so the problem is occurring when
the computer has been moving a few little files around for
just a few minutes at most.

Tom Baker

-- 
Tom Baker - [EMAIL PROTECTED] - [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Asynchronous i/o

2007-11-13 Thread Corinna Vinschen
On Nov 13 16:25, [EMAIL PROTECTED] wrote:
 New here, but I did review archives for info regarding AIO and aio.h.  Not 
 sure I am getting the full story.  Will Cygwin ever support this?  (have an 
 aio.h header)?
  
 Are there work arounds, patches, packages that can help?
  
 I found asio, but not sure that does anything (no aio_xxx functions, etc).

AIO is not on anybodies agenda AFAIK.  It's certainly not on mine.  If
you want to help out, see http://cygwin.com/contrib.html


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Asynchronous i/o

2007-11-13 Thread mike_cygwin
Thanks for replying... I saw your earlier posts about the subject.  Before I 
say yes, might you tell me what limitations there are in Cygwin that would make 
this terribly difficult?

Also, what do folks do with code that requires the header?  Just rewrite their 
code?

Mike
 -- Original message --
From: Corinna Vinschen [EMAIL PROTECTED]
 On Nov 13 16:25, [EMAIL PROTECTED] wrote:
  New here, but I did review archives for info regarding AIO and aio.h.  Not 
 sure I am getting the full story.  Will Cygwin ever support this?  (have an 
 aio.h header)?
   
  Are there work arounds, patches, packages that can help?
   
  I found asio, but not sure that does anything (no aio_xxx functions, etc).
 
 AIO is not on anybodies agenda AFAIK.  It's certainly not on mine.  If
 you want to help out, see http://cygwin.com/contrib.html
 
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send mails regarding Cygwin to
 Cygwin Project Co-Leader  cygwin AT cygwin DOT com
 Red Hat
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Latest cygwin and rsync

2007-11-13 Thread BB
This shows you using a dry run option.

You are not using a source machine:/dir/file target machine:dir

What happens when you actually transfer files and use the
--remove-source-files option?

On Nov 13, 2007 10:41 AM, Thorsten Kampe [EMAIL PROTECTED] wrote:
 * BB (Tue, 13 Nov 2007 08:49:30 -0600)

  Have downloaded the latest version of cygwin.  Also the latest version of 
  rsync.
 
  Option for rsync --remove-source-files does not work.
 
  Complains --remove-source-files unknown
 
  rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .
 
  I need to be able to remove files from the source target after files
  are transfered.  Files are being transfered from a unix box to a
  windows workstation.

 Works for me:
 % rsync -n --remove-source-files .
 building file list ...
 [...]
 sent 13829 bytes  received 20 bytes  3077.56 bytes/sec
 total size is 52259964  speedup is 3773.56
 % rsync --version
 rsync  version 2.6.9  protocol version 29
 [...]


 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Why do file permissions change after editing a file with vim?

2007-11-13 Thread Larry Hall (Cygwin)

Ross Jordan wrote:

When I modify files with cygwin's vim, they become inaccessible. It seems the
permissions are getting changed when I save the file. Any idea why this is
happening? This does not happen from a bash shell, only when I directly
launch vim from a windows cmd.exe window. See below.


The same steps on XP don't show the same problem.  Can't test Vista here.

Does setting 'nontsec' in your CYGWIN environment variable (and stopping all
Cygwin processes)?

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: ncdu-1.3-1

2007-11-13 Thread Christian Franke

Version 1.3-1 of ncdu has been uploaded.

http://dev.yorhel.nl/ncdu/

ncdu is a ncurses-based disk usage viewer. It provides a fast and
easy-to-use interface through 'du' utility. It allows to browse through
the directories and show percentages of disk usage.

Cygwin NEWS:
   - Fixed apparent size display, use S_BLKSIZE instead of 512.
   - Ignore file names with '/' to avoid crash when browsing
 /proc/registry

Upstream NEWS:
   - Added 'r'-key to refresh the current directory
   - Removed option to calculate apparent size: both
 the disk usage and the apparent size are calculated.
   - Added 'a'-key to switch between showing apparent
 size and disk usage.
   - Added 'i'-key to display information about the
 selected item.
   - Added du-like exclude patterns
   - Fixed bug #1758403: large directories work fine now
   - Rewrote a large part of the code
   - Fixed a bug with wide characters
   - Performance improvements when browsing large dirs

Christian Franke

--

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.  Then, run setup and keep clicking Next.

If you have questions or comments, please send them to the Cygwin
mailing list.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then 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:

[EMAIL PROTECTED]

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.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Launching java process trouble

2007-11-13 Thread Jeannot Lelapin

Hello,

under WinXP Pro, i do the following :
- from cygwin ( environment whicj simulate unix environment ), a bash
script which launch,
- an Win32 executable ( http://www.autoitscript.com/ autoit script
compiled ) which launch,
- a java process.

This works fine when i launch tue bash script manually. If i launch the
bash script from cron ( cygwin unix planner ), the process java does not
start.

With http://www.gibinsoft.net/gipoutils/scheduler/ ( great win32 planner
), which launch the autoit script complied into win32 executable which
launch the process java, that's ok, the java process start.

Why does not java process start from cygwin cron planner ? what's the
problem ? What does it lack from the environment ?

Thank's a lot for ideas and advices.


Jeannot Lelapin




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Launching java process trouble

2007-11-13 Thread Larry Hall (Cygwin)

Jeannot Lelapin wrote:

Hello,

under WinXP Pro, i do the following :
- from cygwin ( environment whicj simulate unix environment ), a bash
script which launch,
- an Win32 executable ( http://www.autoitscript.com/ autoit script
compiled ) which launch,
- a java process.

This works fine when i launch tue bash script manually. If i launch the
bash script from cron ( cygwin unix planner ), the process java does not
start.

With http://www.gibinsoft.net/gipoutils/scheduler/ ( great win32 planner
), which launch the autoit script complied into win32 executable which
launch the process java, that's ok, the java process start.

Why does not java process start from cygwin cron planner ? what's the
problem ? What does it lack from the environment ?

Thank's a lot for ideas and advices.



First, cron does not provide you with the exact same set of environment
variables that you get when you're in an interactive shell.  See the man
pages for 'cron' and 'crontab' for more details.  This is not a 
Cygwin-specific issue and as such is off-topic for this list.


Second, in Cygwin, cron is run as a service by (typically) the SYSTEM
account.  If your program requires interaction with the Windows desktop to
work, you have to enable this setting on the service.  It's probably easiest
to do from Administrative Tools in the Control Panel.  Go to Services
and find the cron service.  Double click on it and choose the Log On
tab.  Check the Allow service to interact with desktop.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Latest cygwin and rsync

2007-11-13 Thread Thorsten Kampe
* BB (Tue, 13 Nov 2007 12:08:29 -0600)
 This shows you using a dry run option.
 
 You are not using a source machine:/dir/file target machine:dir

So what? You said Complains --remove-source-files unknown. My rsync 
does not complain. That means my rsync is not your rsync and you have 
http://cygwin.com/problems.html , n'est-ce pas?!
 
 On Nov 13, 2007 10:41 AM, Thorsten Kampe [EMAIL PROTECTED] wrote:
  * BB (Tue, 13 Nov 2007 08:49:30 -0600)

Don't be evil. Don't top-post...


Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Latest cygwin and rsync

2007-11-13 Thread David Rothenberger

On 11/13/2007 6:49 AM, BB wrote:

Option for rsync --remove-source-files does not work.

Complains --remove-source-files unknown

rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .

Anybody have ideas?


The version of rsync on Cygwin understands --remove-source-files, but 
the version on the remote system does not. Both copies of rsync need to 
be recent enough to include the switch.


--
David Rothenberger    [EMAIL PROTECTED]

Time is an illusion.  Lunchtime doubly so.
-- Ford Prefect, _Hitchhiker's Guide to the Galaxy_


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Latest cygwin and rsync

2007-11-13 Thread BB
On Nov 13, 2007 6:16 PM, David Rothenberger [EMAIL PROTECTED] wrote:
 On 11/13/2007 6:49 AM, BB wrote:
  Option for rsync --remove-source-files does not work.
 
  Complains --remove-source-files unknown
 
  rsync -avz --remove-source-files [EMAIL PROTECTED]:/tmp/foo .
 
  Anybody have ideas?

 The version of rsync on Cygwin understands --remove-source-files, but
 the version on the remote system does not. Both copies of rsync need to
 be recent enough to include the switch.

 --
 David Rothenberger    [EMAIL PROTECTED]

 Time is an illusion.  Lunchtime doubly so.
  -- Ford Prefect, _Hitchhiker's Guide to the Galaxy_


 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/



Thanks for your reply.  I just figured what was going on.  Was using
rsync to Mac osx.  The rsync version downloaded from fink does have
the option for --remove-source-files.  The native version of rsync
that comes with Mac osx (Darwin 8.10.0) does not.  The native version
is in the PATH.

The rsync script that I'm trying to configure will be connecting to a
BSD box, pulling down old mail archive files and then removing them
from the source systems.

All is good.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Why do file permissions change after editing a file with vim?

2007-11-13 Thread avadekar
I see this with an ARM cross compiler that had to be set to run with admin
privileges (or else Vista would prevent it from running).  All my generated
objects were owned by me, but has zero for the permission mask.

So it could be that, or perhaps more likely, that you installed cygwin under a
different uid.

On Tue, Nov 13, 2007 at 01:22:56PM -0500, Larry Hall (Cygwin) wrote:
 Ross Jordan wrote:
 When I modify files with cygwin's vim, they become inaccessible. It seems 
 the
 permissions are getting changed when I save the file. Any idea why this is
 happening? This does not happen from a bash shell, only when I directly
 launch vim from a windows cmd.exe window. See below.
 
 The same steps on XP don't show the same problem.  Can't test Vista here.
 
 Does setting 'nontsec' in your CYGWIN environment variable (and stopping all
 Cygwin processes)?
 
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
 
 -- 
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 893-9889 - FAX
 Holliston, MA 01746
 
 _
 
 A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Thomas Baker
On Tue, Nov 13, 2007 at 06:06:21PM +0100, Thomas Baker wrote:
  if the copy of xp is new enough, its got a funky little tool called
  the Windows Malware Detection And removal Tool (a freind of mine who
  is an MS MVP has had the same problem as you just under a different
  circumstance.)

I confirmed that there is no Malware tool on these machines,
so that cannot be the explanation.

Tom

-- 
Tom Baker - [EMAIL PROTECTED] - [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: cygwin compliation crash when uninstalling the old version of bash - 1 attachment

2007-11-13 Thread Peter Keller
   So, looks like setup wrote the header and then bombed writing the
   rest of 
 the file.  Interesting... do you remember setup crashing (in a
 different way) on the/a *previous* run before you first saw this
 problem? 
 
 cheers,
   DaveK

Nope.  I'm pretty sure it just crashed on the bash install.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reliable old script loses data on new Cygwin installation

2007-11-13 Thread Thomas Baker
On Tue, Nov 13, 2007 at 05:59:01PM +0100, Thomas Baker wrote:
  The speed is not the problem, it could be the usual suspect: an
  anti-virus, unlikely because the data written is not executable but it
  could be adding an extraneous delay between data written and data read.
 
 I'll ask the guy who installed the operating systems whether this
 looks possible.

These machines have an anti-virus program, but the same one I have 
been using for the past two or three years.  The filenames either have no 
extension, or .txt.

  The only solid evidence is the error message from Windows, and it says
  device, that means that the hard disk is having problems (it could be
  the driver) but not your script or any program.  Did you do anything
  special to the hard disks on all 3 machines? something like run an
  optimizer or tune parameters?
 
 I'll find out.

The guy who set up the machines did not fiddle with the hard
disk at all.  Two of the machines were brand-new.  On these,
he did not touch the hardware - only swapped the installed
German-language version of XP for my own version of XP
in English.  Then I installed Cygwin from the net.

I'm a bit at a loss as to what to do next.  I use this one 
script so extensively (50 times per day?) that I would sooner
move to a Linux or Macintosh system than continue on Windows
without Cygwin - my whole working style depends on it.

I work on a laptop with Cygwin and an up-to-date version of
XP, and thankfully the script continues to run fine there.
Having (seemingly) eliminated SATA/ATA, fast/slow, and
old-XP/up-to-date-XMP as possible explanations for the errors,
the only really obvious remaining difference between my laptop
(where the script works) and the four desktop computers
(where the script does not work reliably) is that the four
desktop computers have the latest version of Cygwin and the
laptop has a version that I have not updated in awhile (and
now I do not dare!).

I would be grateful if someone could suggest a way to test
this.  Would it make sense (and is it possible) to replace
the Cygwin kernel or the coreutils package (because of
mv) with earlier versions and see if the script works then?
The version of pdksh is the same between the laptop and the
desktops, so I assume this can be eliminated as the cause?
The script itself is not long, and the data sets are also
just a few pages long, so I could prepare a tar file with a
simple test installation if anyone would like to try it on
their machines.

Tom

-- 
Tom Baker - [EMAIL PROTECTED] - [EMAIL PROTECTED]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/