Re: zero byte /bin/bash file - what creates it?

2006-10-13 Thread Tom Rodman
On Wed 10/11/06 18:11 CDT cygwin@cygwin.com wrote: > On Wed 10/11/06 18:07 EDT cygwin@cygwin.com wrote: > > Are you untarring files into '/' and does that tar file have a '/bin/bash' > > file? > > Thanks Larry. I was untarring to a subdir below root. I can check the > tar archive, but I doubt it

Re: 1.5.21: file utils (ls, sed) do not read NTFS permissions on second NTFS IDE hard drive

2006-10-13 Thread Chris Doherty
What does getfacl say about the ACLs of these files and directories? getfacl seems equally confused: [EMAIL PROTECTED] /cygdrive/d/shareaza/lib/books/fiction/deryni $ for i in *.*;do getfacl $i;done # file: Camber_01_-_Camber_of_Culdi.txt # owner: # group: user::--- user:chris

Re: cywin shared dll

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tom Lee on 10/13/2006 8:56 PM: > Hi Eric, > > Thanks for your help. > >> That's the problem. You should only ever have a single version of >> cygwin1.dll installed anywhere on your system. Delete the old copy, and >> just put the new o

Re: 1.5.21: file utils (ls, sed) do not read NTFS permissions on second NTFS IDE hard drive

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE According to Chris Doherty on 10/13/2006 9:02 PM: >> sounds like you need to run mkpasswd and mkgroups to update your >> /etc/passwd and /etc/groups files. Otherwise, cygwin can't parse the >> permissions associate

Re: Cygwin and Portaudio

2006-10-13 Thread Hugh
Eric Blake byu.net> writes: > Welcome to dynamic libraries. If you compile against a dll, then the dll > must be present to run the binary. You can see if you can try and force a > static compile, but the result will be that your binary is bigger, and > that you no longer automatically pick up

Re: cywin shared dll

2006-10-13 Thread Tom Lee
Hi Eric, Thanks for your help. That's the problem. You should only ever have a single version of cygwin1.dll installed anywhere on your system. Delete the old copy, and just put the new one on the path. If I want to distribute one command for the end user to use and don't want to have a fu

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-13 Thread Enrico Forestieri
Sean Daley writes: > Read further down that thread and you'll also see that people discovered some > additional horrifying things about windows cmd. > > http://sourceware.org/ml/cygwin/2004-09/msg00277.html Referring to that old post, the following works: C:\>cmd /c ""C:\Documents and Settings\

Re: cywin shared dll

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tom Lee on 10/13/2006 6:02 PM: > Hello, > > I copied all cygwin dll and *.exe to a different machine at c:\mycgwin > where they have old > cygwin installed. That's the problem. You should only ever have a single version of cygwin1.dll i

Re: What happens the first time BASH is run?

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to René Berber on 10/13/2006 6:03 PM: http://cygwin.com/acronyms/#PCYMTWLL - thanks > > I don't think .bashrc is created or copied from anywhere, that one is the > user's responsibility (same for .profile, .bash_profile, etc. which on >

Reinstall libncurses7 after rebasing (was: emacs hangs at start, or sometime later)

2006-10-13 Thread Sean M. Paus
ahnkle wrote: > hi, > > I am having some problems with my emacs. I have 21.2-13 installed, and > recently it started > locking up after some time, from ~1 hour to 3-4 hours. The window would not > repaint. The > emacs process usage goes up to 50%, then close to 100%, until the process is > ki

Re: Cygwin and Portaudio

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Hugh on 10/13/2006 5:14 PM: > I can compile Portaudio in Cygwin, using shared and static libraries only. > That > is fine with me though. I can build my sources using Cygwin, except whenever > I > run the programme, I always require cy

Re: 1.5.21: file utils (ls, sed) do not read NTFS permissions on second NTFS IDE hard drive

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chris Doherty on 10/13/2006 5:15 PM: > cygcheck output attached. > > [EMAIL PROTECTED] /cygdrive/d/shareaza/lib/books/fiction/deryni > $ ls -l > total 9316 > --+ 1 575066 Jul 17 07:13 sounds like you need to ru

Re: How can I increase ulimit -n or open files limit to 65535 on cygwin?

2006-10-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Buchbinder, Barry (NIH/NIAID) [E] on 10/13/2006 2:31 PM: > Annie W. wrote: >> can someone point me on how to increase open file limit? >> Im stuck to 3200 on ulimit -n You can't :( At least, not without patching cygwin (and that is suppo

Re: What happens the first time BASH is run?

2006-10-13 Thread René Berber
Tim Largy wrote: > When running BASH for the first time after installing Cygwin, the > user's home directory is created, and .bashrc and other dotfiles are > copied into it. Where is this behavior controlled? Is it compiled into > BASH?[snip] No, it's not compiled into bash. Reading `man bash` p

cywin shared dll

2006-10-13 Thread Tom Lee
Hello, I copied all cygwin dll and *.exe to a different machine at c:\mycgwin where they have old cygwin installed. When I run grep.exe, it will complain that " system shared memory version mismatch detected - 0x75BE0084/0x75BE009C. This problem is probably due to using incompatible versions

Re: What happens the first time BASH is run?

2006-10-13 Thread Brian Dessent
Tim Largy wrote: > When running BASH for the first time after installing Cygwin, the > user's home directory is created, and .bashrc and other dotfiles are > copied into it. Where is this behavior controlled? Is it compiled into > BASH? If that is the case, what other scripts does BASH call upon t

Re: What happens the first time BASH is run?

2006-10-13 Thread Tim Largy
On 10/13/06, Tim Largy <[EMAIL PROTECTED]> wrote: When running BASH for the first time after installing Cygwin, the user's home directory is created, and .bashrc and other dotfiles are copied into it. Where is this behavior controlled? Is it compiled into BASH? If that is the case, what other scr

What happens the first time BASH is run?

2006-10-13 Thread Tim Largy
When running BASH for the first time after installing Cygwin, the user's home directory is created, and .bashrc and other dotfiles are copied into it. Where is this behavior controlled? Is it compiled into BASH? If that is the case, what other scripts does BASH call upon to set up the user's home

Cygwin and Portaudio

2006-10-13 Thread Hugh
I can compile Portaudio in Cygwin, using shared and static libraries only. That is fine with me though. I can build my sources using Cygwin, except whenever I run the programme, I always require cygportaudio-2.dll. Is there any possible way to have the library information hard coded into the com

Re: FAQ ALERT Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Christopher Faylor
On Fri, Oct 13, 2006 at 02:43:45PM -0700, Joshua Daniel Franklin wrote: >On 10/11/06, Christopher Faylor wrote: >>Good point, Brian. If anything qualifies as a FAQ, this certainly does. >>Joshua, would you be willing to write something up about the philosophy >>of MS-DOS and Cygwin? Known gotchas

1.5.21: file utils (ls, sed) do not read NTFS permissions on second NTFS IDE hard drive

2006-10-13 Thread Chris Doherty
cygcheck output attached. Environment is Windows XP SP2, fully patched as of yesterday. I used to have CopSSH installed; I decided to move to full cygwin and sshd. I uninstalled CopSSh, deleted all files related to it, removed all cygwin and sshd related registry keys, rebooted and verified no c

Re: 1.5.21: problem with xinetd permissions

2006-10-13 Thread Tim Beuman
You are trying to start xinetd from user erin, which has no write permission on /var/lock/subsys (only read & execute). chmod 777 /var/lock/subsys would probably help. Tim Eran Cohanim wrote: Hi, I have been trying to setup xinetd in my windows xp pro computer under cygwin with no luck (t

1.5.21: problem with xinetd permissions

2006-10-13 Thread Eran Cohanim
Hi, I have been trying to setup xinetd in my windows xp pro computer under cygwin with no luck (tried that in 3 different computers with the same result) (I must mention that I did it in the past with success - had to redo it because of new installed OS and new installed cygwin) now from so

Re: shopt igncr not working

2006-10-13 Thread Rob Walker
Matthew Woehlke wrote: http://cygwin.com/acronyms/#PPIOSPE, thanks! Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Many, many other cross-platform products make allowances for CRLF (version control systems are a prime example) to maximize

Re: FAQ ALERT Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Joshua Daniel Franklin
On 10/11/06, Christopher Faylor wrote: Good point, Brian. If anything qualifies as a FAQ, this certainly does. Joshua, would you be willing to write something up about the philosophy of MS-DOS and Cygwin? Known gotchas would be a good thing to include, even if they were only examples. This lo

1.5.21-2 CYGWIN1.DLL Invalid Page Fault

2006-10-13 Thread Charles Brockman
I submit this information without the expectation that the problem will be fixed if it is specific to the Windows 98 operating system. When I run commands such as ls, man, pwd, bash, cat, df and find from an MS-DOS prompt in the C:/CYGWIN directory they fail with the invalid page fault message: L

ssh-agent not working with McAfee: a workaround with modified ssh-agent

2006-10-13 Thread Tim Beuman
Here is the missing Makefile (Makefile.txt). Tim # $Id: Makefile.in,v 1.282 2006/09/12 11:54:10 djm Exp $ # uncomment if you run a non bourne compatable shell. Ie. csh #SHELL = /usr/bin/sh AUTORECONF=autoreconf prefix=/usr/local exec_prefix=${prefix} bindir=${exec_prefix}/bin sbindir=${exec_pr

ssh-agent not working with McAfee: a workaround with modified ssh-agent

2006-10-13 Thread Tim Beuman
Hi, I made a modified version of ssh-agent so it can run under cygrunsrv under the local system account. This seems to work fine without having to disable or uninstall McAfee. Note: this is not an official update. It is a version I made for my own purposes but others might find it usable too. C

RE: emacs hangs at start, or sometime later

2006-10-13 Thread Eric Twietmeyer
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of ahnkle > Sent: Friday, October 13, 2006 6:57 AM > To: cygwin@cygwin.com > Subject: emacs hangs at start, or sometime later > > hi, > > I am having some problems with my emacs. I have 21.2-13 > insta

RE: How can I increase ulimit -n or open files limit to 65535 on cygwin?

2006-10-13 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Annie W. wrote: > can someone point me on how to increase open file limit? > Im stuck to 3200 on ulimit -n > I already went thru my cygwin files and downloaded cygwin source code. > I would appreciate the advice on how to change this limit? > > I have already increased open file limits on redhat a

Re: shopt igncr not working

2006-10-13 Thread Igor Peshansky
On Fri, 13 Oct 2006, Matthew Woehlke wrote: > http://cygwin.com/acronyms/#PPIOSPE, thanks! > > Rob Walker wrote: > > Matthew Woehlke wrote: > > > Rob Walker wrote: > > > > Matthew Woehlke wrote: > > > > > Rob Walker wrote: > > > > > > Many, many other cross-platform products make allowances for CR

Re: Bash fails to run .bat file with spaces in pathname and argument

2006-10-13 Thread Johnathon Jamison
Buchbinder, Barry (NIH/NIAID) [E] wrote: The problem is, at least in part, with cmd. cmd /? says: If /C or /K is specified, then the remainder of the command line after the switch is processed as a command line, where the following logic is used to process quote (") characters: 1.

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
http://cygwin.com/acronyms/#PPIOSPE, thanks! Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Many, many other cross-platform products make allowances for CRLF (version control systems are a prime example) to maximize compatibility, and the

putenv changes not reflected by CW_SYNC_WINENV

2006-10-13 Thread Brian Ford
Just FYI for now in case anyone is interested enough to look. I'll try and make an STC, and possibly a patch when I have time to look further. Thanks. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft

Re: Updated: OpenSSH-4.4p1-1

2006-10-13 Thread Matthew Woehlke
Charles Wilson wrote: Corinna Vinschen wrote: On Oct 11 16:20, Wells, Roger K. wrote: When I installed this my previous installation broke and now the sshd server stops immediately when it is started. Any hints will be appreciated. thanks Maybe that's it: http://cygwin.com/ml/cygwin/2006-10/

Re: shopt igncr not working

2006-10-13 Thread Matthew Woehlke
Rob Walker wrote: Matthew Woehlke wrote: Rob Walker wrote: Saying cygwin's bash wasn't designed to handle CRLF is a lot like saying that cygwin's bash (as previously released all these years) wasn't designed to work with the rest of Windows. This might actually be the case, but I don't under

Re: Updated: OpenSSH-4.4p1-1

2006-10-13 Thread Charles Wilson
Corinna Vinschen wrote: On Oct 11 16:20, Wells, Roger K. wrote: When I installed this my previous installation broke and now the sshd server stops immediately when it is started. Any hints will be appreciated. thanks Maybe that's it: http://cygwin.com/ml/cygwin/2006-10/msg00250.html This is

Re: OT: tcsh and LS_COLORS

2006-10-13 Thread Matthew Woehlke
Corinna Vinschen wrote: On Oct 12 12:41, Matthew Woehlke wrote: Eric Blake wrote: Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS environment variable internally, but that it does not understand quite as many options as ls does and gripes about what it doesn't understa

Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Igor Peshansky
On Fri, 13 Oct 2006, Christopher Faylor wrote: > On Fri, Oct 13, 2006 at 10:18:17AM -0400, Igor Peshansky wrote: > >On Thu, 12 Oct 2006, Igor Peshansky wrote: > >> [...] And if we make it the job of /etc/postinstall/base-files-mketc.sh, > >> we're depriving the user of a scarce resource -- a mount

Re: rxvt-unicode-X: package updates to allow building with its embedded perl interpreter enabled

2006-10-13 Thread Charles Wilson
[EMAIL PROTECTED] wrote: To allow incremental search of the scrollback buffer with rxvt-unicode, I recently rebuilt the package with the --enable-perl option, to include the embedded perl interpreter required for this feature. A few changes to the build script and Makefiles were necessary, becau

Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Christopher Faylor
On Fri, Oct 13, 2006 at 10:18:17AM -0400, Igor Peshansky wrote: >On Thu, 12 Oct 2006, Igor Peshansky wrote: >> [...] And if we make it the job of /etc/postinstall/base-files-mketc.sh, >> we're depriving the user of a scarce resource -- a mount table entry >> (unless we raise the limit, but then aga

Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Igor Peshansky
On Fri, 13 Oct 2006, Corinna Vinschen wrote: > On Oct 12 22:08, Igor Peshansky wrote: > > On Thu, 12 Oct 2006, Corinna Vinschen wrote: > > > > So it looks like using mixed paths (cygpath -m) would be an easy way > > > > out of this for now. > > > > > > Naah, scratch that. Creating a mount point f

emacs hangs at start, or sometime later

2006-10-13 Thread ahnkle
hi, I am having some problems with my emacs. I have 21.2-13 installed, and recently it started locking up after some time, from ~1 hour to 3-4 hours. The window would not repaint. The emacs process usage goes up to 50%, then close to 100%, until the process is killed. Then I tried rebaseall.

RE: Bash fails to run .bat file with spaces in pathname and argument

2006-10-13 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Buchbinder, Barry (NIH/NIAID) wrote: > * Johnathon Jamison (Wed, 11 Oct 2006 14:11:12 -0700) >> I am having some funny behavior. If I have a .bat file that is in a >> directory whose pathname contains a space, and an argument is given >> to the .bat file that has a space in it, then the .bat file

Re: shopt igncr not working

2006-10-13 Thread Larry Hall (Cygwin)
On 10/12/2006, Rob Walker wrote: If you're referring to the performance gain realized, I think it could have been accomplished (if not as trivially) without breaking CRLF handling. This seems to be indicated in other posts, ones that talk about reworking line parsing. I believe the response

RE: Bash fails to run .bat file with spaces in pathname and argument

2006-10-13 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
* Johnathon Jamison (Wed, 11 Oct 2006 14:11:12 -0700) > I am having some funny behavior. If I have a .bat file that is in a > directory whose pathname contains a space, and an argument is given > to the .bat file that has a space in it, then the .bat file fails to run. > Instead, I get "'xxx' is

Re: OT: tcsh and LS_COLORS (was: Problems with 'dircolors')

2006-10-13 Thread Corinna Vinschen
On Oct 12 12:41, Matthew Woehlke wrote: > Eric Blake wrote: > >Oh, by the way, if you use tcsh, be aware that it also uses the LS_COLORS > >environment variable internally, but that it does not understand quite as > >many options as ls does and gripes about what it doesn't understand, which > >is w

Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Corinna Vinschen
On Oct 12 22:08, Igor Peshansky wrote: > On Thu, 12 Oct 2006, Corinna Vinschen wrote: > > > So it looks like using mixed paths (cygpath -m) would be an easy way > > > out of this for now. > > > > Naah, scratch that. Creating a mount point for $SYSTEMROOT seems the > > better solution. > > I'll go

Re: aspell

2006-10-13 Thread Gareth Pearce
On 10/12/06, Gareth Pearce I suspect you don't have nroff installed. If that is not the problem, it works for me - That would be too easy. I already check that and nroff is indeed installed. As for "works for" you, I suspect that you have an old version of aspell. I am talking abou