This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: Possible bug: d does not seem to read ~/.d.conf


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]