Re: doxygen details

2002-12-02 Thread Pavel Tsekov
On Mon, 2 Dec 2002, Ryunosuke Satoh wrote:

 I update doxygen-package.

Uploaded.




Re: Nevermind (was: RE: Rob: Setup build Q)

2002-12-02 Thread Robert Collins
On Mon, 2002-12-02 at 16:27, Gary R. Van Sickle wrote:


 make 'CFLAGS=-O0 -g' 'CXXFLAGS=-O0 -g'

Yep. And configuring with that should work too. The Makefile sets
warning flags, not optimisation levels or debug. It does that via
AM_CFLAGS.

Cheers,
Rob
 

-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---



signature.asc
Description: This is a digitally signed message part


Re: setup feature request

2002-12-02 Thread Kris Thielemans
Hi Max,

just a final thought on the 'keep' sutff (maybe you've gone ahead and coded
it already, so then you forget about this). This is on the question to put
'keep' in the spin control or a radio button. we had

kris so maybe it makes more sense to add a 'keep' to this sequence, than
kris to add a 'keep' radio button. Then there's a nice distinction:
kris - radio buttons signify 'trust level'
kris - default et al signify what you want to do.

max I don't like it. Setup's clicky spin control things are not the easiest
max thing to use. I would much prefer a radio button.

I now think that putting 'keep' as a radio button on the same level as
'current' and 'experimental' is actually bad (sorry, I suggested it
myself!).
If you intreprete it as a trust level, you invalidate the 'install' setting
of the spin control, as 'install' shouldn't do anything in that case. I
think this is a serious source for confusion.

By the way, an alternative to the spin control would be to have a drop-down
list for every category, with the list of settings in there:
upgrade to current versions
upgrade to experimental versions
keep
remove (or uninstall)
install current
install experimental
reinstall

Less clicking, more familiar user interface, but more programming work I
guess.

All the best,

Kris Thielemans
(kris.thielemans at ic.ac.uk)
Imaging Research Solutions Ltd
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

web site address: http://www.irsl.org/~kris




Re: setup feature request

2002-12-02 Thread Max Bowsher
On Mon, 2 Dec 2002, Kris Thielemans wrote:

KT just a final thought on the 'keep' sutff (maybe you've gone ahead and coded
KT it already, so then you forget about this). This is on the question to put
KT 'keep' in the spin control or a radio button. we had

I coded it and sent a patch to this list a while ago, but Robert didn't
like the radio button either.

Don't worry about lost time, though, the patch was truly trivial (*1 line*
of actual logic, and the rest was renaming the button from Prev to Keep)

KT kris so maybe it makes more sense to add a 'keep' to this sequence, than
KT kris to add a 'keep' radio button. Then there's a nice distinction:
KT kris - radio buttons signify 'trust level'
KT kris - default et al signify what you want to do.
KT
KT max I don't like it. Setup's clicky spin control things are not the easiest
KT max thing to use. I would much prefer a radio button.
KT
KT I now think that putting 'keep' as a radio button on the same level as
KT 'current' and 'experimental' is actually bad (sorry, I suggested it
KT myself!).
KT If you intreprete it as a trust level, you invalidate the 'install' setting
KT of the spin control, as 'install' shouldn't do anything in that case. I
KT think this is a serious source for confusion.

I have a different opinion. First, note that the radio buttons don't act
like radio buttons at all. When you click them, they alter the state of
all the packages spin controls to meet the criteria of that button. I.e.
they really should be action buttons, not radio buttons.

With that in mind, Keep does fit with Curr and Exp.

I agree that if the radio buttons actually acted like radio buttons, to
modify a hypothetical AutoUpgrade action, then Keep does not fit so well
with them.

KT By the way, an alternative to the spin control would be to have a drop-down
KT list for every category, with the list of settings in there:
KT upgrade to current versions
KT upgrade to experimental versions
KT keep
KT remove (or uninstall)
KT install current
KT install experimental
KT reinstall
KT
KT Less clicking, more familiar user interface, but more programming work I
KT guess.

Ah yes. I've been secretly vowing that one day I would make drop-downs out
of those spinny things since I first set eyes upon them.

Max.





Re: doxygen details

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 09:58:29AM +0100, Pavel Tsekov wrote:
On Mon, 2 Dec 2002, Ryunosuke Satoh wrote:

 I update doxygen-package.

Uploaded.

Correct me if I'm wrong but was that two packages with the same name
uploaded to sources.redhat.com?  I don't think that's correct, if so.
We shouldn't be offering the same package with different contents to
users even if the changes to the package were minimal.

We can let it go this time, but next time, please don't do that.

cgf



Re: doxygen details

2002-12-02 Thread Pavel Tsekov
On Mon, 2 Dec 2002, Christopher Faylor wrote:

 Correct me if I'm wrong but was that two packages with the same name
 uploaded to sources.redhat.com?  I don't think that's correct, if so.
 We shouldn't be offering the same package with different contents to
 users even if the changes to the package were minimal.

 We can let it go this time, but next time, please don't do that.

Sorry, I did wrong. I'll never do this again. I thought that since the
announcement was not sent it is safe to upload under the same name.




Re: doxygen details

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 06:52:10PM +0100, Pavel Tsekov wrote:
On Mon, 2 Dec 2002, Christopher Faylor wrote:

 Correct me if I'm wrong but was that two packages with the same name
 uploaded to sources.redhat.com?  I don't think that's correct, if so.
 We shouldn't be offering the same package with different contents to
 users even if the changes to the package were minimal.

 We can let it go this time, but next time, please don't do that.

Sorry, I did wrong. I'll never do this again. I thought that since the
announcement was not sent it is safe to upload under the same name.

No big deal.  I have done the same myself but I've always ended up thinking
that it is best to be very rigorous about changing the -n number whenever
there is a package change.

cgf



Re: Cygwin - Apache https' fork problems!

2002-12-02 Thread Stipe Tolj
 When I try to run apache command with ssl configure in the httpd.conf file, I
 received the following error:
 

 [Mon Dec  2 16:26:26 2002] [notice] Apache/1.3.24 (Cygwin) configured --
 resuming normal operations
 [Mon Dec  2 16:26:26 2002] [notice] Accept mutex: pthread (Default: pthread)
 [Mon Dec  2 16:50:25 2002] [notice] caught SIGTERM, shutting down
 fork: Resource temporarily unavailable
 httpd: unable to fork new process
 

 As you can see above, httpd server was running and I shut it down and then I
 restarted it with ssl info in the httpd.conf file! After experimenting with
 for a while, I discovered that when I just add the following line to the
 httpd.conf file, LoadModule ssl_module lib/apache/new/libssl.dll, I would
 still get this forking error. I initially installed apache  apache_mod_ssl
 together and then I went back to re-install apache_mod_ssl using the following
 command: tar xjvf apache-mod_ssl-2.8.8-1.3.24-1.tar.bz2 from the
 instructions in file /usr/doc/Cygwin/mod_ssl-2.8.8-1.3.24-1.README. I was not
 able to perform the following commands in this document because I was not able
 to find the configure command? Maybe I am blind or screwed up here?:
 
-
 cd  mod_auth_ssl-X-Y
 ./configure --with-apxs=/usr/sbin/apxs
   make
   cd pkg.sslmod
   mv libssl.so libssl.dll
   /usr/sbin/apxs -i -a -n ssl libssl.dll


that configure is from mod_ssl's source tree.

I'm not sure what the fork()ing problem may be causing. Can you
instruct me how the problem can be reproduced?!

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are



setup.exe and HTTP Host header

2002-12-02 Thread Abraham Backus
I've discovered that in some cases I'm not getting the response that I
expect from the HTTP request that setup.exe issues.  I believe my particular
case is probably a misconfiguration of the Apache server that hosts my
website, but in any case I think it might make the setup.exe user experience
a little better if, when generating the HTTP Host: header, that it
shouldn't include the (optional) port parameter if it is the default port of
80.

Here's an example of my problem...
This is pretty much what setup.exe is sending:
 telnet abraham.backus.com 80
GET /setup.ini HTTP/1.0
Host: abraham.backus.com:80

...spits back some default stuff from netidentity.com, the company that
hosts my site...

This is what works with the way the web server is configured:
 telnet abraham.backus.com 80
GET /setup.ini HTTP/1.0
Host: abraham.backus.com

...spits back the content of my setup.ini...

I've attached a patch for nio-http.cc that should help setup.exe work
through this problem.  I haven't been able to unit test this fix as I can't
seem to get setup.exe to build.  This sounds familiar so I will of course
search the archives for why I can't get it to build :)

thanks!
-Abe



cygwin-setup.patch
Description: Binary data


Installing LessTif breaks XFree86

2002-12-02 Thread Graham Bloice
Installing LessTif-0.93.18-3 creates a directory in /usr/X11R6/lib/X11 named
app-defaults.  This overrides the symbolic link placed there by XFree86-lib
post install pointing to /etc/X11.  Amongst other things this breaks XCalc.

Regards,

Graham Bloice





Re: xkbcomp.exe segfaults

2002-12-02 Thread Alexander Gottwald
On Mon, 2 Dec 2002, Alexander Skwar wrote:

 Alexander Skwar wrote:
 
  Well, how is xkbcomp.exe called, so that it segfault?
 
 Does really nobody have an idea?

There are some commandlines for xkbcomp in the archives. AFAIR
the xkbcomp is called in a similar way from the server. 

try this one:
xkbcomp -xkm -m de /etc/X11/xkb/keymap/xfree86 /tmp/de.xkm

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Re: Installing LessTif breaks XFree86

2002-12-02 Thread Frank-Michael Moser
Graham Bloice wrote:

Installing LessTif-0.93.18-3 creates a directory in /usr/X11R6/lib/X11 named
app-defaults.  This overrides the symbolic link placed there by XFree86-lib
post install pointing to /etc/X11.  Amongst other things this breaks XCalc.


So finally we got the culprit ;) which was already discussed in that thread:

http://sources.redhat.com/ml/cygwin-xfree/2002-11/msg00200.html
http://sources.redhat.com/ml/cygwin-xfree/2002-11/msg00216.html


--

DECODON GmbHphone: +49(0)3834 515231
W.-Rathenau-Str. 49a  fax: +49(0)3834 515239
17489 Greifswaldemail: [EMAIL PROTECTED]
Germany   web:   www.decodon.com





Re: xkbcomp.exe segfaults

2002-12-02 Thread Alexander Skwar
So sprach Alexander Gottwald am 2002-12-02 um 14:29:24 +0100 :

 try this one:
 xkbcomp -xkm -m de /etc/X11/xkb/keymap/xfree86 /tmp/de.xkm

Okay, it also segfaults.  I've called it from
a DOS cmd prompt like this:

strace --output=c:\temp\2xkb-strace.txt c:\cygwin\etc\X11\xkb\xkbcomp.exe -xkm -m de 
/etc/X11/xkb/keymap/xfree86 /tmp/de4.xkm

Please see the strace output at 
http://message-center.info/stuff/2xkb-strace.txt).  /tmp/de4.xkm did not
get created.  xkbcomp also seg faults with STATUS_ACCESS_VIOLATION, when
I call it from the Cygwin bash shell.

Any further ideas about why xkbcomp segfaults?

Thanks a lot,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.biz |Jabber: [EMAIL PROTECTED]
   iso-top.biz - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 days 23 hours 6 minutes



Re: xkbcomp.exe segfaults

2002-12-02 Thread Alexander Gottwald
Alexander Skwar wrote:

 Please see the strace output at 
 http://message-center.info/stuff/2xkb-strace.txt).  /tmp/de4.xkm did not
 get created.  xkbcomp also seg faults with STATUS_ACCESS_VIOLATION, when
 I call it from the Cygwin bash shell.

I've took a look on the trace, but could not find anything that seemed to
be the cause for the crash. The last action was close() on 
/etc/X11/xkb/keycodes/xfree86, so I'd suggest installing all files in 
/etc/X11/xkb again.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread egor duda
Hi!

Monday, 02 December, 2002 egor duda [EMAIL PROTECTED] wrote:

ed 2002-12-02  Egor Duda [EMAIL PROTECTED]
ed * cygwin/lib/pseudo-reloc.c: New file.

I guess i should put it to the public domain, so that mingw folks can
also use it.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19


pseudo-reloc.c
Description: Binary data


Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread Earnie Boyd
egor duda wrote:

Hi!

Monday, 02 December, 2002 egor duda [EMAIL PROTECTED] wrote:

ed 2002-12-02  Egor Duda [EMAIL PROTECTED]
ed * cygwin/lib/pseudo-reloc.c: New file.

I guess i should put it to the public domain, so that mingw folks can
also use it.



Is it usable without Cygwin?

Earnie.




Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread egor duda
Hi!

Monday, 02 December, 2002 Earnie Boyd [EMAIL PROTECTED] wrote:

EB egor duda wrote:
 Monday, 02 December, 2002 egor duda [EMAIL PROTECTED] wrote:
 
 ed 2002-12-02  Egor Duda [EMAIL PROTECTED]
 ed * cygwin/lib/pseudo-reloc.c: New file.
 
 I guess i should put it to the public domain, so that mingw folks can
 also use it.
 

EB Is it usable without Cygwin?

Yes. It doesn't use any cygwin functionality. Recent binutils should
export __RUNTIME_PSEUDO_RELOC_LIST__ and __RUNTIME_PSEUDO_RELOC_LIST_END__
symbols for all PE-based targets, including Mingw.

I'm not that familiar with Mingw internals, but you just have to
add a call to _pei386_runtime_relocator() to the application startup
(to the crt2.o, IIRC) and link with pseudo-reloc.o.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19




Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread egor duda
Hi!

Monday, 02 December, 2002 Earnie Boyd [EMAIL PROTECTED] wrote:

EB egor duda wrote:
 Hi!
 
 Monday, 02 December, 2002 Earnie Boyd [EMAIL PROTECTED] wrote:
 
 EB egor duda wrote:
 
Monday, 02 December, 2002 egor duda [EMAIL PROTECTED] wrote:

ed 2002-12-02  Egor Duda [EMAIL PROTECTED]
ed * cygwin/lib/pseudo-reloc.c: New file.

I guess i should put it to the public domain, so that mingw folks can
also use it.


 
 EB Is it usable without Cygwin?
 
 Yes. It doesn't use any cygwin functionality. Recent binutils should
 export __RUNTIME_PSEUDO_RELOC_LIST__ and __RUNTIME_PSEUDO_RELOC_LIST_END__
 symbols for all PE-based targets, including Mingw.
 
 I'm not that familiar with Mingw internals, but you just have to
 add a call to _pei386_runtime_relocator() to the application startup
 (to the crt2.o, IIRC) and link with pseudo-reloc.o.
 

EB So, should this be a part of binutils instead of Cygwin?

No. It's a part of runtime environment. It just uses some information
binutils provide.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19




Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread Charles Wilson
Two issues:  (1) the licensing problem, (2) the advisability of mingw 
pseudo-reloc.  Item (1) here, item (2) in a separate message.

CF I'm not sure that public domain is going to work with the cygwin 
license.

ED IANAL, but i can't see why not.

Here's why:  in order for code to be incorporated into cygwin, copyright 
ownership -- not merely a license to use -- must be assigned to Red 
Hat.  Red Hat then has the authority to release the code under whatever 
license it wants: totally proprietary non-GPL, if it wants to.  Red Hat 
could even release that code under a license that says Everyone on the 
planet can freely use this code -- except for Egor Duda -- even though 
Egor Duda originally contributed the code.

See, because you must assign *ownership* of the code to Red Hat, you no 
longer have ANY rights or priveleges with respect to that code.

So, if it is to be included in Mingw, then *Red Hat* must explicitly 
release that part of the code under a public domain license, not you -- 
assuming it goes into cygwin first.

OTOH, if you, Egor Duda, do NOT assign ownership to Red Hat, but instead 
release the code as public domain FIRST, then mingw is free to take it. 
 Also, Red Hat is free to take it as well -- but they do not have 
ownership of the code; they simply are using it as they would any 
other public domain code.  Which means Red Hat has the right to 
re-release it under their proprietary cygwin license and under the GPL.

But, I am not sure how your (Egor's) pre-existing assignment form for 
continuing contributions affects this.  Does the assignment kick in 
automatically, since this was developed against the cygwin source dist?

So, IANAL, but it seems that the right way to do this is for you to 
release the code as public domain, and then for someone else -- cgf? -- 
to adapt it to the cygwin build system for assimilation.

--
Chuck



Re: PATCH: Implementation of functions in netdb.h

2002-12-02 Thread Christopher Faylor
On Tue, Nov 19, 2002 at 02:28:41PM +1300, Craig McGeachie wrote:
On 18 Nov 2002 at 20:24, Christopher Faylor wrote:
 The sources in the release need the *CVS* version of w32api.  See?  Problems
 already.

Indeed.  Problems.  I'll see what I can do to get CVS read access.

FYI, we've received your assignment.  Looking forward to a patch against CVS sources.

Btw, the copyright notice should only list the current year, 2002, for any new file.

cgf



Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 01:30:24PM +0300, egor duda wrote:
2002-12-02  Egor Duda [EMAIL PROTECTED]

* cygwin/lib/pseudo-reloc.c: New file.
* cygwin/cygwin.sc: Add symbols to handle runtime pseudo-relocs.
* cygwin/lib/_cygwin_crt0_common.cc: Perform pseudo-relocs during
initialization of cygwin binary (.exe or .dll).

I'm rapidly approaching the I-don't-care-anymore state for this but I am
not clear on why we need to add the changes to cygwin.sc.  This is for people
who want to link the cygwin DLL without using the appropriate header files
which label things as __declspec(dllexport) or using the appropriate libcygwin.a,
right?  Why should that matter?

cgf



Re: --enable-runtime-pseudo-reloc support in cygwin, take 3.

2002-12-02 Thread Charles Wilson
ed Question: How can one distinguish console application from GUI one?
ed What is the best wording for the error message?

Here's an example.  If GetConsoleWindow is available (W2K or XP) it uses 
that; otherwise, it uses a different kludge.

The idea is you'd call has_console() or 
GetConsoleWindow()/GetConsoleWindow2() only once, and your app would 
cache the result.  However, since Egor's use would be to display/print 
an error message and die, I don't suppose that matters much...

works as expected in all these cases:

gcc -o has_console.exe has_console.c
gcc -mwindows -o has_console.exe has_console.c
gcc -mno-cygwin -o has_console.exe has_console.c
gcc -mno-cygwin -mwindows -o has_console.exe has_console.c

Note that all that matters is how the app was *compiled*.  If you happen 
to run an app that was compiled with -mwindows by typing its name in a 
bash shell, it still thinks its a GUI app, and uses MessageBox to 
display the error message.

If you want it to detect how it was called (e.g. exec'ed by an 
interactive bash shell, or clicked in Windows Explorer) then you've got 
to use a different solution.

--Chuck
#include stdio.h
#include math.h
#define _WIN32_WINNT 0x0500
#include windows.h

int has_console(void);
HWND GetConsoleWindow2(void);

int main (int argc, char * argv[]) {
  int console = -1;
  
  console = has_console();

  if (console) {
printf(This is a console application);
  } else {
MessageBox(NULL, This is a GUI application, 
MessageBox, MB_ICONSTOP);
  }
  return ( 0 );
}

int has_console(void) {
  int retval = -1;
  int get_console_window_avail;
  
/* poor man's wincap */
  OSVERSIONINFO version;
  memset (version, 0, sizeof version);
  version.dwOSVersionInfoSize = sizeof version;
  GetVersionEx (version);
  get_console_window_avail = 0;
  if (version.dwPlatformId == VER_PLATFORM_WIN32_NT) {
if (version.dwMajorVersion == 5) { // w2k or wxp
  get_console_window_avail = 1;
}
  }
  get_console_window_avail = 0;
  
  if (get_console_window_avail) {
if (GetConsoleWindow() == NULL) {
  retval = 0;
} else {
  retval = 1;
}
  } else {
if (GetConsoleWindow2() == NULL) {
  retval = 0;
} else {
  retval = 1;
}
  }
  return ( retval );
}

HWND GetConsoleWindow2(void) {
  char *letdig = ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789;
  char consoleTitle[1024];
  char testTitle[1024];
  char randTitle[25];
  HWND retval;
  double a, b;
  int index;
  int n;
  
  if (! GetConsoleTitle(consoleTitle, 1023)) 
return NULL;
  
  for (n=0; n  20; n++) {
 a = (((double) rand()) / (((double) RAND_MAX)+1)); // 0 = a  1
 index = (int) floor(36.0 * a); // 0 = index = 35 
randTitle[n] = letdig[index];
  }
  randTitle[20] = '\0';
  
  // Temporarily change the title of this console to something unique
  if (! SetConsoleTitle( randTitle ))
return NULL;

  while( 1 ) {
// wait until the console title has really changed
if (! GetConsoleTitle(testTitle, 1023)) {
   SetConsoleTitle(consoleTitle); // try to clean up
  return NULL;
}
 if (strncmp(randTitle, testTitle, 1023) == 0)
   break;
Sleep(50); // use Win32 Sleep() to wait 50ms
  }

  retval = FindWindow (0, randTitle);
  SetConsoleTitle( consoleTitle );
  return retval;
}



max user processes

2002-12-02 Thread Lee Tuck
hi,
Can I recompile or rebuild the cygwin source so that I
can set the maximum process per user id to 500? If
yes, how? Which is the source that I should change?
Hope that you can help out.
Thanks in advance.
Regards,
Lee



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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: cygwin official logo ?

2002-12-02 Thread Corinna Vinschen
On Fri, Nov 29, 2002 at 12:32:46PM -0500, Chris Faylor wrote:
 If there is going to be an animal mascot for cygwin it should be an
 otter.

That's ok with me but my intend is to find a neat animal (there are
lots of them besides otters and koalas) which isn't already on an
O'Reilley book.  I thought koalas aren't.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: max user processes

2002-12-02 Thread egor duda
Hi!

Monday, 02 December, 2002 Lee Tuck [EMAIL PROTECTED] wrote:

LT Can I recompile or rebuild the cygwin source so that I
LT can set the maximum process per user id to 500? If
LT yes, how? Which is the source that I should change?
LT Hope that you can help out.

If you want it, you'll have to implement it yourself, i.e. you have to
modify cygwin sources to support such feature. I suppose it might be
tricky, so i suspect nobody can point you a file which can be easily
changed to add such functionality.

I should warn you, however, that if your goal is to prevent malicious
user from eating up system resources, then your restriction won't
help. User can always start more processes using native syscalls
(CreateProcess()), which cygwin cannot control.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19


--
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: cygwin's autoconf?

2002-12-02 Thread Robert Collins
On Mon, 2002-12-02 at 11:36, Soren A wrote:


 At the very LEAST, something that does what AM_MAINTAINER_MODE causes, 
 should have been the *default* for all autotool'd packages, and only by 
 significant contortions should it have been made possible to cause all that 
 default behavior to get activated. But instead it's the other way around, 
 and users are at the mercy of package maintainers' ignorance or awareness 
 of the importance of (at the very MINIMUM) placing AM_MAINTAINER_MODE in 
 their configuration file.

Soren, please don't rant on the wrong list. Firstly, few people here are
autotool gurus, and thus your erroneous statements may go uncorrected
(see below for the correction). Secondly, this is a CYGWIN list, not a
autotool design philosophy list.

Now, for the problem reported the root problem here is *NOT*
autotools brokenness. It's CVS being broken (unless I'm seriously
mistaken).

The autotools very carefully set datestamps on the files that depend on
each to ensure they don't rebuild automatically on user machines. CVS
records the files as all having the datestamp of the commit AFAIK...
I've seen this behaviour before.

There are three solutions, none of which need AM_MAINTAINER_MODE.

1) Commit the generated files into CVS in date order, to preserve the
semantics of the dependency graph.
2) Give the *users* tarballs to download, generated via 'make dist'
which enforces the date stamps as well.
3) Remove all the autotool generated files from CVS, tell developers or
hacking-users to bootstrap their CVS based copy, and all other users to
get a nightly snapshot (created via make dist). (Best of all options,
IMO).

AM_MAINTAINER_MODE is dangerous because it can easily lead to dependency
problems when a user patches some autotool file, and then doesn't run
the appropriate autotool to update. So, avoid AM_MAINTAINER_MODE
whenever possible.

'Nuff said, getting off the shoebox now.

Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---



signature.asc
Description: This is a digitally signed message part


VNC/ssh connection freezes, so does PC

2002-12-02 Thread fred ma
Hello,

I'm using TightVNC1.2.2 on WinME to connect
to a TightVNC server on a remote sunbox via
cygwin's OpenSSH_3.5p1 (on both sun and
WinME).  It works for anywhere from 10 minutes
to about 2 hours, then everything freezes.  The
computer is totally unresponsive.  I can bring up
the task manager, but can't tab through the fields
and buttons.  Often, not even the 3-finger salute
works.

The cygwin version is DLL version 1.3.15,
Dll epoch 19.  I am going through Sympatico's
highspeed ADSL.  I also have ZoneAlarm 3.1.395,
Norton AV 2001, and Trojan Hunter Guard.  Nothing
else is running at the time of the crash.  It also
happens when the laptop is directly connected
to the school LAN (no ADSL).

I suspect it's ssh because it only started some time
in the last week or so.  Our ssh service (on the sun boxes)
was itself undergoing some overhaul until about a
week ago.  Because the timing of the crash is
unpredictable, this is hard to verify.

Has anyone else experienced this problem?  I realize
that WinME is the worst possible OS, and I will
soon spend the time to install something else, but
I used this method of connection for almost a year
without this problem.

Thanks for any feedback.

Fred

--
Fred Ma, [EMAIL PROTECTED]
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6



--
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/




FAQ now misleads about cygcheck output

2002-12-02 Thread David Starks-Browning
On Sunday 1 Dec 02, Jason C. Johnston writes:
 For the Cygwin FAQ maintainer:
 
 Quoted from the FAQ under Posting Guidelines --
 
   Details about your Cygwin setup, accomplished by pasting the
 output of 'cygcheck -s -v -r' into your message. (Do not send the
 output as a   file attachment.)

Right.  Sorry, I'll fix that.

 Recent discussion suggests the advice is now obsolete. It may also be an
 idea to state that the now-desirable attachment should not be
 compressed.

Thanks,
David
(Cygwin FAQ maintainer)


--
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: Question about Cygwin license

2002-12-02 Thread Corinna Vinschen
On Sun, Dec 01, 2002 at 10:22:01PM -, Chris January wrote:
 Can standard GPL v2 code be included in Cygwin?

No.  It's incompatible with the Cygwin license.

 What if I look at how that code does something and then write my own
 implementation? What if the two implementations are very similar?

In theory, by looking into the sources you are tainted.

 What if I tell someone else on the mailing list how to do it?

Shouldn't be a problem.  If that person then writes it's own
implementation, it's ok.  A howto isn't code.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/




Problem with CYGWISH

2002-12-02 Thread javadeveloper
Dear all,

I'm using the latest cygwin release on a windows 2000 system. After having
started cygwish and typing tk_getOpenFile, I get a response that an internal
win32 error occured - of type CDERR_INITIALIZATION. Searching the net for any
reasons didn't show any results yet. And Microsofts documentation only
mentions, that this error usually occurs when there are problems with the memory
resources. (very helpful! - especially the usual - and no concrete
description on the meaning of this error message). So I doubled the memory from 128
to 256 MByte - without any result. So - is there anybody out there who had
the same problem with CYGWISH and who knows a solution?

Best regards

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


--
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/




defaults

2002-12-02 Thread Morrison, John
Hi all.

This has been at the back of my mind for awhile now since having to
do something for /etc/profile.default.

What I'm thinking of is a directory structure containing default files
and a script which, if the original of the default file doesn't exist,
copies it.  I'm specifically thinking of:

/etc/apache.new/access.conf.default
/etc/apache.new/httpd.conf.default
/etc/apache.new/magic.default
/etc/apache.new/mime.types.default
/etc/apache.new/srm.conf.default
/etc/bash.bashrc.default
/etc/enscript.cfg.default
/etc/exim.conf.default
/etc/mime.conf.default
/etc/profile.default
/etc/skel/[initial user files here]
/etc/squid.conf.default

I think creating...

/etc/defaults/etc/apache/access.conf
/etc/defaults/etc/apache/httpd.conf
/etc/defaults/etc/apache/magic
/etc/defaults/etc/apache/mime.types
/etc/defaults/etc/apache/srm.conf
/etc/defaults/etc/bash.bashrc
/etc/defaults/etc/enscript.cfg
/etc/defaults/etc/exim.conf
/etc/defaults/etc/mime.conf
/etc/defaults/etc/profile
/etc/defaults/etc/skel/[initial user files here]
/etc/defaults/etc/squid.conf

and the script...



#!/bin/bash
cd /etc/defaults
for f in `find . -type f`; do
fDest = `echo $f | sed 's/^\.//g'`
echo $f $fDest
if [ ! -f $fDest ]; then
echo Using the default version of $fDest
cp $f $fDest
else
echo $fDest is already in existance, not overwriting.
fi
done



There are however, a few problems which need to be overcome.

The first is that this script, although best as a postinstall,
would have be executed _after every install_.

The other would be to get people to use it ;)

Well, that's my mental thoughts on paper(?!).  Any comments?
would it be worth doing?

J.

--LongSig

It's so stupid of modern civilization to have given up believing in the
Devil when he is the only explanation of it.


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

--
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/




[ANNOUNCEMENT] Doxygen-1.2.18-1

2002-12-02 Thread Ryunosuke Satoh
Doxygen 1.2.18-1 is now available.

HP: http://www.doxygen.org

Doxygen is a documentation system for C++, C, Java, IDL (Corba, Microsoft,
and KDE-DCOP flavors) and to some extent PHP and C#.

See http://www.doxygen.org/manual.html for more information.

Ryunosuke Satoh   mailto:[EMAIL PROTECTED]
Cygwin doxygen maintainer

  *** INFORMATION ON UPDATING CYGWIN ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  This includes ideas and comments
about the setup utility or Cygwin in general.

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

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from 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 have trouble, please use the resources at

http://cygwin.com/ml/


--
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: cygwin official logo ?

2002-12-02 Thread Peter A. Castro
On Mon, 2 Dec 2002, Corinna Vinschen wrote:

 On Fri, Nov 29, 2002 at 12:32:46PM -0500, Chris Faylor wrote:
  If there is going to be an animal mascot for cygwin it should be an
  otter.
 
 That's ok with me but my intend is to find a neat animal (there are
 lots of them besides otters and koalas) which isn't already on an
 O'Reilley book.  I thought koalas aren't.

How about a jackalope :)

 Corinna

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood


--
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: cygwin official logo ?

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 09:55:37AM +0100, Corinna Vinschen wrote:
On Fri, Nov 29, 2002 at 12:32:46PM -0500, Chris Faylor wrote:
 If there is going to be an animal mascot for cygwin it should be an
 otter.

That's ok with me but my intend is to find a neat animal (there are
lots of them besides otters and koalas) which isn't already on an
O'Reilley book.  I thought koalas aren't.

I don't know what O'Reilley has to do with anything.  We can use
whatever we want.

Ya know, I don't recall anyone saying Oh no, Linus, a penguin is
a bad idea! when he said he liked penguins...

cgf

--
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: defaults

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 12:56:03PM -, Morrison, John wrote:
The first is that this script, although best as a postinstall,
would have be executed _after every install_.

The other would be to get people to use it ;)

Well, that's my mental thoughts on paper(?!).  Any comments?
would it be worth doing?

Here's how _update-info-dir does it:

  sdesc: Generate info/dir file automatically
  category: _PostInstallLast
  requires: texinfo ash
  autodep: usr/info/.*
  incver_ifdep: yes

You'd probably want something like:

  sdesc: Conditionally move default files to proper location
  category: _PostInstallLast
  requires: ash
  autodep: etc/defaults/.*
  incver_ifdep: yes

This would run automatically whenever packages are downloaded and
installed in one shot.  It wouldn't run if someone downloads everything
and then installs piecemeal, though.

The script to move the files would be the only thing in the package and
it would be a post-install script.

cgf

--
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: cygwin official logo ?

2002-12-02 Thread Jehan
Corinna Vinschen wrote:

That's ok with me but my intend is to find a neat animal (there are
lots of them besides otters and koalas) 

What about a stitch? In the movie they say it looks like a koala and 
I'm sure O'Reilly didn't use it on their books. :)

	Jehan




--
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/



When will we see chkconfig and xinetd?

2002-12-02 Thread Jim Drash
Sergei?

thanks in advance.



--
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: cygwin official logo ?

2002-12-02 Thread Gerald S. Williams
Christopher Faylor wrote:
 Please grant me this one conceit.  Linus likes penguins.  I like otters.
 
 If there is going to be an animal mascot for cygwin it should be an otter.

Bummer, I was going to suggest a baby swan (i.e., a cygnet).

So, will it be a river otter or a sea otter?

-Jerry


--
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/




[ANNOUNCEMENT] Updated cygwin package: rxvt-2.7.9-2

2002-12-02 Thread Steve O
Hi,
rxvt is a terminal program that can be used instead of the windows command
shell.  It does not require an X server. 

This release fixes some multibyte character issues and is built with
 --enable-languages, thanks to a series of patches from Cole Lin. 
It also re-enables xpm support, thanks to a heads-up from Frank-Michael.

-steve

-Installation Instructions-
To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations.  This means that you will need

to find a mirror which has this update.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is
usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/

is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package then

you can either wait for the site to be updated or find another mirror.

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

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from 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.

I implore you to READ this information before sending email about how
you tried everything to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.


--
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: cygwin official logo ?

2002-12-02 Thread Charles Wilson
Jehan wrote:

Corinna Vinschen wrote:


That's ok with me but my intend is to find a neat animal (there are
lots of them besides otters and koalas) 


What about a stitch? In the movie they say it looks like a koala and 
I'm sure O'Reilly didn't use it on their books. :)

Yeah, that's a good idea.  Let's infringe on a Disney copyright.  They 
don't usually mind that sort of thing, do they?

Geez, what's wrong with otters?  It doesn't matter if O'Reilly has used 
various otters on a collection of [Java|HTML|???] books -- as long as 
we're not copying THEIR otter design.  (Because they've used it on books 
covering a range of subjects, there's no brand identity like camel == 
Perl)  Besides, give O'Reilly another few years, and they will run out 
of mammals and start using insects...or plants.  The only company that 
uses an animal mascot, and that believes that ONLY they are allowed to 
use ANY representation of that species as a mascot regardless of 
similarity to their own version, is...oh yeah, Disney...

What was that about 'stitch'?

Otters are cute and playful, and surely cgf deserves a say in this given 
his steerage of the project.  Should he start talking about sprinking 
holy otter pee on the codebase prior to each kernel release, like Linus 
does, just to push otters into the zeitgeist?  (mebbe not. otter pee 
doesn't have quite the same alliterative punch as penguin pee)

'Course, it's all moot until somebody with artistic talent (e.g. not me) 
actually draws something...

P.S. anybody remember the oil-slicked otter that Berke Breathed drew in 
Bloom County?  He was a spokesman for Exxon after the Valdez 
incident in the 80's...shunned as a sell-out by the other members of the 
cast...

--
Chuck


--
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/



¿ QUIERES GANAR DINERO POR INTERNET ??

2002-12-02 Thread Dinero en Internet
Si tienes una computadora, una conexion a internet y quieres ganar dinero, 

ESTA ES LA OPORTUNIDAD DE TU VIDA 

Envia un email a la direccion:

[EMAIL PROTECTED]

ESPERAMOS TU RESPUESTA

--
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: cygwin official logo ?

2002-12-02 Thread Barry Buchbinder
Don't even think about it.  It's under Disney
copyright, and the word agressive doesn't come close
to describing how Disney protects their copyrights.

- Barry

-Original Message-
From: Jehan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 11:35 am
To: [EMAIL PROTECTED]
Subject: Re: cygwin official logo ?

Corinna Vinschen wrote:
 That's ok with me but my intend is to find a neat
animal (there are
 lots of them besides otters and koalas) 

What about a stitch? In the movie they say it looks
like a koala and I'm sure O'Reilly didn't use it on
their books. :)

Jehan

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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/




PostgreSQL 7.3 Package for Cygwin

2002-12-02 Thread Daniel Morgan
Does anyone have a PostgreSQL 7.3 binary package for Cygwin?

PostgreSQL version 7.3 was just recently released.

http://archives.postgresql.org/pgsql-announce/2002-11/msg4.php

--
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/




ls.exe shows windows system hidden files

2002-12-02 Thread Wendell Pinegar
There seems to be a long running defect in the implementation of ls.exe.  It
shows windows system hidden files - which it shouldn't do by default.  On
Unix systems files are hidden by placing a period in front of the filename
(ie, .profile), but in the windows world files are not routinely hidden this
way but are more commonly hidden by setting the hidden attribute on the
file.
 
Shouldn't ls.exe honor the file system attribute and not show the hidden
windows files?


--
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: When will we see chkconfig and xinetd?

2002-12-02 Thread Sergei Okhapkin
The packages are being reviewed. If you need the packages ASAP, you'll
find them at
http://users.rcn.com/sokhapkin/release/

-Original Message-
From: Jim Drash [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 11:46 AM
To: [EMAIL PROTECTED]
Subject: When will we see chkconfig and xinetd?


Sergei?

thanks in advance.



--
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/


--
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: cygwin official logo ?

2002-12-02 Thread Jehan
Charles Wilson wrote:

Yeah, that's a good idea.  Let's infringe on a Disney copyright.  They 
don't usually mind that sort of thing, do they?
[...]

What was that about 'stitch'?


Sorry, sorry, I was just kidding. I always found the girl in the movie
had a funny of saying I think it's a koala. Seeing the word here just
reminded me of it.
Maybe I should have use a ;) instead of :).

Otherwise, I have nothing against the otters. Actually I find the koala
a little too lazy to be a good mascoot (but Stitch isn't by the way...
no, please, don't hit me me, I was kidding again).

If anyone wants my opinion, I would select an animal that has a meaning
to cygwin more than its cuteness, like Gerald's cygnet, or the
enigneer's mascott the beaver. Otters are fine there too since they do
use tools (for those who don't know, they use rocke as a hammer with
their belly as an anvil and shells in between)

	Jehan




--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Max Bowsher
Wendell Pinegar [EMAIL PROTECTED] wrote:

 There seems to be a long running defect in the implementation of
 ls.exe.  It shows windows system hidden files - which it shouldn't do
 by default.  On Unix systems files are hidden by placing a period in
 front of the filename (ie, .profile), but in the windows world files
 are not routinely hidden this way but are more commonly hidden by
 setting the hidden attribute on the file.

 Shouldn't ls.exe honor the file system attribute and not show the
 hidden windows files?

It it really a big deal? Worth patching fileutils to make special allowance
for?

There is no unixy analogue, so Cygwin can't help here.

Personally, I don't see the point of patching fileutils to do this - but
that's just an opinion.


Max.



--
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: [ANNOUNCEMENT] Updated cygwin package: rxvt-2.7.9-2

2002-12-02 Thread Sergei Okhapkin
Shift-KP- and Shift-KP+ no longer change the font size in Windows mode.
The hotkeys work fine in X-Window mode.

-Original Message-
From: Steve O [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 12:00 PM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCEMENT] Updated cygwin package: rxvt-2.7.9-2


Hi,
rxvt is a terminal program that can be used instead of the windows
command shell.  It does not require an X server. 

This release fixes some multibyte character issues and is built with
--enable-languages, thanks to a series of patches from Cole Lin. 
It also re-enables xpm support, thanks to a heads-up from Frank-Michael.

-steve

-Installation Instructions-
To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations.  This means that you will need

to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is
usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/

is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package then

you can either wait for the site to be updated or find another mirror.

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

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from 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.

I implore you to READ this information before sending email about how
you tried everything to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to provide
you with the info that you need.


--
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/


--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Randall R Schulz
Wendell,

That is at the very best a matter of opinion and I don't think your opinion 
is widely shared. In particular, the mixing of file system models in the 
ls source code that would be required to implement your suggestion would 
render ls a horse of a different color and would set a poor precedent for 
Cygwin tool source code where the bar is fairly high for emplacing 
Cygwin-specific code. If you examine the ls source, you'll find it 
blissfully free of Cygwin-specific featuring.

The Windows hidden attribute has no direct counterpart in Unix / POSIX 
file systems, and hence cannot readily be reflected in the file information 
structures (see stat(2)--use one of the on-line POSIX manual resources) 
used by Unix file systems. Modifying the name to have a leading period 
would be a ghastly thing to do.

Basically, what you suggest is not really feasible and you'll have to learn 
to live with this defect.

Randall Schulz
Mountain Veiw, CA USA


At 09:01 2002-12-02, Wendell Pinegar wrote:
There seems to be a long running defect in the implementation of ls.exe.  It
shows windows system hidden files - which it shouldn't do by default.  On
Unix systems files are hidden by placing a period in front of the filename
(ie, .profile), but in the windows world files are not routinely hidden this
way but are more commonly hidden by setting the hidden attribute on the
file.

Shouldn't ls.exe honor the file system attribute and not show the hidden
windows files?



--
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/




How to make setup.exe download everything?

2002-12-02 Thread Francis Litterio
I recently tried to use setup.exe to download everything from the latest
Cygwin release, but setup.exe only lets me download packages that are
not already installed.

I need to download everything so I can instal Cygwin on a non-networked
machine, can anyone tell me how to use setup.exe to download packages
that I already have installed?
--
Francis Litterio
[EMAIL PROTECTED]
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.


--
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: how to be superuser on W98 ?

2002-12-02 Thread Igor Pechtchanski
On Thu, 28 Nov 2002, Don Sharp wrote:

 joel fernandez wrote:
 
  Thank you for your help,
 
  But I read this doc before sending the mail, and I don't understand why I can't 
have root permissions.

 Don't fret. It isn't the lack of root permissions that is hiding
 /usr/bin and /usr/lib. It's the fact that they are virtual directories,
 a figment of the Cygwin imagination. /dev is also a virtual directory.

FYI, nothing in Cygwin prevents one from creating *actual* directories
for /dev, /proc, /usr/bin and /usr/lib.  This way they will show up in the
directory listing of '/'.
Igor

 If you type

 $ mount
 G:\\bin on /usr/bin type system (binmode)
 G:\\lib on /usr/lib type system (binmode)
 c:\tmp on /tmp type system (binmode)
 G: on / type system (binmode)

 It shows the existence of /usr/bin and /usr/lib but the mount points
 don't have to be real directories.

 HTH

 Don Sharp

  Even though I know that W98 has problem with security.
 
  the result of ls / is :
 
  bin cygwin.bat cygwin.ico etc home lib sbin tmp usr var
 
  and ls /usr writes :
  X11R6doci686-pc-mingw32 info  man  share ssl var
  autotool i686-pc-cygwin include local sbin src   tmp
 
  thanks
  bye
 
  jo
 
  -- Initial Header ---
 
  From  : Elfyn McBratney [EMAIL PROTECTED]
  To  : [EMAIL PROTECTED], [EMAIL PROTECTED]
  Cc  :
  Date  : Thu, 28 Nov 2002 08:19:30 +
  Subject : Re: how to be superuser on W98 ?
 
   Hi,
  
   Because there is a lack of a security model in win9x (95,98,Me) the user
   logged in is effectively the su (superuser). If im understanding you
   correctly, you mean you cant see /usr/lib when you ls / (???) Can you see
   usr?
  
   Take a look at the manual, this will give you more info on this topic and is
   also a good source of you have problems:
  
   http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html (manual)
   http://cygwin.com/cygwin-ug-net/highlights.html#OV-HI-WIN9XNT
  
   Elfyn
   [EMAIL PROTECTED]
  
   Hello,
   
   Could somebody help me be THE superuser on my computer based on W98 ?
   
   the only line I have in /etc/passwd is :
   fernandez::500:544::/home/fernandez:/bin/bash
   
   and in /etc/group :
   unknown::544:
   
   So, I can access, for example, to /usr/lib, but I can't see this directory
   when I launch ls /
   
   Which means I only have user permissions.
   
   Thanks for aswering and sorry for the noise, if you think it is.
   
   bye
   jo

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: PostgreSQL 7.3 Package for Cygwin

2002-12-02 Thread Jason Tishler
Daniel,

On Mon, Dec 02, 2002 at 11:37:15AM -0500, Daniel Morgan wrote:
 Does anyone have a PostgreSQL 7.3 binary package for Cygwin?
 
 PostgreSQL version 7.3 was just recently released.
 
 http://archives.postgresql.org/pgsql-announce/2002-11/msg4.php

Thanks for the heads up.  I will release a Cygwin PostgreSQL 7.3 at my
earliest convenience.  Sorry, no ETA.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: FAQ now misleads about cygcheck output

2002-12-02 Thread Igor Pechtchanski
On Sun, 1 Dec 2002, Jason C. Johnston wrote:

 For the Cygwin FAQ maintainer:

 Quoted from the FAQ under Posting Guidelines --

 Details about your Cygwin setup, accomplished by pasting the
 output of   'cygcheck -s -v -r' into your message. (Do not send the
 output as a file attachment.)

 Recent discussion suggests the advice is now obsolete. It may also be an
 idea to state that the now-desirable attachment should not be
 compressed.

 FYI
 
 Jason C. Johnston [EMAIL PROTECTED]

I submitted a patch for this a while ago, but it didn't seem to make it
into the FAQ...  Any news on that?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Water molecules expand as they grow warmer (C) Popular Science, Oct'02, p.51


--
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: How to make setup.exe download everything?

2002-12-02 Thread Michael A Chase
On Mon, 2 Dec 2002 16:02:03 -0500 [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 If what you mean is to download *all* of the cygwin release you can do that
 using the cygwin installer (http://cygwin.com/setup.exe) option `Download
 From Internet' and set your download directory to wherever on the windows
 filesystem you want to store the downloaded release. Just click through the
 skip's in the package selector on all of the packages.
 
 If your doing this to put on data medium, e.g. CD-ROM's, the directory
 structure setup.exe creates (url encoded mirror urls) aren't compatible
 with JOILET standard. Im my situation dealing with standalone machines I
 just archive the directory containing the release and burn it to a cdr.

I'd suggest creating a directory to hold release/, setup.exe, and
setup.ini.  Sometimes setup.exe doesn't react well to looking in x:\
directly.  It is also useful to have setup.exe and setup.ini in your base
directory.

 Original Message:
 -
 From: Francis Litterio [EMAIL PROTECTED]
 Date: Mon, 02 Dec 2002 14:08:21 -0500
 To: [EMAIL PROTECTED]
 Subject: How to make setup.exe download everything?
 
 
 I recently tried to use setup.exe to download everything from the latest
 Cygwin release, but setup.exe only lets me download packages that are
 not already installed.
 
 I need to download everything so I can instal Cygwin on a non-networked
 machine, can anyone tell me how to use setup.exe to download packages
 that I already have installed?

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Wendell Pinegar
In our instance the reason this an issue is that we call the ls.exe utility
from PHP web code and have found that Windows XP is creating system hidden
files in some of our subdirectories (usually the XP auto-created thumbnail
databases).  We have also found other ls.exe implementations that do
properly ignore hidden files.  The MKS Toolkit for instance does properly
ignore these file types.

It just seems odd that ls.exe shows files that would not be listed with
standard command line dir.

I agree that the proper way to implement this in cygwin would be to hide
system hidden files by default and have a switch to allow ls.exe to show
these files if requested (like ls --show-hidden-files and ls
--show-system-files).

-Original Message-
From: Max Bowsher [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 11:29 AM
To: Wendell Pinegar; [EMAIL PROTECTED]
Subject: Re: ls.exe shows windows system hidden files

Wendell Pinegar [EMAIL PROTECTED] wrote:

 There seems to be a long running defect in the implementation of
 ls.exe.  It shows windows system hidden files - which it shouldn't do
 by default.  On Unix systems files are hidden by placing a period in
 front of the filename (ie, .profile), but in the windows world files
 are not routinely hidden this way but are more commonly hidden by
 setting the hidden attribute on the file.

 Shouldn't ls.exe honor the file system attribute and not show the
 hidden windows files?

It it really a big deal? Worth patching fileutils to make special allowance
for?

There is no unixy analogue, so Cygwin can't help here.

Personally, I don't see the point of patching fileutils to do this - but
that's just an opinion.


Max.


--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Randall R Schulz
Hi,

Perhaps a utility analogous to getfacl and setfacl for Windows-specific 
file system properties is in order. If done properly, it could be used by 
those few who need to restrict output of other commands w.r.t. to Windows 
properties not otherwise accessible in Cygwin.

Randall Schulz
Mountain View, CA USA


At 13:09 2002-12-02, Wendell Pinegar wrote:
In our instance the reason this an issue is that we call the ls.exe utility
from PHP web code and have found that Windows XP is creating system hidden
files in some of our subdirectories (usually the XP auto-created thumbnail
databases).  We have also found other ls.exe implementations that do
properly ignore hidden files.  The MKS Toolkit for instance does properly
ignore these file types.

It just seems odd that ls.exe shows files that would not be listed with
standard command line dir.

I agree that the proper way to implement this in cygwin would be to hide
system hidden files by default and have a switch to allow ls.exe to show
these files if requested (like ls --show-hidden-files and ls
--show-system-files).



--
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: ls.exe shows windows system hidden files

2002-12-02 Thread [EMAIL PROTECTED]
Hi,

Try to remember that cygwin is a unix emulation layer for windows that
tries to emulate unix in as many respects as possible. To change the ls
source to accomadate for something windows uses to hide files, sometimes
unknown from its users, would not be unix like.

But saying that if your requirement is to have such an ls facility, that
you must have, you could of course edit the source files to add your
`windows' style hiding of files. As you mentioned it is used from php so
why not check whether or not skip files in your script.

Elfyn
[EMAIL PROTECTED]

Original Message:
-
From: Wendell Pinegar [EMAIL PROTECTED]
Date: Mon, 2 Dec 2002 15:09:02 -0600 
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: ls.exe shows windows system hidden files


In our instance the reason this an issue is that we call the ls.exe utility
from PHP web code and have found that Windows XP is creating system hidden
files in some of our subdirectories (usually the XP auto-created thumbnail
databases).  We have also found other ls.exe implementations that do
properly ignore hidden files.  The MKS Toolkit for instance does properly
ignore these file types.

FYI the MKS toolkit is designed for windows and not a posix system, And
thus will support these windows features. In order to do this in cygwin
changes would have to be made to stat to detect these files.

It just seems odd that ls.exe shows files that would not be listed with
standard command line dir.

The dir command is built-into windows shells. Again follows the hiding
rules.

I agree that the proper way to implement this in cygwin would be to hide
system hidden files by default and have a switch to allow ls.exe to show
these files if requested (like ls --show-hidden-files and ls
--show-system-files).

-Original Message-
From: Max Bowsher [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 02, 2002 11:29 AM
To: Wendell Pinegar; [EMAIL PROTECTED]
Subject: Re: ls.exe shows windows system hidden files

Wendell Pinegar [EMAIL PROTECTED] wrote:

 There seems to be a long running defect in the implementation of
 ls.exe.  It shows windows system hidden files - which it shouldn't do
 by default.  On Unix systems files are hidden by placing a period in
 front of the filename (ie, .profile), but in the windows world files
 are not routinely hidden this way but are more commonly hidden by
 setting the hidden attribute on the file.

 Shouldn't ls.exe honor the file system attribute and not show the
 hidden windows files?

It it really a big deal? Worth patching fileutils to make special allowance
for?

There is no unixy analogue, so Cygwin can't help here.

Personally, I don't see the point of patching fileutils to do this - but
that's just an opinion.


Max.


--
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/


mail2web - Check your email from the web at
http://mail2web.com/ .



--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Andre Srinivasan

...
CW function pdfv () {
CW  cygstart /d/Program\ Files/Adobe/Acrobat\ 5.0/Reader/AcroRd32.exe
CW  \`cygpath -w -a $1`\ 
CW }

I get the same Dr. Watson when I try the above.  I agree, I don't
think it's cygstart, but it feels like there is a race condition or
mutex issue exposed when I directly invoke acrord32 (with or without
cygstart) vs. when I invoke IE and have IE invoke acrord32.

: $ uname -a
CYGWIN_NT-5.0 US1-ASRINIVASAN 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown

W2K, Acroread 5.0.5 9/24/2001



-andre.


--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Andre Srinivasan

BB What happens using plain start (C:\WINDOWS\COMMAND\start.exe)? 

I can't seem to find start.exe on my W2K box.

-andre.


--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote:


Hi,

Try to remember that cygwin is a unix emulation layer for windows that 
tries to emulate unix in as many respects as possible. To change the 
ls source to accomadate for something windows uses to hide files, 
sometimes unknown from its users, would not be unix like.

Personally I like the idea. It could be implemented as yet another 
option that the user could choose to use but would be off by default. 
After all ps has the -W option which is distinctly Windows only, no?




--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Christopher Faylor
On Mon, Dec 02, 2002 at 01:39:58PM -0800, Randall R Schulz wrote:
Perhaps a utility analogous to getfacl and setfacl for
Windows-specific file system properties is in order.  If done properly,
it could be used by those few who need to restrict output of other
commands w.r.t.  to Windows properties not otherwise accessible in
Cygwin.

What's wrong with an 'attrib' wrapper using cygpath?  That's not much
work at all.

cgf

--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Randall R Schulz
Chris,

I suppose that would be an adequate basis for constructing something with 
the effect I imagined.

Realistically, if I cared about being able to do this, I'd probably wrap 
the Windows attrib command in a script that would allow it to accept 
Cygwin's POSIX paths and to allow it to act like find with a hypothetical 
--attrib option. In other words, to list only those files bearing a 
particular attribute pattern.

Fortunately, I've never had to care about this and the Windows attrib 
command is barely in my working vocabulary, which is no doubt why I didn't 
think of it instead of suggesting a new tool.

Randall Schulz
Mountain View, CA USA


At 17:13 2002-12-02, you wrote:
On Mon, Dec 02, 2002 at 01:39:58PM -0800, Randall R Schulz wrote:
Perhaps a utility analogous to getfacl and setfacl for
Windows-specific file system properties is in order.  If done properly,
it could be used by those few who need to restrict output of other
commands w.r.t.  to Windows properties not otherwise accessible in
Cygwin.

What's wrong with an 'attrib' wrapper using cygpath?  That's not much
work at all.

cgf



--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Randall R Schulz
Andrew,

Cygwin uses stock ls source code. Cygwin's ps is entirely it's 
own--it's all distinctly Cygwin.

I still think an orthogonal approach is what's called for here. Otherwise, 
the number of commands that could reasonably be expected to have this sort 
of functionality would be much to large to each be so modified.

As Chris F. just suggested, something based on the Windows-supplied 
attrib command would fit the bill.

Randall Schulz
Mountain View


At 17:07 2002-12-02, you wrote:
[EMAIL PROTECTED] wrote:


Hi,

Try to remember that cygwin is a unix emulation layer for windows that 
tries to emulate unix in as many respects as possible. To change the ls 
source to accomadate for something windows uses to hide files, sometimes 
unknown from its users, would not be unix like.

Personally I like the idea. It could be implemented as yet another option 
that the user could choose to use but would be off by default. After all 
ps has the -W option which is distinctly Windows only, no?


--
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: cygwin's autoconf?

2002-12-02 Thread Soren A
Robert Collins [EMAIL PROTECTED] wrote in
1038820917.2953.13.camel@lifelesswks:">news:1038820917.2953.13.camel@lifelesswks: 

 On Mon, 2002-12-02 at 11:36, Soren A wrote:

 At the very LEAST, something that does what AM_MAINTAINER_MODE
 causes, should have been the *default* for all autotool'd packages,
 and only by significant contortions should it have been made possible
 to cause all that default behavior to get activated. But instead
 it's the other way around, and users are at the mercy of package
 maintainers' ignorance or awareness of the importance of (at the very
 MINIMUM) placing AM_MAINTAINER_MODE in their configuration file. 

 Soren, please don't rant on the wrong list. Firstly, few people here
 are autotool gurus, and thus your erroneous statements may go
 uncorrected (see below for the correction). Secondly, this is a CYGWIN
 list, not a autotool design philosophy list.

I think I shall keep my own counsel WRT to what to post, and where ;-).

 AM_MAINTAINER_MODE is dangerous because it can easily lead to
 dependency problems when a user patches some autotool file, and then
 doesn't run the appropriate autotool to update. So, avoid
 AM_MAINTAINER_MODE whenever possible.

You are an Autotools guru, Robert. Based on my past surveys of the
Autoconf List archives, I have the impression that you may have
contributed more code to Autoconf  chums (?) than anyone else in
Cygwin. The trouble with Autotools is that more so than any software I
have ever encountered, it seems historically (at least up until now) to
*demand* that the *user* become a *guru* in order to use it reliably
(ESPECIALLY on Cygwin, which is why this disc. is not OT for this List).
So the distinction we might make in debate like this, between users
and gurus, is a bit articifial or at least problematical and
debateable. 

Nonetheless I have to start by pointing out: what the HECK is a user 
doing patching some Autotool file?!?

This big issue affects everyone who uses packages which their creator has 
build-configured with GNU Autotools. That means base Cygwin itself here, 
and probably the majority of other official Cygwin packages maintained by 
the various package maintainers. It means that anyone who who wants for 
some reason (figuring out how to fix a bug they've encountered, just 
improving performance somehow, whatever) build from source is affected. So 
I AM going to use a little bandwidth to delve into some aspects.

The point about users is this: the theory WAS that a user (one who
builds the package from source code for installation to their own
system, but _that's all_) wouldn't even have to HAVE the intermediate
Autotools files for that package. Just the sources themselves (a given)
and a configure and a Makefile.in (and also maybe a config.h.in,
depending). As soon as you start talking about users needing to work
with intermediate (input) Autotools files (some are: Makefile.am,
configure.in|ac, config_h.in|ac), you are already talking about
somebody who isn't a user anymore. 

With the majority of the packages I have messed around with, that were
not already ported and part of Cygwin distros (and some that were), I
have had to leave the ranks of the users category and join the ranks
of the hackers-of-build-conf in order to succeed. I think that this
has been so common an experience for so many people that we forget that
the line between user and hacker ever existed, or why. I assert that
this is wrong and needs to be corrected. 

If the theory was that the user doesn't need to have the Autoconf files, 
then how does it look when the user runs ./configure and what gets output 
is a Makefile that requires *Autotools intermediate files* as prerequisites 
to build package targets?!? I'll tell you what it looks like: BROKEN-NESS. 
_It is broken_. If that isn't broken then your definition of broken and 
any common-sense one are very much at odds.

Before it looks like I am not addressing your point: if you are 
distributing a patch (say it is probably a unified diff format) that 
modifies Autotools files (and maybe a bunch of others), then I have to 
wonder why. OK, so your answer is that something in those Autotools build 
files is in need of correction. So that the build configuration for the 
package can be updated (fixed). So the category of persons who is 
*receiving* your patch is ... WHO? NOT users, but hackers. By 
definition. So by definition a hacker[-on-the-build-config] is someone 
who either has the *full competence and knowledgeability* to be hacking on 
the build configuration files, or they are not qualified to be in the 
hacker category. By definition.

This is the reality of the situation with Autotools. Builds based on them 
are so complex (and fragile, therefore the complexity fairly often gets 
exposed to the user category of persons) that half-way competence with 
Autotools is nearly worse than complete ignorance. Your theoretical user 
who runs a patch that updates Autotools files but doesn't pay 

Re: cygwin telnet issues from dos prompt tera term

2002-12-02 Thread praymond8
Greetings,
OOPS! SORRY!
Paul R
[EMAIL PROTECTED]

On Thu, 28 Nov 2002 10:47:48 +0100 Corinna Vinschen
[EMAIL PROTECTED] wrote:

 On Thu, Nov 28, 2002 at 06:30:41AM +, Elfyn
 McBratney wrote:
  Hi,
  [...]
  [EMAIL PROTECTED]
  
  Greetings Cygwin Support,
 
 Oh and, btw., this is *NOT* official cygwin
 support.  [EMAIL PROTECTED]
 is a public mailing list.
 
 Corinna
 
 -- 
 Corinna Vinschen  Please, send
 mails regarding Cygwin to
 Cygwin Developer   
 mailto:[EMAIL PROTECTED]
 Red Hat, Inc.
 


--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Michael Schaap
On 2-12-2002 23:57, Charles Wilson wrote:

Andre Srinivasan wrote:


I noticed sometime in August or September that I could no longer
invoke acroreader (v5.0.5) via cygstart or directly from AcroRd32 if I
wanted to view a document.  If I do invoke either, I get a Dr. Watson
(which I've appended).  On the otherhand, if I invoke IE and pass it
the file to open, acroread starts fine within IE.

I've appended the drwtsn32 file. 
Thanks.


The following works for me
(cygwin kernel version 1.3.17-1, W2k, Acroread 5.0.1 3/27/2001)
$ uname -a
CYGWIN_NT-5.0 KHELDAR 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown

 in ~/.bashrc (ignore stupid mailer-induced linewrap) 
function pdfv ()
{
cygstart /d/Program\ Files/Adobe/Acrobat\ 5.0/Reader/AcroRd32.exe 
\`cygpath -w -a $1`\ 
}

What's wrong with just

	$ cygstart whatever.pdf

?  ;-)



BTW, I don't see anything in your drwatson dump that implicates 
cygstart.  Everything on the stack seems to be inside windows DLLs.
Any comments, Michael?
  ( Michael Schaap   cygwin_start AT mscha DOT org )

Oh, wait, that's me!  ;-)

I'm pretty sure that it's not cygstart related.  Cygstart doesn't really 
do anything except tell Windows to start a program or open a file.

One difference between starting a program from Cygwin and from Explorer, 
is the environment, most notably the $PATH.  This might cause different 
DLLs to be found.

Anyway, Andre also has problems when starting the reader directly, I 
assume from the start menu (i.e. Explorer).  So, it seems that this is 
not a Cygwin problem at all.

That makes this problem off-topic for this mailing list :-) , but I 
would try the following standard Microsoft troubleshooting steps:
 1. Reboot, and see if the problem goes away
 2. Uninstall and re-install Acrobat Reader, and see if it goes away

HTH,

 - Michael


--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Michael Schaap
On 3-12-2002 0:28, Andre Srinivasan wrote:

BB What happens using plain start (C:\WINDOWS\COMMAND\start.exe)? 

I can't seem to find start.exe on my W2K box.

No such thing on W2K.  start is a cmd.exe builtin.

You could try:

	$ cmd /c start 

 - Michael


--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Paul G.
I am inclined to believe it is AcroRd induced.

Even so, if I use the Cygwin command prompt (bash/rxvt), and manually navigate to the 
appropriate directory, AcroRd32.exe launches just fine with start (NT4).  So, if 
your 
program is setting the working directory correctly (pwd), then it should be starting 
AcroRd32.exe without a problem.

Cygstart ($cygstart ...) works as well.  Assuming, of course, you are actually 
in the pwd 
that includes acrord32.exe.

uname -a:  CYGWIN_NT-4.0 TALIESIN 1.3.17(0.67/3/2) 2002-11-27 18:54 i686 unknown

Paul G.


 On 2-12-2002 23:57, Charles Wilson wrote:
  Andre Srinivasan wrote:
  
  I noticed sometime in August or September that I could no longer
  invoke acroreader (v5.0.5) via cygstart or directly from AcroRd32
  if I wanted to view a document.  If I do invoke either, I get a Dr.
  Watson (which I've appended).  On the otherhand, if I invoke IE and
  pass it the file to open, acroread starts fine within IE.
 
  I've appended the drwtsn32 file. 
  Thanks.
  
  
  The following works for me
  (cygwin kernel version 1.3.17-1, W2k, Acroread 5.0.1 3/27/2001) $
  uname -a CYGWIN_NT-5.0 KHELDAR 1.3.17(0.67/3/2) 2002-11-27 18:54
  i686 unknown
  
   in ~/.bashrc (ignore stupid mailer-induced linewrap) 
  function pdfv ()
  {
  cygstart /d/Program\ Files/Adobe/Acrobat\
  5.0/Reader/AcroRd32.exe 
  \`cygpath -w -a $1`\ 
  }
 
 What's wrong with just
 
  $ cygstart whatever.pdf
 
 ?  ;-)
 
  
  BTW, I don't see anything in your drwatson dump that implicates
  cygstart.  Everything on the stack seems to be inside windows DLLs.
  Any comments, Michael?
( Michael Schaap   cygwin_start AT mscha DOT org )
 
 Oh, wait, that's me!  ;-)
 
 I'm pretty sure that it's not cygstart related.  Cygstart doesn't
 really do anything except tell Windows to start a program or open a
 file.
 
 One difference between starting a program from Cygwin and from
 Explorer, is the environment, most notably the $PATH.  This might
 cause different DLLs to be found.
 
 Anyway, Andre also has problems when starting the reader directly, I
 assume from the start menu (i.e. Explorer).  So, it seems that this is
 not a Cygwin problem at all.
 
 That makes this problem off-topic for this mailing list :-) , but I
 would try the following standard Microsoft troubleshooting steps:
   1. Reboot, and see if the problem goes away
   2. Uninstall and re-install Acrobat Reader, and see if it goes away
 
 HTH,
 
   - Michael
 
 
 --
 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/
 



--
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: ls.exe shows windows system hidden files

2002-12-02 Thread Andrew DeFaria
Randall R Schulz wrote:


Andrew,

Cygwin uses stock ls source code. Cygwin's ps is entirely it's 
own--it's all distinctly Cygwin. 

Makes sense.

Still I would like ls to do it (in my case by default). You see I'm one 
of those, I guess, few Windows users who actually uses hidden files and 
likes to have them hidden in the Explorer and, correspondingly in ls. So 
I just live with this defect.

Hacking up a wrapper around ls to use attribe would be a little work, if 
one wanted to insure other ls semantics including color and the like 
(IOW do it right). Maybe someday I'll do this...




--
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: cygstart foo.pdf results in 'AcroRd32.exe has generated errors'

2002-12-02 Thread Randall R Schulz
Andre,

Whatever your problems are, they're local to your system.

Although I'm usually loathe to make (or accept) this suggestion as a means 
to correct problems, perhaps you should re-install Acrobat Reader.

By the way, version 5.1 is out, so perhaps you could upgrade while you're 
at it (if you have not already done so).

Randall Schulz
Mountain View, CA USA


At 21:41 2002-12-02, Andre Srinivasan wrote:

e What happens when you run acrobat directly from the cygwin terminal
e without using cygstart? or what about running
e \winnt\system32\cmd.exe /K \path\to\acrobat?

Invoking 'acrord32 foo.pdf' directly from a cygwin terminal (rxvt)
causes a Dr. Watson.  Invoking it via 'cmd /k 'c:\Program
Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe' foo.pdf' also causes a
Dr. Watson.



--
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: gcc-3.2-3: bootstrap build fails (HAVE_DECL_GETOPT not in config.h?)

2002-12-02 Thread Anurag Sharma
Hi All,

Has there been a resolution to this issue? I can't see any answeres in the
previous posts.

Regards,

Anurag

On Wed, 20 Nov 2002 10:14:59 +1100
Nigel Stewart  Fiona Smith [EMAIL PROTECTED] wrote:

 Michael,
 
 I have encountered the same problem on my setup.
 
 Regards,
 
 Nigel Stewart
 
 Trying to build gcc-3.2-3 from scratch.  Have the near latest versions
 of everything in cygwin (see cygcheck.out).
 
 /home/mhcox/projects/build/gcc-3.2-3/gcc/xgcc -shared-libgcc
 -B/home/mhcox/p rojects/build/gcc-3.2-3/gcc/ -nostdinc++
 -L/home/mhcox/projects/build/gcc-3. 2-3/i686-pc-cygwin/libstdc++-v3/src
 -L/home/mhcox/projects/build/gcc-3.2-3/i
 686-pc-cygwin/libstdc++-v3/src/.libs
 -B/home/mhcox/projects/install/i686-pc- cygwin/bin/
 -B/home/mhcox/projects/install/i686-pc-cygwin/lib/
 -isystem/home/mhcox/projects/install/i686-pc-cygwin/include
 -I/usr/src/gcc-3.2-3/lib stdc++-v3/../gcc
 -I/usr/src/gcc-3.2-3/libstdc++-v3/../include -I/home/mhcox/
 projects/build/gcc-3.2-3/i686-pc-cygwin/libstdc++-v3/include/i686-pc-c
 ygwin
 -I/home/mhcox/projects/build/gcc-3.2-3/i686-pc-cygwin/libstdc++-v3/inc
 lude - I/usr/src/gcc-3.2-3/libstdc++-v3/libsupc++ -g -O2
 -fno-implicit-templates -W all -Wno-format -W -Wwrite-strings -Winline
 -fdiagnostics-show-location=once
  -ffunction-sections -fdata-sections -g -c
 /usr/src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc -o pure.o
 cc1plus: warning: -ffunction-sections may affect debugging on some
 targets In file included from /usr/include/unistd.h:8,
  from
  /usr/src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc:34:
 /usr/src/gcc-3.2-3/include/getopt.h:115: declaration of C function `int
getopt()' conflicts with
 /usr/include/sys/unistd.h:125: previous declaration `int getopt(int,
 char*
const*, const char*)' here
 
 
 
 --
 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/

--
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/