View Single Post
Old 09-24-2017, 06:06 AM   #338
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Thanks, Baf!
Here's what you asked for:
Quote:
How do you test the key, in shell or in some application?
Tested in shell. Will test again in Nano (where the end key is actually needed) and post the debug output.

Quote:
What is your shell in newer kindles? On my kindle it is busybox sh.
Test it in kterm.
Code:
# echo $0
/bin/sh
# ls -la /bin/sh
lrwxrwxrwx 1 root root 7 Jul 20 2015 /bin/sh -> busybox
/bin/sh -> busybox in PW1/PW3/KT3

Quote:
What is the output of cat while pressing end key. On my KT it is:
Code:
# cat
^[OF
In PW1 I got ^[OF
In PW3 and KT3 I got NOTHING! (cursor remains where it was)

Quote:
Could you post the output of env command from kterm, to see your env variables?
Outputs attached.

Quote:
Run diff on /etc/termcap files on both systems. Kterm ships with its own termcap, but maybe system file also matters
The termcap file is identical across pw1/pw3/kt3. File attached.
Attached Files
File Type: txt env-pw1.txt (324 Bytes, 201 views)
File Type: txt env-pw3.txt (236 Bytes, 231 views)
File Type: txt env-kt3.txt (236 Bytes, 221 views)
File Type: txt termcap-pw1-pw3-kt3.txt (19.4 KB, 208 views)
nasser is offline   Reply With Quote