Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
Initial import of xdu 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasovskikh committed Nov 4, 2011
0 parents commit d62444a
Show file tree
Hide file tree
Showing 8 changed files with 1,597 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Imakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
XCOMM
XCOMM Imakefile for xdu : X11 display of du output
XCOMM
XCOMM Phillip Dykstra, [email protected]
XCOMM
DEPLIBS = XawClientDepLibs
LOCAL_LIBRARIES = XawClientLibs
SRCS = xdu.c xwin.c
OBJS = xdu.o xwin.o

ComplexProgramTarget(xdu)
InstallAppDefaults(XDu)
94 changes: 94 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
================================================================
XDU - Display the output of "du" in an X window
================================================================

XDU is a program for displaying a graphical tree of disk space
utilization as reported by the UNIX utility "du". You can
navigate up and down in the tree, sort things, and print out
information. See the manual page for details.

This program can be found by anonymous ftp at

ftp.arl.mil:pub/xdu-3.0.tar.Z

and should appear in the X11R6 contrib files.

================================================================
Compilation
================================================================

Use "xmkmf" to build a Makefile from the Imakefile.
Then "make", "make install", "make install.man".
But if for some reason you can't do that, try:

cc -o xdu xdu.c xwin.c -lXaw -lXt -lXext -lX11

See the XDu.ad file if e.g. you have problems with
the selected font.

This release was tested against X11R6 patch level 1 on an
SGI running Irix 5.2. It has been tested against X11R5 on
SunOS 4.1.3, SunOS 5.2 (Solaris), SGI Irix 4.0.5, Gould
UTX 2.1.

================================================================
Revision History
================================================================

Version 3.0 5 Jun 94
X11R6 contrib release
Popup help window
Now uses Athena widgets, but no menus or buttons yet

Version 2.1 22 Jul 93
Fixed a bug in the sorting code where traversal back up a
sorted tree could land you in the wrong parent directory.

Version 2.0 21 Jul 93
Added sorting.
Command line options.
More resources.
Better redraw behavior.
Bug fixes (to handle trailing slashes and directories
with no or zero size information).

Version 1.1 5 Oct 91
Added resource control
Display of size information
More accurate label positioning

Version 1.0 4 Sep 91
First public release

================================================================
Remaining Bug?
================================================================

On startup on a Sun (but not on an SGI), keyboard input
may not be received by the application until you move the
mouse out of and back into the window. Button presses are
fine. Does anyone know what's going on there?
Mark Evans pointed out a fix - now in the BUG section of
the manual page, but I would still like to hear how/why
this happens.

================================================================
Acknowledgements
================================================================
Thanks for bug reports and code fixes from:

Casey Leedom <[email protected]>
Stephen Gildea <[email protected]>
Nelson Minar <[email protected]>
Don Tiessen <[email protected]>
[email protected]
Mark Evans <[email protected]>
Juha Takala <[email protected]>

And the many others who told me what they thought about it.

Send any bugs/comments to:

Phil Dykstra
<[email protected]>
http://info.arl.mil/~phil/
19 changes: 19 additions & 0 deletions XDu.ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
!
! XDu Resources
!
! I recommend the "-*-helvetica-bold-r-normal--14-*" font, but if
! you don't have it, or want your server default, then change it
! or comment it out respectively.
! Order choices: first, last, alpha, ralpha, size, rsize
! Color to taste.
!
!XDu*foreground: yellow
!XDu*background: blue4
!XDu*help*foreground: green
!XDu*help*background: red4
XDu*window.width: 600
XDu*window.height: 480
XDu.font: -*-helvetica-bold-r-normal--14-*
XDu.ncol: 5
XDu.showsize: true
XDu.order: first
1 change: 1 addition & 0 deletions patchlevel.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define PATCHLEVEL 0
1 change: 1 addition & 0 deletions version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#define XDU_VERSION "3.0"
Loading

0 comments on commit d62444a

Please sign in to comment.