Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18285

solution for 'For input string: “0x100” ' make bash command 'reset' fail to work

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.10.1
    • None
    • Scala Shell

    Description

      When I start a Scala shell with the following command:

      start-scala-shell.sh local

      {{}}

      {{[ERROR] Failed to construct terminal; falling back to unsupported
      java.lang.NumberFormatException: For input string: "0x100"}}

      Other questions and GitHub suggest that the solution is:

      export TERM=xterm-color

      However, this solution disables the command “reset”.

      After I set export TERM=xterm-color in ~/.bashrc or /etc/profile and source the file,

      then I type “reset”, the command reset will fail to reset Terminal.

      So, what's the perfect solution to solve this problem while keeping the command “reset” working?

      Attachments

        Activity

          People

            Unassigned Unassigned
            appleyuchi appleyuchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: