Deleted Added
full compact
less.h (195941) less.h (221715)
1/* $FreeBSD: head/contrib/less/less.h 195941 2009-07-29 09:20:32Z delphij $ */
1/* $FreeBSD: head/contrib/less/less.h 221715 2011-05-09 21:51:59Z delphij $ */
2/*
2/*
3 * Copyright (C) 1984-2009 Mark Nudelman
3 * Copyright (C) 1984-2011 Mark Nudelman
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Less License, as specified in the README file.
7 *
8 * For more information about less, or for information on how to
9 * contact the author, see the README file.
10 */
11

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

340#define SRCH_BACK (1 << 1) /* Search backward from current position */
341#define SRCH_NO_MOVE (1 << 2) /* Highlight, but don't move */
342#define SRCH_FIND_ALL (1 << 4) /* Find and highlight all matches */
343#define SRCH_NO_MATCH (1 << 8) /* Search for non-matching lines */
344#define SRCH_PAST_EOF (1 << 9) /* Search past end-of-file, into next file */
345#define SRCH_FIRST_FILE (1 << 10) /* Search starting at the first file */
346#define SRCH_NO_REGEX (1 << 12) /* Don't use regular expressions */
347#define SRCH_FILTER (1 << 13) /* Search is for '&' (filter) command */
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Less License, as specified in the README file.
7 *
8 * For more information about less, or for information on how to
9 * contact the author, see the README file.
10 */
11

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

340#define SRCH_BACK (1 << 1) /* Search backward from current position */
341#define SRCH_NO_MOVE (1 << 2) /* Highlight, but don't move */
342#define SRCH_FIND_ALL (1 << 4) /* Find and highlight all matches */
343#define SRCH_NO_MATCH (1 << 8) /* Search for non-matching lines */
344#define SRCH_PAST_EOF (1 << 9) /* Search past end-of-file, into next file */
345#define SRCH_FIRST_FILE (1 << 10) /* Search starting at the first file */
346#define SRCH_NO_REGEX (1 << 12) /* Don't use regular expressions */
347#define SRCH_FILTER (1 << 13) /* Search is for '&' (filter) command */
348#define SRCH_AFTER_TARGET (1 << 14) /* Start search after the target line */
348
349#define SRCH_REVERSE(t) (((t) & SRCH_FORW) ? \
350 (((t) & ~SRCH_FORW) | SRCH_BACK) : \
351 (((t) & ~SRCH_BACK) | SRCH_FORW))
352
353/* */
354#define NO_MCA 0
355#define MCA_DONE 1

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

469
470#define S_INTERRUPT 01
471#define S_STOP 02
472#define S_WINCH 04
473#define ABORT_SIGS() (sigs & (S_INTERRUPT|S_STOP))
474
475#define QUIT_OK 0
476#define QUIT_ERROR 1
349
350#define SRCH_REVERSE(t) (((t) & SRCH_FORW) ? \
351 (((t) & ~SRCH_FORW) | SRCH_BACK) : \
352 (((t) & ~SRCH_BACK) | SRCH_FORW))
353
354/* */
355#define NO_MCA 0
356#define MCA_DONE 1

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

470
471#define S_INTERRUPT 01
472#define S_STOP 02
473#define S_WINCH 04
474#define ABORT_SIGS() (sigs & (S_INTERRUPT|S_STOP))
475
476#define QUIT_OK 0
477#define QUIT_ERROR 1
478#define QUIT_INTERRUPT 2
477#define QUIT_SAVED_STATUS (-1)
478
479#define FOLLOW_DESC 0
480#define FOLLOW_NAME 1
481
482/* filestate flags */
483#define CH_CANSEEK 001
484#define CH_KEEPOPEN 002

--- 19 unchanged lines hidden ---
479#define QUIT_SAVED_STATUS (-1)
480
481#define FOLLOW_DESC 0
482#define FOLLOW_NAME 1
483
484/* filestate flags */
485#define CH_CANSEEK 001
486#define CH_KEEPOPEN 002

--- 19 unchanged lines hidden ---