Deleted Added
full compact
less.h (60814) less.h (63131)
1/* $FreeBSD: head/contrib/less/less.h 60814 2000-05-23 07:34:27Z ps $ */
1/* $FreeBSD: head/contrib/less/less.h 63131 2000-07-14 09:57:37Z ps $ */
2/*
3 * Copyright (C) 1984-2000 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.

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

355#define ESC CONTROL('[')
356
357#if _OSK_MWC32
358#define LSIGNAL(sig,func) os9_signal(sig,func)
359#else
360#define LSIGNAL(sig,func) signal(sig,func)
361#endif
362
2/*
3 * Copyright (C) 1984-2000 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.

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

355#define ESC CONTROL('[')
356
357#if _OSK_MWC32
358#define LSIGNAL(sig,func) os9_signal(sig,func)
359#else
360#define LSIGNAL(sig,func) signal(sig,func)
361#endif
362
363#if HAVE_SIGPROCMASK
364#if HAVE_SIGSET_T
365#else
366#undef HAVE_SIGPROCMASK
367#endif
368#endif
369#if HAVE_SIGPROCMASK
370#if HAVE_SIGEMPTYSET
371#else
372#undef sigemptyset
373#define sigemptyset(mp) *(mp) = 0
374#endif
375#endif
376
363#define S_INTERRUPT 01
364#define S_STOP 02
365#define S_WINCH 04
366#define ABORT_SIGS() (sigs & (S_INTERRUPT|S_STOP))
367
368#define QUIT_OK 0
369#define QUIT_ERROR 1
370#define QUIT_SAVED_STATUS (-1)

--- 13 unchanged lines hidden ---
377#define S_INTERRUPT 01
378#define S_STOP 02
379#define S_WINCH 04
380#define ABORT_SIGS() (sigs & (S_INTERRUPT|S_STOP))
381
382#define QUIT_OK 0
383#define QUIT_ERROR 1
384#define QUIT_SAVED_STATUS (-1)

--- 13 unchanged lines hidden ---