Deleted Added
full compact
lesskey.c (63128) lesskey.c (89019)
1/*
2 * Copyright (C) 1984-2000 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information about less, or for information on how to
8 * contact the author, see the README file.

--- 112 unchanged lines hidden (view full) ---

121 "goto-end", A_GOEND,
122 "goto-line", A_GOLINE,
123 "goto-mark", A_GOMARK,
124 "help", A_HELP,
125 "index-file", A_INDEX_FILE,
126 "invalid", A_UINVALID,
127 "left-scroll", A_LSHIFT,
128 "next-file", A_NEXT_FILE,
1/*
2 * Copyright (C) 1984-2000 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information about less, or for information on how to
8 * contact the author, see the README file.

--- 112 unchanged lines hidden (view full) ---

121 "goto-end", A_GOEND,
122 "goto-line", A_GOLINE,
123 "goto-mark", A_GOMARK,
124 "help", A_HELP,
125 "index-file", A_INDEX_FILE,
126 "invalid", A_UINVALID,
127 "left-scroll", A_LSHIFT,
128 "next-file", A_NEXT_FILE,
129 "next-tag", A_NEXT_TAG,
129 "noaction", A_NOACTION,
130 "percent", A_PERCENT,
131 "pipe", A_PIPE,
132 "prev-file", A_PREV_FILE,
130 "noaction", A_NOACTION,
131 "percent", A_PERCENT,
132 "pipe", A_PIPE,
133 "prev-file", A_PREV_FILE,
134 "prev-tag", A_PREV_TAG,
133 "quit", A_QUIT,
135 "quit", A_QUIT,
136 "remove-file", A_REMOVE_FILE,
134 "repaint", A_REPAINT,
135 "repaint-flush", A_FREPAINT,
136 "repeat-search", A_AGAIN_SEARCH,
137 "repeat-search-all", A_T_AGAIN_SEARCH,
138 "reverse-search", A_REVERSE_SEARCH,
139 "reverse-search-all", A_T_REVERSE_SEARCH,
140 "right-scroll", A_RSHIFT,
141 "set-mark", A_SETMARK,

--- 264 unchanged lines hidden (view full) ---

406 case 'd': ch = SK_DOWN_ARROW; break;
407 case 'r': ch = SK_RIGHT_ARROW; break;
408 case 'l': ch = SK_LEFT_ARROW; break;
409 case 'U': ch = SK_PAGE_UP; break;
410 case 'D': ch = SK_PAGE_DOWN; break;
411 case 'h': ch = SK_HOME; break;
412 case 'e': ch = SK_END; break;
413 case 'x': ch = SK_DELETE; break;
137 "repaint", A_REPAINT,
138 "repaint-flush", A_FREPAINT,
139 "repeat-search", A_AGAIN_SEARCH,
140 "repeat-search-all", A_T_AGAIN_SEARCH,
141 "reverse-search", A_REVERSE_SEARCH,
142 "reverse-search-all", A_T_REVERSE_SEARCH,
143 "right-scroll", A_RSHIFT,
144 "set-mark", A_SETMARK,

--- 264 unchanged lines hidden (view full) ---

409 case 'd': ch = SK_DOWN_ARROW; break;
410 case 'r': ch = SK_RIGHT_ARROW; break;
411 case 'l': ch = SK_LEFT_ARROW; break;
412 case 'U': ch = SK_PAGE_UP; break;
413 case 'D': ch = SK_PAGE_DOWN; break;
414 case 'h': ch = SK_HOME; break;
415 case 'e': ch = SK_END; break;
416 case 'x': ch = SK_DELETE; break;
417 default:
418 error("illegal char after \\k");
419 *pp = p+1;
420 return ("");
414 }
415 *pp = p+1;
416 buf[0] = SK_SPECIAL_KEY;
417 buf[1] = ch;
418 buf[2] = 6;
419 buf[3] = 1;
420 buf[4] = 1;
421 buf[5] = 1;

--- 438 unchanged lines hidden ---
421 }
422 *pp = p+1;
423 buf[0] = SK_SPECIAL_KEY;
424 buf[1] = ch;
425 buf[2] = 6;
426 buf[3] = 1;
427 buf[4] = 1;
428 buf[5] = 1;

--- 438 unchanged lines hidden ---