problem withe emerge expext

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
vSaAmTp
Newbie
Posts: 8
Joined: Sun Nov 09, 2003 5:50 pm

problem withe emerge expext

Post by vSaAmTp » Thu Nov 13, 2003 7:14 pm

hello, i need to emerge expect, but on gentoox it loops. i have wait 3 hours, and it comes allways the same.
i need it to use the xbox as streamingserver for my digital receiver mokia dbox 2.

the script needs expect:

here the script:

#!/usr/bin/expect
spawn skill -9 display
spawn ./blink 1 1
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./popup_startscreen_25.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/startscreen_25.jpg
set timeout 11
expect "***Wait 11 sec***" {spawn echo "***Wait 11 sec***"}
spawn skill -9 display
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./popup_startscreen_50.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/startscreen_50.jpg
set timeout 11
expect "***Wait 11 sec***" {spawn echo "***Wait 11 sec***"}
spawn skill -9 display
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./popup_startscreen_75.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/startscreen_75.jpg
set timeout 11
expect "***Wait 11 sec***" {spawn echo "***Wait 11 sec***"}
spawn skill -9 display
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./popup_startscreen_100.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/startscreen_100.jpg
set timeout 11
expect "***Wait 11 sec***" {spawn echo "***Wait 11 sec***"}
set timeout 1
expect "***Wait 1 sec**" {spawn echo "***Wait 1 sec***"}
spawn sserver -host 192.168.0.22 -o /mnt/hda55/stream/ -e mpg
set sserver_spawn_id $spawn_id
set timeout 604800
expect "server startet" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink gggg
spawn ./popup_stop_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/stop_aufnahme.jpg}\
"START RECORDING" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rrrr
spawn ./popup_start_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/start_aufnahme.jpg}\
"cannot open output file" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_coof.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_coof.jpg}\
"timeout wait for data" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_twfd.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_twfd.jpg}
set spawn_id $sserver_spawn_id
expect "Stop recording" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink gggg
spawn ./popup_stop_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/stop_aufnahme.jpg}\
"START RECORDING" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rrrr
spawn ./popup_start_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/start_aufnahme.jpg}\
"cannot open output file" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_coof.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_coof.jpg}\
"timeout wait for data" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_twfd.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_twfd.jpg}
set spawn_id $sserver_spawn_id
expect "Stop recording" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink gggg
spawn ./popup_stop_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/stop_aufnahme.jpg}\
"START RECORDING" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rrrr
spawn ./popup_start_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/start_aufnahme.jpg}\
"cannot open output file" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_coof.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_coof.jpg}\
"timeout wait for data" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_twfd.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_twfd.jpg}
set spawn_id $sserver_spawn_id
expect "Stop recording" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink gggg
spawn ./popup_stop_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/stop_aufnahme.jpg}\
"START RECORDING" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rrrr
spawn ./popup_start_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/start_aufnahme.jpg}\
"cannot open output file" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_coof.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_coof.jpg}\
"timeout wait for data" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink rroo
spawn ./popup_error_twfd.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/error_twfd.jpg}
set spawn_id $sserver_spawn_id
expect "Stop recording" {spawn skill -9 display
spawn echo "kill display 5"
spawn echo "kill display 4"
spawn echo "kill display 3"
spawn echo "kill display 2"
spawn echo "kill display 1"
spawn ./blink gggg
spawn ./popup_stop_aufnahme.sh
spawn display +borderwidth -backdrop /home/xbox/sserver/stop_aufnahme.jpg}\


and so on....

i can post the complette script, if someone need ist. it was 36kb.

to use this, it needs ggrab : http://webmail.mw-itcon.de/ggrab

needed:

make
g++
kdebase
aptitude
kde
gcc
imagemagick
expect
calife
curl

optional:
lirc
zip
unzip
lsh-client
cftp
gftp
ftpd
qt3-tools
libqt3-odbc
lilbqt3-emb
libglib1.2-dev

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests