forsyth20121205-174063a80cc13 years agoHistory
95 lines · 2.0 KB · Text
RawDownload
.TH FTREE 1.SH NAMEftree \- file tree browser.SH SYNOPSIS.B wm/ftree[.B [-e] [.B -E] [.B -p] [.B -d] [.I root].SH DESCRIPTION.I Ftreedisplays the given.I rootdirectory(default:.BR / )in a graphical form as a tree.Files and subdirectories are listedbeneath the directory that contains them.Initially, the contents of a subdirectory are not displayed, but selecting the.B ⊕symbol next to its name with button 1 causes its contents to be displayed there, andthe.B ⊕symbol changes to.BR ⊖ ;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 ofoperations:.BR Open ,.BR Copy ,.BR "Paste into" ,and.BR Remove ..B Openplumbs the full path name of the file or directory; it is up to the.IR plumber (8)to act appropriately based on the structure of the file name,as controlled by the user's.IR 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.B Copyon the source, then.B "Paste into"on the destination directory.The.B -doption disallows all operations except.BR Open ..PPNormally,.I ftreedisplays the usual.IR wm (1)controls, and interprets them as usual.The other options change that behaviour:.TP.B -eIgnore `exit' but offer move or resize..TP.B -EIgnore exit, and do not offer move or resize..TP.B -pDo exit, but do not offer move or resize..PPThe different options are used to program a user interface for handheld touch screen devices.For instance, a start panel can be created by invoking.I ftreewith the.B -Eoption, ensuring that the.I ftreescreen is always there, and all subsequent interaction can be controlledby the construction of the.I rootnamespace and suitable choice of plumbing rules..SH SOURCE.B /appl/wm/ftree.SH SEE ALSO.IR filename (1),.IR wm (1),.IR plumbing (6),.IR plumber (8)