backward compatible processing for "+/pattern"
[unix-history] / usr / src / usr.bin / more / position.h
CommitLineData
bfe13c81
KB
1/*
2 * Copyright (c) 1988 Mark Nudleman
3 * Copyright (c) 1988 Regents of the University of California.
4 * All rights reserved.
5 *
bfe13c81
KB
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
a942b40b
KB
11 * by Mark Nudleman and the University of California, Berkeley. The
12 * name of Mark Nudleman or the
bfe13c81
KB
13 * University may not be used to endorse or promote products derived
14 * from this software without specific prior written permission.
15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 *
a942b40b 19 * @(#)position.h 5.2 (Berkeley) %G%
bfe13c81
KB
20 */
21
22/*
23 * Include file for interfacing to position.c modules.
24 */
25#define TOP (0)
26#define TOP_PLUS_ONE (1)
27#define BOTTOM (-1)
28#define BOTTOM_PLUS_ONE (-2)
29#define MIDDLE (-3)