[jboss-jira] [JBoss JIRA] (WFCORE-3647) CLI multi page output does not work correctly on Cygwin

Jean-Francois Denise (JIRA) issues at jboss.org
Mon Feb 26 07:36:01 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538128#comment-13538128 ] 

Jean-Francois Denise commented on WFCORE-3647:
----------------------------------------------

That is a Cygwin terminal / Java VM wrong behavior. The scenario is as follow:
- Parent process reads on input stream in thread 1.
- Another Parent process thread starts a sub process to acquire tty config (stty -a) (Can also be reproduced with ls -l). To have stty to properly operates, the sub process inherits the parent input stream. When the parent process reads the sub process output, it is stucks.

In the CLI/aesh-readline contexts that creates the observed behavior. 

We should try with JDK9 to see if the bug has been fixed there.
 

> CLI multi page output does not work correctly on Cygwin
> -------------------------------------------------------
>
>                 Key: WFCORE-3647
>                 URL: https://issues.jboss.org/browse/WFCORE-3647
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.1.0.Final
>            Reporter: Erich Duda
>            Assignee: Jean-Francois Denise
>
> The Auto more/less in CLI for multi-page output (WFCORE-426) does not work correctly on Cygwin. Each key has to be pushed twice to interact.
> It was hit on following Cygwin version.
> {code}
> $ uname -a
> CYGWIN_NT-6.3 WIN-VSOI9S1FO1Q 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list