]> git.pld-linux.org Git - packages/alpine.git/blob - alpine-fixhome.patch
- allow build alpine on AC without changing anything
[packages/alpine.git] / alpine-fixhome.patch
1 --- alpine-0.9999/pico/osdep/terminal.c~        2007-11-02 16:19:06.000000000 +0100
2 +++ alpine-0.9999/pico/osdep/terminal.c 2007-11-05 14:46:34.000000000 +0100
3 @@ -179,8 +179,8 @@
4       */
5      kpinsert("\033[4J", KEY_PGUP, 1);
6      kpinsert("\033[3J", KEY_PGDN, 1);
7 -    kpinsert("\033[2J", KEY_HOME, 1);
8 -    kpinsert("\033[N",  KEY_END, 1);
9 +    kpinsert("\033[1~", KEY_HOME, 1);
10 +    kpinsert("\033[4~",  KEY_END, 1);
11  
12      /*
13       * vt220?
14 @@ -924,8 +924,8 @@
15       */
16      kpinsert("\033[4J", KEY_PGUP, 1);
17      kpinsert("\033[3J", KEY_PGDN, 1);
18 -    kpinsert("\033[2J", KEY_HOME, 1);
19 -    kpinsert("\033[N",  KEY_END, 1);
20 +    kpinsert("\033[1~", KEY_HOME, 1);
21 +    kpinsert("\033[4~", KEY_END, 1);
22  
23      /*
24       * vt220?
This page took 0.05434 seconds and 3 git commands to generate.