You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2018/06/15 10:57:00 UTC

[jira] [Updated] (KARAF-3394) Correct the Ctrl-D behaviour of Karaf shell

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

Martin Lichtin updated KARAF-3394:
----------------------------------
    Priority: Major  (was: Minor)

> 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
>            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)