1 |
dpavlin |
30 |
#!/usr/local/bin/expect |
2 |
|
|
|
3 |
|
|
set timeout 4000 |
4 |
dpavlin |
34 |
spawn ./gxemul -e3max -C R4400 -q -d nbsd_pmax.img -d bc:../../emul/mips/pmaxcd-3.1.iso |
5 |
dpavlin |
30 |
|
6 |
|
|
expect "Terminal type" |
7 |
|
|
send "vt100\r" |
8 |
|
|
expect " in English" |
9 |
|
|
send "\r" |
10 |
|
|
expect "a: Install NetBSD to " |
11 |
|
|
send "\r" |
12 |
|
|
expect "b: Yes" |
13 |
|
|
send "b\r" |
14 |
|
|
expect "Hit enter to continue" |
15 |
|
|
send "\r" |
16 |
|
|
expect "a: Full installation" |
17 |
|
|
send "\r" |
18 |
|
|
expect "a: Set sizes of NetBSD partitions" |
19 |
|
|
send "\r" |
20 |
|
|
expect "Accept partition sizes." |
21 |
|
|
send " \r" |
22 |
|
|
expect "x: Partition sizes ok" |
23 |
|
|
send "\r" |
24 |
|
|
expect "Please enter a name for your" |
25 |
|
|
send "\r" |
26 |
|
|
expect "b: Yes" |
27 |
|
|
send "b\r" |
28 |
|
|
expect "Hit enter to continue" |
29 |
|
|
send "\r" |
30 |
|
|
expect "a: Progress bar" |
31 |
|
|
send "\r" |
32 |
|
|
expect "a: CD-ROM" |
33 |
|
|
send "\r" |
34 |
|
|
expect "c: Continue" |
35 |
|
|
send "c\r" |
36 |
|
|
expect "Hit enter to continue" |
37 |
|
|
send "\r" |
38 |
|
|
|
39 |
|
|
expect "Hit enter to continue" |
40 |
|
|
send "\r" |
41 |
|
|
expect "Press 'x' followed by RETURN to quit" |
42 |
|
|
send "x\r" |
43 |
|
|
expect "a: DES" |
44 |
|
|
send "\r" |
45 |
|
|
expect "b: No" |
46 |
|
|
send "b\r" |
47 |
|
|
expect "a: /bin/sh" |
48 |
|
|
send "\r" |
49 |
|
|
expect "Hit enter to continue" |
50 |
|
|
send "\r" |
51 |
|
|
expect "d: Reboot the computer" |
52 |
|
|
send "d\r" |
53 |
|
|
|
54 |
|
|
close |