[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#269638: tetex-bin: dvips info page describes debugging options incorrectly



Jonathan Keeling <jmjk2@srcf.ucam.org> schrieb:

> Package: tetex-bin
> Version: 1.0.7+20011202-7.1
> Severity: normal
>
> The info page for dvips lists a series of debug bitmasks for
> reporting various information.
>
> The following masks are incorrect:
>
> 128  Reads: Config files            Actually is: Memory allocation
> 256  Reads: Partial font enc...     Actually is: Config files
> 512  Reads: Partial font subr....   Actually is: NONE

Thanks for reporting! The description is still the same for tetex-2.0.2
and even for dvips in the current teTeX beta. In the manpage, however,
there is yet an other description:

,----
|  128=memory; 256=Kpathsea stat(2) calls; 512=Kpathsea hash table
|  lookups;
`----

And it seems to me none of the three is completely correct, at least for
tetex-2.0.2: 

128 is memory allocation, you and info are right;
256 seems to be Config files, only you are right:

$ dvips -d 256 lofhyper.dvi 2>&1 |head
Reading dvips config file `/usr/share/texmf/dvips/config/config.ps':
/usr/share/texmf/dvips/config/config.ps:1:% teTeX's config.ps. Thomas Esser, 1998, public domain.
/usr/share/texmf/dvips/config/config.ps:2:
/usr/share/texmf/dvips/config/config.ps:3:% Memory available. Download the three-line PostScript file:
/usr/share/texmf/dvips/config/config.ps:4:%   %! Hey, we're PostScript
/usr/share/texmf/dvips/config/config.ps:5:%   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
/usr/share/texmf/dvips/config/config.ps:6:%   vmstatus exch sub 40 string cvs show pop showpage
/usr/share/texmf/dvips/config/config.ps:7:% to determine this number. (It will be the only thing printed.)
/usr/share/texmf/dvips/config/config.ps:8:m 3500000
/usr/share/texmf/dvips/config/config.ps:9:

512 gives some output in 2.0.2, I don't know whether "hash table lookup"
describes it appropriately:

$ dvips -d 512 lofhyper.dvi 2>&1 | tail
kdebug:kpse_normalize_path (/usr/local/lib/texmf/tex//) => 1
kdebug:kpse_normalize_path (/var/lib/texmf/tex//) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/tex//) => 1
kdebug:kpse_normalize_path (/home/frank/texmf/fonts/type1//) => 1
kdebug:kpse_normalize_path (/usr/local/share/texmf/fonts/type1//) => 1
kdebug:kpse_normalize_path (/usr/local/lib/texmf/fonts/type1//) => 1
kdebug:kpse_normalize_path (/var/lib/texmf/fonts/type1//) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/fonts/type1//) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/fonts/type1/bluesky/cm/cmbx12.pfb) => 1

I currently don't have the beta installed (and I don't understand the
source code). When I have I will check it, and hand on the bug report to
upstream. 

Thanks again, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: