aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-07 14:07:04 +0200
committerarg@10ksloc.org <unknown>2006-08-07 14:07:04 +0200
commit4e009770d657ffdcd89f2d202e383ca432449391 (patch)
tree0f109d2546a0f2306d022a04cb99e064aab7a7cf
parentb24aa8312b8067226e469d15c0a103a3016670f0 (diff)
made dmenu(1) more dwm(1) alike
-rw-r--r--dmenu.145
1 files changed, 22 insertions, 23 deletions
diff --git a/dmenu.1 b/dmenu.1
index 3387c7a..7a45503 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -15,46 +15,45 @@ It supports arbitrary, user defined menu contents.
15.TP 15.TP
16.B \-v 16.B \-v
17prints version information to stdout, then exits. 17prints version information to stdout, then exits.
18.SS Usage 18.SH USAGE
19.B dmenu 19.B dmenu
20reads a list of newline-separated items from stdin and creates a menu. 20reads a list of newline-separated items from stdin and creates a menu.
21When the user selects an item or enters any text and presses Enter, his choice 21When the user selects an item or enters any text and presses Return, his choice
22is printed to stdout and 22is printed to stdout and
23.B dmenu 23.B dmenu
24terminates. 24terminates.
25.SS Keyboard Control
26.B dmenu 25.B dmenu
27is completely controlled by the keyboard. The following keys are recognized: 26is completely controlled by the keyboard. The following keys are recognized:
28.TP 2 27.TP
29Any printable character 28Any printable character
30appends the character to the text in the input field. This works as a filter: 29Appends the character to the text in the input field. This works as a filter:
31only items containing this text will be displayed. 30only items containing this text will be displayed.
32.TP 2 31.TP
33Left/Right (Control-p/Control-n) 32Left/Right (Control-p/Control-n)
34select the previous/next item. 33Select the previous/next item.
35.TP 2 34.TP
36Tab (Control-i) 35Tab (Control-i)
37copy the selected item to the input field. 36Copy the selected item to the input field.
38.TP 2 37.TP
39Enter (Control-j) 38Return (Control-j)
40confirm selection and quit (print the selected item to stdout). 39Confirm selection and quit (print the selected item to stdout).
41.TP 2 40.TP
42Shift-Enter (Shift-Control-j) 41Shift-Return (Shift-Control-j)
43confirm selection and quit (print the text in the input field to stdout). 42Confirm selection and quit (print the text in the input field to stdout).
44.TP 2 43.TP
45Escape (Control-[) 44Escape (Control-[)
46quit without selecting an item. 45Quit without selecting an item.
47.TP 2 46.TP
48Backspace (Control-h) 47Backspace (Control-h)
49remove enough characters from the input field to change its filtering effect. 48Remove enough characters from the input field to change its filtering effect.
50.TP 2 49.TP
51Control-u 50Control-u
52remove all characters from the input field. 51Remove all characters from the input field.
53.SS Exit codes 52.P
54.B dmenu 53.B dmenu
55returns 54returns
56.B 0 55.B 0
57if Enter is pressed on termination, 56if Return is pressed on termination,
58.B 1 57.B 1
59if Escape is pressed. 58if Escape is pressed.
60.SH CUSTOMIZATION 59.SH CUSTOMIZATION