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