karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KARAF-3394) Correct the Ctrl-D behaviour of Karaf shell
Date Fri, 15 Jun 2018 11:05:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet reassigned KARAF-3394:
--------------------------------------

    Assignee: Guillaume Nodet

> Correct the Ctrl-D behaviour of Karaf shell
> -------------------------------------------
>
>                 Key: KARAF-3394
>                 URL: https://issues.apache.org/jira/browse/KARAF-3394
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 3.0.2
>            Reporter: Martin Lichtin
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> Ctrl-D can be used to exit from the shell and is a short-cut for 'logout'.
> {noformat}
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>   Apache Karaf (3.0.2)
> Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
> {noformat}
> However, the current behaviour is odd and not aligned with how other shells (e.g. bash)
work.
> Ctrl-D should only cause a logout/disconnect when entered on an empty line.
> Currently, when one enters a command and then, in the middle of typing the command (or
editing it), hits Ctrl-D, one gets logged out. This is not how it should work. 
> Hitting Ctrl-D in the middle of a text should, as in any other shell, delete the character
to the right of the cursor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message