xref: /freebsd/contrib/dialog/samples/textbox.txt (revision 6b7b2d80ed4d728d3ffd12c422e57798c1b63a84)
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