Red Hat Bugzilla – Bug 123798
home/end keys don't work in some console apps with gnome-terminal
Last modified: 2007-11-30 17:10:42 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
Fresh install of FC2, running in gnome, I invoke gnome-terminal and
get $TERM set to xterm. There is a known (well, oft-mentioned) bug
that this prevents the keypad +-*/ symbols from working, so I then set
TERM=linux (should really look into making this a permanent fix).
This fixes the keypad issue in FC1 and FC2, but FC2 has a new problem.
The home/end keys don't do what they're supposed to in certain apps.
They work as they should when interacting directly with bash, but
when I invoke vi or nano (all I've tested so far), home prints an H
and end prints an F. I've tried an assortment of TERM settings with
no luck. xterm and konsole both work fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
use gnome, open gnome terminal, invoke vi or nano, press the home or
Actual Results: home produces an H, end produces an F
Expected Results: home/end should work as they're supposed to in the
app - look at xterm or konsole for working results.
A little more research... After poking around on the gnome-terminal
bugzilla, I've found mention of this problem dating back to 2001.
Apparently, gnome-terminal is now sending \EOH for "home" and \EOF for
"end" instead of \E[1~ (home) and \E[4~ (end) like it does in FC1. I
assume this can be fixed easily enough by modifications to termcap.
As far as I can tell, it's a distro-specific issue.
This bug looks to be related to bug 121922
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
it's also related to <a
someone should probably merge these all together if they are indeed related.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Closing per lack of response to previous request for information. Note that FC3
and FC4 are supported by Fedora Legacy for security fixes only. Please install
a still supported version and retest. If it still occurs on FC5 or FC6,
please reopen and assign to the correct version. Otherwise, if this a security
issue, please change the product to Fedora Legacy. Thanks, and we are sorry
that we did not get to this bug earlier.