Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Annotation of /trunk/installer/release/wait_regex.ttl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1214 - (hide annotations) (download)
Fri Jun 20 11:58:43 2008 UTC (15 years, 11 months ago) by doda
Original Path: installer/trunk/release/wait_regex.ttl
File size: 704 byte(s)
・TeraTerm -> Tera Term
・その他細かい修正

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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26