Files
ETTerms/tools/scripts/test-loop.ttl
T
etwen 2bfb2c6575 feat: initial release v0.1.0
- KKTerm-style UI: Activity Rail, Connection Sidebar, Tabbed Workspace
- Serial Port connection (System.IO.Ports)
- SSH connection (SSH.NET, password/key/keyboard-interactive)
- Local Shell via Windows ConPTY (PowerShell/Bash/Cmd)
- VT100/ANSI terminal rendering (owner-drawn, double-buffered)
- TTL script engine: send, sendln, wait, pause, timeout, if/while, messagebox
- Group execution: waitall, sendlnall, sendlngroup (Barrier sync)
- Run All / Run Group toolbar buttons
- SFTP file browser sidebar (SSH.NET SftpClient)
- PDU control via SNMP (pduconnect/pductrl commands)
- Settings: Terminal prefs, Shell config, PDU monitoring
- About page with changelog
- AppSettings persisted to %LocalAppData%\ETTerms\
- Dark theme throughout (KKTerm purple accent)
2026-06-03 17:09:55 +08:00

18 lines
366 B
Turtle

; test-loop.ttl while 迴圈 + 變數 + pause 測試
; 不需遠端回應;觀察 Scripts 檢視的進度(行號/指令)與 log。
; 執行中可按 Stop 中止。
logopen 'loop.log'
idx = 0
while idx < 5
sendln 'echo loop'
logwrite 'iteration'
pause 1
idx = idx + 1
endwhile
logwrite 'loop finished'
logclose
messagebox 'Loop test done'