What steps will reproduce the problem?
1. Run on some distro with busybox (shell) and dropbear (ssh)
2. Run some interactive prosodyctl command (like adduser asking for a password)
What is the expected output?
Prompt printed
What do you see instead?
No prompt until new line has been entered
Please provide any additional information below.
Reproducible via
lua -e 'io.write"?" io.read()'
While the following appears to work
lua -e 'io.stdout:setvbuf("no") io.write"?" io.read()'
What steps will reproduce the problem? 1. Run on some distro with busybox (shell) and dropbear (ssh) 2. Run some interactive prosodyctl command (like adduser asking for a password) What is the expected output? Prompt printed What do you see instead? No prompt until new line has been entered Please provide any additional information below. Reproducible via lua -e 'io.write"?" io.read()' While the following appears to work lua -e 'io.stdout:setvbuf("no") io.write"?" io.read()'