tio/src
Martin Lund fc54df1f22 Add lua expect(string)
Add simple expect functionality.

The expect(string) function will wait for input from the tty device and
only return when there is a string match. Regular expressions are
supported.

Example:

script = expect('password:'); send('my_password\n')
2024-04-12 18:20:33 +02:00
..
bash-completion Add independent input and output mode 2024-04-10 14:40:18 +02:00
alert.c Update text 2024-04-12 13:03:51 +02:00
alert.h Update text 2024-04-12 13:03:51 +02:00
configfile.c Update text 2024-04-12 13:03:51 +02:00
configfile.h Update text 2024-04-12 13:03:51 +02:00
error.c Update text 2024-04-12 13:03:51 +02:00
error.h Update text 2024-04-12 13:03:51 +02:00
log.c Update text 2024-04-12 13:03:51 +02:00
log.h Update text 2024-04-12 13:03:51 +02:00
main.c Update text 2024-04-12 13:03:51 +02:00
meson.build Add Lua scripting feature 2024-04-01 15:37:40 +02:00
misc.c Add lua expect(string) 2024-04-12 18:20:33 +02:00
misc.h Add lua expect(string) 2024-04-12 18:20:33 +02:00
options.c Update text 2024-04-12 13:03:51 +02:00
options.h Update text 2024-04-12 13:03:51 +02:00
print.c Update text 2024-04-12 13:03:51 +02:00
print.h Update text 2024-04-12 13:03:51 +02:00
rs485.c Update text 2024-04-12 13:03:51 +02:00
rs485.h Update text 2024-04-12 13:03:51 +02:00
script.c Add lua expect(string) 2024-04-12 18:20:33 +02:00
script.h Update text 2024-04-12 13:03:51 +02:00
setspeed.c Update text 2024-04-12 13:03:51 +02:00
setspeed.h Update text 2024-04-12 13:03:51 +02:00
signals.c Update text 2024-04-12 13:03:51 +02:00
signals.h Update text 2024-04-12 13:03:51 +02:00
socket.c Update text 2024-04-12 13:03:51 +02:00
socket.h Update text 2024-04-12 13:03:51 +02:00
timestamp.c Update text 2024-04-12 13:03:51 +02:00
timestamp.h Update text 2024-04-12 13:03:51 +02:00
tty.c Update text 2024-04-12 13:03:51 +02:00
tty.h Update text 2024-04-12 13:03:51 +02:00
xymodem.c Fix xymodem error print outs 2024-04-10 20:13:44 +02:00
xymodem.h Update text 2024-04-12 13:03:51 +02:00