#1201 IO buffering issue

Reporter Zash
Owner Nobody
Stars ★ (1)
  • Priority-Medium
  • Status-Accepted
  • Type-Defect
  1. Zash on

    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()'

New comment

Not published. Used for spam prevention and optional update notifications.