Bug 14046 - vi: Home and End keys in vt220
Summary: vi: Home and End keys in vt220
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vim
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-15 18:57 UTC by giulioo
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-08-01 20:30:44 UTC
Embargoed:


Attachments (Terms of Use)

Description giulioo 2000-07-15 18:57:14 UTC
I telnet into a beta3 with vt220:
Home and End keys invert the case of the characters instead of going to 
the beginning and end of line. This is true for vi (vim-minimal) and vim 
(vim-enhanced), for both normal and insert mode.

They are ok at the console (could only try vim-minimal at the console 
though).

RedHat6.1 was ok.

This bug is very similar to #9963.

Comment 1 giulioo 2000-07-16 16:22:09 UTC
Some more problems:

DELETE:
TERM=linux: ok
TERM=vt220: does not work (neither in normal nor in insert mode)

BACKSPACE:
TERM=linux: ok in insert mode; just move the cursor left in normal mode (does 
not delete the char on the left of the cursor)
TERM=vt220: the same of TERM=linux.


Comment 2 Bernhard Rosenkraenzer 2000-08-03 13:35:30 UTC
Can't reproduce it with the current version.

Comment 3 giulioo 2000-08-04 13:18:53 UTC
Ok, maybe my VT emulator has some weird key mappings itself that make things go 
wrong (it works with 6.1, though).
Just for the record, I solved with:

map! ^[[1~ <home>
map! ^[[4~ <end>
map! ^[[3~ <del>
map ^[[1~ <home>
map ^[[4~ <end>
map ^[[3~ <del>





Note You need to log in before you can comment on or make changes to this bug.