2 # $Id: editbox,v 1.13 2010/01/13 10:20:03 tom Exp $
12 Hi, this is an edit box. It can be used to edit text from a file.
14 It's like a simple text editor, with these keys implemented:
16 PGDN - Move down one page
17 PGUP - Move up one page
18 DOWN - Move down one line
20 DELETE - Delete the current character
21 BACKSPC - Delete the previous character
23 Unlike Xdialog, it does not do these:
28 Because dialog normally uses TAB for moving between fields,
29 this editbox uses CTRL/V as a literal-next character. You
30 can enter TAB characters by first pressing CTRL/V. This
31 example contains a few tab characters.
33 It supports the mouse - but only for positioning in the editbox,
34 or for clicking on buttons. Your terminal (emulator) may support
37 Try to input some text below:
41 $DIALOG --title "EDIT BOX" \
42 --fixed-font "$@" --editbox $input 0 0 2>$output