You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/01/24 09:16:00 UTC
[jira] [Commented] (KARAF-5996) client scripts require the control
key to submit commands in Windows Powershell
[ https://issues.apache.org/jira/browse/KARAF-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750902#comment-16750902 ]
Jean-Baptiste Onofré commented on KARAF-5996:
---------------------------------------------
A simple workaround is to do `set TERM=windows` before launching `bin/client`.
> client scripts require the control key to submit commands in Windows Powershell
> -------------------------------------------------------------------------------
>
> Key: KARAF-5996
> URL: https://issues.apache.org/jira/browse/KARAF-5996
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.2.1
> Environment: Windows 2012 and Windows 10
> Reporter: Brandan Jeter
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.2.3
>
>
> I have verified this on both 4.2.1 and master.
> Steps to reproduce:
> * Run karaf in Windows
> * Run the client.bat script from within Powershell
> * Type in a command
> * Press enter (does not submit the command)
> * Press control+enter (command is submitted)
> I've also noticed some of the encoding is messed up, and backspace does not work correctly. I had to use control+c to undo any text I typed into the console.
>
> I believe it's an issue with jline. I was able to swap out jline 3.9.0 for 3.6.2 in the karaf 4.2.1 distribution, and the bug went away.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)