You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/10/19 08:23:00 UTC

[jira] [Assigned] (FLINK-24742) SQL client add info about key strokes to docs

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

Matthias Pohl reassigned FLINK-24742:
-------------------------------------

    Assignee: Sergey Nuyanzin

> SQL client add info about key strokes to docs
> ---------------------------------------------
>
>                 Key: FLINK-24742
>                 URL: https://issues.apache.org/jira/browse/FLINK-24742
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Minor
>              Labels: auto-deprioritized-major, pull-request-available
>
> SQL client supports key strokes from jline.
> Unfortunately there is no docs about that in jline however there is source from which it could be found [1]
> here it is a list of most useful key strokes which are already supported by all existing Flink SQL client
> || Key-Stroke || Description ||
> | `alt-b` | Backward word |
> | `alt-f` | Forward word |
> | `alt-c` | Capitalize word |
> | `alt-l` | Lowercase word |
> | `alt-u` | Uppercase word |
> | `alt-d` | Kill word |
> | `alt-n` | History search forward |
> | `alt-p` | History search backward |
> | `alt-t` | Transpose words |
> | `ctrl-a` | To the beginning of line |
> | `ctrl-e` | To the end of line |
> | `ctrl-b` | Backward char |
> | `ctrl-f` | Forward char |
> | `ctrl-d` | Delete char |
> | `ctrl-h` | Backward delete char |
> | `ctrl-t` | Transpose chars |
> | `ctrl-i` | Invoke completion |
> | `ctrl-j` | Submit a query |
> | `ctrl-m` | Submit a query |
> | `ctrl-k` | Kill the line to the right from the cursor |
> | `ctrl-w` | Kill the line to the left from the cursor |
> | `ctrl-u` | Kill the whole line |
> | `ctrl-l` | Clear screen |
> | `ctrl-n` | Down line from history |
> | `ctrl-p` | Up line from history |
> | `ctrl-r` | History incremental search backward |
> | `ctrl-s` | History incremental search forward |
> [1] https://github.com/jline/jline3/blob/997496e6a6338ca5d82c7dec26f32cf089dd2838/reader/src/main/java/org/jline/reader/impl/LineReaderImpl.java#L5907



--
This message was sent by Atlassian Jira
(v8.20.10#820010)