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