On 2022-10-04, Bram Moolenaar wrote:
> Gary Johnson wrote:
> 
> > > I seldom use gvim on Linux and even less often use :sh from gvim, so
> > > I didn't notice this until recently when projects and my workflow
> > > changed.
> > > 
> > > When :sh is used in gvim to launch a shell, the backspace and ^U no
> > > longer work.  Instead of backspacing or clearing the line, each just
> > > puts gibberish in the line.  I discovered that each was broken by
> > > a different commit, so I'm reporting them separately.

[...]

> I still wonder why it took so long for someone to uncover this problem.
> And what other things might still be wrong...

Well, the arrow keys are kinda funky, too.  Executing :sh and
pressing the up-arrow, then Enter produces this, where the boxes are
on one line and two characters wide.

    $   |00|   |00|   |00|  k
        |9B|   |9B|   |9B|
    \udc9bku:  command not found

I tried looking at the arrow-key keycodes in gvim, but whether
I prefixed the key with ^V or ^K, all I got was the key name, e.g.,
<Up>.

The other arrow keys behave similarly.  The characters on the
command line look the same, but the last letter of the command that
bash sees are different.

    Key          Command
    -----------  --------
    up-arrow     \udc9bku
    down-arrow   \udc9bkd
    left-arrow   \udc9bkl
    right-arrow  \udc9bkr

The shifted arrow keys give similar results but also appear
differently on the command line.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221008191439.GG24999%40phoenix.

Raspunde prin e-mail lui