diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/filename | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/filename')
| -rw-r--r-- | man/1/filename | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/man/1/filename b/man/1/filename new file mode 100644 index 00000000..b5be9908 --- /dev/null +++ b/man/1/filename @@ -0,0 +1,61 @@ +.TH FILENAME 1 +.SH NAME +filename \- interactively select a file +.SH SYNOPSIS +.B wm/filename +[ +.B -d +.I startdir +] +[ +.B -g +.I geom +] +[ +.B -t +.I title +] +[ +.IR pattern ... +] +.SH DESCRIPTION +.B Filename +pops up a file browser window, allows the user to select +a file and prints the name of that file to the standard output. +The optional list of patterns gives a list of wildcard patterns +as understood by +.IR filepat (2); +the file browser will initially show only files matching one +or more of the patterns. (N.B. patterns must be quoted to +prevent the shell from interpreting them). The following options +are recognised: +.TP 10 +.B -d +.I Startdir +gives the initial directory shown by the file browser. +.TP +.B -g +.I Geom +is given as a tk argument to the file browser window. +.TP +.B -t +.I Title +specifies the title of the file browser window. +.SH EXAMPLE +The following +.IR sh (1) +command compiles an interactively chosen Limbo source file, +placing the file browser window at a particular spot on the screen +and starting at joe's home directory. +.EX +limbo `{wm/filename -t 'Select a source file' -g '-x 50 -y 50' + -d/usr/joe '*.b' '*.m'} +.EE +.SH SOURCE +.B /appl/wm/filename.b +.SH SEE ALSO +.IR wmlib (2), +.IR sh (1) +.SH BUGS +The file browser window actually appears 20 pixels below and to the right +of the position specified. |
