OpenSDE Packages Database (without history before r20070)
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.

49 lines
2.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ne/page-up-down.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./src/inputclass.c.orig 2004-02-14 19:05:31.000000000 +0200
  17. +++ ./src/inputclass.c 2004-02-17 19:50:15.000000000 +0200
  18. @@ -108,15 +108,15 @@
  19. /* The following bindings are for the terminfo extended codes (see keycodes.h). */
  20. /* Cursor movement keys */
  21. - NULL, LINEUP_ABBREV, LINEDOWN_ABBREV, MOVELEFT_ABBREV, MOVERIGHT_ABBREV, MOVEINCUP_ABBREV, MOVEINCDOWN_ABBREV, NEXTPAGE_ABBREV,
  22. - PREVPAGE_ABBREV, LINEDOWN_ABBREV, LINEUP_ABBREV, NULL, NULL, NULL, NULL, NULL,
  23. + NULL, LINEUP_ABBREV, LINEDOWN_ABBREV, MOVELEFT_ABBREV, MOVERIGHT_ABBREV, MOVEINCUP_ABBREV, MOVEINCDOWN_ABBREV, PICK(PAGEDOWN_ABBREV, NEXTPAGE_ABBREV),
  24. + PICK(PAGEUP_ABBREV, PREVPAGE_ABBREV), LINEDOWN_ABBREV, LINEUP_ABBREV, NULL, NULL, NULL, NULL, NULL,
  25. /* Editing keys */
  26. DELETEEOL_ABBREV, NULL, BACKSPACE_ABBREV, DELETELINE_ABBREV, UNDELLINE_ABBREV, DELETECHAR_ABBREV, INSERT_ABBREV, NULL,
  27. CLEAR_ABBREV, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  28. /* Keypad keys and fake (simulated) menu key */
  29. - MOVESOF_ABBREV, PREVPAGE_ABBREV, TOGGLESEOL_ABBREV, MOVEEOF_ABBREV, NEXTPAGE_ABBREV, EXEC_ABBREV, NULL, NULL,
  30. + MOVESOF_ABBREV, PICK(PAGEUP_ABBREV, PREVPAGE_ABBREV), TOGGLESEOL_ABBREV, MOVEEOF_ABBREV, PICK(PAGEDOWN_ABBREV, NEXTPAGE_ABBREV), EXEC_ABBREV, NULL, NULL,
  31. NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  32. NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  33. --- ./src/menu.c.orig 2004-02-14 19:05:30.000000000 +0200
  34. +++ ./src/menu.c 2004-02-17 19:50:15.000000000 +0200
  35. @@ -182,8 +182,8 @@
  36. { "Line Down ", LINEDOWN_ABBREV },
  37. PICK( "Prev Page ^P", PREVPAGE_ABBREV , "Page Up ^P", PAGEUP_ABBREV)
  38. PICK( "Next Page ^N", NEXTPAGE_ABBREV , "Page Down ^N", PAGEDOWN_ABBREV)
  39. -PICK( "Page Up ", PAGEUP_ABBREV , "Prev Page ", PREVPAGE_ABBREV)
  40. -PICK( "Page Down ", PAGEDOWN_ABBREV , "Next Page ", NEXTPAGE_ABBREV)
  41. +PICK( "Page Up PgUp", PAGEUP_ABBREV , "Prev Page PgUp", PREVPAGE_ABBREV)
  42. +PICK( "Page Down PgDn", PAGEDOWN_ABBREV , "Next Page PgDn", NEXTPAGE_ABBREV)
  43. { "Start Of File [A", MOVESOF_ABBREV },
  44. { "End Of File [E", MOVEEOF_ABBREV },
  45. { "Start Of Line ^A", MOVESOL_ABBREV },