[
https://issues.apache.org/jira/browse/FLINK-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
appleyuchi updated FLINK-18285:
-------------------------------
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?
was:
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?
> 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
> 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)