Re: Install Problems

2007-09-18 Thread Kris Ciersezwski
Ok I sent a log of my setup, I was unable to "cygcheck -s -r -v" and 
*attach* the output.


On Tue, 18 Sep 2007, Larry Hall (Cygwin) wrote:


Kris Ciersezwski wrote:

Hello, I've tried several times to install Cygwin on my new desktop,
running shitty Windows Vista Home Premium. Anyways I've tried
installing it several times using different mirrors each time and I
get the same problem in every install.
It stops at

Running...

No Package

/etc/postinstall/qnulot.sh


It just freezes there and does nothing...



Did you "Run as" administator when running 'setup.exe'?  Can you run
"cygcheck -s -r -v" and *attach* the output to your reply?  How about
your 'setup.log*' files?

There is no qnulot.sh file according to
 so something
is getting messed up here.  Perhaps removing what you've installed so far
and re-running 'setup.exe' as administrator ("Run as") but just installing
the default packages first would get you going.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

/usr/bin/bash: /cygdrive/c/Users/Kris/.bashrc: Bad address
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: cygwin.bat/bash fails after install

2007-09-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Jim Allen on 9/18/2007 10:04 AM:
> After a successful installation of cygwin you run cygwin.bat and the
> following message flashes briefly on your screen:
> 
> bash: can't find configuration file /usr/local/etc/profile.global; exiting.
> 
> A work-around was first documented in
> http://sourceware.org/ml/cygwin/2005-10/msg00651.html

You didn't read very far.  The next message in the thread,
http://sourceware.org/ml/cygwin/2005-10/msg00652.html
makes it quite obvious that you are not running the cygwin version of
bash.  For us to help you further, please follow the instructions, and
attach a text file output of 'cygcheck -svr':

> Problem reports:   http://cygwin.com/problems.html

That will tell you (and us) what other version of bash you are running
instead of cygwin's bash.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
volunteer cygwin bash maintainer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8J7g84KuGfSFAYARAm09AJ41inlZTuJ+wu28FBBmQpH2GGSR1gCgg0xw
zUKsPjvPKKHQHmSM8P7uIVA=
=Uo6Y
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Install Problems

2007-09-18 Thread Larry Hall (Cygwin)

Kris Ciersezwski wrote:

Hello, I've tried several times to install Cygwin on my new desktop,
running shitty Windows Vista Home Premium. Anyways I've tried
installing it several times using different mirrors each time and I
get the same problem in every install.
It stops at

Running...

No Package

/etc/postinstall/qnulot.sh


It just freezes there and does nothing...



Did you "Run as" administator when running 'setup.exe'?  Can you run
"cygcheck -s -r -v" and *attach* the output to your reply?  How about
your 'setup.log*' files?

There is no qnulot.sh file according to
 so something
is getting messed up here.  Perhaps removing what you've installed so far
and re-running 'setup.exe' as administrator ("Run as") but just installing
the default packages first would get you going.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Install Problems

2007-09-18 Thread Kris Ciersezwski

Hello, I've tried several times to install Cygwin on my new desktop,
running shitty Windows Vista Home Premium. Anyways I've tried
installing it several times using different mirrors each time and I
get the same problem in every install.
It stops at

Running...

No Package

/etc/postinstall/qnulot.sh


It just freezes there and does nothing...


~Kris

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there someone offering cygwin paid support?

2007-09-18 Thread Brian Dessent
Will Parsons wrote:

> I'm curious about this.  I think I recall from years ago a response to an
> enquiry about cygwin security that was basically along the lines that cygwin
> is as secure as the underlying Windows system.  That made sense to me - why
> would cygwin be less secure?

Fundamentally, yes, Cygwin is just a normal user mode library so at the
end of the day all the security restrictions of the operating system
still apply.  But consider what happens if you compile POSIX code that
uses e.g. chroot().  There is no such syscall on Windows, so Cygwin
emulates it.  But since Cygwin is not part of the operating system, it
can't actually prevent the program from accessing something outside of
the new root, say by directly calling the Win32 API or using a Win32
filename.  A server daemon for example that ran in a chroot jail would
represent a valid security technique on Linux -- this would work as well
on paper in Cygwin but it would represent a false sense of security
because it's not actually going to prevent much.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there someone offering cygwin paid support?

2007-09-18 Thread Will Parsons
Christopher Faylor wrote:
> Cygwin potentially adds a whole other layer of insecurity on top of
> Windows.  We do try to keep security in mind but, nevertheless, we don't
> recommend using Cygwin in a secure instalation unless there has been quite
> a bit of validation.

I'm curious about this.  I think I recall from years ago a response to an 
enquiry about cygwin security that was basically along the lines that cygwin 
is as secure as the underlying Windows system.  That made sense to me - why 
would cygwin be less secure?

- Will


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Passing arguments to rxvt when it is used as an argument for chere

2007-09-18 Thread Dave
Marco Atzeri wrote:
> --- Richard Toy ha scritto:
>> I see from this post
>>
>> http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html
>> that somebody
>> appears to have passed some arguments to rxvt when
>> it is used as an
>> argument for chere.
>>
>> Is this possible to do this by invoking chere in
>> some way or is it
>> necessary to edit the Windows registry to pass
>> arguments?

> two solutions on my mind:
> 
> 1) run chere as usual and use regedit to modify 
> only the command. (this is how I did it)
>  
> 2) run chere with -p and use the output as base 
> for a script.
> chere -i -p -t rxvt -s bash 

Yep those are the two ways to do it. There's no way to specify extra arguments 
on the chere command line that will be appended to the invocation command.

May I ask what command line options you're thinking of adding? Could they go 
into .Xdefaults instead? Most rxvt and xterm options can.

Dave.
chere maintainer.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: what does the plus sign in a ls -l listing indicate?

2007-09-18 Thread Brian Dessent
Jerome Fong wrote:

> Sorry, but I can't seem to find the answer anywhere.  Using the ls -la
> command, I get a listing of the files in my directory.  However, I have
> files with a "+" sign after their permissions.  What does this mean?  It
> doesn't seem to show up in ls examples  on the web.

The ls documentation explains it as:

 Following the file mode bits is a single character that specifies
 whether an alternate access method such as an access control list
 applies to the file.  When the character following the file mode
 bits is a space, there is no alternate access method.  When it is
 a printing character, then there is such a method.

In the context of Cygwin this means the files have ACLs that do not map
exactly to the POSIX ugo/rwx modes.  This is typical of files created by
native/non-Cygwin apps as they tend to not specify any particular
permissions to the filesystem and instead just inherit the default from
the directory.  You can use getfacl/setfacl, cacls/xcacls, etc. to view
them.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



what does the plus sign in a ls -l listing indicate?

2007-09-18 Thread Jerome Fong

Hi there,

Sorry, but I can't seem to find the answer anywhere.  Using the ls -la 
command, I get a listing of the files in my directory.  However, I have 
files with a "+" sign after their permissions.  What does this mean?  It 
doesn't seem to show up in ls examples  on the web.


ls -la
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 rmic.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 rmid.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 rmiregistry.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 schemagen.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 serialver.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 servertool.exe
-rwx--  1 testuser mkgroup-l-d  79264 Sep 18 12:14 sqljdbc_auth.dll
-rwx--+ 1 testuser Admin 26112 Jul 12 02:04 tnameserv.exe
-rwx--+ 1 testuser Admin122880 Jul 12 02:04 unpack200.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 wsgen.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 wsimport.exe
-rwx--+ 1 testuser Admin 25600 Jul 12 02:04 xjc.exe
  ^
  |
what is this + for?

thanks,

Jerome


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



1.5.24-2: zero-length write() and ioctl() on fd -1 cause crashes

2007-09-18 Thread Elliott Hughes
http://software.jessies.org/terminator/ uses Cygwin to provide  
Windows support, and it's been most useful. i just thought i'd  
mention a couple of things that caused crashes in cygwin1.dll  
1.5.24-2 where that might not have been Cygwin's intent (in both  
cases the application's skating on thin ice anyway).


first, if i do a zero-byte write(2) to a pty, i get a crash. POSIX  
says the behavior in that situation is undefined. i haven't tested  
with a regular file (where POSIX explicitly says that "write() will  
return 0 and have no other results").


second, if i try to set the window size on fd -1, i get a crash:

int fd = -1;
struct winsize size;
// set size.ws_col, size.ws_row, size.ws_xpixel, and  
size.ws_ypixel...

if (ioctl(fd, TIOCSWINSZ, &size) < 0) {

my interpretation of POSIX is that i should get return value -1 and  
errno set to EBADF in that case. i haven't tested with other invalid  
file descriptors or other requests.


i haven't tested earlier versions of cygwin1.dll.

strangely, a quick look at the Cygwin source suggests that these  
cases should be taken care of. "ioctl.cc"'s ioctl starts with a  
cygheap_fdget, and check_iovec would appear to take care of the 0- 
byte write case for write(2).


let me know if you'd like me to investigate further. i don't have a  
Windows machine myself, or i'd have done some non-source poking about  
already. [i'm also not a subscriber to this list, so don't forget to  
"reply all".]


 --elliott


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: cygwin.bat/bash fails after install

2007-09-18 Thread Dave Korn
On 18 September 2007 17:05, Jim Allen wrote:

> After a successful installation of cygwin you run cygwin.bat and the
> following message flashes briefly on your screen:
> 
> bash: can't find configuration file /usr/local/etc/profile.global; exiting.

  Nope, that doesn't happen to anyone else:  there is no such file as
"profile.global" anywhere in any cygwin package at all.

> The problem can be recreated by doing the following:
> 
> Open a command shell (Run/cmd)
> Switch to a drive other than C:
> u:
> exit
> 
> Run setup.exe.  The install will work, but you will get the error message.

  You need to understand a bit better how your computer works to realise how
impossible this is.  The current drive and current path settings exist purely
on a per-process basis (they are maintained in local storage controlled by
ntdll.dll, since you ask), and as per-process settings, once the process has
exited, all trace of them is lost.  The moment you close the DOS shell, there
is no difference in your system than if you had never changed drive at all.
Thinking it could somehow cause a change in the behaviour of a subsequent run
of setup.exe is a false assumption (the computer equivalent of homeopathy, in
fact!).

> Resolution
> Switch to C: in the command shell before running setup.exe
> 
> Workaround:
> See http://sourceware.org/ml/cygwin/2005-10/msg00651.html

  No, the real resolution would be to understand what had actually caused the
error, which you haven't taken the time to find out yet, and then to fix the
thing that actually caused the error.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygwin.bat/bash fails after install

2007-09-18 Thread Larry Hall (Cygwin)

Jim Allen wrote:

After a successful installation of cygwin you run cygwin.bat and the
following message flashes briefly on your screen:

bash: can't find configuration file /usr/local/etc/profile.global; exiting.

A work-around was first documented in
http://sourceware.org/ml/cygwin/2005-10/msg00651.html

The problem can be recreated by doing the following:

Open a command shell (Run/cmd)
Switch to a drive other than C:
u:
exit

Run setup.exe.  The install will work, but you will get the error message.

Resolution
Switch to C: in the command shell before running setup.exe

Workaround:
See http://sourceware.org/ml/cygwin/2005-10/msg00651.html


Igor's point in response to the thread you reference above is still valid.
Search your system for other 'bash' executables.  The one provided with
Cygwin is not configured to use '/usr/local' for its own configuration
files.  If you still feel there is an issue here, please read and follow
the problem reporting guidelines outlined here:



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] New package: stgit 0.13-1 -- Quilt functionality on top of git

2007-09-18 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://procode.org/stgit
License : GPL

Offer similar functionality to quilt i.e. pushing/popping patches
to/from a stack) on top of git. These operations are performed using
git commands and the patches are stored as git commit objects,
allowing easy merging of the stgit patches into other repositories
using standard git functionality.

CHANGES SINCE LAST RELEASE
==

Not applicaple.

INSTALL OR UPGRADE NOTES


Standard install.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

If you have questions or comments, please send them to the Cygwin
mailing list at .

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com AT cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

-- 
Welcome to FOSS revolution: we fix and modify until it shines

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: flac-1.2.1-1/flac-devel-1.2.1-1/libFLAC8-1.2.1-1/libFLAC++6-1.2.1-1

2007-09-18 Thread David Rothenberger
A new version the flac, flac-devel, libFLAC8, and libFLAC++6
packages are now available for download.

NEWS:
=
This is a new upstream release. Please see
http://flac.sourceforge.net/changelog.html#flac_1_2_1 for the list
of changes since 1.2.0.

DESCRIPTION:

FLAC stands for Free Lossless Audio Codec, an audio format similar
to MP3, but lossless, meaning that audio is compressed in FLAC
without any loss in quality. This is similar to how Zip works,
except with FLAC you will get much better compression because it is
designed specifically for audio, and you can play back compressed
FLAC files in your favorite player (or your car or home stereo, see
supported devices) just like you would an MP3 file.

FLAC stands out as the fastest and most widely supported lossless
audio codec, and the only one that at once is non-proprietary, is
unencumbered by patents, has an open-source reference
implementation, has a well documented format and API, and has
several other independent implementations.

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to
you: http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
David Rothenberger    [EMAIL PROTECTED]


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Issue with newest snapshot (2007-08-31)

2007-09-18 Thread Corinna Vinschen
On Sep  4 22:16, Thorsten Kampe wrote:
> * Thorsten Kampe (Tue, 4 Sep 2007 22:11:05 +0100)
> > Hi,
> > 
> > with the newest snapshot a similar issue occurred as described in
> > http://sourceware.org/ml/cygwin/2007-08/msg00186.html and fixed in 
> > http://sourceware.org/ml/cygwin/2007-08/msg00339.html
> > 
> > The error is now (lots of these):
> [...]
> 
> Some more information: this error starts (contrary to the one 
> mentioned above) already when rsync starts "building the file list 
> (and not when deleting on the target or copying to the target).
> 
> The error starts after rsync counts up until about 7000 files (from 
> about 8 - which was no problem for the snapshot from 2007-08-13)

I just tried with the latest from CVS and I can't reproduce this
problem.  My rsync run built a file list of more than 200K files just
fine and then copied the files over as expected(*).  I don't think that
one of my patches from yesterday or today have anything to do with that
problem so it's a bit puzzeling to me why it happens for you.


Corinna


(*) Admittedly I stopped copying the files after about 12K files, but
it really looked ok to me.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



cygwin.bat/bash fails after install

2007-09-18 Thread Jim Allen
After a successful installation of cygwin you run cygwin.bat and the
following message flashes briefly on your screen:

bash: can't find configuration file /usr/local/etc/profile.global; exiting.

A work-around was first documented in
http://sourceware.org/ml/cygwin/2005-10/msg00651.html

The problem can be recreated by doing the following:

Open a command shell (Run/cmd)
Switch to a drive other than C:
u:
exit

Run setup.exe.  The install will work, but you will get the error message.

Resolution
Switch to C: in the command shell before running setup.exe

Workaround:
See http://sourceware.org/ml/cygwin/2005-10/msg00651.html

- Jim

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] New package: bcrypt 1.1 -- Cross platform file encryption utility using blowfish

2007-09-18 Thread Jari Aalto
PACKAGE DESCRIPTION
===

Homepage: http://sourceforge.net/projects/bcrypt
License : GPL

A a cross platform file encryption utility. Encrypted files
are portable across all supported operating systems and processors. In
addition to encrypting your data, bcrypt will by default overwrite the
original input file with random garbage three times before deleting it
in order to thwart data recovery attempts by persons who may gain
access to your computer. Bcrypt uses the blowfish encryption algorithm
published by Bruce Schneier in 1993.

CHANGES SINCE LAST RELEASE
==

Not applicaple.

INSTALL OR UPGRADE NOTES


Not applicaple.

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

If you have questions or comments, please send them to the Cygwin
mailing list at .

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com AT cygwin.com

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above URL.

-- 
Welcome to FOSS revolution: we fix and modify until it shines

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: sftp removing writable bit

2007-09-18 Thread Christopher Faylor
On Mon, Sep 17, 2007 at 06:29:27PM -0500, Matthew Woehlke wrote:
> Andrew DeFaria wrote:
>> IOW what's the advantage of an sftp client over just plain scp?
>
> Directory listings. Unless I miss something, it's hard to scp a file when 
> you don't already know its path.

PLEASE.  This thread has lasted long enough that all salient points have
been made.  We need to move on now.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there someone offering cygwin paid support?

2007-09-18 Thread Christopher Faylor
On Tue, Sep 18, 2007 at 03:58:29PM +0900, d.henman wrote:
>Marko,
>   the best way for you would be to throw Windows out and use a 
>mature unix like o.s.  Cygwin documents that it is not made for secure
>operation, due to Captial w windows, faults

Cygwin potentially adds a whole other layer of insecurity on top of
Windows.  We do try to keep security in mind but, nevertheless, we don't
recommend using Cygwin in a secure instalation unless there has been quite
a bit of validation.

In other words, the burden of proving security is up to the person
deploying Cygwin.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



PROBLEM SOLVED! (was: Re: Is there someone offering cygwin paid support?)

2007-09-18 Thread Marko Loparic
THE PROBLEM IS SOLVED. Thanks a lot to everyone that helped.

The problem disappeared by itself without any manipulations on my
side. Probably the network administrators changed something.

Keith: thanks for the tip of using Process Explorer. It is a very nice tool.

d. henman: switching to linux is a good idea, I did it at home, but at
work I am not allowed (I know, perhaps I should change the job too...)

Steve: thanks for the help and the suggestions.

Have a good day,
Marko

On 9/17/07, Keith Christian <[EMAIL PROTECTED]> wrote:
> - Original Message 
> From: Marko Loparic <[EMAIL PROTECTED]>
> To: cygwin@cygwin.com
> Sent: Monday, September 17, 2007 1:49:39 PM
> Subject: Re: Is there someone offering cygwin paid support?
>
>
> Hello Steve,
>
> On 9/17/07, Steve Holden <[EMAIL PROTECTED]> wrote:
> > Just a quick note, by the way, to question your apparent assumption that
> > "paid support" will get you any further than using this list!
>
> I have already tried the list, some people helped, someone suggested
> me to use cacls, which certainly put me closer to the solution, but it
> was not enough. If you have an idea of what else I could try please
> tell me. DOS commands have no permission problem, emacs for windows
> also opens the directory without problems, but all cygwin commands get
> a permission denied error...
>
> Thanks,
> Marko
>
>
>
> Marko, you could download Process Explorer 
> (http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx)
>  and use it to watch for Windows messages while trying to access the 
> directories/files you are having problems with.  It's an excellent tool.
>
> =Keith
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Passing arguments to rxvt when it is used as an argument for chere

2007-09-18 Thread Marco Atzeri
--- Richard Toy ha scritto:
> Hi
> 
> I see from this post
>
http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html
> that somebody
> appears to have passed some arguments to rxvt when
> it is used as an
> argument for chere.
> 
> Is this possible to do this by invoking chere in
> some way or is it
> necessary to edit the Windows registry to pass
> arguments?
> 
> Thanks
> Richard
two solutions on my mind:

1) run chere as usual and use regedit to modify 
only the command. (this is how I did it)
 
2) run chere with -p and use the output as base 
for a script.
chere -i -p -t rxvt -s bash 

Regards
Marco


  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: ctags-5.7-1

2007-09-18 Thread Warren Young

This is just a straight packaging of a new upstream release.

Change log for this version:

* Added support for DIM AS [Freebasic, Bug #1741778].
* Added support for arbitrary nesting depth [Python, Bug #1684786, 
Debian bug #409078].

* Added support for verbatim string literals [C#, Bug #1515910].
* Added support for .ctags as well as ctags.cnf on Windows [Bug #1246506].
* Added support for non-extern, non-static functions returning wchar_t, 
contributed by Aaron Peromsik [C++, Patch #1458930].
* Added support for numerous revision control systems including Bazaar 
and Mercurial [Bug #1472894].
* Added support for enums [Java, Bug #1730485, Bug #1517143, Patch 
#1027395, Patch #1528507].

* Added support for multiple-level namespace declarations [C#].
* Added .svn to list of directories ignored during recursion (--recurse).
* Added support for BlitzBasic, PureBasic and FreeBasic [FR #1100506].
* Added support for interfaces and static/public/protected/private 
functions [PHP].

* Added support for 'package' keyword [Perl].
* Added support for multi-line subroutine, package, and constant 
definitions [Perl].

* Added support for optional subroutine declarations [Perl].
* Added support for formats [Perl].
* Added support for new convert keyword [Eiffel].
* Added optional tags for forward variable declarations (e.g. 'struct 
C;') [C, C++].

* Changed parsing of option input file (-L) to strip trailing white space.
* Ignore comments mixed into definitions and declarations [Perl].
* Fixed detecting labels with whitespace after label name [Perl, Bug 
#1752361]

* Fixed parsing of generic classes/interfaces [Java, Bug #1447756].
* Fixed misidentification of fully qualified function calls as labels 
[Perl].

* Fixed parsing of inner classes [Python, Bug #1411963].
* Fixed line continuation [Python, Bug #928001, Patch #819471].
* Fixed parsing of annotations [Java, Bug #1691412].
* Fixed block-comment parsing [Verilog, Patch #1458042, Bugs #960316, 
#214, #1606569, #1615060].

* Fixed typo in man page [Debian bug #366412].
* Fixed missing chunk of text in man page and over-use of hyphens in 
UTF-8 locales [Debian bug #271323].

* Fixed parsing of ` as a method name [Ruby].
* Fixed parsing of keywords in string literals [Ruby, Bug #1742588].
* Fixed potential segmentation violation [Bug #1672834, Bug #1222926].
* Fixed parsing of destructors with whitespace after the '~' [C++, Bug 
#1585745].

* Fixed default access of unions to be public [C++, Bug #1548443].
* Fixed various memory leaks, mostly contributed by Dmitry Antipov.
* Fixed parsing of `define [Verilog, Bug #961001].
* Fixed crashes involving '/' [Verilog, Bug #1743330].
* Fixed compilation problem on MinGW [Bug #1517424].
* Fixed generation of HTML-formatted man page [Bug #1645864].
* Fixed recognition of Python scripts having '#!/usr/bin/python' as 
first line [Bug #1764148].
* Fixed parsing of Fortran comment-to-end-of-line with no newline before 
EOF [Debian bug #432872].

* Fixed parsing of << [C/C++, Bugs #1020715, #1093123, #1770479, #1770607].
* Fixed parsing of fully-qualified type names [Java, Bug #814263].
* Fixed handling of lone carriage-return characters in file [Bug #1773926].

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ls bug in snapshot 20070831

2007-09-18 Thread Marco Atzeri
--- Corinna Vinschen  ha scritto:

> On Sep  5 09:25, Marco Atzeri wrote:
> > Hi All,
> > I have noted this strange result using 
> > snapshot 20070831 when no files match the pattern
> >  
> > $ ls -l *.p
> > -rw-r--r-- 1   0 Dec  1  2006 *.p
> 
> I checked in a patch to fix this.
> 
> 
> Thanks for the report,
> Corinna

Thanks for the patch. 
Without feedback I was starting to think that it 
was only a problem on my PC :-)

Regards
Marco






  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: tin shows "?" for german umlauts

2007-09-18 Thread Reinhard.Irmer
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Im Auftrag von Corinna Vinschen
> On Sep 18 09:20, [EMAIL PROTECTED] wrote:
>> hi list,
>>
>> I'm a cygwin-nuser who wants to use unixbased programs as
>> mutt, pine,
>> tin or slrn on my winxp(sp2)-machine. mutt and slrn are
>> working fine
>> in bash, only tin makes problems:.look at subject.
>>
>> In a german usenetgroup was said, that this problem is a
>> cygwin- not a
>> tin-problem because cygwin is not made to support
>> 'locales'. I'm not a
>> programmer, only a nuser, who wants tin working fine under cygwin.
>> What can I do, to see the german umlauts in tin instead of
>> questionmarks?
>
> I don't know a way to get german umlauts in Cygwin's tin, but
> I know a good workaround which I'm using even on Linux to get
> rid of these dreaded umlauts.  Start tin from bash like this:
>
>   $ ISO2ASC=2 tin <...args...>
>
> You can also experiment with other ISO2ASC settings (0-6).

thnx, and if no more writing, the problem is SOLVED

--
regards
Reinhard

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: tin shows "?" for german umlauts

2007-09-18 Thread Corinna Vinschen
On Sep 18 09:20, [EMAIL PROTECTED] wrote:
> hi list,
> 
> I'm a cygwin-nuser who wants to use unixbased programs as mutt, pine,
> tin or slrn on my winxp(sp2)-machine. mutt and slrn are working fine in
> bash, only tin makes problems:.look at subject.
> 
> In a german usenetgroup was said, that this problem is a cygwin- not a
> tin-problem because cygwin is not made to support 'locales'. I'm not a
> programmer, only a nuser, who wants tin working fine under cygwin. What
> can I do, to see the german umlauts in tin instead of questionmarks?

I don't know a way to get german umlauts in Cygwin's tin, but I know
a good workaround which I'm using even on Linux to get rid of these
dreaded umlauts.  Start tin from bash like this:

  $ ISO2ASC=2 tin <...args...>

You can also experiment with other ISO2ASC settings (0-6).


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ls bug in snapshot 20070831

2007-09-18 Thread Corinna Vinschen
On Sep  5 09:25, Marco Atzeri wrote:
> Hi All,
> I have noted this strange result using 
> snapshot 20070831 when no files match the pattern
>  
> $ ls -l *.p
> -rw-r--r-- 1   0 Dec  1  2006 *.p

I checked in a patch to fix this.


Thanks for the report,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: How to use the X clipboard

2007-09-18 Thread Phil Betts
Robert Kiesling wrote on Tuesday, September 18, 2007 3:02 AM::

> I need to set the X server option, "emulate3Buttons," in order to use
> the X clipboard with the Cygwin system's mouse.  The FAQ tells me that
> I can add, "-emulate3buttons ," to the X server arguments.
> However, if I start the server with
> 
>   startx -- -emulate3buttons 10
> 
> all of the X server's default arguments seem to get overriden.  I
> would like to know where are the X server resources are located so I
> can add this option without overriding the X server's default
> arguments.
>

You can create a script file .xserverrc in your home directory that is
called to actually start the server.  This could be something as simple
as:

  #!/bin/bash
  exec /usr/X11R6/bin/X $@ -emulate3buttons 10

Here, if you run startx without any arguments, $@ will contain the 
display number (e.g. ":0"), but not the default server arguments, so 
you would need to add them to the above line yourself. For more 
information, man xinit.

Alternatively, start XWin using startxwin.bat and edit that to add
your own options.  It's a much simpler script than startx, so you're 
less likely to go astray.

> On a related note, the server and display addresses default to
> 127.0.0.1, and that limits clipboard use to clients on the local
> host.

Not true.  The display IS on the PC where you started it, therefore it
is on the localhost for clients started on the localhost.  The 
clipboard is available to all clients running on the server, wherever 
they may be.

> Because 
> this network gets its addresses through DHCP, I would like to know if
> there's a way to tell the X server beforehand what the network
> address is. I assume I can parse the output of Windows netstat after
> booting and add the address to /etc/hosts before starting the X
> server, but I would welcome any clues, hints, or suggestions how to
> go about telling the resolver library about the network address with
> a documented interface. 

There's no need for any of this.

Suppose the PC where you run the server is hosta and the remote box 
is hostb.  You start the server on hosta, where it is known as 
localhost:0.

You then log into hostb.  From there, the server would be known as 
hosta:0, so you would set DISPLAY=hosta:0.

If hosta is not set up in your nameserver, then you would need to
use hosta's IP address, however it's still not necessary, nor is it
advisable.  If you connect directly to the server as a named host (or 
IP address), you either need to use XDMCP or the insecure xhost to 
allow access to your server from hostb.  The much preferred way is to 
use ssh with trusted X11 forwarding instead.

To do this, you log into hostb using:
  ssh -Y [EMAIL PROTECTED]

You need to ensure that $DISPLAY is set BEFORE you run ssh.  You can 
ensure this by running ssh like this:
  DISPLAY=localhost:0 ssh -Y [EMAIL PROTECTED]
However, if you start it from a cygwin shell, $DISPLAY should already
be set correctly.

On hostb, you will find that ssh has set up the DISPLAY to _look_ 
like it is connecting to a server on hostb - i.e. it will be 
localhost:10.0 or similar. Do not change this "because it looks wrong".
It simply means that ssh has opened a port on hostb (in this case 
6010), to which hostb's clients connect.  Traffic on this port is 
forwarded over the secure link to hosta's port 6000.

For more information (including what you may need to set up to
enable X11 forwarding), consult the FAQ:
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote

Finally, this is the wrong list for X related questions. Check out
http://cygwin.com/lists.html

I've redirected replies to the correct list.

Phil

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Passing arguments to rxvt when it is used as an argument for chere

2007-09-18 Thread Richard Toy
Hi

I see from this post
http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html that somebody
appears to have passed some arguments to rxvt when it is used as an
argument for chere.

Is this possible to do this by invoking chere in some way or is it
necessary to edit the Windows registry to pass arguments?

Thanks
Richard

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Space in Home Directory Path

2007-09-18 Thread Markus Schönhaber
G. Huang wrote:

> From: "Markus Schönhaber" <[EMAIL PROTECTED]>

http://cygwin.com/acronyms/#PCYMTNQREAIYR

Regards
  mks

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: NFS mount problem: portmap error

2007-09-18 Thread DanieleRm

no one can help me?
-- 
View this message in context: 
http://www.nabble.com/NFS-mount-problem%3A-portmap-error-tf4465246.html#a12752982
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ssh ProxyCommand not finding anything to execute

2007-09-18 Thread SQueeZe

Thanks David, that is exactly what it is.  It seems so obvious in the cold
light of day!  I have contacted the cwRsync guys to see if they can include
it.

Thanks again for your help.


David Rothenberger wrote:
> 
> On 9/17/2007 11:38 AM, SQueeZe wrote:
>> I have installed cwRsync which has the OpenSSH client version 4.5.
> 
> You should probably ask for support from the cwRsync project.
> 
>  > I should be able to type in the following:
>> 
>> ssh -v -o ProxyCommand="connect -H -d proxy:8085 %h 443" [EMAIL PROTECTED]
>> 
>> However I get the following error:
>> 
>> OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
>> debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc
>> 443
>> debug1: permanently_drop_suid: 400
>> /bin/sh: No such file or directory
> 
> OpenSSH invokes "/bin/sh -c proxycmd" (see sshconnect.c line 98 in the 
> 4.7 sources) and the cwRsync package does not include sh. Even if you 
> included sh.exe in your installation directory, I doubt it would work 
> because you won't have the Cygwin mount table setup so that /bin/sh 
> would map to the correct directory.
> 
> You really should raise this with the cwRsync developers.
> 
> -- 
> David Rothenberger    [EMAIL PROTECTED]
> 
> Duty, n:
>  What one expects from others.
>  -- Oscar Wilde
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ssh-ProxyCommand-not-finding-anything-to-execute-tf4469005.html#a12752032
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



tin shows "?" for german umlauts

2007-09-18 Thread Reinhard.Irmer
hi list,

I'm a cygwin-nuser who wants to use unixbased programs as mutt, pine,
tin or slrn on my winxp(sp2)-machine. mutt and slrn are working fine in
bash, only tin makes problems:.look at subject.

In a german usenetgroup was said, that this problem is a cygwin- not a
tin-problem because cygwin is not made to support 'locales'. I'm not a
programmer, only a nuser, who wants tin working fine under cygwin. What
can I do, to see the german umlauts in tin instead of questionmarks?

regards
Reinhard

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/