Bug 75817 - Error in vt420pc.keytab (changed from 3.1) - end key acts like home key
Summary: Error in vt420pc.keytab (changed from 3.1) - end key acts like home key
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 11:03 UTC by throw_away_2002
Modified: 2005-03-06 16:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description throw_away_2002 2004-02-22 11:03:33 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

$ diff /usr/kde/3.1/share/apps/konsole/vt420pc.keytab /usr/kde/3.2/share/apps/konsole/vt420pc.keytab
137c137
< key End    : "\E[F"
---
> key End    : "\E[1~"
156,157d155
< key Insert+Shift -Control  : emitClipboard
< key Insert+Shift +Control  : emitSelection

Basically pressing the "End" key sends a sequence commonly
associated with the "Home" key (and no surprise, it now
acts like the "Home" key).
Comment 1 Kurt Hindenburg 2004-06-10 15:49:26 UTC
Here's the the change in CVS: 

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 5 07:24:19 2003 UTC (16 months ago) by gassauer
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

wrong key End definition

--- kdebase/konsole/other/vt420pc.keytab	2002/04/05 13:24:06	1.12
+++ kdebase/konsole/other/vt420pc.keytab	2003/02/05 07:24:19	1.13
@@ -134,7 +134,7 @@ key F11+Shift    : "\E[23;2~" 
 key F12+Shift    : "\E[24;2~" 
 
 key Home   : "\E[H"  
-key End    : "\E[F"  
+key End    : "\E[1~"  
 
 key Prior -Shift : "\E[5~"  
 key Next  -Shift : "\E[6~"  


On my system, vt420pc, key End : "\E\F" works as end.  Not sure why gassauer changed it...
Comment 2 Kurt Hindenburg 2004-06-10 15:52:34 UTC
The last line, I meant "\E[F" works as end.
Comment 3 Kurt Hindenburg 2005-01-31 03:37:37 UTC
The current vt420.keytab has:
key Home   : "\E[H"
key End    : "\E[1~"

On my Linux system:
% infocmp vt420pc  | grep end -i
        kend=\E[4~,
% infocmp vt420pc  | grep home -i
        home=\E[H,
        khome=\E[H, 

http://www.aplawrence.com/Bofcusm/1426.html
khome=\E[1~, kend=\E[4~,
home=\E[H

Perhaps Ferdinand can clarify this as I'm confused.
Comment 4 Ferdinand Gassauer 2005-01-31 17:53:56 UTC
At the time we defined this esc-sequence there was a big confusion about what is the correct one. take a look what is emitted as END on various terminals.
as I said, I am happy if this is changed  to confirm to the vt420pc definition of todays linux systems.
Comment 5 groot 2005-03-05 23:44:38 UTC
CVS commit by adridg: 

Revert keytab change so that vt420 works again.
See also http://www.freebsd.org/cgi/query-pr.cgi?pr=78439
BUGS: 75817


  M +1 -1      vt420pc.keytab   1.16.2.1


--- kdebase/konsole/other/vt420pc.keytab  #1.16:1.16.2.1
@@ -132,5 +132,5 @@
 
 key Home   : "\E[H"  
-key End    : "\E[1~"  
+key End    : "\E[F"  
 
 key Prior -Shift : "\E[5~"  


Comment 6 Kurt Hindenburg 2005-03-06 16:47:20 UTC
CVS commit by hindenburg: 

Revert to previous version so End works.  Already backported to 3.4.
CCBUGS: 75817


  M +1 -1      vt420pc.keytab   1.17


--- kdebase/konsole/other/vt420pc.keytab  #1.16:1.17
@@ -132,5 +132,5 @@
 
 key Home   : "\E[H"  
-key End    : "\E[1~"  
+key End    : "\E[F"  
 
 key Prior -Shift : "\E[5~"