In the present version of the program the default output format is a new "rectangular" format that uses as many pages as necessary. The default page size is LTR (8.5 x 11") or A4 (21 x 29.7 cm), but one can easily specify any other size (an arbitrarily large size can be set by using negative margins in -R and -B, e.g. for plotters with an infinite paper roll). Subtrees that would stick out over the right edge of the paper are placed separately somewhere near the end of output. The original output format of G. Aas is still available with the -o option. Additional information can be found in the comments of the Perl code.
Purpose: generate a PostScript file to produce a directory tree Usage: pstree -h pstree -help pstree [Options] [-] [dirname] > ... Options: -f - include also plain files. Default: show only directories. -ff - Files First: same as -f, but list in each directory all the files before all the subdirectories. -fl - Files Last: same as -f, but list in each directory all the files after all the subdirectories. -l# - display directories only down to level #. Default: show the whole tree. -o - scale the whole tree onto a single page (old format). Default: use multiple pages. -h# - set the line height to # (in points; 1 point = 1/72"). Default: 7. Font size scales with line height. -h has no effect with -o. -T# - set the top margin width to # (points). Default: 30. -B# - set the bottom margin width to # (points). Default: 30. -L# - set the left margin width to # (points). Default: 50. -R# - set the right margin width to # (points). Default: 50. -R has no effect with -o. 1 point = 1/72 inch Negative margins w.r.t. the LTR/A4 format are allowed, to be able to format the output for arbitrarily large page size, e.g., for wide plotters with "infinitely-long" paper roll. Example: pstree -l5 -f -h7.5 -L60 -B-100 - -a Most directory names truncated to 14 characters