can not install xfree

2002-01-24 Thread Marco Szabo
Hello, I´ve got a problem with xfree. (latest version, cygwin also the latest version). I followed the Instruction but when I want to start xfree with startx nothing happened. The errors are: xinit: Coonection refused(errno 111): unable to connect to X server. xinit: No such process(errno 3): Ser

Re: stop cygwin sed adding ^M

2002-01-24 Thread J S
OK I think I know why I had this problem now. You're saying if my drive is mounted in text mode then sed will insert ^M at the end of lines. This won't happen though if the drive is mounted in bin mode. Right? In that case I have one more question. When I start cygwin as an administrator, my c

Re: stop cygwin sed adding ^M

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 09:20:43AM +, J S wrote: > OK I think I know why I had this problem now. You're saying if my drive is > mounted in text mode then sed will insert ^M at the end of lines. > This won't happen though if the drive is mounted in bin mode. Right? > > In that case I have one

Re: can not install xfree

2002-01-24 Thread Corinna Vinschen
Wrong mailing list. Try [EMAIL PROTECTED] Corinna On Thu, Jan 24, 2002 at 10:15:27AM +0100, Marco Szabo wrote: > Hello, > > I´ve got a problem with xfree. (latest version, cygwin also the > latest version). I followed the Instruction but when I want to start > xfree with startx nothing happe

[ANNOUNCEMENT] Updated: OpenSSH-3.0.2p1-5

2002-01-24 Thread Corinna Vinschen
I've updated the version of OpenSSH in cygwin/latest to 3.0.2p1-5. This version is now using the POSIX regex API offered by the Cygwin DLL beginning with version 1.3.7. Therefore, the regex package isn't needed anymore to build and run OpenSSH-3.0.2p1-5.

Re: stop cygwin sed adding ^M

2002-01-24 Thread J S
Thanks for that. It's working now! Could you tell me where this would have been set in the first place though? >From: Corinna Vinschen <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: stop cygwin sed adding ^M >Date: Thu, 24 Jan 2002 10:26:06 +0100 >MIME-Version: 1.0 >Received: from [209

File mode judgement

2002-01-24 Thread Wu Yongwei
In the past, Cygwin seemed to judge whether a file is executable on a combination of suffix and content. However, today when I reinstalled Cygwin, I suddenly found that it no more did it. Now on a NTFS volume it depends only on file attributes. 1) Is it a design change? 2) Is it possible to swit

Re: File mode judgement

2002-01-24 Thread Robert Collins
=== - Original Message - From: "Wu Yongwei" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 9:10 PM Subject: File mode judgement > In the past, Cygwin seemed to judge whether a file is executable on a > combination of suffix and content. However, today when

unscubscribe

2002-01-24 Thread Rajesh M
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: gettimeofday() does not returns usec resolution

2002-01-24 Thread Lapo Luchini
> As long as the calibration only occurs when someone is using > gettimeofday, not on every cygwin1.dll load, then that sounds fine to > me. I wouldn't call it "calibration" is just a quick call to the old gettimeofday() and, yes, it's done only on the first call (the value is retanied in a stati

Re: rebuild libc.a with MB_CAPABLE defined

2002-01-24 Thread Kazuhiro Fujieda
>>> On Fri, 11 Jan 2002 12:22:39 +1100 >>> "Robert Collins" <[EMAIL PROTECTED]> said: > At a guess, you'll need to do more than just define MB_CAPABLE. Chances > are, it's disabled because cygwin is not MB_CAPABLE :}. You misunderstand the role of the MB_CAPABLE definition in newlib. The feature

mkpasswd - cannot contact Domain Controller

2002-01-24 Thread J S
Which Cygwin package does the source code for mkpasswd live in? JS. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- Unsubscribe info: http://cygwin.com/ml/#unsu

Re: stop cygwin sed adding ^M

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 09:50:19AM +, J S wrote: > Thanks for that. It's working now! > Could you tell me where this would have been set in the first place though? It could have been set by a previous DLL. If you install UNIX/for all it should only set the system cygdrive to binary but older

Re: unscubscribe

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 03:56:17PM +0530, Rajesh M wrote: You drew a blank. Try again. > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple BUT READ THIS FIRST! -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer

Re: gettimeofday() does not returns usec resolution

2002-01-24 Thread Lapo Luchini
> >> Do you have an assignment on file with Red Hat? > >Sorry but english knowledge doesn't let me understand "assignment on file", could > >you explain it to me with other words? > http://cygwin.com/contrib.html Got it... I'll send one ASAP (-_- snail mail... when will a signed e-mail be accepte

[ANNOUNCEMENT] Advance notice: Remove regex package on 2001-02-07

2002-01-24 Thread Corinna Vinschen
Since Cygwin 1.3.7, the Cygwin API contains the POSIX regex calls. For that reason, the "regex" package is no longer needed, except other packages depend on it. The only package in the Cygwin net distribution which was dep

AW: mkpasswd - cannot contact Domain Controller

2002-01-24 Thread KRISTOF . DOFFING
> > Search the package list: > > http://cygwin.com/packages/ Kristof Doffing Lufthansa Systems Airline Services GmbH, FRA AS/S FAC, Hugo-Eckener-Ring A.8.02 60549 Frankfurt/Main Tel.: +49 69 / 696 92630 Fax : +49 69 / 696 92062 -Ursprüngliche Nachricht- Von: J S [mailto:[EMAIL PROTECT

Re: mkpasswd - cannot contact Domain Controller

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 10:33:12AM +, J S wrote: > Which Cygwin package does the source code for mkpasswd live in? cygwin Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, In

Re: pthread_create or STL problem?

2002-01-24 Thread Robert Collins
On Thu, 2002-01-24 at 17:40, Haksun Li wrote: > Dear all, > > > > I am testing out the following piece of code using Cygwin. > > It works as expected (exits when failing to create a new thread) under > Solaris and Linux. > AFAICT your crash is in your program. Possibly this is due to the C++

Re: pthread_create or STL problem?

2002-01-24 Thread Gareth Pearce
- Original Message - From: "Robert Collins" <[EMAIL PROTECTED]> To: "Haksun Li" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 10:54 PM Subject: Re: pthread_create or STL problem? > On Thu, 2002-01-24 at 17:40, Haksun Li wrote: > > Dear all, > > > > > > > >

Re: texmf packages ready

2002-01-24 Thread Jan Nieuwenhuizen
Guy Worthington <[EMAIL PROTECTED]> writes: [cc: cygwin] > Thankyou for providing the texmf packages. 'Just downloaded the base, > doc and extra packages using your setup.ini (and Cygwin's setup.exe). > The only trouble I had was my internet connection dropping out. If it > is possible, can the

STATUS+AF8-ACCESS+AF8-VIOLATION Exception

2002-01-24 Thread Amos
Hi, Any simple c program that uses a string function crashes with the STATUS+AF8-ACCESS+AF8-VIOLATION exception. +ACM-include +ADw-string.h+AD4- main() +AHs-char +ACo-abc +AD0- +ACI-a b c+ACIAOw- strcpy(abc, +ACI-hello+ACI-)+ADs- printf(+ACIAJQ-s+AFw-n+ACI-, abc)+ADs- +AH0- Can you

AW: STATUS+-AF8-ACCESS+-AF8-VIOLATION Exception

2002-01-24 Thread KRISTOF . DOFFING
Of course it crashes. writing to a string literal +ACo-is+ACo- an access violation. BTW: This piece of code is a violation of any good taste and should crash on any system. (depends on whether the string constant is stored on the data segment or in the code segment). Nevertheless, this is not re

Re: Descriptor passing between process

2002-01-24 Thread egor duda
Hi! Wednesday, 23 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: CV> On Wed, Jan 23, 2002 at 10:55:07AM +0100, Christophe LEITIENNE wrote: >> I'm using Cygwin 1.3.8 on a Windows 2000 box. >> I'm looking for a way to pass a socket descriptor between 2 process, using >> sendmsg and recvms

Re: STATUS+AF8-ACCESS+AF8-VIOLATION Exception

2002-01-24 Thread egor duda
Hi! Thursday, 24 January, 2002 Amos [EMAIL PROTECTED] wrote: A> Any simple c program that uses a string function crashes with the A> STATUS_ACCESS_VIOLATION exception. A> #include A> main() A> {char *abc = "a b c"; A> strcpy(abc, "hello"); A> printf("%s\n", abc); A> } your program

Re: Descriptor passing between process

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote: > CV> It's part of the API since 1.3.8-1. > > Hmm. What change are you referring to? I don't see anything like this > in the ChangeLog. 2002-01-19 Mark Bradshaw <[EMAIL PROTECTED]> * cygwin.din: Add recvmsg and sendmsg.

Re: STATUS+AF8-ACCESS+AF8-VIOLATION Exception

2002-01-24 Thread Amos
Thanks Egor. Amos - Original Message - From: "egor duda" <[EMAIL PROTECTED]> To: "Amos" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 3:17 PM Subject: Re: STATUS+AF8-ACCESS+AF8-VIOLATION Exception > Hi! > > Thursday, 24 January, 2002 Amos [EMAIL PROTECTE

Re: Descriptor passing between process

2002-01-24 Thread egor duda
Hi! Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote: >> CV> It's part of the API since 1.3.8-1. >> >> Hmm. What change are you referring to? I don't see anything like this >> in the ChangeLog. CV> 2002-01-19 Ma

rxvt problems on win98

2002-01-24 Thread Scott Evans
I have Cygwin installed on two Win98 machines -- identical installs. I've used rxvt as my shell window since I found out about the port (well before it was included in the distro). However, on one of my machines, when I resize the rxvt window, bash pegs the CPU and stops responding. This doesn't

Re: Descriptor passing between process

2002-01-24 Thread Christophe LEITIENNE
Hi all, > yes, but if i understand things correctly, Christophe was talking > about passing file descriptors between processes by means of AF_UNIX > sockets. btw, "Subject:" implies this :). > > this is done on unices via msg_control (or msg_accrights) field in msg > structure. and unices ensure

rxvt problems on win98

2002-01-24 Thread David Starks-Browning
On Thursday 24 Jan 02, Scott Evans writes: > The rxvt I have reports v2.7.2: > -rwxr-xr-x1 gse 544141824 Mar 20 2001 /usr/bin/rxvt Mine says: > -rwxr-xr-x1 starksb None 142848 Jun 4 2001 /usr/bin/rxvt What does "cygcheck -c" say? Have you tried using Cygwin Setu

mkpasswd - cannot contact Domain Controller

2002-01-24 Thread J S
Looking at the code then, it seems to bomb out in main when it gets to: if (print_domain) { if (domain_name_specified) rc = netgetdcname (NULL, domain_name, (LPBYTE *) & servername); else rc = netgetdcname (NULL, NULL, (LPBYTE *) & servername); if (rc != ERROR_SUCCESS)

Re: rxvt problems on win98

2002-01-24 Thread Scott Evans
Okay, I just did an update on all my packages and specified "reinstall" for rxvt, just to be safe. The behavior no longer exists, so that's good. However, I now remember why I was using an older version of rxvt: the one that is distributed with Cygwin is the "with a console" version (note the win

Re: rxvt problems on win98

2002-01-24 Thread David Starks-Browning
On Thursday 24 Jan 02, Scott Evans writes: > I may have missed this discussino, but has anyone considered using the > no-console build of rxvt in the distro? Why is the brief flash a problem? David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http:/

Laser toner cartridges save up to 40% from retail price

2002-01-24 Thread gts
Please forward to the person responsible for purchasing your laser printer supplies. GT toner supplies To order by phone please call 770-623-9780 order by email: [EMAIL PROTECTED] email removal: [EMAIL PROTECTED] with subject: remove Laser printer toner cartridges, copier and fax cartridges s

mkpasswd - cannot contact Domain Controller

2002-01-24 Thread J S
Fixed it. He didn't have his primary Wins Server configuration set up. Works fine now. JS. _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubs

Re: rxvt problems on win98

2002-01-24 Thread Scott Evans
> Why is the brief flash a problem? It's not a real problem -- just an annoyance. Given the choice, I'd rather not have it. scott -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/doc

Re: Descriptor passing between process

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 03:17:23PM +0100, Christophe LEITIENNE wrote: > I found a piece of code that doesn't use all this stuff. Could it work (I > haven't tried yet) ? > > int sendfd(sockfd, fd) > int sockfd; /* UNIX domain socket to pass descriptor on */ > int fd; /* the actual fd value to pa

Binutil compatibulity

2002-01-24 Thread Sava Zxivanovich
Hi. I am working with PowerPC 401 D2 - in deed PLX IOP480. I have installed GCC chain that uses binutil 2.9.1, gcc 2.95.2 for powerpc-elf. Due to fact that as in that version do not support one operand - tlbwe, I have to upgrade to one I hope does support - 2.10.1. I would not like to use 2.11,

[ANNOUNCEMENT] Updated: cURL 7.9.3-1

2002-01-24 Thread Kevin Roth
cURL has been updated to version 7.9.3-1. As with the previous version, curl has a run-time dependancy on openssl-0.9.6b-2 or later (as this was the first release to include DLLs). Since I can't "require" a specific build of openssl, make sure you've upgraded to this version before (or at the

Re: Descriptor passing between process

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:45:13PM +0300, Egor Duda wrote: > Hi! > > Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: > > CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote: > >> CV> It's part of the API since 1.3.8-1. > >> > >> Hmm. What change are you referring

Re: Binutil compatibulity

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 03:34:56PM -, Sava Zxivanovich wrote: > Hi. > > I am working with PowerPC 401 D2 - in deed PLX IOP480. > > I have installed GCC chain that uses binutil 2.9.1, gcc 2.95.2 for > powerpc-elf. > Due to fact that as in that version do not support one operand - tlbwe, > I h

Re: Descriptor passing between process

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:38:40PM +0100, Corinna Vinschen wrote: > On Thu, Jan 24, 2002 at 04:45:13PM +0300, Egor Duda wrote: > > Hi! > > > > Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: > > > > CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote: > > >> CV> It

RE: Binutil compatibulity

2002-01-24 Thread Sava Zxivanovich
Thanks. > -Original Message- > From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] > Sent: 24 January 2002 15:45 > To: Sava Zxivanovich > Cc: '[EMAIL PROTECTED]' > Subject: Re: Binutil compatibulity > > > On Thu, Jan 24, 2002 at 03:34:56PM -, Sava Zxivanovich wrote: > > Hi. > > > > I

setregid and setreguid

2002-01-24 Thread J S
Hi, I'm trying to compile eterm on cygwin, but running into problems because it needs setregid and setuid. I noticed that these were in the cygwin package testsuite and so I tried to compile that but the make file wouldn't work. Are there any binaries around for setregid and setreguid? JS. _

Re: Descriptor passing between process

2002-01-24 Thread egor duda
Hi! Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: CV> It *could* be implemented. CV> First we would have to implement the control message passing at all and CV> when it's available we could perhaps even implement descriptor passing CV> using the DuplicateHandle() function

gettimeofday/PerformanceCounter overhead

2002-01-24 Thread Lapo Luchini
> As long as the calibration only occurs when someone is using > gettimeofday, not on every cygwin1.dll load, then that sounds fine to > me. At the end of the mail there is some benchmarking to show PerformanceCounter use is not that "slow" even in its setup (which is done on it's first call). C

Re: Descriptor passing between process

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 07:18:13PM +0300, Egor Duda wrote: > Hi! > > Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: > > CV> It *could* be implemented. > > CV> First we would have to implement the control message passing at all and > CV> when it's available we could perhaps

Re: setregid and setreguid

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:05:09PM +, J S wrote: > Hi, > > I'm trying to compile eterm on cygwin, but running into problems because it > needs setregid and setuid. I noticed that these were in the cygwin package > testsuite and so I tried to compile that but the make file wouldn't work. >

Re: [ANNOUNCEMENT] Advance notice: Remove regex package on 2001-02-07

2002-01-24 Thread Charles Wilson
Corinna Vinschen wrote: > > > Since Cygwin 1.3.7, the Cygwin API contains the POSIX regex calls. > > For that reason, the "regex" package is no longer needed, except other > packages depend on it. > > The only package in

Re: rxvt problems on win98

2002-01-24 Thread Charles Wilson
I use the 'run' program from http://www.neuro.gatech.edu/users/cwilson/cygutls/unversioned/run/ Just grab the run.exe program, rename it to 'runrxvt.exe' and drop it into /bin. Then, set your shortcut to point to runrxvt instead of run. Voila' ! no more flash. --Chuck Scott Evans wrote: >

rxvt requires libx11.dll?

2002-01-24 Thread James Garrison
Just curious, but why is rxvt included in the cygwin distro when it appears to require libx11.dll, which only comes with xfree86? -- James GarrisonAthens Group, Inc. mailto:[EMAIL PROTECTED]5608 Parkcrest Dr http://www.athensgroup.com

Re: setregid and setreguid

2002-01-24 Thread egor duda
Hi! Thursday, 24 January, 2002 J S [EMAIL PROTECTED] wrote: JS> Hi, JS> I'm trying to compile eterm on cygwin, but running into problems because it JS> needs setregid and setuid. I noticed that these were in the cygwin package JS> testsuite and so I tried to compile that but the make file wou

Re: rxvt requires libx11.dll?

2002-01-24 Thread Larry Hall (RFK Partners, Inc)
At 11:50 AM 1/24/2002, James Garrison wrote: >Just curious, but why is rxvt included in the cygwin distro >when it appears to require libx11.dll, which only comes with >xfree86? Asked and answered in the last few days on this list. rxvt doesn't *require* libx11.dll. It just loads it if the

Re: setregid and setreguid

2002-01-24 Thread J S
Thanks Corinna, but I don't seem to have setgid or setegid either (eventhough I've just been to cygwin.com to download all the latest updates). JS. >> >On Thu, Jan 24, 2002 at 04:05:09PM +, J S wrote: > > Hi, > > > > I'm trying to compile eterm on cygwin, but running into problems because

Re: rxvt requires libx11.dll?

2002-01-24 Thread Charles Wilson
James Garrison wrote: > Just curious, but why is rxvt included in the cygwin distro > when it appears to require libx11.dll, which only comes with > xfree86? > It doesn't require libx11.dll. It can USE libx11.dll under certain circumstances. Basically, it dynamically loads (using dlopen())

Re: gettimeofday() does not returns usec resolution

2002-01-24 Thread Christopher Faylor
On Thu, Jan 24, 2002 at 11:43:10AM +0100, Lapo Luchini wrote: >> >> Do you have an assignment on file with Red Hat? >> >Sorry but english knowledge doesn't let me understand "assignment on file", could >> >you explain it to me with other words? >> http://cygwin.com/contrib.html > >Got it... I'll s

Change color of bold text attribute for cygwin terminal

2002-01-24 Thread Richard Kandarian
This seems it should be simple but I can't find a way to do it. I'm running a very current cygwin on MSW2K. The bold text in less is a very unreadable color the way I have things set up. I have my window set to a very pleasant light color background and the bold text in less (man etc.) is whit

Re: unscubscribe

2002-01-24 Thread Christopher Faylor
On Thu, Jan 24, 2002 at 11:48:13AM +0100, Corinna Vinschen wrote: >On Thu, Jan 24, 2002 at 03:56:17PM +0530, Rajesh M wrote: > >You drew a blank. Try again. > >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > >BUT READ THIS FIRST! Welcome to my life. I get about one or two a

Re: rebuild libc.a with MB_CAPABLE defined

2002-01-24 Thread Christopher Faylor
On Thu, Jan 24, 2002 at 07:32:17PM +0900, Kazuhiro Fujieda wrote: On Fri, 11 Jan 2002 12:22:39 +1100 "Robert Collins" <[EMAIL PROTECTED]> said: > >> At a guess, you'll need to do more than just define MB_CAPABLE. Chances >> are, it's disabled because cygwin is not MB_CAPABLE :}. > >You m

socket/fdopen/exec problem

2002-01-24 Thread Pierre A. Humblet
The attached file demonstrates a problem with a combination of socket, fdopen and exec. It was observed on Win98/ME/NT4/2000. Latest everything. Please cc: me directly. A server is listening on port 999 and forking worker processes. It can be restarted by kill -HUP. Under some conditions, new

Re: setregid and setreguid

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 05:00:23PM +, J S wrote: > Thanks Corinna, but I don't seem to have setgid or setegid either > (eventhough I've just been to cygwin.com to download all the latest > updates). You have. Trust me. However, you'll need special user permissions (see http://cygwin.com/c

Re installer crash

2002-01-24 Thread Jason Doege
I have successfully installed many times until the latest release of the installer which crashes with an invalid memory access. If someone would like more details, please contact me with specific questions. Best regards, Jason Doege -- Jason Doege Director, Design Link Technology Inovys, Corp.

100MB Webspace@ $5.5 per month !

2002-01-24 Thread EASY SPACE SYSTEMS
EASY SPACE SYSTEMS 8/1C, Cornfield Road, Kolkata - 700 019. West Bengal. INDIA. Ph : 91-33-4600488 / 91-33-4601758 Email : [EMAIL PROTECTED] Respected Sir / Madam, They say chance favours the prepared mind so what are you waiting for ? A lot of companies host with us, why don't you try ? If

Re: unscubscribe

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 01:04:21PM -0500, Chris Faylor wrote: > And, even though there are quite a few mailing lists on > sources.redhat.com, guess which group of mailing lists get the most > clueless "Plese unsuscribe!!" messages? Hm no, I don't know. Is that a trick question, perha

Resolved my SSH password problem...but what's the explanation?

2002-01-24 Thread Benn Schreiber
I installed the latest cygwin stuff the other day, and was unable to get ssh to work. Specifically, after setting up host keys and my user keys, ssh-ing to myself would give me a password prompt. Quite inconvenient and annoying! After futzing around with this, I discovered that running sshd fr

Re: security.cc: bug report, question and suggestion

2002-01-24 Thread Pierre A. Humblet
Corinna Vinschen wrote: > However, I've just checked in a change which should create a useful > DACL for the primary token created by DuplicateTokenEx() in the > create_token() function. It uses the function `sec_user()' which I > once introduced to set security attributes for CreateProcess call

putting a cygdrive directory in /

2002-01-24 Thread Benn Schreiber
That was a GREAT suggestion, it really cuts down on the typing, especially with filename completion. A final tweak that would make it just a little better would be if a future cygwin update moved cygwin.bat and cygwin.ico out of / into some other directory (/etc maybe?) Thanks and keep up the GR

Environment var PATH broken in 1.3.9 - spaces NG

2002-01-24 Thread Richard Kandarian
I'm using MS Visual C++ executables installed in: C:\Program Files\Microsoft Visual Studio\VC98\Bin and for some reason they all have filenames which are all caps. With tcsh in 1.3.8 some of the commands will complete and/or be found either upper or lower case (e.g. cl.exe) and others will onl

RE: gettimeofday() does not returns usec resolution

2002-01-24 Thread Ralf Habacker
> > > >> Has anyone address this problem already. I have looked int the > > >> cygwin and list and found the only topic > > >http://sources.redhat.com/ml/cygwin/2001-12/msg00201.html > > In the attached file there is a "patch" for gettmieofday: > > --- > int gettimeofday(struct timeval *tv,

RE: gettimeofday() does not returns usec resolution

2002-01-24 Thread Ralf Habacker
> > > > Hmm. I do remember this patch. Can you submit this to cygwin-patches > > in the correct format: http://cygwin.com/contrib.html ? > > Given enough time, yes (never hacked that one, but it seems that only > winsup/cygwin/times.cc would need to be modified).. anyway of course I'm one of > t

Re: [ANNOUNCEMENT] Advance notice: Remove regex package on 2001-02-07

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 11:42:16AM -0500, Charles Wilson wrote: > Hmmmthis is disquieting. Let's assume that Bob has built, on his > machine, the "HandyMedicineDatabase" application which depends on > cygregex.dll. > > He can now no longer install HMD on a new machine, unless he carries

Re: Environment var PATH broken in 1.3.9 - spaces NG

2002-01-24 Thread Michael A Chase
When I start either tcsh or bash from the MSDOS prompt with your MSVS directory in the path, $PATH is translated correctly. Are you adding the directory to your path after tcsh has started? If you are adding the MSVS directory in .login or .cshrc, you need to be sure to quote properly or tcsh ma

Re: security.cc: bug report, question and suggestion

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 02:56:49PM -0500, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > However, I've just checked in a change which should create a useful > > DACL for the primary token created by DuplicateTokenEx() in the > > create_token() function. It uses the function `sec_user()

Re: unscubscribe (even the subjects perversely amusing!)

2002-01-24 Thread [EMAIL PROTECTED]
- Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 6:04 PM Subject: Re: unscubscribe > And, even though there are quite a few mailing lists on > sources.redhat.com, guess which group of mailing lists get the most >

Re: socket/fdopen/exec problem

2002-01-24 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 01:27:24PM -0500, Pierre A. Humblet wrote: > The attached file demonstrates a problem with a > combination of socket, fdopen and exec. It was observed > on Win98/ME/NT4/2000. Latest everything. > Please cc: me directly. > > A server is listening on port 999 and forking wo

Re: Environment var PATH broken in 1.3.9 - spaces NG

2002-01-24 Thread Richard Kandarian
The path to MSVC is set in the registry (i.e. Control panel > system > advanced > environment (or however you get there)). To be even more precise tcsh inherits the environment from bash which inherits it from cmd.exe which gets it from the registry somehow. Sorry I didn't mention that. If I

Re: security.cc: bug report, question and suggestion

2002-01-24 Thread Pierre A. Humblet
Corinna Vinschen wrote: > Sorry but I don't see what you've tested. The patch should address > your problem with the access rights of the impersonation token. The attachment has a printout of the security info of the impersonation token. Its DACL is not set the way you intend to have it, in fac

Re: Environment var PATH broken in 1.3.9 - spaces NG

2002-01-24 Thread Christopher Faylor
On Thu, Jan 24, 2002 at 02:16:07PM -0700, Richard Kandarian wrote: >The path to MSVC is set in the registry (i.e. Control panel > system > >advanced > environment (or however you get there)). To be even more precise >tcsh inherits the environment from bash which inherits it from cmd.exe >which

HELP! Running rsh non-interactvively

2002-01-24 Thread norm
I want to run cygwin's rsh non-interactively. To get inetd working I found http://www.adamswann.com/library/2001/Cygwin-Inetd.html and tried to follow its advice. I did: cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a -d -e CYGWIN=ntsec cygrunsrv -S inetd I was th

Re: socket/fdopen/exec problem

2002-01-24 Thread Pierre A. Humblet
Corinna Vinschen wrote: > Isn't that just the usual effect that sockets remain in TIME_WAIT > state for 2MSL seconds? I realize I am mixing two things. Seeing reused ports in netstat isn't much of a problem in itself, as long as new calls can come in. That's the OK case I see now all the time on

Re: gettimeofday() does not returns usec resolution

2002-01-24 Thread Lapo Luchini
> > would give 3-4 microsecond precision on "deltas" but an initial uncertainty of > ^ > > the usual 15 milliseconds or so. > > > This is a output of the mentioned profiler. It say about a minimal time of about 1-2 >us. May the difference be > caused by the cygwin.dll overhead ?

Re: gettimeofday() does not returns usec resolution

2002-01-24 Thread Lapo Luchini
> > I adapted the code to find exactly the minimum time slice, and not "how well > > 1ms of retard is seen" (it was a 0ns or 15000ns, this is always 15000ns; > > moreover printf is out of the "timing" section): > isn't the time slice about 10ms. ? Actually is between 15 and 16ms: try 1: 4376875

RE: gettimeofday() does not returns usec resolution

2002-01-24 Thread Ralf Habacker
> > > > > > > > Hmm. I do remember this patch. Can you submit this to cygwin-patches > > > in the correct format: http://cygwin.com/contrib.html ? > > > > Given enough time, yes (never hacked that one, but it seems that only > > winsup/cygwin/times.cc would need to be modified).. anyway of cour

Re: [ANNOUNCEMENT] Advance notice: Remove regex package on 2001-02-07

2002-01-24 Thread Charles Wilson
Corinna Vinschen wrote: > On Thu, Jan 24, 2002 at 11:42:16AM -0500, Charles Wilson wrote: > >>Hmmmthis is disquieting. Let's assume that Bob has built, on his >>machine, the "HandyMedicineDatabase" application which depends on >>cygregex.dll. >> >>He can now no longer install HMD on a ne

newbie: terminfo compiled for Solaris?

2002-01-24 Thread Kathryn Hargreaves
It seems one would need a differently compiled terminfo file for Solaris than for Linux, since the binaries have different byte orderings. I'm not really installing Cygwin, except on the Solaris side, so I don't know if/how to obtain a file that will work on Solaris. Much thanks, Kathy -- Unsu

Re: [ANNOUNCEMENT] Advance notice: Remove regex package on2001-02-07

2002-01-24 Thread Robert Collins
On Fri, 2002-01-25 at 09:02, Charles Wilson wrote: > To sum up: I think you should release "regex-4.4-3" that only contains > /usr/bin/cygregex.dll -- and nothing else. (this guarantees that new > packages cannot acquire a dependency on cygregex). And then just let it > sit for several months,

Re: File mode judgement

2002-01-24 Thread Wu Yongwei
Thank you for so quick a response. Now I see. I set the environment variable CYGWIN to "ntsec" when I was testing inetd service. Now I unset CYGWIN and solved my problem. No, it is not good yet while even the header files and text files installed by Cygwin itself are regarded as "executable" on

cygwin@cygwin.com

2002-01-24 Thread 117114
$B%a!<%k$,$G$-$A$c$&EEOC$b$G$-$A$c$&"v(B $B$^$8$a$J=P2q$$$N%5%$%H$G$9!#(B $BG/Np!"CO0h!"=P?HCO$J$I$+$i$"$J$?$K%T%C%?%j$N$*Ajhttp://117114.jp/~info/ $BAGE($J=P2q$$$,$"$j$^$9$h$&$K!&!&!&(B -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin

CVS PServer problem

2002-01-24 Thread Wu Yongwei
I am running Windows 2000 and have configured inetd correctly -- that is, I suppose so, because now I can access services like FTP and daytime. And then, I 1) added cvspserver to the Windows Services file; 2) added "cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/home/cvs pserver

RE: CVS PServer problem

2002-01-24 Thread Geoff Soutter
RTFMLA [Heh. Been waiting to use that one...] Pserver doesn't work yet. Using :external and SSH does. Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Wu Yongwei Sent: Friday, January 25, 2002 4:09 PM To: [EMAIL PROTECTED] Subject: CVS PServer pr

change in behavior of bash (recent or not)?

2002-01-24 Thread Soren Andersen
Hello, I checked for previous discussions or announcements relating to this, did not find such (obviously, because I am writing). Once again (as per other recent posts): I am using Cygwin on Win98 SE (sometimes). This msg pertains to this environment only, not to running on NT etc. Just to be

RE: CVS PServer problem

2002-01-24 Thread Wu Yongwei
Is there a guide to do so? I configured sshd but still cannot do a remote CVS operation. (BTW, it seems I cannot stop the sshd service installed by ssh-host-config.) Best regards, Wu Yongwei --- Original Message from "Geoff Soutter" --- RTFMLA [Heh. Been waiting to use that one...] Pserver

RE: gettimeofday() does not returns usec resolution

2002-01-24 Thread Ralf Habacker
Lapo Luchini writes: > > > > I adapted the code to find exactly the minimum time slice, and not "how well > > > 1ms of retard is seen" (it was a 0ns or 15000ns, this is always 15000ns; > > > moreover printf is out of the "timing" section): > > isn't the time slice about 10ms. ? > > Actually is

RE: CVS PServer problem

2002-01-24 Thread Geoff Soutter
How about this http://jfipa.org/publications/CVSGuide/. I used Cygwin as the client and server and it worked once I had ssh and sshd set up properly... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Wu Yongwei Sent: Friday, January 25, 2002 5:37 PM To

SSHD problems on Windows 2000 Professional

2002-01-24 Thread Wu Yongwei
I am running the latest version (as of minutes ago) of Cygwin and encountered problems of SSHD. I did not found answer in latest posts. I used ssh-host-config to set up sshd. I installed sshd as service and used the default "CYGWIN=binmode tty ntsec". While it started perfectly for the first time