← Back to team overview

kernel-packages team mailing list archive

[Bug 1468283] Re: Wrong Escape Sequences for Home and End keys

 

Did this issue start happening after an update/upgrade?  Was there a
prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.1 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-unstable/


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1468283

Title:
  Wrong Escape Sequences for Home and End keys

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Part of my current project involves "descrambling" the escape
  sequences sent by terminals for certain keys. As I was not able to
  find any documentation for the Linux VT (called tty) I choose to
  reference the VT100/220 documentation and I consider the following
  behavior a bug.

  - The home key (above your cursor keys or fn-left on a MacBook) sends the sequence: CSI 1 ~ which corresponds to some non-existent key labeled "Find"
  - The end key (fn-right on a MacBook) sends the sequence CSI 4 ~ which corresponds to some other non-existent key labeled "Select"

  These keys may have existed on the same position on the keyboard as
  our modern Home and End keys but according to the documentation they
  are not Home and End: http://vt100.net/docs/vt220-rm/table3-1.html

  The usual escape sequences for the Mac / PC Home and End keys are: CSI
  h for home and CSI F for end. Both the Gnome Terminal and the original
  XTerm do send these escape sequences.

  The easiest way to get out of the Terminal mess is probably a standard
  to be defined by the few implementors of Virtual Terminals left. But
  as long as an implementation doesn't document its capabilities and
  control mechanisms every behavior can be considered a bug.

  There are other key mapping related issues, too. Like meta on an alt
  key when Meta keys are there ...

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: emacs24 24.4+1-4ubuntu5
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Jun 24 11:49:34 2015
  InstallationDate: Installed on 2015-06-08 (15 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: emacs24
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1468283/+subscriptions