bug-bash
[Top][All Lists]
Advanced

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

Re: ctrl-w oddity on bash-4.4


From: Robert Elz
Subject: Re: ctrl-w oddity on bash-4.4
Date: Fri, 27 Oct 2017 04:20:10 +0700

    Date:        Thu, 26 Oct 2017 10:04:54 -0400
    From:        Chet Ramey <chet.ramey@case.edu>
    Message-ID:  <df977472-bbcb-8a1d-ce44-a8ecf447fa02@case.edu>

  | Posix doesn't make that distinction.

Actually, it does,

        Input Mode Commands in vi

        In text input mode, the current line shall consist of zero or more
        of the following categories, plus the terminating <newline>:

            1, Characters preceding the text input entry point

               Characters in this category shall not be modified during text
               input mode.

            2. [...]

In vi, input mode is used to input data.  That's it.   The only editing
that is supposed to be available is that which you would have when typing
using the regular tty driver input correction abilities, which apply only
to making changes on characters typed since the last \n - and only to erasing
backwards.

kre




reply via email to

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