]> git.sesse.net Git - vlc/commit
luatelnet: accept multiple commands seperated by '\n' or '\r'.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 6 Jul 2010 19:16:01 +0000 (21:16 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 6 Jul 2010 19:16:01 +0000 (21:16 +0200)
commitf5b8b43a9e210a70e016871db6bab36929d6b866
tree9ded3784317368c03c995797271005b6cfabff80
parentec87e89b5950679bb48b714ebffd2ae7040b999b
luatelnet: accept multiple commands seperated by '\n' or '\r'.

It was possible with the oldtelnet interface using something like
(echo admin ; echo help) | nc localhost 4212
That's now working with the lua one (but not the cleanest way).
share/lua/intf/telnet.lua