xdtree is an extension of dtree, the program originally written by Dave Borman. It is very similar to my old "dtree" I posted in comp.sources.x in 1990, but it has a new user interface, and I changed the name to xdtree to avoid any confusion with the original program. It displays on a terminal or under X11 (using Motif widgets) the tree structure of a Unix directory tree. On a color terminal, different colors can be used for files, directories, and symbolic links. On a monochrome terminal, one may try to use different button bitmaps for files and directories using the PushButton resources. One can select nodes of the tree, and edit them, view them, or print them. One can also traverse nodes not fully shown on the original tree. The program uses the "tree" widget described in D. Young's book on X window programming (code included here). Potential problem: because xdtree creates a PushButton widget for every file or directory shown, you may run out of memory. It is recommended that you start with a moderate size tree, and create new ones as needed. Experience will show how much you can push it!! If you have a monochrome monitor, you may want to substitute those widgets with gadgets. For example: xdtree -l 2 will show the tree of your current directory up to depth 2. xdtree -al 2 will show both files and directories up to depth 2. 4/29/92 K. Konstantinides HP Labs kk@hpkronos.hpl.hp.com