Issue SSH command hangs after using chcp
to set the EBCDIC code page for the terminal session
#2387
Labels
bug
Something isn't working
priority-low
Legit issue but cosmetic or nice-to-have
research
We need to learn more about a topic or problem before addressing it.
severity-low
Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Describe the bug
If I run a command like
zowe ssh issue cmd "chcp -e IBM-1047; cat test.txt"
the zowe command will print output to the second to last line from the output of the command. E.g., in this case iftext.txt
contained:Zowe CLI would print out:
and then hang, requiring the user to CTRL-C to terminate the process.
Expected and actual results
I would expect all of the output to be printed and for Zowe CLI to exit.
Describe your environment
Additional context
chcp
can be used to change encoding settings for an active ssh session: https://www.ibm.com/docs/en/zos/3.1.0?topic=descriptions-chcp-set-query-asciiebcdic-code-pages-terminalThe text was updated successfully, but these errors were encountered: