Bug 77506 - Wrong ka3, kb2 and kf0 entries in terminfo.src
Wrong ka3, kb2 and kf0 entries in terminfo.src
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: ncurses (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-07 21:53 EST by Leonard den Ottolander
Modified: 2015-01-07 19:01 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-31 03:40:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
diff updates wrong ka3 and kb2 entries, removes redundant ka3 and kf0 entries (1.20 KB, patch)
2002-11-07 21:58 EST, Leonard den Ottolander
no flags Details | Diff
diff updates wrong ka3 and kb2 entries, removes redundant ka3 and kf0 entries (includes xterm-8bit) (1.47 KB, patch)
2002-11-07 23:10 EST, Leonard den Ottolander
no flags Details | Diff

  None (edit)
Description Leonard den Ottolander 2002-11-07 21:53:47 EST
Description of Problem:

 Errors in different terminfo & -cap files in ncurses-5.2.28.src.rpm and
termcap-11.0.1-13.src.rpm (see other bug report).

ncurses-5.2.28.src.rpm, terminfo.src:

kb2 and kb3 values swapped in entries:
 xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
 wy520|wyse520|wyse 520,
 ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
 z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
 (kb2=\EOy should be kb2=\EOu and ka3=\EOu should be ka3=\EOy,
  see vt320|vt300|dec vt320 7 bit terminal, it uses
  ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs)
 (replaced with correct values in provided diff)

redundant and wrong entry ka3=\EOu in (already defined in ncr260vt[1-3]00an):
 ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd,
 ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd,
 ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd,
 (entries deleted in provided diff)

redundant kf0=\EOy in:
 ncr260vt200an|NCR 2900_260 vt200 with ansi kybd,
 ncr260vt300an|NCR 2900_260 vt300 with ansi kybd,
 (entries deleted in provided diff)


Version-Release number of selected component (if applicable):
ncurses-5.2-28.src.rpm

How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

The redundant kf0 entries are removed from the termcap in
termcap-11.0.1-13.src.rpm. termcap uses K2=kb2, K3=ka3 and k0=kf0.
Comment 1 Leonard den Ottolander 2002-11-07 21:58:29 EST
Created attachment 84144 [details]
diff updates wrong ka3 and kb2 entries, removes redundant ka3 and kf0 entries
Comment 2 Leonard den Ottolander 2002-11-07 22:12:31 EST
Excuse me for this:
"The redundant kf0 entries are removed from the termcap in
termcap-11.0.1-13.src.rpm. termcap uses K2=kb2, K3=ka3 and k0=kf0."

These entries are not removed in the termcap-11.0.1-13.src.rpm termcap.
They are removed in ncurses-5.3 (the tgz from gnu.org).
Comment 3 Leonard den Ottolander 2002-11-07 23:10:35 EST
Created attachment 84147 [details]
diff updates wrong ka3 and kb2 entries, removes redundant ka3 and kf0 entries (includes xterm-8bit)
Comment 4 Leonard den Ottolander 2002-11-07 23:13:30 EST
I almost forgot: wrong kb2=\217y and ka3=\217u in:
 xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
 (see bq300-8|Bull vt320 full 8 bits 80 columns for correct values)

New diff already attached. Use instead of the previous.
Comment 5 Leonard den Ottolander 2002-11-09 11:12:44 EST
One more note on the kf0 entries in ncr260vt200pp and ncr260vt300pp. I falsely
stated these entries are deleted in the latest terminfo.src provided with
ncurses-5.3. Probably been searching for k0 where I should have been looking for
kf0 or something like that.
Anyway, these kf0 entries should be considered closely. The might be actually be
correct. They do generate an escape sequence that is already generated by another
key, but that could be correct.
The swapped kb2 and ka3 and redundant definitions of ka3 are definitely wrong.
Comment 6 Leonard den Ottolander 2002-11-09 11:18:31 EST
"One more note on the kf0 entries in ncr260vt200pp and ncr260vt300pp"
should read
"One more note on the kf0 entries in ncr260vt200an and ncr260vt300an".
Comment 7 Eido Inoue 2003-01-31 03:19:41 EST
Your patch files appear to be garbled. Can you resubmit?
Comment 8 Eido Inoue 2003-01-31 03:40:11 EST
never mind, edited manually. thanks for the patch. fixed in 5.3 release 3
Comment 9 Eido Inoue 2003-01-31 04:13:41 EST
note that the rollup patches for 5.3 seem to address and fix this

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