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

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

     [ https://issues.apache.org/jira/browse/FLINK-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger updated FLINK-18285:
-----------------------------------
    Component/s: Scala Shell

> 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
>          Components: Scala Shell
>    Affects Versions: 1.10.1
>            Reporter: appleyuchi
>            Priority: Major
>
> 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?



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