• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

MakefileH A D19-Feb-2005252 1810

README.ver1H A D19-Feb-20051.3 KiB

README.ver2H A D19-Feb-20051.3 KiB

README.xduH A D19-Feb-20051.7 KiB5341

du2ps.1H A D19-Feb-20053 KiB127122

du2ps.1jH A D19-Feb-20052.9 KiB127123

du2ps.cH A D19-Feb-20053.5 KiB11898

du2ps.hH A D19-Feb-20052.3 KiB8541

getopt.cH A D19-Feb-20054.2 KiB154132

nodeop.cH A D19-Feb-20054.9 KiB238175

README.xdu

1XDU - display the output of "du" in an X window
2
3XDU is a program for displaying a graphical tree of disk space
4utilization as reported by the UNIX utility "du".  The window
5is divided up into several columns, each of which is one level
6deeper in the directory hierarchy (from left to right).  Boxes
7are drawn for each directory.  The amount of vertical space
8occupied by each box is directly proportional to the amount of
9disk space consumed by it and all of its children.  The name of
10each directory will be displayed provided that there is enough
11space within its box.
12
13The user can move up or down the tree by clicking the left mouse on
14a directory box.  If the left most box is selected, the display will
15move up one level (assuming you are not already at the root).  If any
16other box is selected, it will be placed on the left of the window
17and the display will be rescaled appropriately.  At any time the middle
18mouse will bring you back to the root.  Clicking the right mouse, or
19typing "q" within the window, will exit the program.
20
21Phil Dykstra
22<phil@BRL.MIL>
23
24================================================================
25Compilation:
26
27Use xmkmf to build a Makefile from the Imakefile.
28But if for some reason you can't do that, try:
29
30	cc -o xdu xdu.c xwin.c -lXt -lXext -lX11 -lm
31
32================================================================
33Resources (and defaults):
34
35xdu.foreground:Black
36xdu.background:White
37xdu*window.width:600
38xdu*window.height:480
39xdu.ncol:5
40xdu.font:Fixed
41xdu.showsize:True
42
43================================================================
44Revision History:
45
46Version 1.0	4 Sep 91
47	First public release
48
49Version 1.1	5 Oct 91
50	Added resource control
51	Display of size information
52	More accurate label positioning
53