delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/07/11/19:46:28

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <396BA6A2.C2AA469@cs.unc.edu>
Date: Tue, 11 Jul 2000 18:58:42 -0400
From: Jeffrey Juliano <juliano AT cs DOT unc DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: setup: icons, shortcuts, and batch files
References: <Pine DOT SGI DOT 4 DOT 10 DOT 10007111450500 DOT 361924-100000 AT cystine DOT cs DOT unc DOT edu> <396B7FC4 DOT 188536DC AT delorie DOT com> <200007112129 DOT RAA03821 AT envy DOT delorie DOT com>

hi,

The problem of not being able to start cygwin/bash by double-clicking the
icon is now fixed.


DJ Delorie wrote:
> 

> > > BASH.EXE: /bin/mkgroup: Permission denied
> >
> > I don't think mkgroup works under Win9x.  I'll
> > hide the error message.
> 
> I hid it, but please tell me if it does the right thing - I have NT,
> where it works.

That message is now hidden.  I only see

   Creating /etc/passwd
   Creating /etc/group

But, I still get a dialog box popping up (actually 2, one for mkpasswd
and one for mkgroup) telling me:

 -- Error Starting Program ------------------------------------
 |                                                            |
 |    The MKGROUP.EXE file is                                 |
 |    linked to missing export NETAPI32.DLL:NetApiBufferFree. |
 |                                                            |
 |------------------------------------------------------------|


I have zero-byte files /etc/passwd and /etc/group.  I guess that either
mkpasswd and mkgroup need to be patched, or /etc/profile should just
create empty /etc/passwd and /etc/group files.

...Looks like mkpasswd.c can be patched to not call NetApiBufferFree if
on win9x?  Sorry, I don't know anything about this API so I'm not much
help.


One more thing.  Is there a list somewhere of what values are used for
things like MANPATH if they aren't set?  I'm converting my startup files
from cygwin-1.0 to the net release, and it seems that some of the things
I used to do aren't necessary anymore.  Perhaps a todo for the FAQ could
be to state *all* of assumptions for unset env vars.  (I know they're
already stated for the CYGWIN env variable and (I think) for TERM, but
I'm thinking about some other non-cygwin1.dll env variables like INFOPATH
and MANPATH.)

Oh, is it still necessary to unset MAILCHECK?  If so, that should
probably go in /etc/profile?

-jeff

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019