You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2009/10/26 07:17:59 UTC

[jira] Created: (FELIX-1803) Unable to edit or backspace on multiline commands

Unable to edit or backspace on multiline commands
-------------------------------------------------

                 Key: FELIX-1803
                 URL: https://issues.apache.org/jira/browse/FELIX-1803
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: karaf-1.0.0
            Reporter: Chris Custine
            Assignee: Chris Custine


Multiline commands are screwed up in general.  Unable to edit/backspace beyond first char of last line, and multiple line commands screw up display of history using up/down arrows.  This is mostly a jline issue, but since we have our own fork and have specific terminal types we use, I am creating an issue here to track the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1803) Unable to edit or backspace on multiline commands

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769951#action_12769951 ] 

Chris Custine commented on FELIX-1803:
--------------------------------------

Hi Guillaume,
I had already started fixes very similar to the ones at http://github.com/hns/jline so I merged some of his fixes with my own.  Jason is doing a fairly major refactoring so we will definitely want to review what he has done in the near future.

> Unable to edit or backspace on multiline commands
> -------------------------------------------------
>
>                 Key: FELIX-1803
>                 URL: https://issues.apache.org/jira/browse/FELIX-1803
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: karaf-1.2.0
>
>
> Multiline commands are screwed up in general.  Unable to edit/backspace beyond first char of last line, and multiple line commands screw up display of history using up/down arrows.  This is mostly a jline issue, but since we have our own fork and have specific terminal types we use, I am creating an issue here to track the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1803) Unable to edit or backspace on multiline commands

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769910#action_12769910 ] 

Guillaume Nodet commented on FELIX-1803:
----------------------------------------

One jline guy has created its own fork and fixed that:
  http://github.com/mikiobraun/jline-fork
Another fork:
  https://github.com/jdillon/jline2

We might want to merge those changes.

> Unable to edit or backspace on multiline commands
> -------------------------------------------------
>
>                 Key: FELIX-1803
>                 URL: https://issues.apache.org/jira/browse/FELIX-1803
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>
> Multiline commands are screwed up in general.  Unable to edit/backspace beyond first char of last line, and multiple line commands screw up display of history using up/down arrows.  This is mostly a jline issue, but since we have our own fork and have specific terminal types we use, I am creating an issue here to track the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1803) Unable to edit or backspace on multiline commands

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769942#action_12769942 ] 

Chris Custine commented on FELIX-1803:
--------------------------------------

Merged various forks and added some ansi control character handling to allows multiline command editing and backspace across multiple lines.  Also fixes problems with redisplaying multiline commands while scrolling command history.

The hack to AnsiWindowsTerminal might be better off as a static method call to jansi AnsiConsole, but this will keep us from doing a new release of jansi just for this fix.  Some of this will also be better if integrated directly into jline as Jason Dillon is apparently doing in his jline 2.0 branch.

> Unable to edit or backspace on multiline commands
> -------------------------------------------------
>
>                 Key: FELIX-1803
>                 URL: https://issues.apache.org/jira/browse/FELIX-1803
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: karaf-1.2.0
>
>
> Multiline commands are screwed up in general.  Unable to edit/backspace beyond first char of last line, and multiple line commands screw up display of history using up/down arrows.  This is mostly a jline issue, but since we have our own fork and have specific terminal types we use, I am creating an issue here to track the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1803) Unable to edit or backspace on multiline commands

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine resolved FELIX-1803.
----------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.2.0

> Unable to edit or backspace on multiline commands
> -------------------------------------------------
>
>                 Key: FELIX-1803
>                 URL: https://issues.apache.org/jira/browse/FELIX-1803
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: karaf-1.2.0
>
>
> Multiline commands are screwed up in general.  Unable to edit/backspace beyond first char of last line, and multiple line commands screw up display of history using up/down arrows.  This is mostly a jline issue, but since we have our own fork and have specific terminal types we use, I am creating an issue here to track the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.