delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/10/10:55:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41694D58.6080201@x-ray.at>
Date: Sun, 10 Oct 2004 16:55:20 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: PostInstallLast addons?
References: <4162386A DOT 1080009 AT pastornet DOT net DOT au> <20041005084757 DOT GK6702 AT cygbert DOT vinschen DOT de> <opsfkud1qltsbnf7 AT c500> <ck922h$5dm$2 AT sea DOT gmane DOT org> <41681FAE DOT 7050508 AT x-ray DOT at> <20041009201936 DOT GA11424 AT trixie DOT casa DOT cgf DOT cx> <1097371147 DOT 11430 DOT 206127296 AT webmail DOT messagingengine DOT com> <20041010030550 DOT GA14377 AT trixie DOT casa DOT cgf DOT cx> <4168F7CE DOT 2080504 AT robinbowes DOT com>
In-Reply-To: <4168F7CE.2080504@robinbowes.com>
X-IsSubscribed: yes

Robin Bowes schrieb:
> Christopher Faylor wrote:
>> On Sat, Oct 09, 2004 at 06:19:07PM -0700, Lex Ein wrote:
>>> "Cygwin Setup - Finish
>>>
>>> Create icons    Have setup create icons for easy access to the Cygwin 
>>> environment.    [ ] Create icon on _Desktop    [ ] Add icon to _Start 
>>> Menu
>>> Optional tasks - (may take many minutes!)
>>>    [ ] Build database (makewhatis) of man page short descriptions for
>>>    'whatis' & 'apropos'.
>>>    [ ] Build database (updatedb) of file names for 'locate'.
>>>
>>> Display README information at exit.    [ ] Display 
>>> /usr/share/doc/Cygwin/ directory of README files.
>>
>> I think that's a very good idea.  It would need to be conditional on the
>> existence of man and, I guess, find, though.
> 
> In the context of some of the earlier posts in this thread, can I 
> suggest that the wording is a little less daunting to those not familiar 
> with nuix/cygwin. OK, so "Build database (makewhatis) of man page short 
> descriptions for 'whatis' & 'apropos'" may be technically correct, but 
> wouldn't something like this be more "helpful":
> 
>   Optional tasks - (may take many minutes!)
>     [ ] Build help index (used by 'whatis' and 'apropos' commands)
>     [ ] Build file index (used by 'locate' command)

       [ ] Update help index (used by 'whatis' and 'apropos' commands)
       [ ] Update file index (used by 'locate' command)

But all this would a non-issue if we would create these new commands or 
functionality. Then no setup changes would be needed.
* updatewhatis which gets the filelist of the new man files.
* updatedb which should accept a new argument for the package MANIFEST
   to be merged into. Easier just a removal <MANIFEST> and add <MANIFEST>
   option.

On unix it's a non-issue because they have faster forks and esp.
faster filesystems.

$ time makewhatis

real    16m6.209s
user    7m56.942s
sys     2m38.845s

$ time updatedb
/usr/bin/find: /.ssh: Permission denied
/usr/bin/find: Fehler in /etc/mtab: /a.: No such file or directory

real    2m22.452s
user    0m0.674s
sys     0m0.636s

BTW, a nice locate bug eh. algorithmic issue (problematic trigram):

$ locate xx
/bin/cygdb_cxx-3.1.dll
/bin/cygdb_cxx-4.1.dll
/bin/cygdb_cxx-4.2.dll
/bin/cyggmpxx-3.dll
/bin/xxd.exe

$ which /bin/xxd.exe
/bin/xxd.exe: Command not found.

$ ls /bin/??x.exe
/bin/osx.exe  /bin/ptx.exe  /bin/rdx.exe  /bin/tex.exe  /bin/upx.exe

But I'm just too busy right now for this. I have to bring out a new 
release and search for another libtool bug.
Besides the pet cygwin projects.
-- 
Reini Urban
http://phpwiki.org/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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