Home / code / tree / funcs
Name Modified Size InfoDownloads / Week
Parent folder
r_listdir-unix.c 2019-12-28 3.0 kB
unix_listdir-unix.c 2019-12-28 4.3 kB
unix_rlistdir-unix.c 2019-12-28 269 Bytes
xml_fillinfo-xml.c 2019-12-28 868 Bytes
xml_indent-xml.c 2019-12-28 128 Bytes
xml_listdir-xml.c 2019-12-28 3.6 kB
xml_rlistdir-xml.c 2019-12-28 271 Bytes
xmlr_listdir-xml.c 2019-12-28 2.4 kB
cond_lower-tree.c 2019-12-28 80 Bytes
do_date-tree.c 2019-12-28 658 Bytes
fillinfo-tree.c 2019-12-28 736 Bytes
free_dir-tree.c 2019-12-28 157 Bytes
Ftype-tree.c 2019-12-28 405 Bytes
get_dirname-unix.c 2019-12-28 503 Bytes
gnu_getcwd-tree.c 2019-12-28 274 Bytes
indent-tree.c 2019-12-28 920 Bytes
patmatch-tree.c 2019-12-28 1.6 kB
printit-tree.c 2019-12-28 1.3 kB
prot-tree.c 2019-12-28 702 Bytes
psize-tree.c 2019-12-28 817 Bytes
xmalloc-tree.c 2019-12-28 182 Bytes
xrealloc-tree.c 2019-12-28 199 Bytes
alnumsort-tree.c 2019-12-28 216 Bytes
ctimesort-tree.c 2019-12-28 361 Bytes
fsizesort-tree.c 2019-12-28 267 Bytes
main-tree.c 2019-12-28 16.6 kB
mtimesort-tree.c 2019-12-28 363 Bytes
normally-strverscmp.c 2019-12-28 911 Bytes
read_dir-tree.c 2019-12-28 3.4 kB
sizecmp-tree.c 2019-12-28 76 Bytes
strverscmp-strverscmp.c 2019-12-28 1.8 kB
unix_getfulltree-tree.c 2019-12-28 3.7 kB
usage-tree.c 2019-12-28 4.6 kB
versort-tree.c 2019-12-28 217 Bytes
emit_html_header-html.c 2019-12-28 2.2 kB
findino-hash.c 2019-12-28 301 Bytes
gidtoname-hash.c 2019-12-28 613 Bytes
html_encode-html.c 2019-12-28 413 Bytes
html_listdir-html.c 2019-12-28 6.0 kB
html_rlistdir-html.c 2019-12-28 273 Bytes
htmlr_listdir-html.c 2019-12-28 4.6 kB
json_fillinfo-json.c 2019-12-28 1.1 kB
json_indent-json.c 2019-12-28 129 Bytes
json_listdir-json.c 2019-12-28 4.0 kB
json_rlistdir-json.c 2019-12-28 273 Bytes
jsonr_listdir-json.c 2019-12-28 2.6 kB
saveino-hash.c 2019-12-28 490 Bytes
uidtoname-hash.c 2019-12-28 614 Bytes
url_encode-html.c 2019-12-28 479 Bytes
age_env2ft-color.c 2019-12-28 369 Bytes
cmd-color.c 2019-12-28 688 Bytes
cnt_printable-color.c 2019-12-28 412 Bytes
color-color.c 2019-12-28 2.7 kB
file_getfulltree-file.c 2019-12-28 1.4 kB
fprune-file.c 2019-12-28 1.2 kB
freefiletree-file.c 2019-12-28 196 Bytes
getcharset-color.c 2019-12-28 1.9 kB
initlinedraw-color.c 2019-12-28 4.2 kB
newent-file.c 2019-12-28 211 Bytes
nextpc-file.c 2019-12-28 487 Bytes
parse_env_colors-color.c 2019-12-28 552 Bytes
search-file.c 2019-12-28 416 Bytes
split-color.c 2019-12-28 322 Bytes
parse_dir_colors-color.c 2019-12-28 4.1 kB
Totals: 64 Items   99.3 kB 0
  This is a handy little utility to display a tree view of directories that
I wrote some time ago and just added color support to.  I've decided that
since no one else has done something simular I would go ahead and release
it, even though it's barely a 1st year CS student hack.  I've found it damn
handy to peruse a directory tree though, especially when someone is trying to
hide something from you.

  The main distribution site for tree is here:

  ftp://mama.indstate.edu/linux/tree/

  If you don't like the way it looks let me know how you think it should be
formatted. Feel free to suggest modifications and additions.

  Thanks go out so the following people who have helped bring tree to the
pinnacle of perfection that it is: ;)

Francesc Rocher
  - Added HTML output (-H).
  - Added options -o, -L and -R.

Gerald Scheidl
  - Added -S option to print ASCII graphics lines for use under linux
    console when an alternate console font has been selected (might also
    work under DOS telnet).

Guido Socher (and others)
  - Made tree more portable.  Should compile under solaris.

Mitja Lacen
  - Discovered bug where tree will segmentation fault on long pathnames.
  - Discovered in -L argument processing.

Nathaniel Delage
  - Discovered problem with recursive symlink detection

A. Karthik
  - Suggested option to remove file and directory report at end of tree
    listing.

Roger Luethi
  - Spotted memory over-allocation bug in read_dir().
  - Submitted several patches to fix various memory leaks.

Daniel Lee
  - Reported that Tru64 defines TRUE/FALSE in sys/types.h (OSF1 standard?)

Paolo Violini
  - Found bug in tree that caused it to seg-fault if 50 file arguments where
    given and directory coloring was turned on.

Mitsuaki Masuhara
  - Discovered tree crashed on missing arguments.
  - Discovered that tree did not properly encode characters in filenames
    when used as URLs when using the -H option.

Johan Fredrik
  - Pointed out that tree did not list large files.

Ted Tiberio
  - Submitted patch which fixed a compiler issue and cleaned up HTML and CSS
    code, applied CSS to all output, and fixed up HTML to 4.01 strict
    standards.

David MacMahon
  - Added '|' support to the pattern matching routines.

Dan Jacobson
  - Pointed out that -t did not sort properly for files with the same
    timestamp.
  - Suggested option to change HTML title and H1 string.
  - Suggested -r option for reversed alphanumeric sort ala 'ls -r'.

Kyosuke Tokoro
  - Provided patch to support OS/2, fix HTML encoding, provide charset
    support. Added to authors list.

Florian Ernst
  - Debian maintainer who pointed out problems and applied fire to feet to fix
    stuff.

And many others whom I've failed to keep track of.  I should have started
this list years ago.

						- Steve Baker
						  ice@mama.indstate.edu
Source: README, updated 2019-12-28