xref: /freebsd/contrib/dialog/samples/textbox.txt (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1Hi, this is a text dialog box. It can be used to display text from a file.
2The file should not contain any 'tab' characters, so you should 'expand'
3the file first if it contains 'tab' characters.
4
5It's like a simple text file viewer, with these keys implemented:
6
7PGDN/SPACE     - Move down one page
8PGUP/'b'       - Move up one page
9ENTER/DOWN/'j' - Move down one line
10UP/'k'         - Move up one line
11LEFT/'h'       - Scroll left
12RIGHT/'l'      - Scroll right
13'0'            - Move to beginning of line
14HOME/'g'       - Move to beginning of file
15END/'G'        - Move to end of file
16'/'            - Forward search
17'?'            - Backward search
18'n'            - Repeat last search (forward)
19'N'            - Repeat last search (backward)
20
21
22The following is a sample text file:
23
24
25