File: README.Debian

package info (click to toggle)
tkman 2.2-2etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 928 kB
  • ctags: 291
  • sloc: tcl: 8,264; sh: 400; makefile: 242
file content (25 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
tkman for Debian
----------------------

 * The MANPATH environment variable.
The upstream author explains his attitude to the use of the MANPATH
environment variable in the section about Platform-specific Support of
the TkMan page. His bottom line is that

    * TkMan used to have a variety of ways to set the MANPATH if it 
    was not already set. The MANPATH is simple to set, is recognized
    on all flavors of UNIX and all man-related tools, is easily 
    customized, and does everything that these other ways did.  It 
    is now the one and only way to communicate man directories to 
    TkMan. 

However, Section 3.9 of the Debian policy states that: 

    No program may depend on environment variables to get reasonable 
    defaults. ...; 
    should fall back on reasonable defaults if not present...
    else provide a wrapper script.

In order to solve this, tkmandesc.tcl was patched with an internal 
default value for MANPATH. This default value is obtained from 
/usr/bin/manpath.