Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304498

JShell does not switch to raw mode when there is no /bin/test

XMLWordPrintable

    • b16

        The internal JLine uses the 'test' executable to validate if given file descriptors are bound to terminal or not. It always uses `/bin/test`, which some (presumably newer) Linux distributions have, but some don't. The others only have '/usr/bin/test', and JLine fails to switch the terminal into raw mode, effectively disabling most of the editing features.

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: