Suggestion: Add run-parts to Cygwin.

2021-06-29 Thread Joe Smith via Cygwin
/run-parts #!/bin/bash# Name: /usr/bin/run-partsModified by Joe Smith (joeinwap,gmail) # Purpose: Runs jobs sequentially at regular intervals (daily,weekly,monthly)# Concept taken from Debian, copied from RHEL-5, modified for Cygwin. # See end for "How to run cron jobs with elevated pri

Using /etc/cron.{daily, weekly, monthly} on Cygwin (/usr/bin/run-parts)

2021-06-09 Thread Joe Smith via Cygwin
Please add 'run-parts' to Cygwin. I have been using the attached program (copied from Debian) successfully with Vista, Windows-7, and Windows-10. mintty screen dump #!/bin/bash # Name: /usr/bin/run-parts Modified by Joe Smith (joeinwap,gmail) # Purpose: Runs jobs seque

The -X option to unzip-6.00 does not work.

2014-09-07 Thread Joe Smith
On Unix, support restoration of 32-bit UID/GID data using the new "ux" IZUNIX3 extra field introduced with Zip 3.0. The -X option does not work as advertised. Problem: Files extracted with unzip-6.00.12fc20 are owned by root:root even when -X is specified. Diagnosis: The code for -X dep

Re: BitDefender again

2009-08-28 Thread Joe Smith
"Michael Kairys" wrote in message news:h73co7$tt...@ger.gmane.org... Thanks for the replies... the suggestion to use a base address in the 0x3500 area (or indeed any of the others they mentioned) is going to horribly frag your heap and bork your maximum allocatable memory limit, isn't

Re: Question of the necessity of rebaseall

2009-05-26 Thread Joe Smith
"Larry Hall (Cygwin)" wrote: Andy Koppe wrote: Remember, the semantics of fork is that BOTH processes (the parent and child) must see the SAME memory, and that includes all shared libraries being mapped at the SAME location. But since Windows doesn't provide a native fork, the child must rema

Re: HEADS UP:Problem with svn under latest snapshot.

2007-08-08 Thread Joe Smith
"Thomas Berger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] It could be a matter of interference with TortoiseSVN. No. It could not. I don't have tortoiseSVN. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/proble

HEADS UP:Problem with svn under latest snapshot.

2007-08-07 Thread Joe Smith
Just in case you were not aware, Something has broken svn in the latest snapshot. (Actually at least the two most recent snapshots have this problem). Here is the error: "svn: Can't move '.svn/tmp/entries' to '.svn/entries': Permission denied" LS output: $ ls -al .svn total 2 drwxr-xr-x+ 6

Re: ntfs ObCaseInsensitive & cygwin?

2007-07-31 Thread Joe Smith
"Corinna Vinschen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jul 31 11:21, Morgan Read wrote: Hi Folks Lots of refs to the case sensitivity nightmare in archives, but couldn't find any to ntfs' obcaseinsensitive registry option (HKLM\SYSTEM\CurrentControlSet\Control\Sessi

Re: unlink()'s not quite POSIX behavior.

2007-07-31 Thread Joe Smith
"Joe Smith" wrote in message news:[EMAIL PROTECTED] Nevermind. I see that the relavent changes to NT_unlink are just very recent, and the only problem is that the latest cygwin dll does not incldue those changes yet. You can ignore the previous message. -- Unsubscribe info:

unlink()'s not quite POSIX behavior.

2007-07-31 Thread Joe Smith
It appears that currently unlink will not immedately remove a file (that has only one link) if a handle to the file is open, but will flag it for deletion once the file handle closes. This is causing a problem with Python 3000. POSIX says: When the file's link count becomes 0 and no process

Re: Eliminating -mno-cygwin from gcc.

2007-02-07 Thread Joe Smith
"Christopher Faylor" wrote in message news:[EMAIL PROTECTED] [snip] I guess this means that I need to generate a cross-binutils, too. Is a cross-binutils really needed? Which (if any) of the binutils act differently when targeted at MingW32 than when targeted at Cygwin? (I've never worked

Re: Missing Programs

2006-12-23 Thread Joe Smith
"Harold Fuchs" wrote in message news:[EMAIL PROTECTED] Larry Hall (Cygwin) wrote: [snip] A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? I'll treat myself for Christmas ;-) Thanks, Harold PS I disagree fundamental

Re: Which list should cygwin development be discussed on ?

2006-07-01 Thread Joe Smith
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Fri, Jun 30, 2006 at 01:48:14AM +0100, Darryl Miles wrote: Is my more technical discussion better put onto the cygwin-patches list ? No. The mailing list descriptions really are accurate. If you don't have

Re: 1.0:Question about Cygwin1.dll crashing with DEP/NX

2006-05-30 Thread Joe Smith
"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm afraid you are probably not going to find anybody on this list interested in even considering problems with these ancient versions. If you can reproduce the problem you experience with a current Cygwin snapshot the

Re: The $HOME variable; rxvt and .inputrc

2006-05-17 Thread Joe Smith
"George" wrote in message news:[EMAIL PROTECTED] 1. Does the admonition against setting $HOME as a Windows environmental variable still stand, or was that an old wives' tale? If $HOME is set it windows then it MUST be a windows path, or you can break other (non-cygwin) programs that respect $H

Re: "Last" or equiv for Windows login?

2006-05-04 Thread Joe Smith
"Bruce Dobrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Is there a flag for "last" or who or another program (cygwin or other) that shows me the current and/or previous Windows login user? (Rather than the "last" cygwin shell login). With a combination of cygwin tools

Re: ":" in filename

2006-03-24 Thread Joe Smith
"Joe Smith" wrote in message news:[EMAIL PROTECTED] "Brian Dessent" wrote in message Sorry! -^ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygw

Re: ":" in filename

2006-03-24 Thread Joe Smith
"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hiroki Sakagami wrote: What happens in the below commands? The ":" in filenames seems to be a problem. But I don't understand the rule. The colon is used by NTFS to signify alternate data streams. You can google

Re: gurl (call browser and it an URL)

2006-02-20 Thread Joe Smith
"Igor Peshansky" wrote: True, except cygstart won't do unconditional 'www*'->'http://www*' translation if a file with that name exists (e.g., try "touch www.cygwin.com && cygstart www.cygwin.com"). Igor Cmd's 'start' command is exactly the same in this respect. I'm betting that the 'run' apple

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Joe Smith wrote: It was for this very reason (command-line automated privilege manipulation) that editrights was written and placed in the 'base' Cygwin install so that *-config scrip

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
Reply to my own message: Actually Igor's suggestion of just testing the context switch is far better. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
"Eric Blake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Igor Peshansky on 1/5/2006 3:37 PM: Hi, 'su' used to be an executable that worked correctly from a SYSTEM-owned shell, but now it's a shell script that simply p

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
'su' used to be an executable that worked correctly from a SYSTEM-owned shell, but now it's a shell script that simply prints a "not supported" message. Is it possible to resurrect the old "su" executable (that perhaps prints the same message if run from a non-SYSTEM account)? I know. It has

Re: Utility to get IP address of the machine

2006-01-04 Thread Joe Smith
David said: Probably useless if you're behind any kind of NAT device. Unless you need the external ip address. Sometimes you need the internal address, but other times you need the external address. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Does "^G" work on Windows 9x/Me?

2006-01-04 Thread Joe Smith
So, maybe I will just cause the system to use MessageBox(MB_OK) aka MessageBox(0). MessageBox??? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: tar with switches leads to stack dump

2005-12-22 Thread Joe Smith
I still don't see why upstream refuses to update a compressed archive, but at least it didn't abort. Gnu tar will not allow the use of '-r or -u' when a tar file is given on stdin. I assume that compressed archives work using tar as a filter, instead of using potentially huge temporary files

Re: Where is patch?

2005-12-14 Thread Joe Smith
"Lennart Borgman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Corinna Vinschen wrote: On Dec 14 19:30, Lennart Borgman wrote: I am having trouble with patch. My Cygwin patch (and my GnuWin32 patch) says it is version 2.5.9. But where is the sources for this? I looked at ftp

Re: Can I get a sigint when the bash window closed with close window's button ?

2005-11-15 Thread Joe Smith
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Tue, 15 Nov 2005, Konrad Eisele wrote: When th cygwin bash window is closed by clicking on the window's close button the the appliaction gets killed without recieving a sigint or any atexit called. Is there a w

Re: bug report place

2005-11-06 Thread Joe Smith
"Carl Karsten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] report this as a bug http://cs.nyu.edu/~pechtcha/cygwin/setup-2.513-1-alpha.exe Where should bugs be reported? Please post bugs to this list, but be sure to read and follow the instructions found here: http://cy

Re: WINE on Cygwin

2005-11-03 Thread Joe Smith
I guess I don't see the point. Isn't Wine an emulator for running Windows apps on Unix/Linux? If so then why would you need it under Cygwin as Cygwin already runs on Windows so if your want to run a Windows apps, well then just run the Windows app! Well how about to support WINE development?

Re: error: undefined reference to [EMAIL PROTECTED]'

2005-10-30 Thread Joe Smith
"Fernando Barsoba" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I'm trying to build a project with sha-1 and md5 implementations from http://www.cr0.net:8040/code/crypto/sha1/ (in case it is important information) and I'm getting the following error: Incremen

Re: how to get a coredump [was RE: Asterisk Cygwin]

2005-10-27 Thread Joe Smith
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Thu, Oct 27, 2005 at 12:17:15PM -0400, Jason Pyeron wrote: As I don't use debuggers every day, I am posing this to the list: On Mon, 24 Oct 2005, Jerris, Michael MI wrote: With the patch on that bug in mantis

Re: Executable flag

2005-10-26 Thread Joe Smith
Okay, a reproducable example: Open cygwin. Write 'notepad test.txt'. Notepad opens, write something and then save the file. Now do an ll. The file test.txt has been created and has the executable flag set. I want it to not be set in such cases. /David The problem is that windows programs

Re: cygpath feature suggestion

2005-10-03 Thread Joe Smith
In this case, the only PTC required is for the documentation. Take a look at 'cygpath --help', the option already exists. It is just not in the man page. I fail to see what he requested. What he wanted was like 'cygpath -pf -' except that instead of using colons to seperate the path list,

Re: CTRL-C kills ALL processes, not just foreground process.

2005-09-22 Thread Joe Smith
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Thu, Sep 22, 2005 at 03:47:38PM -0400, Christopher Faylor wrote: On Thu, Sep 22, 2005 at 03:36:38PM -0400, Joe Smith wrote: "Big Action" <[EMAIL PROTECTED]> wrote: Do I only

Re: CTRL-C kills ALL processes, not just foreground process.

2005-09-22 Thread Joe Smith
"Big Action" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi Corinna, Thanks for the quick reply! This should be fixed in recent developer snapshots, try the latest from http://cygwin.com/snapshots/ Do I only need to replace the cygwin1.dll, or should I download and extra

Re: How do I make /bin/sh=sh

2005-08-23 Thread Joe Smith
"Shankar Unni" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Eric Blake wrote: Actually, I'm playing with a change to bash, soon to be bash-3.0-12, where the postinstall script will leave /bin/sh alone if its timestamp is newer than /bin/bash. For one release. What happens aft

Re: RFE: removing symbolic link / windows shortcut duality

2005-08-13 Thread Joe Smith
Well more on links: Because cygwin does use windows shortcuts as symbolic links, it will automaticly dereference windows links. If the link has a unix path in the description field cygwin will use that (or at least I think it uses it, it puts it there on its own links). Otherwise it uses the p

Re: RFE: removing symbolic link / windows shortcut duality

2005-08-13 Thread Joe Smith
IIRC Cygwin *is* currently using windows shortcuts for symbolic links. Some simple checks confirm this. The shortcut files are sometimes fully formed such that they are editable by right clicking on them, others are only partially formed. Windows will resolve them, however symbolic links to exe

Re: Does Cygwin support System V Message Queues?

2005-08-04 Thread Joe Smith
cygserver? Is it additional software we must install? Users Guide http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html#using-cygserver Matt, Basically to use cygwin's XSI IPC Message Queues, XSI IPC Semaphores, or XSI IPC Shared Memory, you need to do a few simple things. (Assuming Windows

Re: Uninstall Cygwin

2005-08-04 Thread Joe Smith
If, one day, I want to uninstall Cygwin. How can I do that? No icon in Add/remove programs list, no start menu icon... I know there are values in the registry, but I don't know what values, so I cannot delete thes values. Is there one or more command to uninstall Cygwin? Else, what can I do? L

Re: ps -p

2005-07-31 Thread Joe Smith
if [ -d c:/ ] then {Cygwin stuff} else {Unix equivalent} fi More common (AFAICT) is: case `uname` in *CYGWIN* ) {Cygwin stuff};; *) {Unix equivalent};; esac -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Document

Re: which command returns incomplete paths that don't work with all commands

2005-07-31 Thread Joe Smith
Is there is a really good reason why the which command should return a path that only cygwin programs can recognize? F:/ style notation would screw up many shell scripts that curently work just fine. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: problem with starting programs via ssh / cannot see environment variable

2005-07-31 Thread Joe Smith
Are the missing environment variables defined in XP under 'System Environment Variables', or only in the environment variables for the specific users? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Cannot write files if they are hidden

2005-07-22 Thread Joe Smith
I seccond the motion that the windows hidden attribute be ignored. I suspect that nearly every user on the list has Explorer.exe set to show hidden files. Sice Cygwin is very useful for system administrators, and they almost always leave hidden files visable, it makes no sense to treat these fil

Re: Brief, simple guide to cygwin

2005-07-20 Thread Joe Smith
If someone does have time to correct the misleading things I would be most grateful, as obviously I do not wish to spread misinformation! rxvt - this is a 'terminal client' or an alternative to that dos box popup. You need it to display various programs (vim, mutt etc.) correctly. I think