1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/elinks-devel/files/patch-ab
Maxim Sobolev 8b2fc1193c Fix:
1.Problems with keys PgUp PgDn Home End
2.Terminal options -> KOI8-R frames not read from ~/.links/links.cfg

PR:		20947
Submitted by:	Belousov Oleg <strijar@urai.ru>
Approved by:	maintainer
2000-09-05 06:54:32 +00:00

18 lines
590 B
Plaintext

--- kbd.c.orig Tue Jun 27 19:19:48 2000
+++ kbd.c Tue Sep 5 09:36:31 2000
@@ -479,10 +479,10 @@
case 'B': ev.x = KBD_DOWN; break;
case 'C': ev.x = KBD_RIGHT; break;
case 'D': ev.x = KBD_LEFT; break;
- case 'F':
- case 'e': ev.x = KBD_END; break;
- case 'H':
- case 0: ev.x = KBD_HOME; break;
+ case 'I': ev.x = KBD_PAGE_UP; break;
+ case 'G': ev.x = KBD_PAGE_DOWN; break;
+ case 'F': ev.x = KBD_END; break;
+ case 'H': ev.x = KBD_HOME; break;
case 'z': switch (v) {
case 247: ev.x = KBD_INS; break;
case 214: ev.x = KBD_HOME; break;