Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

2006-05-09 Thread Christian Joensson
On 5/8/06, Christian Joensson <[EMAIL PROTECTED]> wrote: Windows XP Pro/SP2 cygwin Pentium M processor 2.13GHz system with cygwin 1.5.19-4... I don't seem to be able to login using ssh anymore, I still can login "console" but not remotely using ssh... any help in debuggin this or even getting th

__int64 errors when building Java wrapper for C++ based VTK.

2006-05-09 Thread Some Developer
Hello, I'm checking with you guys per Mathieu's suggestion. Regards, Some Developer. On 5/4/06, Mathieu Malaterre ([EMAIL PROTECTED]) wrote: Hello Some Developer, I believe your are sending your question to the wrong ML. Could you please check with the cygwin guys if you can

Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

2006-05-09 Thread Lloeki
I guess I should mention that the network uses Microsoft Network Authetication (whatever that might be...) Hmm. Facts: 1. you're using shares 2. through authentication 3. share access works through local, doesn't via ssh server I highly suspect Igor's right. Double-read his answer. With care.

readv() questions

2006-05-09 Thread clayne
Warning - LONG and network code related - do not read if not interested or not versed. I'm trying to currently debug an issue where readv() seems to be filling iovec's with bad data or otherwise overflowing when having to deal with a large receive buffer. I say large receive buffer because I can

Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

2006-05-09 Thread Lloeki
so I guess this is really about shares... It's not really about shares, it's more about the user sshd runs under, and which happens to be sent to the share auth system. Lloeki

Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

2006-05-09 Thread clayne
Don't try to get shares working like that through sshd. You'll be missing hair afterwards. Specify the share as a mount point with mount. And then add your .bashrc: if ! ls /mount_point/. 2>&1 >/dev/null; then /c/WINDOWS/system32/net USE /USER:username '\\share' password fi Yep, about as

Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied

2006-05-09 Thread Lloeki
On 09/05/06, clayne wrote: Don't try to get shares working like that through sshd. You'll be missing hair afterwards. Sure. And running sshd as a privileged user is just wicked. If we follow the reasoning to the end: sshd is run under a XYZ windows account, that has a private share //foo/bar, c

RE: __int64 errors when building Java wrapper for C++ based VTK.

2006-05-09 Thread Dave Korn
On 09 May 2006 08:25, Some Developer wrote: > Hello, > > I'm checking with you guys per Mathieu's suggestion. __int64 is an msvc standard type. Cygwin provides Windows.h through the w32api package. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info:

squid status?

2006-05-09 Thread Sven Köhler
Hi, On an up2date cygwin Installation, i tried to use the supplied squid-package and i also tried, to compile by myself. The problem: squid always crashes. I have no clue why, but it does: $ squid.exe -D -N Aborted (core dumped) That's all i get :-( I remember, that it once worked. Any clue,

Re: terminal escape codes

2006-05-09 Thread Jeff Lange
We attempted to use rxvt, but the issue is that the application that is running uses F key's that don't appear to map correctly when using rxvt, but do work when using the normal cygwin shell. The root of the question is though, why doesn't the standard shell handle the ESC(B code correctly? Thi

Re: terminal escape codes

2006-05-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jeff Lange on 5/9/2006 6:01 AM: > We attempted to use rxvt, but the issue is that the application that > is running uses F key's that don't appear to map correctly when using > rxvt, but do work when using the normal cygwin shell. > > The

Re: make - rm bug

2006-05-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Forwarding to the cygwin list (this thread started on bug-gnu-utils). http://cygwin.com/acronyms/#PPIOSPE - by posting, your feedback reaches a wider audience. Also, http://cygwin.com/acronyms/#TOFU reformatted. According to Hedley Lester on 5/9/2006

Re: valgrind

2006-05-09 Thread laurent lemaitre
Gareth Pearce hotmail.com> writes: > > Hi, > > Has anyone atempted to port valgrind to cygwin? > I thought it was something that would be good to do, but its looking like > quite a big job, given that its tied so strongly to the linux kernel. I > could keep ripping it to bits until it compiles

Re: readv() questions

2006-05-09 Thread Mark Pizzolato
On Tuesday, May 09, 2006 12:44 AM clayne wrote: [...] My actual readv() wrapping code is very basic and standard, so I don't think it's doing anything evil or causing a problem: 400 size_t n_recv_iov(int s, const struct iovec *v, size_t c, int tout) 401 { 402 size_t

RE: readv() questions

2006-05-09 Thread Dave Korn
On 09 May 2006 08:44, [EMAIL PROTECTED] wrote: > 2. What exactly is the purpose of dummytest() within > /winsup/cygwin/miscfuncs.cc? > The actual check_iovec() call with preceeding dummytest(): > > 162 static char __attribute__ ((noinline)) > 163 dummytest (volatile char *p) > 164 {

Re: readv() questions

2006-05-09 Thread clayne
On Tue, May 09, 2006 at 07:00:57AM -0700, Mark Pizzolato wrote: > > 67 > > 68 for (error = 0; !error; ) { > > 69 error = 1; > > 70 > > 71 if ((hl = n_recv_iov(s, packet, NE(packet), 60)) > >== (size_t)-1) > > 72

RE: readv() questions

2006-05-09 Thread Dave Korn
On 09 May 2006 15:36, [EMAIL PROTECTED] wrote: >> Well, to me this looks like a variation on the classic error made when >> coding applications which use tcp. Specifically that there is a 1<->1 >> crrespondence between sends( write, writev, etc) on the sending side to >> rcvs(read, readv, etc) on

Re: Cygwin services using uid 400, not SYSTEM. Why?

2006-05-09 Thread Larry Hall (Cygwin)
Shaddy Baddah wrote: Hi, I've recently been required to use a Windows XP Professional system, and have been trying to setup a Cygwin inetd service. After installing the requisite Cygwin packages, I performed a: cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a '-d' and then: cygr

Re: squid status?

2006-05-09 Thread Larry Hall (Cygwin)
Sven Köhler wrote: Hi, On an up2date cygwin Installation, i tried to use the supplied squid-package and i also tried, to compile by myself. The problem: squid always crashes. I have no clue why, but it does: $ squid.exe -D -N Aborted (core dumped) That's all i get :-( I remember, that it onc

Re:Test: zip-2.31 and unzip-5.52

2006-05-09 Thread Charles D. Russell
Charles Wilson wrote: Updated versions of these packages should hit the mirrors soon. Although they are minor releases, I'd like some testing by other-than-me, because these are basically new ports... Some of my old patches were re-implemented upsteam. There were other new changes affecting

1.5.19 slow access to shares

2006-05-09 Thread Michael Hirsch
I have a network share (//xcocluster1/vpg) mounted to g:. Depending on which name I try to access it with I get radically different access times: [EMAIL PROTECTED] ~ $ time ls //xcocluster1/vpg Presentations/ appdist/ backups/ buildenv/ conf/ opt/ sysgen/ users/ real0m10.875s user

Re: 1.5.19 slow access to shares

2006-05-09 Thread Igor Peshansky
On Tue, 9 May 2006, Michael Hirsch wrote: I have a network share (//xcocluster1/vpg) mounted to g:. Depending on which name I try to access it with I get radically different access times: [EMAIL PROTECTED] ~ $ time ls //xcocluster1/vpg Presentations/ appdist/ backups/ buildenv/ conf/ opt/

pthread_cond_timedwait not reporting error on bad arg.

2006-05-09 Thread Ivan Mari
In the code below, the timespec argument to pthread_cond_timedwait() is set to an invalid value: t_nsec > 999,999,999 so, EINVAL error code should be returned. Regards, Ivan Mari #include #include #include #include #include void* start_routine( void* arg ); pthread_cond_t m_cond = PTHREA

pthread_cond_timedwait not reporting error on bad arg

2006-05-09 Thread Ivan Mari
Sorry, its already fixed in last version. -- Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%! Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

Re: squid status?

2006-05-09 Thread Sven Köhler
>> I remember, that it once worked. >> >> Any clue, why squid is that broken? > > Nope. Sounds like it would be worthwhile to debug it. squid is strange. It looks in /etc/resolv.conf for DNS-server, it checks the cache-directories - and if something is not right (not DNS-servers in resolv.conf,

Problem executing batch files from the Windows command prompt

2006-05-09 Thread Olivier Langlois
Hi, Since I installed cygwin on a PC and I try to execute a bat file from the Windows command prompt (system32\cmd.exe), it does not work as expected. mkmf.bat is located in C:\tools\bin environment variable path=C:\tools\bin From a different directory, if I type: mkmf It works fine. Now if

Re: __int64 errors when building Java wrapper for C++ based VTK.

2006-05-09 Thread Shankar Unni
Some Developer wrote: > Cygwin version: 1.5.19-cr-0x5ef > Java version: 1.5.0 Update 6 > VTK version: 5.0.0 > CC path: cygwin default > CXX path: cygwin default I hope you're also using the -mno-cygwin flag when compiling your native stubs, or else you won'

Re: Cygwin 1.5.19-4 issues

2006-05-09 Thread Virgil Adumitroaie
My apologies for the second call, it seemed my request was ignored and it was not clear why. I just want to add that I am surprised you have not been able to reproduce the problem with qt designer. I have tried cygwin update and clean install on three different computers runnning xp sp2 (one bein

Cygwin and Emacs: How to exit?

2006-05-09 Thread S. William Schulz
Hello, In the mood to try emacs, I added it to my cygwin installation this evening, and have been working through several tutorials. All works as expected, except that I am unable to exit emacs. Hitting C-x C-c does nothing, but again, all other control combinations seem to work fine. I have t

Re: Test: zip-2.31 and unzip-5.52

2006-05-09 Thread Charles Wilson
Charles D. Russell wrote: I use zip and gzip for backup files, where a bug is unlikely to be detected before the problem is catastrophic. Thus I like to stick to old, well-tested versions, and am interested in understanding where problems might arise. I would have thought that the cygwin exe

Re: Cygwin and Emacs: How to exit?

2006-05-09 Thread Eric Blake
> Hello, > > In the mood to try emacs, I added it to my cygwin installation this > evening, and have been working through several tutorials. All works > as expected, except that I am unable to exit emacs. Hitting C-x C-c > does nothing, but again, all other control combinations seem to work > fi

Re: Cygwin and Emacs: How to exit?

2006-05-09 Thread Eric Hanchrow
Try putting set CYGWIN=tty in your c:\cygwin\cygwin.bat. -- This delightful, self-describing sentence, created 16 February 2005 in honor of Katie Drake, has seven As, three Bs, four Cs, six Ds, forty-five Es, fifteen Fs, five Gs, thirteen Hs, eighteen Is, one J, three Ks, four Ls, one M, twe

Re: Cygwin 1.5.19-4 issues

2006-05-09 Thread Larry Hall (Cygwin)
- reformatted Virgil Adumitroaie wrote: -- Forwarded message -- From: "Larry Hall (Cygwin)" cygwin com> To: cygwin cygwin com - thanks. Date: Mon, 08 May 2006 23:07:04 -0400 Subject: Re: Cygwin

RE: Test: zip-2.31 and unzip-5.52

2006-05-09 Thread Gary R. Van Sickle
> From: Charles Wilson > Charles D. Russell wrote: > > > I use zip and gzip for backup files, where a bug is unlikely to be > > detected before the problem is catastrophic. Thus I like > to stick to > > old, well-tested versions, and am interested in understanding where > > problems might ar

Re: readv() questions

2006-05-09 Thread clayne
On Tue, May 09, 2006 at 03:54:16PM +0100, Dave Korn wrote: > > You cannot > > even use the idiom of "well let me just get the rest of this here and I'll > > make a request for the dropped data after." > > Yes you absolutely can. Who said you can't? You're just not trying. It > works fine. We

Re: Call for testing Cygwin snapshot

2006-05-09 Thread Yitzchak Scott-Thoennes
On Tue, May 02, 2006 at 08:50:59PM -0700, Yitzchak Scott-Thoennes wrote: > On Tue, May 02, 2006 at 11:47:09AM -0400, Christopher Faylor wrote: > > On Mon, May 01, 2006 at 11:11:57PM -0700, Yitzchak Scott-Thoennes wrote: > > >On Mon, Apr 24, 2006 at 08:12:42PM +0200, Corinna Vinschen wrote: > > >> P

Re: Call for testing Cygwin snapshot

2006-05-09 Thread Christopher Faylor
On Tue, May 09, 2006 at 10:30:50PM -0700, Yitzchak Scott-Thoennes wrote: >On Tue, May 02, 2006 at 08:50:59PM -0700, Yitzchak Scott-Thoennes wrote: >> On Tue, May 02, 2006 at 11:47:09AM -0400, Christopher Faylor wrote: >> > On Mon, May 01, 2006 at 11:11:57PM -0700, Yitzchak Scott-Thoennes wrote: >>

problem in cvs/CVSROOT/history:permission

2006-05-09 Thread pramod g.s
Sir, i have problem in cvs please solve in detail:; problem is shown below::: checkout -P CVSROOT cvs checkout: warning: cannot write to history file /cvs/repos/CVSROOT/history: Permission denied cvs checkout: failed to create lock directory for `/cvs/repos/CVSROOT' (/cvs/repos/CVSROOT/#

Re: Call for testing Cygwin snapshot

2006-05-09 Thread clayne
On Wed, May 10, 2006 at 01:38:58AM -0400, Christopher Faylor wrote: > Would you be willing to try building a cygwin DLL with Corinna's > > 2006-04-04 Corinna Vinschen <[EMAIL PROTECTED]> > > * net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to > the same values

fatal error - system shared memory version mismatch detected - 0x75BE0074/0x75BE0096

2006-05-09 Thread Alex Pivovarov
I'm a new user of cygwin I've just installed cygwin in default confuguration When I trying to start cygwin I get an error, showed below. - C:\cygwin>cygwin.bat 5 [main] ? (1988) C:\cygwin

Re: Call for testing Cygwin snapshot

2006-05-09 Thread Lloeki
BTW: What's the easiest way to switch cygwin versions without having to reboot? I quite commonly come across changing snapshot dll's and having bash throw errors (probably relocation related or something of the sort) and immediately return. After reboot it's fine. But what's a way to quickly swit