Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16366

Vi mode and g commands

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Dan Shearer <dan@shearer.org>
Newsgroups gnu.bash.bug
Subject Vi mode and g commands
Date Mon, 8 Jun 2020 02:28:05 +0100
Lines 39
Approved bug-bash@gnu.org
Message-ID <mailman.1432.1591622263.2541.bug-bash@gnu.org> (permalink)
References <CADB0MOOUui+hUpwsNsX-XLxcjSfE+sEox8cRA4hG7x1ksT49zQ@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1591622264 28147 209.51.188.17 (8 Jun 2020 13:17:44 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0SWAw9+UnRVeCN5qRC6Ekd4LOv+K2frSFSZAyy9RAhc=; b=dknboJQWFvCcXAX68SPnhTmPqpgF/9nwb43CuN+mQSRJtHVsQjSg5RKwvp7h7KzO/a dijM8V4pduXuQ+o/re2TrXIigGW+7+2tsP3OvDVhEsFNOlljoSU4TTFSplQqq7dGzoU/ E3wHMnN7Pg5OxkcOnVDktmNdiou+lgvWZ66QfNnOom3VyTX7Vs2k1B7xtwwSZv5RUNJs KfNzvzmonqRg5Urop662kk7HiB8EUAeSNDJTfrrbAGY9fRkri77G1cSKe7ed0tUcpDLv OYyCxYW19m9VnzFyfp8f6pQPM6pwCipgM4mfD6IelS5nLdRQFHoLbD8FC+Fm5QMQh2TV rkTQ==
X-Gm-Message-State AOAM533xAaA5IMHeFo93jJl5k2rgz9eueO0zWrp8RoKGyu8M8ixOPnU/ 61AgoluQi2uraJSnTfpIs3pKKanb19QwZqd4xa5A/o1RvFE=
X-Google-Smtp-Source ABdhPJzSeIs1/BkLXe75UDJqEry30e9bzL0aSpWs2WqCRnSazFddT20b7LjvdOyfT9ejYgf8KkcKcNipQ0R4bPr+/Bw=
X-Received by 2002:a17:907:119a:: with SMTP id uz26mr19766221ejb.523.1591579722080; Sun, 07 Jun 2020 18:28:42 -0700 (PDT)
Received-SPF pass client-ip=209.85.218.48; envelope-from=danshearerprivate@googlemail.com; helo=mail-ej1-f48.google.com
X-detected-operating-system by eggs.gnu.org: First seen = 2020/06/07 21:28:42
X-ACL-Warn Detected OS = Linux 2.2.x-3.x [generic] [fuzzy]
X-Spam_score_int -15
X-Spam_score -1.6
X-Spam_bar -
X-Spam_report (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action no action
X-Mailman-Approved-At Mon, 08 Jun 2020 09:17:41 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CADB0MOOUui+hUpwsNsX-XLxcjSfE+sEox8cRA4hG7x1ksT49zQ@mail.gmail.com>
Xref csiph.com gnu.bash.bug:16366

Show key headers only | View raw


Some g commands are implemented, but incorrectly. Examples:
* g0 is equivalent to 0, rather than 'beginning of screen line when wrapped'
* g$ is equivalent to $, rather than 'end of screen line when wrapped'

Other g commands are not implemented, just ignored. Examples:
* gM is ignored, rather than going to the middle of the line
* gE is ignored, rather than going to the end of the last word

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
-fdebug-prefix-map=/build/bash-cP61jF/bash-5.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wno-parentheses -Wno-format-security
uname output: Linux karotte 5.4.0-33-generic #37-Ubuntu SMP Thu May 21
12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 5.0
Patch Level: 16
Release Status: release

Description:
    [Detailed description of the problem, suggestion, or complaint.]

Repeat-By:
    [Describe the sequence of events that causes the problem
    to occur.]

Fix:
    [Description of how to fix the problem.  If you don't know a
    fix for the problem, don't include this section.]

-- 
Dan Shearer
dan@shearer.org

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Vi mode and g commands Dan Shearer <dan@shearer.org> - 2020-06-08 02:28 +0100

csiph-web