Browse Subversion Repository
Annotation of /trunk/installer/release/wait_regex.ttl
Parent Directory
| Revision Log
1 |
doda |
1214 |
; sample macro of Tera Term |
2 |
maya |
1187 |
; |
3 |
|
|
; File: wait_regex.ttl |
4 |
|
|
; Description: wait command with regular expression |
5 |
|
|
; Environment: generic |
6 |
|
|
; Update: 2005/10/15 |
7 |
|
|
; Author: Yutaka Hirata |
8 |
|
|
|
9 |
|
|
connect '192.168.1.2 /2 /ssh /auth=password /user=yutaka /passwd=yutaka' |
10 |
|
|
|
11 |
|
|
while 1 |
12 |
|
|
|
13 |
|
|
sendln 'uptime' |
14 |
|
|
; waitregex 'Longhorn' '.*@sai' 'Pentium\d+' 'TeraTermX{3}' |
15 |
|
|
waitregex '(You).*(log\w+).*(this)' |
16 |
|
|
|
17 |
|
|
int2str s result |
18 |
|
|
messagebox s 'result' |
19 |
|
|
messagebox inputstr 'inputstr' |
20 |
|
|
messagebox matchstr 'matchstr' |
21 |
|
|
messagebox groupmatchstr1 'groupmatchstr1' |
22 |
|
|
messagebox groupmatchstr2 'groupmatchstr2' |
23 |
|
|
messagebox groupmatchstr3 'groupmatchstr3' |
24 |
|
|
messagebox groupmatchstr4 'groupmatchstr4' |
25 |
|
|
|
26 |
|
|
sendln 'cal' |
27 |
|
|
wait 'yutaka' |
28 |
|
|
|
29 |
|
|
pause 3 |
30 |
|
|
|
31 |
|
|
endwhile |
|