You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "appleyuchi (Jira)" <ji...@apache.org> on 2020/06/14 02:57:00 UTC

[jira] [Created] (FLINK-18285) solution for 'For input string: “0x100” ' make bash command 'reset' fail to work

appleyuchi created FLINK-18285:
----------------------------------

             Summary: solution for 'For input string: “0x100” ' make bash command 'reset' fail to work
                 Key: FLINK-18285
                 URL: https://issues.apache.org/jira/browse/FLINK-18285
             Project: Flink
          Issue Type: Improvement
    Affects Versions: 1.10.1
            Reporter: appleyuchi


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 {{sh}} (default shell language of Ubuntu) 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)