Hi,

Wcd already supports an alternative location via the WCDHOME environment variable. Setting this variable will do what is suggested for WCD_ROOT.

Many programs use a $HOME sub directory for configuration files, but many more use by default just $HOME. Since files are hidden it's not a big hinder. The number of files is not so big. By default you have only two (.treedata.wcd and .stack.wcd). The other three are optional (.alias.wcd .ban.wcd .extra.wcd).

I see wcd as an enhancement of the shell which has also all its files in $HOME (.bashrc, .profile, .bash_login, ...)

Because $HOME is usually defined on unix/linux it simplifies the installation.

I would like to stay backwards compatible, so people don't need to move their custom wcd files if they upgrade.

The grand old NCD used to store its tree info in the root of the drive. On unix this is comparable to $HOME for a user (on enterprise systems).

best regards,

Erwin Waterlander

Op 04-03-09 11:46, jaalto schreef:
Package: wcd
Version: 3.2.0-1
Severity: wishlist


The manual page lists:

   FILES

       default treedata file
           UNIX: $HOME/.treedata.wcd

           This is the default treedata file where wcd searches for matches.  
If it is
           not readable wcd will create a new one.

       extra treedata file
           UNIX: $HOME/.extra.wcd

           An  optional extra treedata file. If it exists and is readable wcd 
will try
           to find matches in this file also.
        ...

SUGGESTION

    The HOME directory is quite crowded and it would be desireable if
    application stored the FILES (cf. manual page) under its own
    directory.

    Please store all files under user defined environment variable:

        WCD_ROOT

    When undefined, program would default to:

        $HOME/.wcd/

ERROR CONDITIONS

    If WCD_ROOT does not exist, program terminates and displays an error.

    If default directory $HOME/.wcd/ does not exist, it is created. This
    is typical behaviour (Cf. ~/.mozilla/ ~/.opera/ ...).

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wcd depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand

wcd recommends no packages.

wcd suggests no packages.

-- debconf-show failed







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to