Bug 717387 - Cannot stuff Esc-sequences for Home or End
Summary: Cannot stuff Esc-sequences for Home or End
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: screen
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-28 17:55 UTC by John Florian
Modified: 2012-08-07 19:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 19:57:13 UTC
Type: ---


Attachments (Terms of Use)

Description John Florian 2011-06-28 17:55:13 UTC
Description of problem:
I have developed a simple tool for running two terminals in parallel by remote-control via a third.  The tool periodically scrapes both terminals and presents a real-time diff view between the two for the purposes of regression testing a terminal-based application.  The screen utility is used for remote control as well as the screen scraping, but screen seems to not pass some keystrokes through as expected while most all work just fine.

Version-Release number of selected component (if applicable):
Tested and failed with:
 * screen-4.1.0-0.3.20101110git066b098.fc15.x86_64 (on F15)
 * screen-4.0.3-15.fc12.x86_64 (on both F13 and F14)

How reproducible:
always


Steps to Reproduce:
1. In a terminal, launch a screen session for remote control:

    screen -D -R -p 1 -S mytest
    less /etc/services

2. In a second terminal, remotely send a PgDn keystroke to prove working interaction:

    screen -x 24660.mytest -X stuff ^[[6~

  Note that the argument for -x will be different for your session.  When entering the escape-sequence shown above, I merely type Ctrl-V followed by the PgDn key in bash.  Each time this command is executed in the second terminal, the first terminal should respond with less moving one page down in the /etc/services file.  This works as expected.

3. Now try sending the End key or the Home key from the second terminal:

    screen -x 24660.mytest -X stuff ^[[F
    screen -x 24660.mytest -X stuff ^[[H

  Neither command produces the expected response in the first terminal.

  
Actual results:
Most all keys can be stuffed into the first session as expect, but Home and End just do not work.

Expected results:
Home/End to work like all other keys.

Additional info:
Running 'od -c' in the first terminal would make it appear that the escape-sequence is being sent through unmolested, so I'm at a loss as to why less would not respond in the expected way.

Comment 1 John Florian 2011-06-28 20:32:38 UTC
Shift-Tab is another keystroke affected similarly.

Comment 2 Fedora Admin XMLRPC Client 2011-08-08 08:16:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2012-08-07 19:57:15 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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