Page 2 of 4

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Sun Mar 29, 2015 5:45 pm
by sectroyer
juuso wrote:

Code: Select all

root@[TV] /> echo $TERM
xterm
root@[TV] /> . /dtv/SGO.env
root@[TV] /> echo $TERM
xterm
root@[TV] />
Should be

Code: Select all

xterm-256color
or:

Code: Select all

xterm-color

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Sun Mar 29, 2015 5:48 pm
by juusso

Code: Select all

root@[TV] /mtd_rwcommon/etc> TERM=xterm-color
root@[TV] /mtd_rwcommon/etc> echo $TERM
xterm-color
root@[TV] /mtd_rwcommon/etc> ./dialog --extra-label Info --extra-button  --menu "Choose one:" 10 30 3 1 red 2 green 3 bl
ue; echo $?
Error opening terminal: xterm-color.
1
root@[TV] /mtd_rwcommon/etc>

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Mon Mar 30, 2015 4:35 pm
by sectroyer
I think you don't have terminfo set up correctly :)

Code: Select all

TERMINFO='/dtv/usb/sda1/SamyGO/etc/terminfo'

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Mon Mar 30, 2015 4:47 pm
by juusso
aha. now it worked.

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Mon Mar 30, 2015 5:02 pm
by sectroyer
juuso wrote:aha. now it worked.
It means you did see red,green, blue dialog ? :)

Posted: Mon Mar 30, 2015 5:31 pm
by juusso
Yes. And could chose one of three. Sure nothing hapened, it just returns to cmd line.

Re:

Posted: Mon Mar 30, 2015 6:07 pm
by sectroyer
juuso wrote:Yes. And could chose one of three. Sure nothing hapened, it just returns to cmd line.
Good. Please add all the things you changed to ssh/scp/telnet fixing thread. Now we have C->H covered :)

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Mon Mar 30, 2015 7:38 pm
by tempinbox
sectroyer wrote:Confirmed here it works like a charm on my C so all C/D problems you experience have to be caused by incorrectly setup telnet/ssh :)
So tell me how to you hack your c series so i re-hack again my tv after a mtd_rwarea format and fix all the fucking problems that i have very time. :oops:
on my c series doesn't works
:oops:

Re: [App] Dialog. Bash GUI C/D/E/F/H

Posted: Mon Mar 30, 2015 7:40 pm
by sectroyer
tempinbox wrote: So tell me how to you hack your c series so i re-hack again my tv after a mtd_rwarea format and fix all the fucking problems that i have very time. :oops:
on my c series doesn't works
:oops:
No!!!!! By incorrectly hacking C series you can brick your TV!!! If you have problems it means you might brick it. Besides you didn't even correctly test dialog... First figure out what you are doing wrong ;)

Re: Re:

Posted: Mon Apr 06, 2015 11:55 pm
by tempinbox
sectroyer wrote:
juuso wrote:Yes. And could chose one of three. Sure nothing hapened, it just returns to cmd line.
Good. Please add all the things you changed to ssh/scp/telnet fixing thread. Now we have C->H covered :)
Yes please heklp me to fix telnet and get this working
SpoilerShow

Code: Select all

/ # /mtd_rwcommon/etc> TERM=xterm-color
/mtd_rwarea/sh: can't create TERM=xterm-color: Read-only file system
/ #  . /dtv/SGO.env
/ #  echo $TERM

/ # xterm
/mtd_rwarea/sh: xterm: not found
/ # echo $TERM

/ # cd mtd_rwcommon/etc
/mtd_rwcommon/etc # ls
dialog           libdialog.so.11  stagecraft-data
/mtd_rwcommon/etc # TERM=xterm-color
/mtd_rwcommon/etc # echo $TERM
xterm-color
/mtd_rwcommon/etc # echo $TERM
xterm-color
/mtd_rwcommon/etc # ./dialog --extra-label Info --extra-button  --menu "Choose o
ne:" 10 30 3 1 red 2 green 3 bl
./dialog: error while loading shared libraries: libdialog.so.11: cannot open shared object file: No such file or directory
/mtd_rwcommon/etc # ue; echo $?
/mtd_rwarea/sh: ue: not found
127
/mtd_rwcommon/etc #
/mtd_rwcommon/etc # TERMINFO='/dtv/usb/sda1/SamyGO/etc/terminfo'
/mtd_rwcommon/etc # ./dialog --extra-label Info --extra-button  --menu "Choose o
ne:" 10 30 3 1 red 2 green 3 bl
./dialog: error while loading shared libraries: libdialog.so.11: cannot open shared object file: No such file or directory
/mtd_rwcommon/etc #