404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.220.140.173: ~ $
#!/bin/sh
# $Id: textbox,v 1.12 2010/01/13 10:36:35 tom Exp $

. ./setup-vars

. ./setup-tempfile

cat << EOF > $tempfile
Hi, this is a text dialog box. It can be used to display text from a file.
The file should not contain any 'tab' characters, so you should 'expand'
the file first if it contains 'tab' characters.

It's like a simple text file viewer, with these keys implemented:

PGDN/SPACE     - Move down one page
PGUP/'b'       - Move up one page
ENTER/DOWN/'j' - Move down one line
UP/'k'         - Move up one line
LEFT/'h'       - Scroll left
RIGHT/'l'      - Scroll right
'0'            - Move to beginning of line
HOME/'g'       - Move to beginning of file
END/'G'        - Move to end of file
'/'            - Forward search
'?'            - Backward search
'n'            - Repeat last search (forward)
'N'            - Repeat last search (backward)


The following is a sample text file:


EOF

TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING

cat $TEXT | expand >> $tempfile

$DIALOG --clear --title "TEXT BOX" "$@" --textbox "$tempfile" 22 77

retval=$?

. ./report-button

Filemanager

Name Type Size Permission Actions
calendar File 229 B 0755
calendar-stdout File 215 B 0755
calendar2 File 221 B 0755
calendar2-stdout File 207 B 0755
checklist File 1004 B 0755
checklist-utf8 File 1.08 KB 0755
checklist10 File 815 B 0755
editbox File 1.01 KB 0755
editbox-utf8 File 852 B 0755
editbox2 File 1.05 KB 0755
form1 File 1.39 KB 0755
form2 File 2.14 KB 0755
fselect File 214 B 0755
fselect-stdout File 199 B 0755
fselect1 File 322 B 0755
fselect1-stdout File 308 B 0755
fselect2 File 212 B 0755
fselect2-stdout File 198 B 0755
gauge File 285 B 0755
gauge0-input-fd File 390 B 0755
gauge2 File 468 B 0755
infobox File 501 B 0755
infobox2 File 500 B 0755
infobox3 File 515 B 0755
infobox4 File 515 B 0755
inputbox File 565 B 0755
inputbox1 File 562 B 0755
inputbox2 File 565 B 0755
inputbox3 File 586 B 0755
inputbox4 File 645 B 0755
inputbox5 File 640 B 0755
inputbox6-utf8 File 268 B 0755
inputbox7 File 768 B 0755
inputmenu-stdout File 1.44 KB 0755
inputmenu1 File 1.5 KB 0755
inputmenu2 File 1.73 KB 0755
inputmenu3 File 1.93 KB 0755
inputmenu4 File 1.5 KB 0755
menubox File 835 B 0755
menubox-utf8 File 860 B 0755
menubox1 File 857 B 0755
menubox10 File 417 B 0755
menubox2 File 858 B 0755
menubox3 File 1.08 KB 0755
menubox4 File 1.26 KB 0755
menubox5 File 1.55 KB 0755
mixedform File 1.23 KB 0755
mixedform2 File 1.24 KB 0755
mixedgauge File 580 B 0755
msgbox File 352 B 0755
msgbox1 File 1.54 KB 0755
msgbox2 File 1.54 KB 0755
msgbox4-eucjp File 805 B 0755
msgbox4-utf8 File 1019 B 0755
password File 570 B 0755
password1 File 585 B 0755
password2 File 592 B 0755
pause File 181 B 0755
radiolist File 1015 B 0755
radiolist10 File 815 B 0755
report-button File 446 B 0644
report-edit File 464 B 0644
report-string File 520 B 0644
report-tempfile File 544 B 0644
report-yesno File 433 B 0644
setup-edit File 258 B 0644
setup-tempfile File 214 B 0644
setup-utf8 File 198 B 0644
setup-vars File 545 B 0644
textbox File 1.09 KB 0755
textbox2 File 1.08 KB 0755
timebox File 263 B 0755
timebox-stdout File 212 B 0755
timebox2 File 217 B 0755
timebox2-stdout File 204 B 0755
yesno File 758 B 0755
yesno2 File 592 B 0755
yesno3 File 605 B 0755