Re: Many Cygwin (mintty) windows - How to close all?

2009-10-09 Thread Arun Biyani
Chris Sutcliffe wrote: Is there some sort of Cygwin command that - 1. Closes all Mintty windows 2. Unloads services - such as cron 3. Exits X server in short, gets rid of all Cygwin processes so I can update restart without having to do all this myself. I use the attached script (run it

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Dave Korn Sent: Thursday, March 05, 2009 9:48 PM To: cygwin@cygwin.com Subject: Re: How can I assign a hotkey to run a cygwin/bash script? Hongyi Zhao wrote: Hi all, I've written

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
Arun Biyani wrote: It appears that Windows XP shortcuts have a limitation. The shortcut must be to a target on the desktop (or to a target in a folder on desktop). Surely you can't mean what you've written there exactly how you've worded it: I thought shortcuts can point

RE: How can I assign a hotkey to run a cygwin/bash script?

2009-03-06 Thread Arun Biyani
http://directedge.us/content/winhotkey When I execute minty using winhotkey, I get bash: [: too many arguments This is BASH 3.2 - DISPLAY on tty1 Mar 5 07:27:0.0 Fri Mar 6 12:51:45 PST 2009 [Home$:500] This does not happen when I execute mintty directly (or via

date generates a \r

2009-02-03 Thread Arun Biyani
[log$:513] name=$(date +tiny-%b-%d-%g) [log$:514] bakup=$name.tz The assignments above result in bakup being /c/home/bak/tiny-Feb-02-g\r.tz. I'd like to understand why this happens when the script is being run from cron (but not when I run it in a bash shell). Is the fix is to put /usr/bin/date

RE: Re: date generates a \r

2009-02-03 Thread Arun Biyani
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Eric Blake Sent: Tuesday, February 03, 2009 11:16 AM To: cygwin@cygwin.com Subject: Re: date generates a \r Arun Biyani abiyani at dickey-john.com writes: [log$:513] name=$(date +tiny-%b-%d

RE: Re: date generates a \r

2009-02-03 Thread Arun Biyani
No, the fix is to quit using linefeeds in your script files unless you are willing to teach bash to ignore those line feeds. d2u is your friend. I ran dos2unix on that script. Its not the script. I use emacs as editor. crontab -e invokes emacs. Maybe the crontab file has something in it.

RE: Re: date generates a \r

2009-02-03 Thread Arun Biyani
No, the fix is to quit using linefeeds in your script files unless you are willing to teach bash to ignore those line feeds. d2u is your friend. Attached are the relevant files. I don't see where the problem is. cygcheck.log Description: cygcheck.log crontab.log Description: crontab.log

RE: date generates a \r

2009-02-03 Thread Arun Biyani
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Dave Korn Sent: Tuesday, February 03, 2009 12:40 PM To: cygwin@cygwin.com Subject: Re: date generates a \r Well this stuff don't look good: Missing file: /usr/bin/mktemp.exe from

RE: MinTTY

2008-12-30 Thread Arun Biyani
Very Good. On the options dialog box, an apply button would be a good Addition. Arun -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Bash problem - v3.1.17(8) - syntax error

2006-09-26 Thread Arun Biyani
I just upgraded to the current bash. Now I am getting an error. I reinstalled, rebooted the machine. Still get the same error. The variable $HOME is set correctly. bash: /c/home/abiyani/.bash_login: line 7: syntax error: unexpected end of file [EMAIL PROTECTED] ~ $ bash --version GNU

[Fwd: Re: Bash problem - v3.1.17(8) - syntax error]

2006-09-26 Thread Arun Biyani
Original Message Subject:Re: Bash problem - v3.1.17(8) - syntax error Date: Tue, 26 Sep 2006 12:17:34 -0700 From: Arun Biyani [EMAIL PROTECTED] To: Dave Korn [EMAIL PROTECTED] References: [EMAIL PROTECTED] Dave Korn wrote: On 26 September 2006 20:11

Re: [Fwd: Re: Bash problem - v3.1.17(8) - syntax error]

2006-09-26 Thread Arun Biyani
Igor Peshansky wrote: Is there any particular reason you post the output of od on .bashrc when the error was reported in .bash_login? BTW, for the future, you might want to run od -c instead -- its output is a bit more readable. Igor Igor Dave, Thx. It is a CR/LF problem. I had

Re: Mount does not show Samba files

2006-09-14 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: Larry Hall (Cygwin) wrote: See your cygcheck output: I have a crontab task which generates a cygcheck.log file every night. I've just realized that the cygcheck output of the cron task is quite different from when I run cygcheck as a user. I

Re: Mount does not show Samba files

2006-09-13 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: mwoehlke wrote: Arun Biyani wrote: [download$:575] ls //goddard/y ls: //goddard/y: No such file or directory [download$:576] ls //goddard/abiyani ls: //goddard/abiyani: No such file or directory [download$:577] Larry Hall (Cygwin) wrote: what

Re: Mount does not show Samba files

2006-09-13 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: Larry Hall (Cygwin) wrote: Arun Biyani wrote: mwoehlke wrote: Arun Biyani wrote: [download$:575] ls //goddard/y ls: //goddard/y: No such file or directory [download$:576] ls //goddard/abiyani ls: //goddard/abiyani: No such file or directory

Re: Mount does not show Samba files

2006-09-12 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: I am having some problems accessing files on a Linux server in Cygwin. The files are exported via Samba. I can see the whole directory using my computer, which shows a Y: directory on machine Goddard. However, ls /y prints no such file. What am I

Re: Mount does not show Samba files

2006-09-12 Thread Arun Biyani
mwoehlke wrote: Arun Biyani wrote: [download$:575] ls //goddard/y ls: //goddard/y: No such file or directory [download$:576] ls //goddard/abiyani ls: //goddard/abiyani: No such file or directory [download$:577] Larry Hall (Cygwin) wrote: what does 'ls /cygdrive/y' say? You didn't answer

Re: Cannot execute binary file

2006-09-07 Thread Arun Biyani
Thx, very much. There are 2 files there exactly as you state. Arun Christopher Faylor wrote: On Thu, Sep 07, 2006 at 07:19:39PM +0100, Dave Korn wrote: On 07 September 2006 19:08, Arun Biyani wrote: Recently, I've run into this cannot execute binary file problem. I have not run

Re: Updatedb does not finish

2006-07-13 Thread Arun Biyani
This morning there were no find jobs running. It appears that adding /proc to prunepaths did work. /usr/bin/updatedb --localpaths=/ /c --prunepaths=/a/proc Arun Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Arun Biyani on 7/10/2006 5:23 PM: I have

Re: Updatedb does not finish

2006-07-12 Thread Arun Biyani
I am running it now with the command line - /usr/bin/updatedb --localpaths=/ /c --prunepaths=/a/proc Arun Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Arun Biyani on 7/10/2006 5:23 PM: I have been running updatedb via a cron job for almost 6 months now

Updatedb does not finish

2006-07-10 Thread Arun Biyani
I have been running updatedb via a cron job for almost 6 months now. It is started at 11PM is usually done in an hour. Recently, I have been noticing that there is a find job still running when I get in, in the morning. My crontab has - # run updatedb daily 5 22 * * * /usr/bin/updatedb

Re: Current snapshot - problem with httpd

2006-05-12 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: httpd server crashes with current snapshot. Runs fine with Jan 20 cygwin1.dll. Both cygcheck outputs are attached. Any chance you could narrow down a little more the working and non-working snapshots? Are you saying that httpd crashes as soon

Re: Current snapshot - problem with httpd

2006-05-12 Thread Arun Biyani
Larry Hall (Cygwin) wrote: Arun Biyani wrote: httpd server crashes with current snapshot. Runs fine with Jan 20 cygwin1.dll. Both cygcheck outputs are attached. Any chance you could narrow down a little more the working and non-working snapshots? Are you saying that httpd crashes as soon

Cron does not start - Hangs Starting

2005-11-14 Thread Arun Biyani
Hello, I am trying to get cron to work reliably on my pc (runs Windows XP). When I type cygrunsrv -S cron I get an error message that the service did not respond in a timely fashion. Looking under services from Control Panel, cron status is listed as Starting. I cannot stop it by using

Re: Cron does not start - Hangs Starting

2005-11-14 Thread Arun Biyani
Igor Pechtchanski wrote: On Mon, 14 Nov 2005, Arun Biyani wrote: Hello, I am trying to get cron to work reliably on my pc (runs Windows XP). When I type cygrunsrv -S cron I get an error message that the service did not respond in a timely fashion. Looking under services from Control