Re: Can I change default mount options

2017-04-05 Thread Pan Ruochen
> > Add /etc/fstab.d/ with your own mount options. > Be aware that noacl uses only the readonly attribute to > inhibit write in POSIX permissions, and checks file suffixes > and contents to determine execute permissions, so may be > even slower. > /etc/fstab.d/ works. Thank you. - BR, Ruochen

Re: Can I change default mount options

2017-04-05 Thread Pan Ruochen
Hi Andrey Repin, > > No, why? Your mount options choice is very sane, IMO. > I just dislike cygwin treats every file as executable. Comparing mount options of msys2 against cygwin, msys2 has an extra noacl option. So I guess noacl may turn off this cygwin `feature`. And I also wish this

Can I change default mount options

2017-04-03 Thread Pan Ruochen
On my computer, runing mount shows C: on /c type ntfs (binary,posix=0,user,noumount,auto) D: on /d type ntfs (binary,posix=0,user,noumount,auto) E: on /e type ntfs (binary,posix=0,user,noumount,auto) Is it possible to change the default mount options for every partition, for example , to

semget still depends on cygipc?

2014-02-21 Thread Pan ruochen
Hi all, I want to use semget function under cygwin. But get Bad system call error. Do I have to install cygipc package to make these IPC functions work? And I cannot find this package in the setup UI, so where can I download the package? - BR, Ruochen -- Problem reports:

INSIGHT has been removed?

2012-03-14 Thread Pan ruochen
Hi All, I used to debug with insight. I think it brings more convenience. But I cannot find the insight package in the latest setup. So has insight been removed from cygwin setup list? -- - BR, Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ:

TAB cannot auto complete

2012-02-15 Thread Pan ruochen
' to `g.txt' at all. The cygiwn version is: CYGWIN_NT-6.1-WOW64 3CNL12311 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin I never came across this error before. I don't know it is a new bug or not. And I attached the directory package. Hope it locate the cause of the problem. -- Best Regards, Pan

Get errors while startx

2012-01-18 Thread Pan ruochen
Hi All, I got the following errors while running startx: xauth: file /home/ruochen/.serverauth.5980 does not exist xinit: XFree86_VT property unexpectedly has 0 items instead of 1 So what is going wrong? -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html

Don't want executive attribute

2012-01-17 Thread Pan ruochen
Hi Al, Cygwin treat most of files executive. But I really don't like this feature. Is there any option to disable it? -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com

Re: Can't install cygwin, but can visit the URL

2012-01-17 Thread Pan ruochen
to specify --proxy / -p as a command line option to setup.exe so that you would be able to specify a proxy for setup.exe to use. Kind regards Johan -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: Don't want executive attribute

2012-01-17 Thread Pan ruochen
is installed. -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Can't install cygwin, but can visit the URL

2012-01-16 Thread Pan ruochen
a VPN user. Does it matter? -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Can't install cygwin, but can visit the URL

2012-01-16 Thread Pan ruochen
Yes, I do. So it is the cause? On Tue, Jan 17, 2012 at 3:20 PM, Johan van den Berg johan.vdb...@playsafesa.com wrote: Do you have a proxy configuration in your browser? Regards Johan -- Best Regards, Pan Ruochen -- Problem reports: http://cygwin.com/problems.html FAQ

Where to get source for setup.exe?

2010-10-19 Thread Pan ruochen
Hi All, Where can I get the source package for the latest setup.exe. I used to implement a package filter on version 2.573.2.3. But now the old version of setup gets errors during installation. And I still want to apply filtering on setup. PRC Oct 20,2010 -- Problem reports:

Re: Can I install cygwin from my own setup.ini?

2009-06-16 Thread Pan ruochen
I downloaded and ran cygwin setup-1.7 as followed: .\setup-1.7 -P

Re: Can I install cygwin from my own setup.ini?

2009-06-14 Thread Pan ruochen
Or, you could just use the -P option available in the 1.7 setup. It takes a comma separated list of packages that you want and installs them for you. Ralph The current version of setup is: 2009/06/15 12:44:02 Starting cygwin install, version 2.573.2.3 2009/06/15 12:44:02 io_stream_cygfile:

Re: Can I install cygwin from my own setup.ini?

2009-06-12 Thread Pan ruochen
Well, I was always confused in selecting/deselecting packages during setup. And I often got the information about some package is required by another in the final step. So I decided to try patching the setup source code to make the setup more easy for me (and maybe for other people). Until now

Why sh failed 'Process Substitution'?

2009-06-09 Thread Pan ruochen
Hi All, Why sh failed to recognize Process Substitution, even if /bin/sh.exe is a copy of /bin/bash.exe? $cat test.sh #!/bin/bash A=A B=B diff (echo $A) (echo $B) $sh test.sh a.sh: line 4: syntax error near unexpected token `(' a.sh: line 4: `diff (echo $A) (echo $B)' -- Unsubscribe info:

How to make cygwin redirect in UNIX mode?

2009-06-08 Thread Pan ruochen
Hi All, I do as the manual (http://cygwin.com/cygwin-ug-net/using-textbinary.html) says: When redirecting, the Cygwin shells uses rules (a-e). For these shells the relevant value of CYGWIN is that at the time the shell was launched and not that at the time the program is executed. Non-Cygwin

Re: R: How to make cygwin redirect in UNIX mode?

2009-06-08 Thread Pan ruochen
you installed cygwin in text mode. So the output is DOS style, to have UNIX output you need to install in binmode Regards Marco I did get one cygwin distribution which can excute scripts both in DOS mode and in UNIX mode and output in UNIX mode. The distribution is released in one

why /etc/bash.bashrc is not executed when logging in as a domain user?

2009-06-08 Thread Pan ruochen
Hi All, The system wide bashrc file /etc/bash.bashrc is not executed if I log in Windows XP as a domain user; and it is executed if I log in as a local user. Is this mentioned in the manual? PRC Jun 9,2009 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Re: Why bash failed to match this pattern?

2009-06-05 Thread Pan ruochen
But some bash does match the pattern: $bash --version GNU bash, version 3.2.33(1)-release (i386-redhat-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc. Maybe some settings affect bash's behaviour. PRC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Why bash failed to match this pattern?

2009-06-04 Thread Pan ruochen
Hi All, My current version of bash on cygwin failed to match this pattern: *** target=ar if [[ $target =~ '^a' ]]; then echo Matched else echo Unmatched fi *** $bash --version GNU bash, version 3.2.48(21)-release (i686-pc-cygwin)

Can I install cygwin from my own setup.ini?

2009-06-03 Thread Pan ruochen
Hi All, I only want to install the following modules: -- bash base-files sed gawk -- But it's an uneasy work to deselect all the unwanted modules from the default status on the cygwin setup dialog box. (And the selection work must be done again