[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline keyboard shortcut CTRL A E

From: Chet Ramey
Subject: Re: readline keyboard shortcut CTRL A E
Date: Thu, 12 Jan 2023 10:57:35 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

On 1/11/23 3:00 PM, clive wrote:
Xubuntu - Desktop: Xfce 4.14.2, Distro: Ubuntu 20.04.5 LTS, xfce4-
terminal GNU bash, version 5.0.17


.Xubuntu - Desktop: Xfce 4.16.0, Distro: Ubuntu 22.04.1 LTS,
xfce4-terminal 0.8.10  GNU bash, version 5.1.16

Both using X11 display

Using KB shortcut CTRL-A (or Home) on short commands takes the cursor
correctly from end of command to the first character of the command.
With longer commands it does not go to the start, eg for command of 23
characters, the cursor goes to character 11. Using CTRL-E (or End) on
incorectly placed cursor takes cursor beyond end of the command eg by
about 11 characters.

This sounds like your prompt contains non-printing characters that are
not marked as such.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]