Re: Blackbox ?

2002-03-08 Thread Hack Kampbjørn

Rick Oosterling wrote:
 
 Christopher Faylor [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  On Thu, Mar 07, 2002 at 03:34:05PM +0100, Rick Oosterling wrote:
  Anybody know where to download this windowsmanager ?
  
  The original site is up but the download links are down :-(
  
  Thanks
 
  Wrong mailing list.
 
  cgf
 
 
 
 Oh ?
 
 I want to install it on cygwin but first i need to download it !! So
 off-topic ?

YES !!! (And if you too want to unsubscribe nobody cares)

Somehow you found the [EMAIL PROTECTED] list without reading the Cygwin
mailing lists page (http://cygwin.com/lists.html) and missed the
existence of the Cygwin/Xfree list.

Since you know that blackbox is a windowsmanager you know enough about
Unix and X as to claim ignorance about XFree here. And the need of a X
client library and a running X server to get anything out of blackbox.

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn



RE: Blackbox ?

2002-03-08 Thread Suhaib Siddiqi


People need to look into contrib directory on Cygwin-xfree before
asking.  


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Hack Kampbjørn
 Sent: Friday, March 08, 2002 5:11 AM
 To: Rick Oosterling
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Blackbox ?
 
 
 Rick Oosterling wrote:
  
  Christopher Faylor [EMAIL PROTECTED] wrote in message 
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   On Thu, Mar 07, 2002 at 03:34:05PM +0100, Rick Oosterling wrote:
   Anybody know where to download this windowsmanager ?
   
   The original site is up but the download links are down :-(
   
   Thanks
  
   Wrong mailing list.
  
   cgf
  
  
  
  Oh ?
  
  I want to install it on cygwin but first i need to download 
 it !! So 
  off-topic ?
 
 YES !!! (And if you too want to unsubscribe nobody cares)
 
 Somehow you found the [EMAIL PROTECTED] list without reading 
 the Cygwin mailing lists page (http://cygwin.com/lists.html) 
 and missed the existence of the Cygwin/Xfree list.
 
 Since you know that blackbox is a windowsmanager you know 
 enough about Unix and X as to claim ignorance about XFree 
 here. And the need of a X client library and a running X 
 server to get anything out of blackbox.
 
 -- 
 Med venlig hilsen / Kind regards
 
 Hack Kampbjørn
 




Re: KDE under cygwin?

2002-03-08 Thread Christopher Faylor

On Fri, Mar 08, 2002 at 08:59:41AM +, Chris January wrote:
 Is anyone using KDE, KOffice, (especially)
 KDevelop with Cygwin? I assume it
 would need the qt library. Is this all workable?

Look at http://kde-cygwin.sourceforge.net. There are alpha
releases of some kde packages
I would appreciate any feedback you have regarding the KDevelop package on 
that site (and kde-cygwin in general, for that matter). There is a mailing 
list for kde-cygwin over at www.kde.org ([EMAIL PROTECTED]). I think Chris 
was a little unfair in blasting you for posting to the wrong list without 
pointing you in the right direction.

And this is the wrong mailing list for discussing KDE.

Wow.  What a scorcher.

And, 1) Ralf knows the right mailing list for these discussions, 2) I
redirected discussion to the right mailing list by setting the Reply-To
and changing my From address.

cgf



dumper.exe help/version patch

2002-03-08 Thread Joshua Daniel Franklin

Here is the next in the series of patches to standardize the help and
version options in the utils. This also adds GNUish options to dumper.
I left the Compiled on __DATE__ out of
print_version since there is a #ifdef __GNUC__ in the file and I don't
know whether that trick works with all compilers.

2002-03-09  Joshua Daniel Franklin [EMAIL PROTECTED]
* dumper.cc (usage) Standardize usage output. Generalize to allow use for help.
(longopts) New struct. Added longopts for all options.
(print_version) New function. 
(main) Change getopt to getopt_long. Accommodate new help and 
version options. 

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--- dumper.cc-orig  Sun Feb 24 19:33:06 2002
+++ dumper.cc   Sat Mar  9 00:34:02 2002
@@ -1,6 +1,6 @@
 /* dumper.cc
 
-   Copyright 1999,2001 Red Hat Inc.
+   Copyright 1999, 2001, 2002 Red Hat Inc.
 
Written by Egor Duda [EMAIL PROTECTED]
 
@@ -36,6 +36,8 @@ __attribute__ ((packed))
 #endif
   note_header;
 
+static const char version[] = $Revision: 1.8 $;
+
 BOOL verbose = FALSE;
 
 int deb_printf (const char *format,...)
@@ -770,14 +772,46 @@ dumper::write_core_dump ()
 }
 
 static void
-usage ()
+usage (FILE * stream, int status)
 {
-  fprintf (stderr, Usage: dumper [options] filename pid\n);
-  fprintf (stderr, filename -- dump core to filename.core\n);
-  fprintf (stderr, pid  -- win32-pid of process to dump\n\n);
-  fprintf (stderr, Possible options are:\n);
-  fprintf (stderr, -d   -- be verbose while dumping\n);
-  fprintf (stderr, -q   -- be quite while dumping (default)\n);
+  fprintf (stream, \
+Usage: dumper [OPTION] FILENAME WIN32PID\n\
+Dump core from WIN32PID to FILENAME.core\n\
+ -d, --verbose  be verbose while dumping\n\
+ -h, --help output help information and exit\n\
+ -q, --quietbe quiet while dumping (default)\n\
+ -v, --version  output version information and exit\n\
+);
+  exit (status);
+}
+
+struct option longopts[] = {
+  {verbose, no_argument, NULL, 'd'},
+  {help, no_argument, NULL, 'h'},
+  {quiet, no_argument, NULL, 'q'},
+  {version, no_argument, 0, 'v'},
+  {0, no_argument, NULL, 0}
+};
+
+static void 
+print_version ()
+{
+  const char *v = strchr (version, ':');
+  int len;
+  if (!v)
+{
+  v = ?;
+  len = 1;
+}
+  else
+{
+  v += 2;
+  len = strchr (v, ' ') - v;
+}
+  printf (\
+dumper (cygwin) %.*s\n\
+Core Dumper for Cygwin\n\
+Copyright 1999, 2001, 2002 Red Hat, Inc.\n, len, v);
 }
 
 int
@@ -788,7 +822,7 @@ main (int argc, char **argv)
   DWORD pid;
   char win32_name [MAX_PATH];
 
-  while ((opt = getopt (argc, argv, dq)) != EOF)
+  while ((opt = getopt_long (argc, argv, dqhv, longopts, NULL) ) != EOF)
 switch (opt)
   {
   case 'd':
@@ -797,8 +831,13 @@ main (int argc, char **argv)
   case 'q':
verbose = FALSE;
break;
+  case 'h':
+   usage (stdout, 0);
+  case 'v':
+   print_version ();
+   exit (0);
   default:
-   usage ();
+   usage (stderr, 1);
break;
   }
 
@@ -814,7 +853,7 @@ main (int argc, char **argv)
 }
   else
 {
-  usage ();
+  usage (stderr, 1);
   return -1;
 }
 



Re: /cygdrive wierdness

2002-03-08 Thread Christopher January

 Using Cygwin DLL 1.3.10.
   
Likewise. (On Win2K.)
   
 1. Close all Cygwin programs
 2. Open bash
 3. Type: cd /cygdrive
 4. Type ls
 I get a listing of C:\ instead
 5. Type bash
 6. Type: cd /cygdrive
 7. Type ls
 I get a listing of available drives as I should.

 Can someone else confirm this is a problem?
   
Not here. I get the list of drives always.
  
   Are you sure you closed all Cygwin programs?
 
 Yes. I just tried it again after rebooting to make sure.
 (My drive prefix is /win instead of /cygdrive, but I don't
 suppose that would make any difference.)

 Sorry to belabor the point but do you run any Cygwin services?  If so, did
 you shut them down?
Have you tried this yourself Larry? What do you get?

Chris

--
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: Blackbox ?

2002-03-08 Thread Rick Oosterling

Christopher Faylor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 On Thu, Mar 07, 2002 at 03:34:05PM +0100, Rick Oosterling wrote:
 Anybody know where to download this windowsmanager ?
 
 The original site is up but the download links are down :-(
 
 Thanks

 Wrong mailing list.

 cgf



Oh ?

I want to install it on cygwin but first i need to download it !! So
off-topic ?





--
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: Blackbox ?

2002-03-08 Thread Hack Kampbjørn

Rick Oosterling wrote:
 
 Christopher Faylor [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  On Thu, Mar 07, 2002 at 03:34:05PM +0100, Rick Oosterling wrote:
  Anybody know where to download this windowsmanager ?
  
  The original site is up but the download links are down :-(
  
  Thanks
 
  Wrong mailing list.
 
  cgf
 
 
 
 Oh ?
 
 I want to install it on cygwin but first i need to download it !! So
 off-topic ?

YES !!! (And if you too want to unsubscribe nobody cares)

Somehow you found the [EMAIL PROTECTED] list without reading the Cygwin
mailing lists page (http://cygwin.com/lists.html) and missed the
existence of the Cygwin/Xfree list.

Since you know that blackbox is a windowsmanager you know enough about
Unix and X as to claim ignorance about XFree here. And the need of a X
client library and a running X server to get anything out of blackbox.

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

--
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: grap-1.10

2002-03-08 Thread Gerrit P. Haase

 fergus,

2002-03-08 11:30:01, du schriebst:

 I downloaded
 http://www.lunabase.org/~faber/Vault/software/grap/grap-1.10.tar.gz and
 within Cygwin, after unwrapping it, I ran the commands

What about the latest version I found on the grap homesite:
http://www.lunabase.org/~faber/Vault/software/grap/grap-1.23.tar.gz
?

 ./configure
 make
 make install


-- 
begin  signature:
=^..^=
end


--
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: subscribe cygwin

2002-03-08 Thread Corinna Vinschen

On Fri, Mar 08, 2002 at 11:45:22AM +0100, Dr. Daniel Weiss wrote:
 
 --
 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/

Try again *after* reading http://cygwin.com/lists.html

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: Telneting/ftping to cygwin

2002-03-08 Thread Rafael Botejara Cepeda

Hello:

I sent a mail on Feb, 26th: 
http://sources.redhat.com/ml/cygwin/2002-02/msg01390.html

I had no answers!

I have the same problem in NT4.0 SP5 and W2K SP2
using cygwin.dll 1.3.9 and 1.3.10

Trying with cygwin 1.3.3 and 1.3.6 it works

I think it isn't depend on inetd, but cygwin.dll

Rafa.

-Mensaje original-
De: Louis Bohm [SMTP:[EMAIL PROTECTED]]
Enviado el: jueves, 07 de marzo de 2002 14:23
Para:   [EMAIL PROTECTED]
Asunto: Telneting/ftping to cygwin

I just did a compleat reinstall of cygwin from scratch on my win2k 
machine.  Before I had it setup to allow me to telnet and ftp to my machine 
using cygwin.  Now I am unable to.

I have run inetd.exe --install-as-service and I have the cygwin variable 
setup as tty title glob ntea binmode.  When I telnet in I get:
 [lbohm@YODA:/usr/doc/Cygwin]  telnet yoda
 Trying 192.233.225.228...
 Connected to yoda.
 Escape character is '^]'.
 Connection closed by foreign host.
Where yoda is the name of my win2k host.  The above tells me that 
in.telnetd is running but that something else is stopping it.  I do not see 
a hosts.allow or a hosts.deny anywhere.

What am I missing to get this working??

Thanks,

Louis

--
$$o?`?o$oo$o?`?o$oo$o?`?o$oo$o?`?o$oo$o?`?o$
$?`?Lightbridge, Inc
$?`?67 South Bedford St.
$?`?Burlington MA 01832
$?`?781.359.4795 mailto:[EMAIL PROTECTED]
$?`?http://www.lightbridge.com
$$o?`?o$oo$o?`?o$oo$o?`?o$oo$o?`?o$oo$o?`?o$


--
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/
--
This email is confidential and intended solely for the use of the individual to whom 
it is addressed. Any views or opinions presented are solely those of the author and do 
not necessarily represent those of SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this email in 
error and that any use, dissemination, forwarding, printing, or copying of this email 
is strictly prohibited.
--


--
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:run dhcpd server from inetd

2002-03-08 Thread Jorge Goncalvez

Hi, I wanted to run an dhcpd server from inetd.
I put on usr/sbin a exe dhcpd.exe but when i ran inetd i have :
Inetd : Win32 Process Id = 0xFFC4180D : Cygwin Process Id = 0x3BE7F3 : LOG_ERR : 
bootps/udp: unknown service
althought i put 
bootps dgram   udp waitroot/usr/sbin/dhcpd eth0

in my inetd.conf.
Thanks.


--
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: Failed: Installing Postgresql under Cygwin on win98se

2002-03-08 Thread Jason Tishler

Tom,

On Fri, Mar 08, 2002 at 03:27:52AM +0100, Tom Lauren wrote:
 $ postgres -F -D /usr/share/postgresql/data/template1 -O -d 5 template1
 FindExec: searching PATH ...
 ValidateBinary: /bin/postgres is not a regular file

What do you get from the following?

$ ls -l /bin/postgres
-rwxrwxrwx1 Administ Domain U  2706432 Feb 12 07:27 /bin/postgres

Maybe posting the output from cygcheck -s -r -v would help?

Jason

--
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: run dhcpd server from inetd

2002-03-08 Thread Corinna Vinschen

On Fri, Mar 08, 2002 at 01:26:27PM +0100, Jorge Goncalvez wrote:
 Hi, I wanted to run an dhcpd server from inetd.
 I put on usr/sbin a exe dhcpd.exe but when i ran inetd i have :
 Inetd : Win32 Process Id = 0xFFC4180D : Cygwin Process Id = 0x3BE7F3 : LOG_ERR : 
 bootps/udp: unknown service
 althought i put 
 bootps dgram   udp waitroot/usr/sbin/dhcpd eth0
 
 in my inetd.conf.
 Thanks.

The appropriate bootps entry in the Systems services file is missing.
The services file is

  ${SYSTEMROOT}/system32/drivers/etc/services

on NT/2K/XP and

  ${windir}/SERVICES

on 9x/Me.

Same problem when trying to start sshd from inetd.  Look into
/usr/doc/Cygwin/openssh-*.README.

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: Can't create home directory

2002-03-08 Thread V:\)

Have you tried to regenerate the groups (mkgroup -l  /etc/group). This
might work...

Voyteck

- Original Message -
From: Winston Gutkowski [EMAIL PROTECTED]
To: Cygwin [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 7:32 PM
Subject: Can't create home directory


 Hi,

 I'm trying to install cygwin to test the openssh server. I have had it on
my
 machine before and removed it, and am trying to install it again. I
believe
 I have gone through all the correct steps for uninstallation (registry
 entries, environment variables and the like), but now, whenever I install,
I
 get errors as soon as I try to execute bash, saying that Administrator
does
 not have permissions to create /home/Administrator.

 I have tried changing ownership to 544:544, opening everything to 777,
 setting the directory open to Everyone in Windows, but nothing seems to
 work. Does anyone have any ideas what might be wrong? I have tried to
search
 the archives, but could not find any entries.

 Thanks in advance

 Winston Gutkowski



--
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: /cygdrive wierdness

2002-03-08 Thread Larry Hall (RFK Partners, Inc)

At 03:50 AM 3/8/2002, Christopher January wrote:
  Using Cygwin DLL 1.3.10.

 Likewise. (On Win2K.)

  1. Close all Cygwin programs
  2. Open bash
  3. Type: cd /cygdrive
  4. Type ls
  I get a listing of C:\ instead
  5. Type bash
  6. Type: cd /cygdrive
  7. Type ls
  I get a listing of available drives as I should.
 
  Can someone else confirm this is a problem?

 Not here. I get the list of drives always.
   
Are you sure you closed all Cygwin programs?
  
  Yes. I just tried it again after rebooting to make sure.
  (My drive prefix is /win instead of /cygdrive, but I don't
  suppose that would make any difference.)
 
  Sorry to belabor the point but do you run any Cygwin services?  If so, did
  you shut them down?
Have you tried this yourself Larry? What do you get?



Sorry Chris.  I should've been more clear.  I haven't seen this issue 
myself.  However, I wanted to make sure that implied unloading of the 
cygwin1.dll in your steps above was part of the test, which was my main
reason for asking the question.  Obviously, the DLL won't unload if 
services that depend on it are still in place.  I can neither confirm nor
deny a bug in this area however.

Sorry.





Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


--
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: Telneting/ftping to cygwin

2002-03-08 Thread Larry Hall (RFK Partners, Inc)

At 06:28 AM 3/8/2002, Rafael Botejara Cepeda wrote:
Hello:

I sent a mail on Feb, 26th: 
http://sources.redhat.com/ml/cygwin/2002-02/msg01390.html

I had no answers!



Just to be clear, posting a question doesn't guarantee an answer.  It simply
let's us all know the troubles you see.  I'm sure if someone had some ideas
(beyond the obvious of 'debug it yourself' ;-) ), you'd get a response.
There's no harm in interpreting a lack of response as an indication that 
no one here has the answer for you, at least not at this time.

For posterity, I'll use this post to restate the important issue again.

soapbox
Just because you post, don't expect an answer.  Even more than that, don't
let the fact that you don't get an answer get under your skin.  No response 
simply means no one on the list has any information they think is useful to 
you.  No one's hoarding information you need and jealously keeping it to 
themselves.  While re-posting exactly the same information about a problem
may, on occasion, result in some feedback that's helpful, it's also quite 
common for such posts to annoy those who frequent this high-volume list,
causing them to become less interested in your issue.  So, before posting
an issue again, please be considerate and think about whether your posting
contains any new, useful information about the problem.  If not, it may be
worth some time to try to find some additional information before writing a
follow-up post.  Such actions can go a long way toward finding a resolution
to the problem you're having.
/soapbox

Thanks Rafael for affording me the opportunity to use your posting to 
address this assumption about the Cygwin list.  Fortunately, it seems this
assumption is not common but it's still worthwhile to take a moment to 
dispel the myth.





Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


--
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: Telneting/ftping to cygwin

2002-03-08 Thread Rafael Botejara Cepeda

Larry:

Sorry for be impatient...

I think there is a bug in cygwin.dll, and in the mailing list others bugs have 
got answers quickly

I've checking the ml all the days.

Thanks to you,
Rafa.

-Mensaje original-
De: Larry Hall (RFK Partners, Inc) [SMTP:[EMAIL PROTECTED]]
Enviado el: viernes, 08 de marzo de 2002 15:50
Para:   [EMAIL PROTECTED]; 'CYGWIN'
Asunto: RE: Telneting/ftping to cygwin

At 06:28 AM 3/8/2002, Rafael Botejara Cepeda wrote:
Hello:

I sent a mail on Feb, 26th:
http://sources.redhat.com/ml/cygwin/2002-02/msg01390.html

I had no answers!



Just to be clear, posting a question doesn't guarantee an answer.  It simply
let's us all know the troubles you see.  I'm sure if someone had some ideas
(beyond the obvious of 'debug it yourself' ;-) ), you'd get a response.
There's no harm in interpreting a lack of response as an indication that
no one here has the answer for you, at least not at this time.

For posterity, I'll use this post to restate the important issue again.

soapbox
Just because you post, don't expect an answer.  Even more than that, don't
let the fact that you don't get an answer get under your skin.  No response
simply means no one on the list has any information they think is useful to
you.  No one's hoarding information you need and jealously keeping it to
themselves.  While re-posting exactly the same information about a problem
may, on occasion, result in some feedback that's helpful, it's also quite
common for such posts to annoy those who frequent this high-volume list,
causing them to become less interested in your issue.  So, before posting
an issue again, please be considerate and think about whether your posting
contains any new, useful information about the problem.  If not, it may be
worth some time to try to find some additional information before writing a
follow-up post.  Such actions can go a long way toward finding a resolution
to the problem you're having.
/soapbox

Thanks Rafael for affording me the opportunity to use your posting to
address this assumption about the Cygwin list.  Fortunately, it seems this
assumption is not common but it's still worthwhile to take a moment to
dispel the myth.





Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
This email is confidential and intended solely for the use of the individual to whom 
it is addressed. Any views or opinions presented are solely those of the author and do 
not necessarily represent those of SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this email in 
error and that any use, dissemination, forwarding, printing, or copying of this email 
is strictly prohibited.
--


--
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: Telneting/ftping to cygwin

2002-03-08 Thread Louis Bohm

Anyway to get back on topic.  I had cygwin.dll 1.3.10-1 so that was not the 
problem.  I just did run set up and that updated a bunch of things.  Now 
telnet and ftp do work.  Inetutils ws one on the things I saw in the list 
of updated software.

Thanks,
Louis

At 09:50 AM 3/8/2002 -0500, you wrote:
At 06:28 AM 3/8/2002, Rafael Botejara Cepeda wrote:
 Hello:
 
 I sent a mail on Feb, 26th:
 http://sources.redhat.com/ml/cygwin/2002-02/msg01390.html
 
 I had no answers!



Just to be clear, posting a question doesn't guarantee an answer.  It simply
let's us all know the troubles you see.  I'm sure if someone had some ideas
(beyond the obvious of 'debug it yourself' ;-) ), you'd get a response.
There's no harm in interpreting a lack of response as an indication that
no one here has the answer for you, at least not at this time.

For posterity, I'll use this post to restate the important issue again.

soapbox
Just because you post, don't expect an answer.  Even more than that, don't
let the fact that you don't get an answer get under your skin.  No response
simply means no one on the list has any information they think is useful to
you.  No one's hoarding information you need and jealously keeping it to
themselves.  While re-posting exactly the same information about a problem
may, on occasion, result in some feedback that's helpful, it's also quite
common for such posts to annoy those who frequent this high-volume list,
causing them to become less interested in your issue.  So, before posting
an issue again, please be considerate and think about whether your posting
contains any new, useful information about the problem.  If not, it may be
worth some time to try to find some additional information before writing a
follow-up post.  Such actions can go a long way toward finding a resolution
to the problem you're having.
/soapbox

Thanks Rafael for affording me the opportunity to use your posting to
address this assumption about the Cygwin list.  Fortunately, it seems this
assumption is not common but it's still worthwhile to take a moment to
dispel the myth.





Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


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

--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:[EMAIL PROTECTED]
¤°`°http://www.lightbridge.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/




Building code for a PowerPC target using cygwin

2002-03-08 Thread Mike Hayden

I have downloaded cygwin onto my Windows PC and wish to build code for an
embedded target running a PowerPC 860.

It looks as though the target was set to Intel 686 when the GNU Tools were
built.  I have tried to change my target to -mcpu=860 per the GNU CC
documentation but I keep getting the error cc1.exe: bad value (860)
for -mcpu= switch, I also tried -mpowerpc with the same result.

I looked thru the cygwin directories and noted that under
C:\cygwin\usr\src\gcc-2.95.3-5\gcc\config there is no support for PowerPC
that I can find.

So I am guessing that my problem is either 1. The GNU Tools must be rebuilt
with the target set for powerpc or 2. The pre-compiled GNU Tools included
with cygwin 1.3.1 do not have support for powerpc.

Any help to clear this up would be appreciated.

Thanks
MH


--
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: Telneting/ftping to cygwin

2002-03-08 Thread Don Sharp

I can confirm that there is a problem. I telnetted from a linux box to
my cygwin on NT4 setup which has an up to date cygwin1.dll (see cygcheck
output)

On the cygwin side I get a pop-up

bash.exe The application failed to initialise properly (0x022)

on the linux side telnet hangs until I click OK on the pop-up, at which
point it exits.

running cygcheck I get

$ cygcheck -r -s -v  /tmp/cyg.txt
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1005

but the output seems OK otherwise and appears below

Cheers

Don Sharp


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 08 15:44:19 2002

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:   G:\usr\local\bin
G:\\bin
G:\bin
f:\Perl\bin\
G:\bin
j:\mksnt
t:\java\jdk\jdk1.3.0_02\bin
t:\java\jdk\jdk1.3.0_02\jre\bin
t:\java\jdk\jdk1.3.0_02\jre\bin\classic
c:\Sybase\DLL
c:\Sybase\BIN
c:\WINNT\system32
c:\WINNT
c:\ORANT\BIN
f:\BORLAND\BC4.02\BIN
c:\PROGRA~1\MICROS~2\Common\Tools\WinNT
c:\PROGRA~1\MICROS~2\Common\MSDev98\Bin
c:\PROGRA~1\MICROS~2\Common\Tools
c:\PROGRA~1\MICROS~2\VC98\bin
.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

C_INCLUDE_PATH = `/usr/local/include'
HOME = `d:\users\don'
LIBRARY_PATH = `/usr/local/lib'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/users/don'
USER = `don'

COMPUTERNAME = `DON'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CPLUS_INCLUDE_PATH = `/usr/local/include'
HOMEDRIVE = `d:'
HOMEPATH = `\users\don'
INCLUDE = `C:\Sybase\INCLUDE;'
JAVA_HOME = `T:\java\jdk\jdk1.3.0_02'
LIB = `C:\Sybase\LIB;'
LOGONSERVER = `\\DON'
LS_COLORS =
`no=00:fi=00:di=01;36:ln=00;34:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=00;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=07;44:*.avi=07;44:*.gl=07;44:*.dl=07;44:'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0803'
PROMPT = `$P$G'
PS1 = `]0;\w
\u@\h \w
$ '
ROOTDIR = `J:/mksnt'
SHELL = `/bin/bash'
SHLVL = `1'
SYBASE = `C:\Sybase'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\TEMP'
TERM = `cygwin'
USERDOMAIN = `DON'
USERNAME = `don'
USERPROFILE = `C:\WINNT\Profiles\don.000'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x002a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `G:/'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosc
  (default) = `c:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosf
  (default) = `f:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosh
  (default) = `h:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosi
  (default) = `i:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosj
  (default) = `j:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dost
  (default) = `t:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `c:\tmp'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `G://bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `G://lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
  (default) = `binmode tty ntsec'

a:  fd   N/AN/A
c:  hd  NTFS2510Mb  72% CP CS UN PA FC NTmain
d:  hd  FAT  510Mb  37% CPUN   SLACKWARE
e:  cd  CDFS 438Mb 100%CS UN   CAPITAL_MFD
f:  hd  FAT  510Mb  86% CPUN   WINAPPS
g:  hd  NTFS 510Mb  72% CP CS UN PA FC CYGWINPOSIX
h:  hd  FAT  510Mb  63% CPUN   OPENWORK
i:  hd  FAT  510Mb  88% CPUN   FREETIME
j:  hd  NTFS 509Mb  75% CP CS UN PA FC NTApplics
k:  hd  NTFS 250Mb  57% CP CS UN PA FC RESERVE_NT4
l:  hd  FAT  219Mb  64% CPUN   WINDOWSWAPS
n:  hd   

Re: gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5

2002-03-08 Thread Christopher Faylor

On Fri, Mar 08, 2002 at 05:03:26PM +1000, Alex Song wrote:
hi,

i think i have found a bug, either that or i am very stupid. the bug is a
gcc bug and it is cygwin specific (cygwin-1.3.10-1 gcc-2.95.3-5) and the
following code causes a seg fault:
---
int end;

int main ()
{
  end = 1;

  return 0;
}


The global 'end' is a reserved word.  It refers to the end of the data
area.  That means you can't use it as a global variable in your program.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.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: Resolver issues?

2002-03-08 Thread Randall R Schulz

Dave,

My Cygwin does not contain its own nslookup (and it is a complete and 
current installation of all Cygwin packages). The Windows (in my case, 
Win2K) nslookup works fine and always has.

Likewise, I have no /etc/resolv.conf file on my system.

Where is the non-functional version of nslookup located on your system? 
Is it within your Cygwin hierarchy, or elsewhere? Did you create the 
/etc/resolv.conf?

Randall Schulz
Mountain View, CA USA


At 01:50 2002-03-08, Dave wrote:
I have been noticing that since I installed cygwin on my WindowsXP machine 
that the resolver functions don't appear to work. When I attempt to use 
nslookup, it checks based off of the box I am using and IP 0.0.0.0 rather 
than what I have stored in /etc/resolv.conf and my XP configuration. 
However, using nslookup that comes with XP works like a charm. Is there a 
reason that this appears to be non-functional on WinXP?


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




install bash-login problem

2002-03-08 Thread Joel Bushart

I stripped cygwin completely off my system, including registrary systems.
Then reinstalled it from a fresh version of setup.exe

get this error when I try login from cmd prompt.

C:\.\cygwin\bin\login
login: joel
Password:
No directory /home/Joel!
Logging in with home = /.
Fanfare!!!
You are successfully logged in to this server!!!
 14 [main] -bash 2936 sync_with_child: child 3980(0x628) died before
initial
ization with status code 0x0
  35279 [main] -bash 2936 sync_with_child: *** child state waiting for
longjmp
bash: fork: Resource temporarily unavailable
bash-2.05a$

cygcheck -s -r -v
output follows.

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 08 11:14:07 2002

Windows XP Professional Ver 5.1 Build 2600

Path: D:\WINDOWS\system32
 D:\WINDOWS
 D:\WINDOWS\System32\Wbem
 D:\Program Files\Symantec\pcAnywhere\
 c:\cygwin\bin
 Z:.
 Y:.


SysDir: D:\WINDOWS\System32
WinDir: D:\WINDOWS

CYGWIN = `tty notitle glob'
Path = `D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;D:\Program
Files\Symantec\pcAnywhere\;c:\cygwin\bin;Z:.;Y:.;'

ALLUSERSPROFILE = `D:\Documents and Settings\All Users'
APPDATA = `D:\Documents and Settings\Joel\Application Data'
CLASSPATH = `D:\Program Files\JavaSoft\JRE\1.3.1\lib\ext\QTJava.zip'
CommonProgramFiles = `D:\Program Files\Common Files'
COMPUTERNAME = `JOELTECH'
ComSpec = `D:\WINDOWS\system32\cmd.exe'
docplus_pmd = `c:\dp_data_\pm_data'
HOMEDRIVE = `D:'
HOMEPATH = `\Documents and Settings\Joel'
LOGONSERVER = `\\JOELTECH'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0402'
ProgramFiles = `D:\Program Files'
PROMPT = `$P$G'
QTJAVA = `D:\Program Files\JavaSoft\JRE\1.3.1\lib\ext\QTJava.zip'
SESSIONNAME = `Console'
SystemDrive = `D:'
SystemRoot = `D:\WINDOWS'
TEMP = `D:\DOCUME~1\Joel\LOCALS~1\Temp'
TMP = `D:\DOCUME~1\Joel\LOCALS~1\Temp'
USERDOMAIN = `JOELTECH'
USERNAME = `Joel'
USERPROFILE = `D:\Documents and Settings\Joel'
windir = `D:\WINDOWS'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:/cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS9538Mb  22% CP CS UN PA FC everything else
d:  hd  NTFS9546Mb  67% CP CS UN PA FC windows and essential
programs
e:  cd  CDFS   9Mb 100%CS UN   020223_1640
f:  cd   N/AN/A
g:  net NWCompat   100Mb  61%SYS
i:  net NWCompat  1800Mb  58%VOL1
l:  net NTFS   23156Mb   9% CP CS UN PA FC vol2
q:  net FAT32   6137Mb  49% CPUN   MODEMBOX
y:  net NWCompat   100Mb  61%SYS
z:  net NWCompat   100Mb  61%SYS

.  /cygdrive  userbinmode,noumount
C:/cygwin  /  system  binmode
C:/cygwin/bin  /usr/bin   system  binmode
C:/cygwin/lib  /usr/lib   system  binmode

Found: .\bash.exe
Found: c:\cygwin\bin\bash.exe
Warning: .\bash.exe hides c:\cygwin\bin\bash.exe
Found: .\cat.exe
Found: c:\cygwin\bin\cat.exe
Warning: .\cat.exe hides c:\cygwin\bin\cat.exe
Found: .\cpp.exe
Found: c:\cygwin\bin\cpp.exe
Warning: .\cpp.exe hides c:\cygwin\bin\cpp.exe
Found: .\find.exe
Found: c:\cygwin\bin\find.exe
Warning: .\find.exe hides c:\cygwin\bin\find.exe
Found: .\gcc.exe
Found: c:\cygwin\bin\gcc.exe
Warning: .\gcc.exe hides c:\cygwin\bin\gcc.exe
Found: .\gdb.exe
Found: c:\cygwin\bin\gdb.exe
Warning: .\gdb.exe hides c:\cygwin\bin\gdb.exe
Found: .\ld.exe
Found: c:\cygwin\bin\ld.exe
Warning: .\ld.exe hides c:\cygwin\bin\ld.exe
Found: .\ls.exe
Found: c:\cygwin\bin\ls.exe
Warning: .\ls.exe hides c:\cygwin\bin\ls.exe
Found: .\make.exe
Found: c:\cygwin\bin\make.exe
Warning: .\make.exe hides c:\cygwin\bin\make.exe
Found: .\sh.exe
Found: c:\cygwin\bin\sh.exe
Warning: .\sh.exe hides c:\cygwin\bin\sh.exe

   56k 2000/12/03 .\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
  cygbz21.0.dll v0.0 ts=2000/11/20 18:53
  621k 2002/01/16 .\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto.dll v0.0 ts=2002/1/16 4:54
  102k 2001/12/06 .\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
  

Re: install bash-login problem

2002-03-08 Thread Michael A Chase

- Original Message -
From: Joel Bushart [EMAIL PROTECTED]
To: Cygwin [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 08:29
Subject: install bash-login problem


 I stripped cygwin completely off my system, including registrary systems.
 Then reinstalled it from a fresh version of setup.exe

 get this error when I try login from cmd prompt.

 C:\.\cygwin\bin\login
 login: joel
 Password:
 No directory /home/Joel!
 Logging in with home = /.
 Fanfare!!!
 You are successfully logged in to this server!!!
  14 [main] -bash 2936 sync_with_child: child 3980(0x628) died before
 initial
 ization with status code 0x0
   35279 [main] -bash 2936 sync_with_child: *** child state waiting for
 longjmp
 bash: fork: Resource temporarily unavailable
 bash-2.05a$

The correct way to get a bash prompt is the same as shown in
c:\cygwin\cygwin.bat, start bash: bash --login -i

You are not logging into UNIX, you are starting an alternate shell in
Windows.
--
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: install bash-login problem

2002-03-08 Thread Joel Bushart

- Original Message -
From: Michael A Chase [EMAIL PROTECTED]
To: Joel Bushart [EMAIL PROTECTED]; Cygwin [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 11:33 AM
Subject: Re: install bash-login problem


 - Original Message -
 From: Joel Bushart [EMAIL PROTECTED]
 To: Cygwin [EMAIL PROTECTED]
 Sent: Friday, March 08, 2002 08:29
 Subject: install bash-login problem


  I stripped cygwin completely off my system, including registrary
systems.
  Then reinstalled it from a fresh version of setup.exe
 
  get this error when I try login from cmd prompt.
 
  C:\.\cygwin\bin\login
  login: joel
  Password:
  No directory /home/Joel!
  Logging in with home = /.
  Fanfare!!!
  You are successfully logged in to this server!!!
   14 [main] -bash 2936 sync_with_child: child 3980(0x628) died before
  initial
  ization with status code 0x0
35279 [main] -bash 2936 sync_with_child: *** child state waiting for
  longjmp
  bash: fork: Resource temporarily unavailable
  bash-2.05a$

 The correct way to get a bash prompt is the same as shown in
 c:\cygwin\cygwin.bat, start bash: bash --login -i

 You are not logging into UNIX, you are starting an alternate shell in
 Windows.
 --

My apologies I forgot to mention that that login error also occurs from the
cygwin.bat file when I double click it. :(
anywho, I thought that some greater minds than I may make some sense out of
it as bash seems to work fine but login fails. I'm not sure if cygwin or
login is in error.

thanks again,
Joel

--
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: install bash-login problem

2002-03-08 Thread Peter Buckley

Do you have a correct /etc/passwd file? That file lists your home 
directory, but if cygwin cannot access your home dir, it might give that 
error. Also, is $HOME defined in your environment? You could define it 
in windows or in the cygwin.bat file.

HTH,
Peter

Joel Bushart wrote:

 - Original Message -
 From: Michael A Chase [EMAIL PROTECTED]
 To: Joel Bushart [EMAIL PROTECTED]; Cygwin [EMAIL PROTECTED]
 Sent: Friday, March 08, 2002 11:33 AM
 Subject: Re: install bash-login problem
 
 
 
- Original Message -
From: Joel Bushart [EMAIL PROTECTED]
To: Cygwin [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 08:29
Subject: install bash-login problem



I stripped cygwin completely off my system, including registrary

 systems.
 
Then reinstalled it from a fresh version of setup.exe

get this error when I try login from cmd prompt.

C:\.\cygwin\bin\login
login: joel
Password:
No directory /home/Joel!
Logging in with home = /.
Fanfare!!!
You are successfully logged in to this server!!!
 14 [main] -bash 2936 sync_with_child: child 3980(0x628) died before
initial
ization with status code 0x0
  35279 [main] -bash 2936 sync_with_child: *** child state waiting for
longjmp
bash: fork: Resource temporarily unavailable
bash-2.05a$

The correct way to get a bash prompt is the same as shown in
c:\cygwin\cygwin.bat, start bash: bash --login -i

You are not logging into UNIX, you are starting an alternate shell in
Windows.
--

 
 My apologies I forgot to mention that that login error also occurs from the
 cygwin.bat file when I double click it. :(
 anywho, I thought that some greater minds than I may make some sense out of
 it as bash seems to work fine but login fails. I'm not sure if cygwin or
 login is in error.
 
 thanks again,
 Joel
 
 --
 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: install bash-login problem

2002-03-08 Thread Michael A Chase

- Original Message -
From: Joel Bushart [EMAIL PROTECTED]
To: Cygwin [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 09:05
Subject: Re: install bash-login problem


 - Original Message -
 From: Michael A Chase [EMAIL PROTECTED]
 To: Joel Bushart [EMAIL PROTECTED]; Cygwin [EMAIL PROTECTED]
 Sent: Friday, March 08, 2002 11:33 AM
 Subject: Re: install bash-login problem

  The correct way to get a bash prompt is the same as shown in
  c:\cygwin\cygwin.bat, start bash: bash --login -i
 
  You are not logging into UNIX, you are starting an alternate shell in
  Windows.

 My apologies I forgot to mention that that login error also occurs from
the
 cygwin.bat file when I double click it. :(
 anywho, I thought that some greater minds than I may make some sense out
of
 it as bash seems to work fine but login fails. I'm not sure if cygwin or
 login is in error.

There _isn't_ and _shouldn't_ be a call to the binary program 'login.exe' in
the default cygwin.bat.  If you have one there now, it is an error; replace
it with the original text.  I've placed a list of the original contents of
cygwin.bat below my sig so you can easily correct it.

If _bash_ fails to start for some reason in cygwin.bat, that is another
issue.  The chdir to the Cygwin /bin directory is necessary if you don't
already have it in PATH.
--
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.

cygwin.bat: (for / = c:\cygwin\)
@echo off

c:
chdir c:\cygwin\bin

bash --login -i



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




openssh

2002-03-08 Thread Jörg Schiemann

Hi,

Is it possible to setup a limited ssh account under cygwin sshd and NT4?
I want that the user stays in his homedirectory.

TIA
Jörg






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

2002-03-08 Thread Stephano Mariani

Create a user as group guests. Run mkpasswd. Create this users home
directory. Set windows permissions to deny full control everywhere but
in /home/{THIS_USER} using explorer. Run ssh-user-config as this user.

I have the same setup, it work beautifully except when they start to
consume a lot of memory.

Stephano Mariani

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf
 Of Jörg Schiemann
 Sent: Friday, 8 March 2002 4:50 PM
 To: [EMAIL PROTECTED]
 Subject: openssh
 
 Hi,
 
 Is it possible to setup a limited ssh account under cygwin sshd and
NT4?
 I want that the user stays in his homedirectory.
 
 TIA
 Jörg
 
 
 
 
 
 
 --
 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/




df -k very slow

2002-03-08 Thread Gupta, Sanjay

When I run df -k it is kind of very slow, it takes more than 10 seconds or
more to display results. Is it normal ?

Thanks

Sanjay Gupta


--
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: df -k very slow

2002-03-08 Thread Larry Hall (RFK Partners, Inc)

At 01:09 PM 3/8/2002, Gupta, Sanjay wrote:
When I run df -k it is kind of very slow, it takes more than 10 seconds or
more to display results. Is it normal ?


Yes.  Try it again.  You'll see it's faster.



Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


--
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: Telneting/ftping to cygwin

2002-03-08 Thread Corinna Vinschen

On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote:
 I can confirm that there is a problem. I telnetted from a linux box to
 my cygwin on NT4 setup which has an up to date cygwin1.dll (see cygcheck
 output)
 
 On the cygwin side I get a pop-up
 
 bash.exe The application failed to initialise properly (0x022)

It's a pity but it works for me.

 $ cygcheck -r -s -v  /tmp/cyg.txt
 cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1005

$ net helpmsg 1005

The volume does not contain a recognized file system.
Please make sure that all required file system drivers are loaded and that the volume 
is not corrupted.

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: grap-1.10

2002-03-08 Thread S. Cowles


yes, the fix is easy for v. 1.23 of grap.  in the file grap_lex.l, at
the end of the includes, just add the line:  #include errno.h

the section should then look something like:

#include iostream
#include sys/param.h
#include set
#include map
#include grap.h
#include grap_data.h
#include grap_draw.h
#include y.tab.h
#include errno.h

grap then passes make check with no problems.  processing the output
like so:
( cd examples ; ../grap -d ../grap.defines example.ms ; )  example.out
groff -Tps example.out  example.ps

gives the expected, and quite nice results.  thanks very much for the
pointer to grap.

sid
[EMAIL PROTECTED]

===
Friday, 08 March 2002, 03:44:58, you wrote:

  I downloaded
  http://www.lunabase.org/~faber/Vault/software/grap/grap-1.10.tar.gz

 What about the latest version I found on the grap homesite:
 http://www.lunabase.org/~faber/Vault/software/grap/grap-1.23.tar.gz

fabdudn Gerrit,

fabdudn Thank you for drawing this later version to my attention. Unlike v.1.10
fabdudn (which worked so well) this v.1.23 did not. At the make stage there were
fabdudn error messages including undefined reference to 'errno'. (I've seen this
fabdudn before and I suspect the fix is not difficult. But v.1.10 works, or seems
fabdudn to, so I'll stick with it for the moment.)

fabdudn Fergus
===


--
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: Source for select

2002-03-08 Thread Matt Seitz

I was referring to my earlier assumption that the call was being forwarded.
You are correct, the function call is mapped, not forwarded.

Robert Collins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I'm not sure what forwarding you are referring to - forwarding (to me)
implies a function wrapper or some such construct. This is exporting the
function address + ordinal under a different label, which is somewhat
different, in that there is no affect on the stack/ no overhead
incurred.

Rob

-Original Message-
From: Matt Seitz [mailto:[EMAIL PROTECTED]]


I think I found the answer to my question: the forwarding occurs in the
cygwin.din file.







--
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: df -k very slow

2002-03-08 Thread Gupta, Sanjay

Thanks Larry,
When I run the df -k command on the server itself ( where cygwin is
installed), it runs faster. As you said, running first time might be slow
but the next time it is faster.
When I connect to this machine via ssh using  Secure CRT, it consistently
takes 11 seconds every time. 
Any Idea, why it is slow when connected by ssh ?

Sanjay



-Original Message-
From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 10:21 AM
To: Gupta, Sanjay; '[EMAIL PROTECTED]'
Subject: Re: df -k very slow


At 01:09 PM 3/8/2002, Gupta, Sanjay wrote:
When I run df -k it is kind of very slow, it takes more than 10 seconds or
more to display results. Is it normal ?


Yes.  Try it again.  You'll see it's faster.



Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX

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

2002-03-08 Thread Jörg Schiemann

Can I set windows permissions to No Access everywhere to the group
guests
or is it better to set it only to this specific user?

What happens with the ACL if I delete the User?

Jörg

--
Stephano Mariani [EMAIL PROTECTED] wrote in message
000401c1c6c9$c53beed0$80eda8c0@sknet01">news:000401c1c6c9$c53beed0$80eda8c0@sknet01...
Create a user as group guests. Run mkpasswd. Create this users home
directory. Set windows permissions to deny full control everywhere but
in /home/{THIS_USER} using explorer. Run ssh-user-config as this user.

I have the same setup, it work beautifully except when they start to
consume a lot of memory.

Stephano Mariani

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf
 Of Jörg Schiemann
 Sent: Friday, 8 March 2002 4:50 PM
 To: [EMAIL PROTECTED]
 Subject: openssh

 Hi,

 Is it possible to setup a limited ssh account under cygwin sshd and
NT4?
 I want that the user stays in his homedirectory.

 TIA
 Jörg






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







--
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: df -k very slow

2002-03-08 Thread Larry Hall (RFK Partners, Inc)

Sorry no.  Can't help with this one, assuming it's not Secure CRT. ;-)

Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX



At 01:43 PM 3/8/2002, Gupta, Sanjay wrote:
Thanks Larry,
When I run the df -k command on the server itself ( where cygwin is
installed), it runs faster. As you said, running first time might be slow
but the next time it is faster.
When I connect to this machine via ssh using  Secure CRT, it consistently
takes 11 seconds every time. 
Any Idea, why it is slow when connected by ssh ?

Sanjay



-Original Message-
From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 10:21 AM
To: Gupta, Sanjay; '[EMAIL PROTECTED]'
Subject: Re: df -k very slow


At 01:09 PM 3/8/2002, Gupta, Sanjay wrote:
 When I run df -k it is kind of very slow, it takes more than 10 seconds or
 more to display results. Is it normal ?


Yes.  Try it again.  You'll see it's faster.



Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


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




Problems with ``ld -r''

2002-03-08 Thread Kayvan A. Sylvan

I sent this message to the lyx list a while ago and have gotten nowhere yet.

I am using Cygwin-1.3.10 with the following tools:

gcc version 2.95.3-5 (cygwin special)
GNU ld version 2.11.92 20011001

The symptoms are as follows. What can I do to get around this?

Please send replies to me, since I am not subscribed to this list.

Thanks!

- Forwarded message from Kayvan A. Sylvan [EMAIL PROTECTED] -

Date: Fri, 1 Mar 2002 10:27:34 -0800
From: Kayvan A. Sylvan [EMAIL PROTECTED]
To: LyX Developers [EMAIL PROTECTED]
Subject: Latest CVS: compile problems on WinXP
User-Agent: Mutt/1.3.25i


The last time I compiled LyX on Windows was 2/15/02

Today, I get the following problem. Any ideas?

Making all in mathed
make[3]: Entering directory `/home/Kayvan/src/lyx-1.2.0cvs/src/mathed'
/bin/sh ../../libtool --mode=link g++  -g -O -fno-exceptions -W -Wall   -o libmathed.o 
formulabase.lo formula.lo formulamacro.lo math_amsarrayinset.lo math_arrayinset.lo 
math_atom.lo math_biginset.lo math_binominset.lo math_braceinset.lo math_boxinset.lo 
math_binaryopinset.lo math_casesinset.lo math_charinset.lo math_cursor.lo math_data.lo 
math_decorationinset.lo math_deliminset.lo math_diffinset.lo math_diminset.lo 
math_dotsinset.lo math_extern.lo math_exfuncinset.lo math_exintinset.lo 
math_factory.lo math_fracinset.lo math_fracbase.lo math_funcinset.lo 
math_funcliminset.lo math_gridinset.lo math_hash.lo math_hullinset.lo math_inset.lo 
math_iterator.lo math_kerninset.lo math_lefteqninset.lo math_limitopinset.lo 
math_macro.lo math_macroarg.lo math_macrotemplate.lo math_macrotable.lo 
math_mathmlstream.lo math_matrixinset.lo math_metricsinfo.lo math_nestinset.lo 
math_notinset.lo math_parser.lo math_pos.lo math_rootinset.lo math_scriptinset.lo 
math_sizeinset.lo math_spaceinset.lo math_specialcharinset.lo math_splitinset.lo 
math_sqrtinset.lo math_stackrelinset.lo math_streamstr.lo math_stringinset.lo 
math_substackinset.lo math_support.lo math_symbolinset.lo math_unknowninset.lo 
math_undersetinset.lo math_xarrowinset.lo math_xdata.lo math_xyarrowinset.lo 
math_xymatrixinset.lo
/usr/i686-pc-cygwin/bin/ld.exe -r -o libmathed.o  formulabase.o formula.o 
formulamacro.o math_amsarrayinset.o math_arrayinset.o math_atom.o math_biginset.o 
math_binominset.o math_braceinset.o math_boxinset.o math_binaryopinset.o 
math_casesinset.o math_charinset.o math_cursor.o math_data.o math_decorationinset.o 
math_deliminset.o math_diffinset.o math_diminset.o math_dotsinset.o math_extern.o 
math_exfuncinset.o math_exintinset.o math_factory.o math_fracinset.o math_fracbase.o 
math_funcinset.o math_funcliminset.o math_gridinset.o math_hash.o math_hullinset.o 
math_inset.o math_iterator.o math_kerninset.o math_lefteqninset.o math_limitopinset.o 
math_macro.o math_macroarg.o math_macrotemplate.o math_macrotable.o 
math_mathmlstream.o math_matrixinset.o math_metricsinfo.o math_nestinset.o 
math_notinset.o math_parser.o math_pos.o math_rootinset.o math_scriptinset.o 
math_sizeinset.o math_spaceinset.o math_specialcharinset.o math_splitinset.o 
math_sqrtinset.o math_stackrelinset.o math_streamstr.o math_stringinset.o 
math_substackinset.o math_support.o math_symbolinset.o math_unknowninset.o 
math_undersetinset.o math_xarrowinset.o math_xdata.o math_xyarrowinset.o 
math_xymatrixinset.o  
formula.o: In function `InsetFormula::getType(void) const':
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol `bool 
text$lexicographical_comparesigned char const *, signed char const *(signed char 
const *, signed char const *, signed char const *, signed char const *)' which is not 
being output
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol 
`__malloc_alloc_template0::text$_S_oom_malloc(unsigned int)' which is not being 
output
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol 
`__malloc_alloc_template0::text$_S_oom_malloc(unsigned int)' which is not being 
output
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol 
`__malloc_alloc_template0::text$_S_oom_malloc(unsigned int)' which is not being 
output
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol 
`basic_stringchar, string_char_traitschar, __default_alloc_templatefalse, 0  * 
text$__uninitialized_copy_auxbasic_stringchar, string_char_traitschar, 
__default_alloc_templatefalse, 0  const *, basic_stringchar, 
string_char_traitschar, __default_alloc_templatefalse, 0  *(basic_stringchar, 
string_char_traitschar, __default_alloc_templatefalse, 0  const *, 
basic_stringchar, string_char_traitschar, __default_alloc_templatefalse, 0  
const *, basic_stringchar, string_char_traitschar, __default_alloc_templatefalse, 
0  *, __false_type)' which is not being output
/home/Kayvan/src/lyx-1.2.0cvs/src/mathed/formula.C:608: reloc refers to symbol 
`basic_stringchar, string_char_traitschar, __default_alloc_templatefalse, 0  * 

[PATCH] cygrunsrv --query service

2002-03-08 Thread Mike Gerdts

The following patch implements the options -Q and --query to determine
if a service is installed and if so whether it is up and what controls
it will accept.

If there is a more appropriate place to send this patch, please let me
know.

Mike


diff -cr ../cygrunsrv-0.95-1/ChangeLog cygrunsrv-0.95-1/ChangeLog
*** ../cygrunsrv-0.95-1/ChangeLog   Tue Feb 26 06:22:29 2002
--- cygrunsrv-0.95-1/ChangeLog  Fri Mar  8 08:26:55 2002
***
*** 1,3 
--- 1,17 
+ 2002-03-08  Mike Gerdts [EMAIL PROTECTED]
+ 
+   * utils.h (reason_t): Add code for --query errors.
+   * utils.cc (reason_list): Add error string for --query errors.
+   * (usage): Add help text for --query parameter.
+   * cygrunsrv.cc (longopts): Add --query parameter.
+   * (opts): Add -Q option.
+   * (main): Add handling --query parameter.
+   * (serviceTypeToString): New function to support --query parameter.
+   * (serviceStateToString): New function to support --query parameter.
+   * (serviceStateToString): New function to support --query parameter.
+   * (controlsToString): New function to support --query parameter.
+   * (query_service): New function to support --query parameter.
+ 
  2002-02-26  Corinna Vinschen [EMAIL PROTECTED]
  
* Bump version to 0.95.
diff -cr ../cygrunsrv-0.95-1/cygrunsrv.README cygrunsrv-0.95-1/cygrunsrv.README
*** ../cygrunsrv-0.95-1/cygrunsrv.READMETue Feb 26 06:22:29 2002
--- cygrunsrv-0.95-1/cygrunsrv.README   Fri Mar  8 08:28:38 2002
***
*** 3,8 
--- 3,9 
What does it do?
How do I use it?
  Informative options...
+ Querying a service
  Removing a service
  Starting a service
  Stopping a service
***
*** 55,60 
--- 56,68 
  cygrunsrv -v
  cygrunsrv --version
print version information about the cygrunsrv executable
+ 
+ **
+ Query a service:
+ 
+ cygrunsrv -Q svc_name
+ cygrunsrv --query svc_name
+   reports on the existence and status of the service.
  
  **
  Remove a service:
diff -cr ../cygrunsrv-0.95-1/cygrunsrv.cc cygrunsrv-0.95-1/cygrunsrv.cc
*** ../cygrunsrv-0.95-1/cygrunsrv.ccTue Feb 26 06:22:29 2002
--- cygrunsrv-0.95-1/cygrunsrv.cc   Fri Mar  8 08:07:11 2002
***
*** 50,55 
--- 50,56 
{ remove, required_argument, NULL, 'R' },
{ start, required_argument, NULL, 'S' },
{ stop, required_argument, NULL, 'E' },
+   { query, required_argument, NULL, 'Q' },
{ path, required_argument, NULL, 'p' },
{ args, required_argument, NULL, 'a' },
{ chdir, required_argument, NULL, 'c' },
***
*** 70,76 
{ 0, no_argument, NULL, 0 }
  };
  
! char *opts = I:R:S:E:p:a:c:e:d:f:ou:w:t:s:y:0:1:2:hv;
  
  char *appname;
  char *svcname;
--- 71,77 
{ 0, no_argument, NULL, 0 }
  };
  
! char *opts = I:R:S:Q:E:p:a:c:e:d:f:ou:w:t:s:y:0:1:2:hv;
  
  char *appname;
  char *svcname;
***
*** 82,88 
Install,
Remove,
Start,
!   Stop
  };
  
  enum type_t {
--- 83,90 
Install,
Remove,
Start,
!   Stop,
!   Query
  };
  
  enum type_t {
***
*** 812,817 
--- 814,934 
return err == 0 ? 0 : error (StopErr, err_func, err);
  }
  
+ char *
+ serviceTypeToString(DWORD stype)
+ {
+   switch (stype) {
+ case SERVICE_WIN32_OWN_PROCESS:
+   return Own Process;
+   break;
+ case SERVICE_WIN32_SHARE_PROCESS:
+   return Share Process;
+   break;
+ case SERVICE_KERNEL_DRIVER:
+   return Kernel Driver;
+ case SERVICE_FILE_SYSTEM_DRIVER:
+   return File System Driver;
+ case SERVICE_INTERACTIVE_PROCESS:
+   return Interactive Process;
+ default:
+   return Undefined type;
+   }
+ }
+ 
+ char *
+ serviceStateToString(DWORD state)
+ {
+   switch (state) {
+ case SERVICE_STOPPED:
+   return Stopped;
+ case SERVICE_START_PENDING:
+   return Start Pending;
+ case SERVICE_STOP_PENDING:
+   return Stop Pending;
+ case SERVICE_RUNNING:
+   return Running;
+ case SERVICE_CONTINUE_PENDING:
+   return Continue Pending;
+ case SERVICE_PAUSE_PENDING:
+   return Pause Pending;
+ case SERVICE_PAUSED:
+   return Paused;
+ default:
+   return Undefined state;
+   }
+ }
+ 
+ #define ACCEPT_STOP_MSG   Accept Stop
+ #define ACCEPT_PAUSE_CONTINUE_MSG Accept Pause Continue
+ #define ACCEPT_SHUTDOWN_MSG   Accept Shutdown
+ char *
+ controlsToString(DWORD controls)
+ {
+   static char buf[sizeof(ACCEPT_STOP_MSG) + sizeof(ACCEPT_PAUSE_CONTINUE_MSG) 
+ + sizeof(ACCEPT_SHUTDOWN_MSG) + 5];
+   buf[0] = '\0';
+ 
+   if ( controls  SERVICE_ACCEPT_STOP ) {
+ strcat(buf, ACCEPT_STOP_MSG);
+   }
+   if ( controls  SERVICE_ACCEPT_PAUSE_CONTINUE ) {
+ if ( buf[0] != '\0' ) 
+   strcat(buf, , );
+ strcat(buf, ACCEPT_STOP_MSG);
+   }
+   if ( controls  

RE: openssh

2002-03-08 Thread Stephano Mariani

That depends on your particular configuration. I run a Win2K Advanced
Server box with many guest class users. I have one user account, gmk,
which has no perms anywhere but /home/gmk (and %SYSTEMROOT%\Documents
and Settings\gmk of course).

When the user is deleted, the permissions specific to that user are
removed, I think... but don’t quote me on that :)

Stephano Mariani


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf
 Of Jörg Schiemann
 Sent: Friday, 8 March 2002 7:0 PM
 To: [EMAIL PROTECTED]
 Subject: Re: openssh
 
 Can I set windows permissions to No Access everywhere to the group
 guests
 or is it better to set it only to this specific user?
 
 What happens with the ACL if I delete the User?
 
 Jörg
 
 --
 Stephano Mariani [EMAIL PROTECTED] wrote in message
 000401c1c6c9$c53beed0$80eda8c0@sknet01">news:000401c1c6c9$c53beed0$80eda8c0@sknet01...
 Create a user as group guests. Run mkpasswd. Create this users home
 directory. Set windows permissions to deny full control everywhere but
 in /home/{THIS_USER} using explorer. Run ssh-user-config as this user.
 
 I have the same setup, it work beautifully except when they start to
 consume a lot of memory.
 
 Stephano Mariani
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
 Behalf
  Of Jörg Schiemann
  Sent: Friday, 8 March 2002 4:50 PM
  To: [EMAIL PROTECTED]
  Subject: openssh
 
  Hi,
 
  Is it possible to setup a limited ssh account under cygwin sshd and
 NT4?
  I want that the user stays in his homedirectory.
 
  TIA
  Jörg
 
 
 
 
 
 
  --
  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/
 
 
 
 
 
 
 
 --
 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: CygWish posix path problem

2002-03-08 Thread Christopher Faylor

On Fri, Mar 08, 2002 at 03:55:29PM -0500, Banks, Kelly wrote:
I have found several references to a problem with cygwish80.exe whereby
cygwish is unable to find it's target file because a filename, such as
/usr/bin/tkcvs is internally converted to C:\usr\bin\tkcvs rather than
C:\cygwin\usr\bin\tkcvs

I've seen mention of the problem several times, but have yet to read of a
solution.  Surely a solution has been implemented.  Can someone please
elaborate on the solution to this recurring issue?

There is no solution.  If you found this mentioned several times then
you should have found an explanation from me that this cygwish80.exe is
basically a pure windows app and so does not understand cygwin paths.

The only solution is to submit a patch to rectify this behavior.

Hopefully the next person searching the mailing list archives will find
this message.

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: CygWish posix path problem

2002-03-08 Thread Larry Hall (RFK Partners, Inc)

At 03:55 PM 3/8/2002, Banks, Kelly wrote:
I have found several references to a problem with cygwish80.exe whereby
cygwish is unable to find it's target file because a filename, such as
/usr/bin/tkcvs is internally converted to C:\usr\bin\tkcvs rather than
C:\cygwin\usr\bin\tkcvs

I've seen mention of the problem several times, but have yet to read of a
solution.  Surely a solution has been implemented.  Can someone please
elaborate on the solution to this recurring issue?



There is no solution to this reoccurring issue, which has been mentioned
many times in the past.  cygwish80.exe. is not a Cygwin aware utility, 
despite it's name.  So you can't use POSIX paths with it as a result.
The solution is for someone to make the effort to port it.  It has not
been done before now because it's been perceived as a very difficult port.



Larry Hall  [EMAIL PROTECTED]
RFK Partners, Inc.  http://www.rfk.com
838 Washington Street   (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX


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




cannot link with libtiff

2002-03-08 Thread Michaela und Daniel Weiß

Hi,

I haven't found this problem in the mailing list archive:

I have been trying to use libtiff (tiff-3.5.7-1) in my program (using
daily updated cygwin version). According to the announcement (Charles
Wilson on Feb 10th):

BEGIN QUOTE
Now uses the auto-import functionality of newer binutils, and
doesn't use __declspec(dllimport).  This means you no longer need
-DTIFF_STATIC -DJPEG_STATIC -DZLIB_STATIC or even -DALL_STATIC
when compiling objects intended for static linking. Just compile
as normal. (...) NO special flags at compile-time nor link-time when
linking to dynamic links.
END QUOTE

So I have tried to compile my program with the line:

gcc -Wall -O3 *.c

and get this output:

main.c: In function `main':
main.c:8: warning: unused variable `d'
main.c:25: warning: control reaches end of non-void function
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x31):im_tools.c: undefined
reference to `TIFFOpen'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x54):im_tools.c: undefined
reference to `TIFFSetField'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x72):im_tools.c: undefined
reference to `TIFFSetField'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x88):im_tools.c: undefined
reference to `TIFFSetField'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0xa0):im_tools.c: undefined
reference to `TIFFSetField'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0xb6):im_tools.c: undefined
reference to `TIFFSetField'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0xcc):im_tools.c: more
undefined references to `TIFFSetField' follow
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x158):im_tools.c: undefined
reference to `TIFFWriteScanline'
/cygdrive/c/windows/TEMP/ccjdC8se.o(.text+0x16c):im_tools.c: undefined
reference to `TIFFClose'
collect2: ld returned 1 exit status

Compiling with 'gcc -Wall -O3 -ltiff *.c' gives the same result, trying
to link statically also. The auto import works for the math library,
though, I don't need to put 'gcc -lm ...'

How can I link with libtiff?

Thanks for your help,
Daniel

--
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: cannot link with libtiff

2002-03-08 Thread Robert Collins



 -Original Message-
 From: Michaela und Daniel Weiß [mailto:[EMAIL PROTECTED]] 
 Sent: Saturday, March 09, 2002 8:06 AM
 To: [EMAIL PROTECTED]
 Subject: cannot link with libtiff
 
 
 Hi,
 
 I haven't found this problem in the mailing list archive:
 
 I have been trying to use libtiff (tiff-3.5.7-1) in my 
 program (using daily updated cygwin version). According to 
 the announcement (Charles Wilson on Feb 10th):
 
 BEGIN QUOTE
 Now uses the auto-import functionality of newer binutils, and 
 doesn't use __declspec(dllimport).  This means you no longer 
 need -DTIFF_STATIC -DJPEG_STATIC -DZLIB_STATIC or even 
 -DALL_STATIC when compiling objects intended for static 
 linking. Just compile as normal. (...) NO special flags at 
 compile-time nor link-time when linking to dynamic links. END QUOTE
 
 So I have tried to compile my program with the line:
 
 gcc -Wall -O3 *.c
 

Auto import doesn't remove the need to list the library. libm works because it's part 
of libcygwin which is listed in the cygwin gcc specs file. Try gcc -Wall -O3 *c -ltiff

Rob

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




1.3.9 bug in mmap MAP_PRIVATE followed by fork

2002-03-08 Thread Stephen Weeks


I am having a problem using mmap (... MAP_PRIVATE ...) followed by
fork () in Cygwin DLL version 1.3.9.  The memory allocated by mmap
does not appear to be available in the child.  A small C program that
shows the problem is included below.  I would expect to see the
program print

parent hello
child hello

but instead it prints

parent hello
child

I saw the thread at

http://sources.redhat.com/ml/cygwin/2001-04/msg00829.html

which seemed to indicate that a related problem had been fixed a while
ago, but I am still seeing something strange.  I can use MAP_SHARED
instead of MAP_PRIVATE, and then everything works, but I am in a
situation where I want to use MAP_PRIVATE.

Any help would be appreciated.  I have also included the results of
cygcheck below.

--

#include stddef.h
#include stdio.h
#include sys/mman.h
#include sys/types.h
#include unistd.h

void die (char *s) {
fprintf(stderr, %d, s);
exit(1);
}

int main (int argc, char **argv) {
pid_t pid;
size_t length;
char *buf;

length = getpagesize ();
buf = (char*) mmap (NULL, length, PROT_READ | PROT_WRITE, 
MAP_PRIVATE | MAP_ANON, -1, 0);
if (buf == (void*)-1) 
die (mmap failed);
strcpy (buf, hello);
pid = fork ();
if (0 == pid) {
fprintf(stderr, child %s\n, buf);
} else {
fprintf(stderr, parent %s\n, buf);
}
}

--

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Mar 07 18:50:07 2002

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:   z:\cygwin\usr\local\bin
z:\cygwin\bin
z:\cygwin\bin
c:\WINNT\system32
c:\WINNT

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `z:\cygwin\home\sweeks'
MAKE_MODE = `unix'
PWD = `/tmp'
USER = `sweeks'

COMPUTERNAME = `WINDOZE'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\WINDOZE'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/sweeks'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\TEMP'
TERM = `cygwin'
TMP = `c:\TEMP'
USERDOMAIN = `WINDOZE'
USERNAME = `sweeks'
USERPROFILE = `C:\WINNT\Profiles\sweeks'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `z:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `z:/cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `z:/cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS2043Mb  18% CP CS UN PA FC 
d:  cd   N/AN/A
y:  net NTFS   71228Mb  18%  PAsweeks
z:  net NTFS   71228Mb  18%  PAwindows

.  /cygdrive  userbinmode,noumount
z:\cygwin  /  system  binmode
z:/cygwin/bin  /usr/bin   system  binmode
z:/cygwin/lib  /usr/lib   system  binmode

Found: z:\cygwin\bin\bash.exe
Found: z:\cygwin\bin\cat.exe
Not Found: cpp (good!)
Found: z:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: z:\cygwin\bin\ls.exe
Not Found: make
Found: z:\cygwin\bin\sh.exe

   19k 2002/02/21 z:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm.dll v0.0 ts=2002/2/19 19:05
   45k 2002/02/21 z:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/24 22:28
   26k 2002/02/21 z:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
  cygmenu5.dll v0.0 ts=2001/4/24 22:27
  156k 2002/02/21 z:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
  cygncurses++5.dll v0.0 ts=2001/4/24 22:29
  226k 2002/02/21 z:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
  cygncurses5.dll v0.0 ts=2001/4/24 22:17
   15k 2002/02/21 z:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
 

Re: login: no shell: /bin/bash: Permission denied

2002-03-08 Thread Andrew DeFaria

Jason Tishler wrote:

 Andrew,
 
 On Thu, Mar 07, 2002 at 10:34:42AM -0800, Andrew DeFaria wrote:
 
Please do not email me directly - keep it only on the list.

 
 Hmm...didn't you just do a reply all?  Or, was that to make a point?


You emailed me. I emailed you back. AND I put it back to the mail list.


 Sorry, but hitting g is just more natural than hitting L for me.


Whatever keys you need to hit - hit the correct ones. Again, please do 
not email me but keep it on the list.

(If it matters I don't use the email list I use the news service instead).

 
 If this is important to you, then please indicate this by setting
 your Reply-To. 


My Reply-To is set for people who indeed wish to email me directly 
because they wish to have a private conversation. You didn't do that. 
You emailed me and the list.

 My mailer will honor your preference.  Alternatively,
 I suggest using sometime like procmail to suppress dups.  This is the
 technique that I use and I don't see any dups (unless I want to).


This is not a dup situation! This is a I read this mailing list via an 
nntp gateway then you emailed me situation. Procmail, which I already 
use, will not handle that.





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




dlopen error with nested dll's

2002-03-08 Thread Greg Hood

I'm trying to dlopen a .dll which depends on another .dll, and
am getting a Win32 error 127.  I'm not totally sure I am building
the dll's correctly, so that might be one source of the problem.
This is with Cygwin version 1.3.10, gcc version 2.95.3-5,
dlltool version 2.11.92, and Windows NT 4.0.

Here is an example.  There are 3 source files: m.c, a.c, and b.c.
a.c is used to build a.dll, which m.exe can dlopen without problems.
However, b.c is used to build b.dll, but this depends on symbols in
a.dll.  m.exe gets an error upon trying to dlopen b.dll.

m.c
#include stdio.h
#include dlfcn.h
#include stdlib.h

main ()
{
  void *a_handle, *b_handle;
  void (*a)(), (*b)();

  if ((a_handle = dlopen(a.dll, RTLD_NOW)) == NULL)
{
  printf(dlopen of a.dll failed: %s\n, dlerror());
  exit(1);
}
  if ((a = (void (*)()) dlsym(a_handle, a)) == NULL)
{
  printf(dlsym of a failed: %s\n, dlerror());
  exit(1);
}
  (*a)();

  if ((b_handle = dlopen(b.dll, RTLD_NOW)) == NULL)
{
  printf(dlopen of b.dll failed: %s\n, dlerror());
  exit(1);
}
  if ((b = (void (*)()) dlsym(b_handle, b)) == NULL)
{
  printf(dlsym of b failed: %s\n, dlerror());
  exit(1);
}
  (*b)();
}

end of m.c-
a.c
#include stdio.h

void a()
{
  printf(a called.\n);
}
end of a.c-
b.c
#include stdio.h
extern void a();

void b()
{
  printf(b called.\n);
  a();
}
end of b.c-

I compile and run these with the following commands:
gcc -g -c -o m.o m.c
gcc -g -c -o a.o a.c
gcc -shared -o a.dll a.o
gcc -g -c -o b.o b.c
echo EXPORTS  a.def
nm a.dll | grep ' T _' | sed 's/.* T _//'  a.def
dlltool --def a.def --dllname a.dll --output-lib a.a
gcc -shared -o b.dll b.o a.a
gcc -g -o m.exe m.o

./m.exe
a called.
dlopen of b.dll failed: dlopen: Win32 error 127

Any idea what is going wrong, or what else to try?
Thanks.
--Greg Hood
  Pittsburgh Supercomputing Center

--
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-xfree 4.2.0 installation problem

2002-03-08 Thread Egon Phillips

Hi,

The problem was not related to Zone Alarm Pro 3.X, but was the font error 
described in the FAQ.  I fixed it by using winrar to extract the following 
files:

xf100.tgz
xfcyr.tgz
xfnts.tgz
xfscl.tgz

and copy the files on top of the associated cygwin-xfree directories:

\usr\X11R6\lib\X11\fonts.

Thanx Andrew, Harold, Alan and others for all your help, it is greatly 
appreciated.

Egon

From: Andrew Markebo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: cygwin-xfree 4.2.0 installation problem
Date: 08 Mar 2002 13:19:21 +0100

and you don't have alog you can see what zonealarm does?

/ Egon Phillips [EMAIL PROTECTED] wrote:
| Sorry, that should read zonealarm pro 3
|
|
| From: Andrew Markebo [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Subject: Re: cygwin-xfree 4.2.0 installation problem
| Date: 08 Mar 2002 08:34:32 +0100
| 
| There were a positive answer in the list, could it be that he used
| zonealarm pro?? Doublecheck with him.
| 
|  /Andy
| 
| / Egon Phillips [EMAIL PROTECTED] wrote:
| | Yes, that's a good idea, but I tried it and it doesn't work.  I also
| | upgraded to zonealarm 3.0, and so far that hasn't worked either.  I
| | sent email to zonelabs, the  zonealarm and awaiting a reply.  Surely,
| | someone must have managed to get Xfree86 working with zonealarm
| | installed?  Anyone?  Anyone?
| |
| |
| | From: Andrew Markebo [EMAIL PROTECTED]
| | To: [EMAIL PROTECTED], [EMAIL PROTECTED]
| | CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
| | Subject: Re: cygwin-xfree 4.2.0 installation problem
| | Date: 07 Mar 2002 17:31:23 +0100
| | 
| | hmm just a thought, if you can config zonealarm to allow traffic on
| | port 6000 and/or 6001 it might be possible to get them working
| | together?  or?
| | 
| | check the zonealarm logs and see what zonealarm blocks and if you can
| | tell it to allow the X-traffic.
| | 
| | or does zonealarm do more to the network interface??
| | 
| |  /Andy
| | 
| | 
| | / Egon Phillips [EMAIL PROTECTED] wrote:
| | | Why are you telling me this?
| | | Because you answered my earlier query.
| | |
| | |   I really don't care... you need to send all
| | | Cygwin/XFree86 related mails to the Cygwin/XFree86 mailing list.
| | |   I will reply to such mailings if I believe I can contribute.
| | | 
| |  | Having said that... ZoneAlarm is the problem and it must be
| |  removed (if I
|  | | remember correctly).  If you don't believe me then follow
|  these steps:
| | | 
| | | 1) Admit that ZoneAlarm is the problem.
| | | 
| | | 2) Remove ZoneAlarm software from your system.
| | | 
| | | 3) In the event that step (1) fails, see step (1).
| | | 
| | | I guess you don't like zonealarm? ;-) Ok, Ok, I'll contact zonelabs
| | | and see if they have a work around.  If not I'll get rid of it.
|  | | Pitty, we run TPF at the router, and zonealarm on our client
|  computers.
| | |
| | | THANX
| | |
| | | Harold
| | | 
| | |   -Original Message-
| | |   From: Egon Phillips [mailto:[EMAIL PROTECTED]]
| | |   Sent: Thursday, March 07, 2002 12:46 AM
| | |   To: [EMAIL PROTECTED]
| | |   Subject: RE: cygwin-xfree 4.2.0 installation problem
| | |  
| | |  
| | |   Thanx Harold,
| | |  
| | |   It is installed but won't run.  Apparently there is a problem
| | |   with Zonalarm.
| | | I was unable to find a solution in the archives.  That is
| | |   without deleting
| | |   zonealarm from my system.
| | |  
|  | |   Which ports are used during the startup, shutdown and
|  maintenance of
| | |   cygwin-Xfree86?  Maybe if I open the associated ports xfree86
| | |   will startup?
| | |  
| | |   Here is my output from the startx command:
| | |  
| | |   $ startx
| | |  
| | |   giving up.
| |  |   xinit:  Connection refused (errno 111):  unable to connect to
| |  X server
| | |   xinit:  No such process (errno 3):  Server error.
| | |  
| | |  
| | |   From: Harold Hunt [EMAIL PROTECTED]
| | |   To: [EMAIL PROTECTED]
| | |   Subject: RE: cygwin-xfree 4.2.0 installation problem
| | |   Date: Wed, 6 Mar 2002 20:38:02 -0500
| | |   
| | |   You need to be following the Cygwin/XFree86 User's Guide
| | |  instructions for
| | |   installation... not the XFree86 general instructions.  The
| | |  Cygwin/XFree86
| | |   User's Guide is located at:
| | |   
| | |   http://xfree86.cygwin.com/docs/ug/
| | |   
| | |   Harold
| | |   
| | 
| | --
| |   The eye of the beholder rests on the beauty!
| |
| |
| |
| |
| | _
| | MSN Photos is the easiest way to share and print your photos:
| | http://photos.msn.com/support/worldwide.aspx
| |
| |
| 
| --
|   The eye of the beholder rests on the beauty!
|
|
|
|
| _
| Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp.
|
|

--
  The eye of the beholder rests on the beauty!




_
Chat with friends online, try MSN Messenger: 

Re: Failed: Installing Postgresql under Cygwin on win98se

2002-03-08 Thread Tom Lauren

Shelby,

  What happens when you do this:

here we go:__
$ set  paps
$ bash
$ set  kid
$ exit
exit

$ diff paps kid
4c4
 BASH=/usr/bin/bash
---
 BASH=/bin/bash
34d33
 OLDPWD=/usr/bin
40,41c39
 PIPESTATUS=([0]=0)
 PPID=1
---
 PPID=370815
49c47
 SHLVL=1
---
 SHLVL=2
57,58c55
 _=unknown
 i=/etc/profile.d/openssl.sh
---
 _=bash
___EOT

Further, i´d like to include the {.}profile:{btw, does the . make trouble
somewhere, sometimes the point is used, sometimes not? }
___
PATH=/bin:/usr/local/bin:/usr/bin:/bin:$PATH
USER=`id -un`

if [ -z $HOME ]; then
  HOME=/home/$USER
fi
if [ ! -d $HOME ]; then
  mkdir -p $HOME
fi
export HOME USER

for i in /etc/profile.d/*.sh ; do
  if [ -f $i ]; then
. $i
  fi
done

export MAKE_MODE=unix
export PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
cd $HOME
__EOT___

Tom

p.s. mind my other posting Jason




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




xdvi runtime error - part 2

2002-03-08 Thread Nicolae Santean


Continuing my attempts to run xdvi under cygwin, here are my
success and new problem:

I have fixed the problem with fcntl(F_SETOWN) - it actually
is an option in the configuration file which allows to inhibit
the use of this function.

But xdvi still goes nuts and crashes after eating the entire
available memory... So, I run it under gdb. Immediately after
the start I get the following gdb warning:

Program received signal SIGSEGV, Segmentation fault
0x77e86e72 in _libkernel32_a_iname()

and the debugger runs out of control.

Any idea of what goes wrong ?? What is this function responsible
with? Who may be calling it?

BTW: has anybody ported xdvi? Am I a pioneer here?

Thanks in advance,

Nic. Santean

_
Send and receive Hotmail on your mobile device: http://mobile.msn.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/




loging in as root/superuser

2002-03-08 Thread Paul Berg

hello all,

just got cygwin a couple of days ago and have been trying to login as
root/superuser but can't get in.. what is the password set to when it is
installed?

Paul


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