[manual index][section index]


ftree - file tree browser


wm/ftree [ [-e ] [ -E ] [ -p ] [ -d ] [ root ]


Ftree displays the given root directory (default: /) in a graphical form as a tree. Files and subdirectories are listed beneath the directory that contains them. Initially, the contents of a subdirectory are not displayed, but selecting the symbol next to its name with button 1 causes its contents to be displayed there, and the symbol changes to ; clicking that collapses the subdirectory display back to its name. (If the directory is empty, the circle will be empty.) Selecting a file or directory name with button 1 pops up a menu of operations: Open, Copy, Paste into, and Remove. Open plumbs the full path name of the file or directory; it is up to the plumber(8) to act appropriately based on the structure of the file name, as controlled by the user's plumbing(6) file. Typically images will be displayed in a separate window, source files will be opened in an editor, and so on. Directory structure can be copied by invoking Copy on the source, then Paste into on the destination directory. The -d option disallows all operations except Open.

Normally, ftree displays the usual wm(1) controls, and interprets them as usual. The other options change that behaviour:

Ignore `exit' but offer move or resize.
Ignore exit, and do not offer move or resize.
Do exit, but do not offer move or resize.

The different options are used to program a user interface for handheld touch screen devices. For instance, a start panel can be created by invoking ftree with the -E option, ensuring that the ftree screen is always there, and all subsequent interaction can be controlled by the construction of the root namespace and suitable choice of plumbing rules.




filename(1), wm(1), plumbing(6), plumber(8)

FTREE(1 ) Rev:  Tue Mar 31 02:42:38 GMT 2015