| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # $Id: editbox3,v 1.8 2020/11/26 00:03:58 tom Exp $ |
| 3 | # example with extra- and help-buttons |
| 4 | |
| 5 | . ./setup-varsscip-shell source . . `./setup-vars`. |
| 6 | |
| 7 | . ./setup-editscip-shell source . . `./setup-edit`. |
| 8 | |
| 9 | catscip-shell system . . cat. << EOF > $input |
| 10 | EOF |
| 11 | |
| 12 | $DIALOG --title "EDIT BOX" \ |
| 13 | --extra-button \ |
| 14 | --help-button \ |
| 15 | --fixed-font "$@" --editbox $input 0 0 2>$output |
| 16 | returncode=$? |
| 17 | |
| 18 | . ./report-editscip-shell source . . `./report-edit`. |