Bug 218632
Summary: | Can't backspace when in vi command mode when the backspace key is set to ^? | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Ron <infotbs> | ||||
Component: | pdksh | Assignee: | Karsten Hopp <karsten> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.4 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-12-07 12:21:55 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ron
2006-12-06 16:12:56 UTC
Created attachment 142961 [details]
A two line patch for pdksh-5.2.14-30.3
do you have vim-common installed ? (rpm -q vim-common) Yes, vim-common-6.3.046-0.40E.7. Please correct me if I'm wrong but I don't see how this would have any effect since pdksh doesn't use an external vi or vim, it instead uses it's own implementation of vi for command line editing (see vi.c). I've misread your report and thought you had problems which editing files with vi. vi-mode is exactly behaving as described in the manual page. kill, erase werase, eof, intr and quit work only in insert mode, in edit mode you'll have to use x for delete and X for erase (backspace). I'll add this feature when it has been accepted upstream, though. Just a small note, in the original report I mentioned that I couldn't backspace using the erase key as defined by stty; here backspace meant to move the cursor from right to left without any character changes. Therefore I think you meant in comment #4 that I'll need to use h or ^H to move the cursor to the left. Thanks, Ron. |