Bug 20459

Summary: Konsole backspace broken on Sun
Product: [Applications] konsole Reporter: Aaron Williams <aaronw>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Aaron Williams 2001-02-14 19:53:47 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: konsole
Version: 2.1 Beta 2
Severity: normal
Installed from: Compiled from source

When running konsole on a Sun workstation running Solaris
the backspace key did not operate correctly.  The following
keytab fixes this and should be included in the 
distribution as an alternate keytab.  When installing on a
Sun workstation it should be the default keytab.

-Aaron
===== BEGIN SUN KEYTAB =====
# [Sun.Keytab] Buildin Keyboard Table

# 
--------------------------------------------------------------
#
# This file is used to create the buildin keyboard table.
# It is included for reference purpose with the *.keytab
# files that are loaded dynamically.
#
# Modifying it does not have any effect (unless you
# derive the default.keytab.h and recompile konsole).
#
# To customize your keyboard copy this file to something
# ending with .keytab and change it to meet you needs.
# Please read the README.KeyTab and the README.keyboard
# in this case.
#
# 
--------------------------------------------------------------

keyboard "Solaris"

# 
--------------------------------------------------------------
#
# Note that this particular table is a "risc" version made 
to
# ease customization without bothering with obsolete 
details.
# See VT100.keytab for the more hairy stuff.
#
# 
--------------------------------------------------------------

# common keys

key Escape         : "\E"
key Tab            : "\t"

key Return-Alt     : "\r"
key Return+Alt     : "\E\r"

# Backspace and Delete codes are preserving CTRL-H.

key Backspace      : "\x08"
#key Delete   : "\x7F"

# cursor keys

key Up    -Shift   : "\EOA"
key Down  -Shift   : "\EOB"
key Right -Shift   : "\EOC"
key Left  -Shift   : "\EOD"

# other grey PC keys

key Enter          : "\r"

key Home           : "\E[1~"
key Insert-Shift   : "\E[2~"
key Delete         : "\E[3~"
key End            : "\E[4~"
key Prior -Shift   : "\E[5~"
key Next  -Shift   : "\E[6~"

# function keys

key F1             : "\E[11~"
key F2             : "\E[12~"
key F3             : "\E[13~"
key F4             : "\E[14~"
key F5             : "\E[15~"
key F6             : "\E[17~"
key F7             : "\E[18~"
key F8             : "\E[19~"
key F9             : "\E[20~"
key F10            : "\E[21~"
key F11            : "\E[23~"
key F12            : "\E[24~"

# Work around dead keys

key Space +Control : "\x00"

# Some keys are used by konsole to cause operations.
# The scroll* operations refer to the history buffer.

key Left  +Shift   : prevSession
key Right +Shift   : nextSession
key Up    +Shift   : scrollLineUp
key Prior +Shift   : scrollPageUp
key Down  +Shift   : scrollLineDown
key Next  +Shift   : scrollPageDown
key Insert+Shift   : emitSelection

# keypad characters are not offered differently by Qt.



(submitted via bugs.kde.org)
Comment 1 Norman Stevens 2004-05-20 17:53:45 UTC
Konsole's keyboard handling is stupid.

There is absolutely no reason to use anything other than the standard keytables as set up by xmodmap. Certainly this ought to be the default.



Comment 2 Michael Jahn 2004-07-04 11:47:29 UTC
Reporter: is this old bug still valid, i.e. can you still reproduce this behaviour with a recent KDE?
Comment 3 Aaron Williams 2004-07-04 20:25:40 UTC
Yes, this is still a problem.

It would be very useful if the backspace could be overridden or at least more keymappings were included as standard.  Also, it would be useful if Konsole could take advantage of the extra keys on the Sun keyboard by default (i,e, cut, copy, paste, find).

-Aaron
Comment 4 Kurt Hindenburg 2005-02-10 18:17:21 UTC
CVS commit by hindenburg: 

Add new Solaris keytab file.
BUGS: 20459


  A            solaris.keytab   1.1
  M +1 -1      Makefile.am   1.45


--- kdebase/konsole/other/Makefile.am  #1.44:1.45
@@ -10,5 +10,5 @@
   Transparent_darkbg.schema \
   linux.desktop mc.desktop shell.desktop su.desktop sumc.desktop \
-  linux.keytab vt100.keytab vt420pc.keytab x11r5.keytab \
+  linux.keytab vt100.keytab vt420pc.keytab x11r5.keytab solaris.keytab \
   README.Schema README.KeyTab README.default.Keytab screen.desktop