mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
3.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/jimmy/ne/move-up-down.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./src/inputclass.c.orig Sat Sep 1 00:32:32 2001
  23. +++ ./src/inputclass.c Thu Dec 13 21:39:57 2001
  24. @@ -108,15 +108,15 @@
  25. /* The following bindings are for the terminfo extended codes (see keycodes.h). */
  26. /* Cursor movement keys */
  27. - NULL, LINEUP_ABBREV, LINEDOWN_ABBREV, MOVELEFT_ABBREV, MOVERIGHT_ABBREV, MOVEINCUP_ABBREV, MOVEINCDOWN_ABBREV, NEXTPAGE_ABBREV,
  28. - PREVPAGE_ABBREV, LINEDOWN_ABBREV, LINEUP_ABBREV, NULL, NULL, NULL, NULL, NULL,
  29. + NULL, LINEUP_ABBREV, LINEDOWN_ABBREV, MOVELEFT_ABBREV, MOVERIGHT_ABBREV, MOVEINCUP_ABBREV, MOVEINCDOWN_ABBREV, PICK(PAGEDOWN_ABBREV, NEXTPAGE_ABBREV),
  30. + PICK(PAGEUP_ABBREV, PREVPAGE_ABBREV), LINEDOWN_ABBREV, LINEUP_ABBREV, NULL, NULL, NULL, NULL, NULL,
  31. /* Editing keys */
  32. DELETEEOL_ABBREV, NULL, BACKSPACE_ABBREV, DELETELINE_ABBREV, UNDELLINE_ABBREV, DELETECHAR_ABBREV, INSERT_ABBREV, NULL,
  33. CLEAR_ABBREV, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  34. /* Keypad keys and fake (simulated) menu key */
  35. - MOVESOF_ABBREV, PREVPAGE_ABBREV, TOGGLESEOL_ABBREV, MOVEEOF_ABBREV, NEXTPAGE_ABBREV, EXEC_ABBREV, NULL, NULL,
  36. + MOVESOF_ABBREV, PICK(PAGEUP_ABBREV, PREVPAGE_ABBREV), TOGGLESEOL_ABBREV, MOVEEOF_ABBREV, PICK(PAGEDOWN_ABBREV, NEXTPAGE_ABBREV), EXEC_ABBREV, NULL, NULL,
  37. NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  38. NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  39. --- ./src/menu.c.orig Sat Sep 1 00:32:32 2001
  40. +++ ./src/menu.c Thu Dec 13 21:39:57 2001
  41. @@ -182,10 +182,10 @@
  42. { "Line Down ", LINEDOWN_ABBREV },
  43. PICK( "Prev Page ^P", PREVPAGE_ABBREV , "Page Up ^P", PAGEUP_ABBREV)
  44. PICK( "Next Page ^N", NEXTPAGE_ABBREV , "Page Down ^N", PAGEDOWN_ABBREV)
  45. -PICK( "Page Up ", PAGEUP_ABBREV , "Prev Page ", PREVPAGE_ABBREV)
  46. -PICK( "Page Down ", PAGEDOWN_ABBREV , "Next Page ", NEXTPAGE_ABBREV)
  47. - { "Start Of File [A", MOVESOL_ABBREV },
  48. - { "End Of File [E", MOVEEOL_ABBREV },
  49. +PICK( "Page Up PgUp", PAGEUP_ABBREV , "Prev Page PgUp", PREVPAGE_ABBREV)
  50. +PICK( "Page Down PgDn", PAGEDOWN_ABBREV , "Next Page PgDn", NEXTPAGE_ABBREV)
  51. + { "Start Of File [A", MOVESOF_ABBREV },
  52. + { "End Of File [E", MOVEEOF_ABBREV },
  53. { "Start Of Line ^A", MOVESOL_ABBREV },
  54. { "End Of Line ^E", MOVEEOL_ABBREV },
  55. { "Top Of Screen ", MOVETOS_ABBREV },
  56. --- ./src/navigation.c.orig Sat Sep 1 00:32:32 2001
  57. +++ ./src/navigation.c Thu Dec 13 21:42:43 2001
  58. @@ -961,7 +961,7 @@
  59. if (b->cur_y == ne_lines-2) move_to_bof(b);
  60. else next_page(b);
  61. }
  62. - else move_to_eol(b);
  63. + move_to_eol(b);
  64. }
  65. /* Same as above, towards the top. */