[
https://issues.apache.org/jira/browse/GERONIMO-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600700#action_12600700
]
YunFeng Ma commented on GERONIMO-4011:
--------------------------------------
Hi Jason, I've tried on Linux and it works fine for #1 and #2.
For Windows, I believe the root cause is BACKSPACE which doesn't work if a
command is broken into multilines:
{noformat}
char cbuf[] = new char[len];
Arrays.fill(cbuf, BACKSPACE);
out.write(cbuf);
{noformat}
The above codes can only move the cursor to the beginning of the last line of a
command, maybe it needs more native codes.
> Need new release of JLine to fix GShell problems on Windows
> -----------------------------------------------------------
>
> Key: GERONIMO-4011
> URL: https://issues.apache.org/jira/browse/GERONIMO-4011
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: dependencies
> Affects Versions: 2.1, 2.1.1, 2.1.2, 2.2
> Reporter: Donald Woods
> Assignee: Jason Dillon
> Fix For: 2.1.2, 2.2
>
> Attachments: jline-0.9.95-SNAPSHOT.jar
>
>
> There are several GShell problems on Windows, due to JLine bugs.
> I'm going to try and create a patched build of JLine 0.9.94 to resolve these
> issues, as Geronimo packages the JLine jar into our assembly for GShell to
> use.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.