bug-bash
[Top][All Lists]
Advanced

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

Vi mode and g commands


From: Dan Shearer
Subject: Vi mode and g commands
Date: Mon, 8 Jun 2020 02:28:05 +0100

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



reply via email to

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