source: trunk/athena/bin/xmore/more.h @ 6611

Revision 6611, 1.7 KB checked in by vrt, 31 years ago (diff)
solaris change.
Line 
1/*      This is the file more.h for the Xmore, a file browsing utility
2 *      built upon Xlib and the XToolkit.
3 *      It Contains: Lots of good defintions.
4 *     
5 *      Created:        October 22, 1987
6 *      By:             Chris D. Peterson
7 *
8 *      $Source: /afs/dev.mit.edu/source/repository/athena/bin/xmore/more.h,v $
9 *      $Author: vrt $
10 *      $Header: /afs/dev.mit.edu/source/repository/athena/bin/xmore/more.h,v 1.4 1993-05-05 13:26:06 vrt Exp $
11 *     
12 *      Copyright 1987, 1988 by the Massachusetts Institute of Technology.
13 *
14 *      For further information on copyright and distribution
15 *      see the file mit-copyright.h
16 */
17
18/* Std system and C include files */
19
20#include <stdio.h>
21#include <X11/Xos.h>
22#ifdef POSIX
23#include <dirent.h>
24#else
25#include <sys/dir.h>
26#endif
27#include <sys/stat.h>
28
29/* X include files */
30
31#include <X11/X.h>
32#include <X11/Xatom.h>
33#include <X11/StringDefs.h>
34
35/* X toolkit Include files */
36
37#include <X11/Intrinsic.h>
38#if XtSpecificationRelease < 4
39#include <X11/AsciiText.h>
40#include <X11/Command.h>
41#include <X11/Form.h>
42#include <X11/VPaned.h>
43#else
44#include <X11/Xaw/AsciiText.h>
45#include <X11/Xaw/Command.h>
46#include <X11/Xaw/Form.h>
47#include <X11/Xaw/Paned.h>
48#endif
49#include <X11/Shell.h>
50
51/* program specific include files */
52
53#include "ScrollByLine.h"
54#include "mit-copyright.h"
55#include "defs.h"
56
57typedef void (*fcall)();        /* function pointer typedef. */
58
59typedef struct _Fonts {
60  XFontStruct * normal,         /* The normal text for the man pages. */
61    * italic;                   /* The italic text for the man pages. */
62} Fonts;
63
64/*
65 * The structure with the information about the file
66 */
67
68typedef struct _MemoryStruct {
69  char * top_of_page;           /* a pointer to the top of the page. */
70  char ** top_line;             /* a pointer to the top of the list of
71                                   lines in the file. */
72} MemoryStruct;
73   
Note: See TracBrowser for help on using the repository browser.