summaryrefslogtreecommitdiff
path: root/man/wimenu.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/wimenu.1')
-rw-r--r--man/wimenu.126
1 files changed, 13 insertions, 13 deletions
diff --git a/man/wimenu.1 b/man/wimenu.1
index 8f6c028..323089d 100644
--- a/man/wimenu.1
+++ b/man/wimenu.1
@@ -6,7 +6,7 @@ wimenu \- The wmii menu program
.SH SYNOPSIS
.P
-wimenu [\fI\-i\fR] [\fI\-h \fI<history file>\fR\fR] [\fI\-n \fI<history count>\fR\fR] [\fI\-p \fI<prompt>\fR\fR]
+wimenu \fI[\-i]\fR \fI[\-h \fI<history file>\fR]\fR \fI[\-n \fI<history count>\fR]\fR \fI[\-p \fI<prompt>\fR]\fR
.P
wimenu \-v
@@ -64,7 +64,7 @@ to exit \fBwimenu\fR.
Key bindings will be read from \fI<key file>\fR. Bindings
appear as:
-\fI<key>\fR [\fIaction\fR] [\fIargs\fR]
+\fI<key>\fR \fI[action]\fR \fI[args]\fR
where \fI<key>\fR is a key name, similar to the format used by
wmii. For action and args, please refer to the default
@@ -128,10 +128,10 @@ C\-e
Move to the end of the line.
.TP
-C\-p, Up
+C\-p, up
Move backward through the input history.
.TP
-C\-n, Down
+C\-n, up
Move forward through the input history.
.TP
@@ -215,19 +215,19 @@ baz
the following script provides the appropriate completions:
.nf
- #!/bin/sh \e-f
+ #!/bin/sh -f
rm fifo
mkfifo fifo
# Open wimenu with a fifo as its stdin
- wimenu \e-c <fifo | awk '
+ wimenu -c <fifo | awk '
BEGIN {
# Define the completion results
cmds = "foo\enbar\enbaz\en"
- cmd[\fI"foo"\fR] = "1\en2\en3\en"
- cmd[\fI"bar"\fR] = "4\en5\en6\en"
- cmd[\fI"baz"\fR] = "7\en8\en9\en"
+ cmd\fI["foo"]\fR = "1\en2\en3\en"
+ cmd\fI["bar"]\fR = "4\en5\en6\en"
+ cmd\fI["baz"]\fR = "7\en8\en9\en"
# Print the first set of completions to wimenu’s fifo
fifo = "fifo"
@@ -250,7 +250,7 @@ the following script provides the appropriate completions:
if (NF == 1)
update("", cmds) # The first arg, command choices
else
- update($1 " ", cmd[\fI$1\fR]) # The second arg, command arguments
+ update($1 " ", cmd\fI[$1]\fR) # The second arg, command arguments
# Skip the trailing part of the command
getline rest
}
@@ -261,7 +261,7 @@ the following script provides the appropriate completions:
.P
In theory, this facility can be used for myriad purposes,
including hijacking the programmable completion facilities of
-most shells. See also the provided examples[\fI1\fR].
+most shells. See also the provided examples\fI[1]\fR.
.SH ENVIRONMENT
.TP
@@ -277,9 +277,9 @@ provided.
wmii(1), wmiir(1), wistrug(1), wmii9menu(1), dmenu(1)
.P
-[\fI1\fR] http://www.suckless.org/wiki/wmii/tips/9p_tips
+\fI[1]\fR http://www.suckless.org/wiki/wmii/tips/9p_tips
.P
-[\fI2\fR] @EXAMPLES@
+\fI[2]\fR @EXAMPLES@
.\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)