tio/examples/lua/pts.lua
Keith Hill e5f9b947c4 + Add system timestamps to lua read() and new lua read_line() per global options; prevented warnings
+ Add missing timestamp-format epoch; update send_ to use fsync and tcdrain like normal tty_sync does; rework read_line to save partial line at timeout
2024-11-05 11:20:43 -06:00

14 lines
261 B
Lua

read(1000, 6000) -- initial config
send("\n")
msleep(100)
read(650, 60) -- main menu
send("S") -- S menu
msleep(30)
read(650, 60)
send("t") -- Parallel Value Table
read(650, 60)
while true do
msleep(1000)
send("t")
read(650, 50) -- repeat PVT forever
end