tio/src
Martin Lund 6d77201ba0 Simplify lua line manipulation API
Collapses lua high(), low(), toggle(), config_high(), config_low(),
config_apply() into one simple function:

set{<line>=<state>, ...}

Line can be any of DTR, RTS, CTS, DSR, CD, RI.

State is high, low, or toggle.

Example:
script = set{DTR=high, RTS=low}; msleep(100); set{DTR=low, RTS=high}; msleep(100); set{RTS=low}

Notice the use of {} instad of () when calling the set function. This is
required to pass parameters by name in lua.
2024-04-29 15:20:53 +02:00
..
bash-completion Rename sub-config to profile 2024-04-27 09:13:33 +02:00
alert.c Add missing options to show configuration 2024-04-20 14:51:45 +02:00
alert.h Add missing options to show configuration 2024-04-20 14:51:45 +02:00
configfile.c Rename sub-config to profile 2024-04-27 09:13:33 +02:00
configfile.h Rename sub-config to profile 2024-04-27 09:13:33 +02:00
error.c Add new ways to manage serial devices 2024-04-26 22:19:22 +02:00
error.h Update text 2024-04-12 13:03:51 +02:00
fs.c Add new ways to manage serial devices 2024-04-26 22:19:22 +02:00
fs.h Add new ways to manage serial devices 2024-04-26 22:19:22 +02:00
log.c Add new ways to manage serial devices 2024-04-26 22:19:22 +02:00
log.h Update text 2024-04-12 13:03:51 +02:00
main.c Rename sub-config to profile 2024-04-27 09:13:33 +02:00
meson.build Add new ways to manage serial devices 2024-04-26 22:19:22 +02:00
misc.c Fix excludes pattern matching 2024-04-27 01:31:43 +02:00
misc.h Fix excludes pattern matching 2024-04-27 01:31:43 +02:00
options.c Update README 2024-04-28 18:23:08 +02:00
options.h Disable DEC Special Graphics at exit if vt100 2024-04-27 17:32:48 +02:00
print.c Introduce basic line input mode 2024-04-16 17:42:34 +02:00
print.h Make sure to reset tainted state 2024-04-27 14:41:08 +02:00
rs485.c Rework rs485_parse_config() 2024-04-14 11:30:39 +02:00
rs485.h Update text 2024-04-12 13:03:51 +02:00
script.c Simplify lua line manipulation API 2024-04-29 15:20:53 +02:00
script.h Add missing options to show configuration 2024-04-20 14:51:45 +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 Cleanup global variable name shadowing 2024-04-15 11:21:36 +02:00
socket.h Update text 2024-04-12 13:03:51 +02:00
timestamp.c Clean up timestamp enum definition 2024-04-20 15:02:43 +02:00
timestamp.h Clean up timestamp enum definition 2024-04-20 15:02:43 +02:00
tty.c Simplify lua line manipulation API 2024-04-29 15:20:53 +02:00
tty.h Simplify lua line manipulation API 2024-04-29 15:20:53 +02:00
xymodem.c Add timeout feature to expect() 2024-04-13 15:30:14 +02:00
xymodem.h Add missing header guard 2024-04-14 10:23:43 +02:00