Bug 63417
Summary: | rxvt emits wrong esc-sequences for F1-F4, home & end | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Hans de Goede <hdegoede> | ||||
Component: | rxvt | Assignee: | Harald Hoyer <harald> | ||||
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | skipjack-beta2 | CC: | bugs.michael | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-10-05 15:34:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Hans de Goede
2002-04-13 14:31:22 UTC
mc workx for me with: rxvt-2.7.8-3 mc-4.5.55-2 termcap-11.0.1-10 ncurses-5.2-26 Emitted sequence: Home ESC [ 7 ~ End ESC [ 8 ~ F1 ESC [ 11 ~ F2 ESC [ 12 ~ F3 ESC [ 13 ~ You're rigth mc happens to work. I thought it wouldn't, I didn't actually try :) But the esc-sequences are still wrong! Try: "tput khome > log" on a commandline, running from xterm / rxvt. They'll both put ESC [ 1 ~ in the logfile. Because thats what terminfo says it should be. End for example is broken in joe. This is not about a specific application, this is about the basics of terminals, what terminfo says and what the terminal emits should be identical! That's the whole idea behind unix terminals. BTW, don't bother trying this with konsole, its broken in the new kde too. I'll enter a seperate bug. Is anything going to actually happen with this bug, if this becames the new default behaviour a lott of apps will break in one of the major terminals shipped with RH, and RH travels back to the 5.x days on this aspect of usability. Still not fixed in 8.0. Bad, in the 7.0 / 7.1 times I and a few people at RedHat spent a lott of time getting this right, and now the setup is broken again. Lett me scream this: A TERMINAL SHOULD SEND THE KEY (ESC) SEQUENCES THAT TERMCAP/TERMINFO SAY IT WILL SEND FOR A CERTAIN KEY. gnome-terminal gets it right, xterm gets it right, rxvt & konsole are broken. <sarcastic> Hmm not a bad score 2/4 ? </sarcastic> Please fix this, not working keys like home and end are a MAJOR usabelity issue. You've know idea hoe many of my linux using friends and students complain about this. I've been fiddling some more and I know understand why mc works. Rxvt used to report itself as xterm ($TERM was set to xterm) now this is rxvt. So the rxvt behaviour matches with termcap/info. The last question I have is if it is wishfull for rxvt to report itself this way since not all unix systems have an rxvt entry in their termcap. And this means one more termcap/terminfo entry which needs very strict keeping up to date, since it is actually used). I'll leave this to you guys to decide. I'll also attach a file which can be placed in /usr/X11R6/lib/X11/app-defaults and which makes rxvt call itself xterm, and send the proper esc-sequences. If you decide to go this way, don't forget to uppdate the international app-default files for ja, chinese, etc. Created attachment 78905 [details]
Xresources file which fixes the "problem"
> Still not fixed in 8.0.
The rxvt package is no longer available in Red Hat Linux 8.0.
In that case this bug might as well be closed, esp since is turns out not be a bug since the termtype has changed too, and fot the rxvt termtype the current behaviour is correct. I'll see if I've got the rights to close it. |