delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/10/10:04:54

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Re: Possible bug: d does not seem to read ~/.d.conf
Date: Fri, 10 Aug 2007 15:04:11 +0100
Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB023874EA@asc-mail.int.ascribe.com>
In-Reply-To: <f9hoo4$i21$2@sea.gmane.org>
From: "Phil Betts" <Phil DOT Betts AT ascribe DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7AE4Vbi008767

Thorsten Kampe wrote on Friday, August 10, 2007 2:21 PM::

> * Yaakov (Cygwin Ports) (Fri, 10 Aug 2007 07:09:11 -0500)
>> Ronald Fischer wrote:
>>> From
>>> 
>>>    info d
>>> 
>>> we can see that /usr/bin/d is supposed to honour a configuration
>>> file ~/.d.conf and that in this file, the boolean variable
>>> hidden-files-shown corresponds to the --hidden-files flag in the d
>>> command line. 
>> 
>> Hmmm, that page of the info appears to be outdated.  See the Command
>> Line Options section as well as /usr/share/doc/d-1.2.0/d.conf.example
>> for current syntax.
> 
> These resources don't contradict the info file but state the same.
> Fact is that d under Cygwin ignores ~/.d.conf while under Linux it
> works as expected.
> 
> Thorsten

You're not reading carefully enough.

From the info page:

| `hidden-files-shown'
|      Boolean option, the same as the command line option
|      `--hidden-files-shown'.  *Note Command Line Options::.

From /usr/share/doc/d-1.2.0/d.conf.example:

| # 'hidden-files' - boolean option.  Controls whether files with a
leading
| # period in their name are shown in the output.  This defaults to
'false' in 'd'.
| # Set to 'true' or 't' or '1' to turn on.
| 
| #hidden-files = False


Spot the difference?

If you put "hidden-files = true" in ~/.d.conf it works as advertised.


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