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

2006-10-12 Thread Annie W.
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 appericate the advice on how to change this limit? I have already increased open file limits on redhat and other linux systems wit

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Matthew Woehlke wrote: Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-

Re: Wrong links in /etc

2006-10-12 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 04:01:45PM -0700, Brian Dessent wrote: FWIW, my vote goes for making something like /dev/systemroot to map to the Windows system32 directory, rather than making a second cygdrive prefix that nev

Re: Trouble with the g++ compiler

2006-10-12 Thread Brian Dessent
-Patrick wrote: > It appears the cygwin version is significantly different as I get an > error while compiling C++ code that Ive used an overloaded function and Im > certain I am not. My school's server that appears to run the correct > version does not produced this error upon compilation. > > Ho

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 07:45:47PM -0700, Rob Walker wrote: >Christopher Faylor wrote: >>On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: >>>Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >Installed latest cygwin and I met problems with

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $

Re: Wrong links in /etc

2006-10-12 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 04:01:45PM -0700, Brian Dessent wrote: FWIW, my vote goes for making something like /dev/systemroot to map to the Windows system32 directory, rather than making a second cygdrive prefix that never changes. This isn't up fo

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

2006-10-12 Thread Larry Hall (Cygwin)
On 10/12/2006, John Morrison wrote: I've changed the script (which I didn't write!) to use cygpath --sysdir which outputs cygdrive paths. Not entirely true if you install Cygwin into $SystemDrive but probably academic unless you're using this specifically to find out what cygdrive is, which I

Re: Wrong links in /etc

2006-10-12 Thread Andrew DeFaria
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 04:01:45PM -0700, Brian Dessent wrote: FWIW, my vote goes for making something like /dev/systemroot to map to the Windows system32 directory, rather than making a second cygdrive prefix that never changes. This isn't up for a vote. There will be

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

2006-10-12 Thread Larry Hall (Cygwin)
On 10/12/2006, Johnathon Jamison wrote: Lastly, why is CreateProcess used to exec a process instead of _spawnve? It would appear to me on the face of things that _spawnve would get around the quoting issues entirely. -- Larry Hall

Re: Wrong links in /etc

2006-10-12 Thread Igor Peshansky
On Fri, 13 Oct 2006, Angelo Graziosi wrote: > Brian Dessent wrote: > > > Or more simply just > > > > for F in hosts protocols services networks; do ln -sf "$(cygpath > > -S)/drivers/etc/$F" $F; done > > This works fine for hosts, services, networks but not for protocols > > protocols --> /c

Re: aspell

2006-10-12 Thread Wynfield Henman
> Symptom: (run the following on the bash or zsh command line) >$ aspell -a -m -d american >Error: nroff: dlopen returned "No such file or directory". On 10/12/06, Gareth Pearce <[EMAIL PROTECTED]> wrote: . I suspect you don't have nroff installed. If that is not the probl

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

2006-10-12 Thread Igor Peshansky
On Thu, 12 Oct 2006, John Morrison wrote: > On Thu, October 12, 2006 2:41 pm, Igor Peshansky wrote: > > On Thu, 12 Oct 2006, John Morrison wrote: > > > >> On Thu, October 12, 2006 12:54 pm, Corinna Vinschen wrote: > >> > > >> > I think it is needed. At least the base-files-mketc.sh postinstall >

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

2006-10-12 Thread Igor Peshansky
On Thu, 12 Oct 2006, Corinna Vinschen wrote: > On Oct 12 16:48, Corinna Vinschen wrote: > > On Oct 12 15:36, John Morrison wrote: > > > On Thu, October 12, 2006 2:41 pm, Igor Peshansky wrote: > > > > I wrote the script originally, and the initial version did use POSIX > > > > paths. > > > > > > I

Re: Wrong links in /etc

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 04:01:45PM -0700, Brian Dessent wrote: >FWIW, my vote goes for making something like /dev/systemroot to map to >the Windows system32 directory, rather than making a second cygdrive >prefix that never changes. This isn't up for a vote. There will be no filesystems under /de

Re: Wrong links in /etc

2006-10-12 Thread Angelo Graziosi
Brian Dessent wrote: > Or more simply just > > for F in hosts protocols services networks; do ln -sf "$(cygpath > -S)/drivers/etc/$F" $F; done This works fine for hosts, services, networks but not for protocols protocols --> /c/WINDOWS/system32/drivers/etc/pr

Re: Wrong links in /etc

2006-10-12 Thread Brian Dessent
Angelo Graziosi wrote: > > Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1" > (http://cygwin.com/ml/cygwin/2006-10/msg00411.html...) So why are you starting a new thread when the discussion in the existing one is still ongoing?

Wrong links in /etc

2006-10-12 Thread Angelo Graziosi
Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1" (http://cygwin.com/ml/cygwin/2006-10/msg00411.html...) I have discovered that in /etc there are 4 wrong links (I say that them are 'wrong' because 'ls' shows them in RED instead of CYAN): hosts -> C:\WINDOWS\system32\drivers\

Re: shopt igncr not working

2006-10-12 Thread Brian Dessent
*sigh* "Daniel P. Kionka" wrote: > I cannot track down every > bash script and add "shopt -s igncr", and no one should ever have to. Of course not. That is a silly way to deal with the issue. One of the points of this whole conflagration is to get people to realize that if they are dealing wit

Re: shopt igncr not working

2006-10-12 Thread Matthew Woehlke
Rob Walker wrote: Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 20

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 01:20:22PM -0700, Rob Walker wrote: >Christopher Faylor wrote: >>On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >> >>>Hi! >>> >>>Installed latest cygwin and I met problems with bash and scripts which >>>are in DOS format. >>> >>>$ bash --version >>>GNU b

Re: shopt igncr not working

2006-10-12 Thread Daniel P. Kionka
I was writing a similar email when I got Rob's... I was surprised when all my bash scripts failed after I upgraded (because of the CR/LF change). One of the most important rules of a stable product is backwards compatibility. I cannot track down every bash script and add "shopt -s igncr", an

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

2006-10-12 Thread Johnathon Jamison
That is strange quoting syntax, with carets, but it works. I wonder why the last caret is needed, which does seem to be required. Thank you for giving this to me, since I had not seen this example. None of the solutions using cmd are great, because it can be hard to explain such things to cu

Permission to read anything from ls, cp, and find?

2006-10-12 Thread David Arnstein
I have a bash shell script that I run every night using Windows task scheduler. The purpose of this script is to take an inventory of my PC, and to make copies of a few important files. The script calls ls, find, cp, and a few other ordinary Linux/Unix utilities. My problem is that the script does

Re: shopt igncr not working

2006-10-12 Thread Rob Walker
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Fo

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

2006-10-12 Thread Johnathon Jamison
Christopher Faylor wrote: On Wed, Oct 11, 2006 at 07:43:57PM -0700, Johnathon Jamison wrote: Respectfully, I think I know how shell quoting works. If you look at the sample run, all spaces are properly escaped with either backslashes or double quotes. The problem only surfaces when BOTH the

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

2006-10-12 Thread Matthew Woehlke
Christopher Faylor wrote: On Thu, Oct 12, 2006 at 01:54:16PM +0200, Corinna Vinschen wrote: I think it is needed. At least the base-files-mketc.sh postinstall script creates paths which point outside the Cygwin root, so it either needs to reference cygdrive paths, or use DOS paths. Using cygdr

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

2006-10-12 Thread Matthew Woehlke
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 why I had to patch the cygwin version of LS_COLORS to

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

2006-10-12 Thread Thorsten Kampe
* 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' i

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 16:48, Corinna Vinschen wrote: > On Oct 12 15:36, John Morrison wrote: > > On Thu, October 12, 2006 2:41 pm, Igor Peshansky wrote: > > > I wrote the script originally, and the initial version did use POSIX > > > paths. > > > > I thought you did and was suprised to find it not using POSIX

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 15:36, John Morrison wrote: > On Thu, October 12, 2006 2:41 pm, Igor Peshansky wrote: > > I wrote the script originally, and the initial version did use POSIX > > paths. > > I thought you did and was suprised to find it not using POSIX paths but > assumed that there was a reason... > >

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

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 09:41:33AM -0400, Igor Peshansky wrote: >P.S. One annoying thing about /cygdrive is that tab-completion for it is >annoying OOTB, since there are also /cygwin.bat and /cygwin.ico. One >thing I normally do on all new installs is rename those two files to >/Cygwin.bat and /Cy

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

2006-10-12 Thread John Morrison
On Thu, October 12, 2006 2:41 pm, Igor Peshansky wrote: > On Thu, 12 Oct 2006, John Morrison wrote: > >> On Thu, October 12, 2006 12:54 pm, Corinna Vinschen wrote: >> > >> > I think it is needed. At least the base-files-mketc.sh postinstall >> > script creates paths which point outside the Cygwin

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

2006-10-12 Thread Eric Blake
Igor Peshansky cs.nyu.edu> writes: > P.S. One annoying thing about /cygdrive is that tab-completion for it is > annoying OOTB, since there are also /cygwin.bat and /cygwin.ico. One > thing I normally do on all new installs is rename those two files to > /Cygwin.bat and /Cygwin.ico -- since bash

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

2006-10-12 Thread Igor Peshansky
On Thu, 12 Oct 2006, John Morrison wrote: > On Thu, October 12, 2006 12:54 pm, Corinna Vinschen wrote: > > > > I think it is needed. At least the base-files-mketc.sh postinstall > > script creates paths which point outside the Cygwin root, so it either > > needs to reference cygdrive paths, or us

Readline-5.2 available for FTP

2006-10-12 Thread Chet Ramey
The first public release of the GNU Readline library, version 5.2, is now available for FTP with the URLs ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz ftp://ftp.gnu.org/pub/gnu/readline/readline-5.2.tar.gz and from the usual GNU mirror sites. This distribution is essentially a standalone vers

Bash-3.2 available for FTP

2006-10-12 Thread Chet Ramey
Introduction The first public release of bash-3.2 is now available with the URLs ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz ftp://ftp.gnu.org/pub/gnu/bash/bash-3.2.tar.gz and from the usual GNU mirror sites. This tar file does not include the formatted documentation (postscript, d

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 08:43, Christopher Faylor wrote: > On Thu, Oct 12, 2006 at 02:32:17PM +0200, Corinna Vinschen wrote: > >Recent Linux distros are using /media to point to several... media. > >For instance /media/cdrom. So, something like /media/dosdrive/c sounds > >interesting, too. > > Wow! Two new su

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

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 02:32:17PM +0200, Corinna Vinschen wrote: >On Oct 12 14:21, Kai Raphahn wrote: >> Christopher Faylor wrote: >> >> > We're already cluttering the root one less than linux since modern linuxes >> > use /dev, /proc, and /sys. >> >> > Hmm. /sys/drive/c has a nice feel to it,

Re: shopt igncr not working

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 03:17:02PM +0300, Antti Tyrv?inen wrote: >Hi! > >Installed latest cygwin and I met problems with bash and scripts which are in >DOS format. > >$ bash --version >GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) >Copyright (C) 2005 Free Software Foundation, Inc. > >I read

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 14:21, Kai Raphahn wrote: > Christopher Faylor wrote: > > > We're already cluttering the root one less than linux since modern linuxes > > use /dev, /proc, and /sys. > > > Hmm. /sys/drive/c has a nice feel to it, although this is YA a case where > > the existence of a filesystem under

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 08:09, Christopher Faylor wrote: > On Thu, Oct 12, 2006 at 01:54:16PM +0200, Corinna Vinschen wrote: > >I think it is needed. At least the base-files-mketc.sh postinstall > >script creates paths which point outside the Cygwin root, so it either > >needs to reference cygdrive paths, or us

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

2006-10-12 Thread Kai Raphahn
Christopher Faylor wrote: > We're already cluttering the root one less than linux since modern linuxes > use /dev, /proc, and /sys. > Hmm. /sys/drive/c has a nice feel to it, although this is YA a case where > the existence of a filesystem under this directory is not linux-like. What about /mn

Re: shopt igncr not working

2006-10-12 Thread Antti Tyrväinen
Hi! Installed latest cygwin and I met problems with bash and scripts which are in DOS format. $ bash --version GNU bash, version 3.1.17(9)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. I read the mailing lists and I also tried to add ' shopt -s igncr;#' in the begi

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

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 01:54:16PM +0200, Corinna Vinschen wrote: >I think it is needed. At least the base-files-mketc.sh postinstall >script creates paths which point outside the Cygwin root, so it either >needs to reference cygdrive paths, or use DOS paths. Using cygdrives >paths is preferable,

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

2006-10-12 Thread John Morrison
On Thu, October 12, 2006 12:54 pm, Corinna Vinschen wrote: > > I think it is needed. At least the base-files-mketc.sh postinstall > script creates paths which point outside the Cygwin root, so it either > needs to reference cygdrive paths, or use DOS paths. Using cygdrives > paths is preferable,

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

2006-10-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Frank Fesevur on 10/12/2006 12:44 AM: >> Maybe the base-files package should create the symlinks to cygdrive >> paths in >> the first place? It solves the problem: > > Indeed it should do so. OR there should be an automatic translation

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

2006-10-12 Thread Corinna Vinschen
On Oct 12 07:18, Christopher Faylor wrote: > On Thu, Oct 12, 2006 at 08:55:23AM +0200, Corinna Vinschen wrote: > >On Oct 11 13:10, mwoehlke wrote: > >> Dave Korn wrote: > >> >... although I can see problems arising when someone uses mount to rename > >> >the > >> >cygdrive mount. Maybe it would b

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

2006-10-12 Thread Christopher Faylor
On Thu, Oct 12, 2006 at 08:55:23AM +0200, Corinna Vinschen wrote: >On Oct 11 13:10, mwoehlke wrote: >> Dave Korn wrote: >> >... although I can see problems arising when someone uses mount to rename >> >the >> >cygdrive mount. Maybe it would be worth providing a notation that means >> >'cygdrive,

Re: aspell

2006-10-12 Thread Gareth Pearce
Wynfield Henman wrote: I am trying to run down a problem with using aspell with cygwin. aspell: International Ispell Version 3.1.20 (but really Aspell 0.60.4) Cygwin: CYGWIN_NT-5.1 1.5.21(0.156/4/2) 2006-07-30 Symptom: (run the following on the bash or zsh command line)

aspell

2006-10-12 Thread Wynfield Henman
I am trying to run down a problem with using aspell with cygwin. aspell: International Ispell Version 3.1.20 (but really Aspell 0.60.4) Cygwin: CYGWIN_NT-5.1 1.5.21(0.156/4/2) 2006-07-30 Symptom: (run the following on the bash or zsh command line) $ aspell -a -m -d ameri

Re: Updated: OpenSSH-4.4p1-1

2006-10-12 Thread Corinna Vinschen
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 Corinna -- Corinna Vinsch