You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, there appear to be some versions of Linux that use /usr/bin/test rather than /bin/test, which then leads to misdetection of the terminal streams as non-terminal, and then JLine won't switch to raw mode, and input does not work properly.
The
org.jline.terminal.impl.exec.ExecTerminalProvider
uses atest
program to detect if a stream is attached to a terminal:jline3/terminal/src/main/java/org/jline/terminal/impl/exec/ExecTerminalProvider.java
Line 122 in ccfb8c5
The
test
program appears to be hardcoded to/bin/test
:jline3/terminal/src/main/java/org/jline/utils/OSUtils.java
Line 95 in ccfb8c5
But, there appear to be some versions of Linux that use
/usr/bin/test
rather than/bin/test
, which then leads to misdetection of the terminal streams as non-terminal, and then JLine won't switch to raw mode, and input does not work properly.Inside OpenJDK, this lead to:
openjdk/jdk@fab2357
The text was updated successfully, but these errors were encountered: