[
https://issues.apache.org/jira/browse/FLINK-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser closed FLINK-18285.
----------------------------------
Resolution: Won't Fix
Closed due to https://issues.apache.org/jira/browse/FLINK-24360
> 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: Minor
> Labels: auto-deprioritized-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)