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

Revision 2139, 1.6 KB checked in by probe, 35 years ago (diff)
kit's changes: #include file changes
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: probe $
10 *      $Header: /afs/dev.mit.edu/source/repository/athena/bin/xmore/more.h,v 1.2 1989-10-15 04:39:24 probe 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#include <sys/dir.h>
23#include <sys/stat.h>
24
25/* X include files */
26
27#include <X11/X.h>
28#include <X11/Xatom.h>
29#include <X11/StringDefs.h>
30
31/* X toolkit Include files */
32
33#include <X11/Intrinsic.h>
34#include <X11/AsciiText.h>
35#include <X11/Command.h>
36#include <X11/Form.h>
37#include <X11/Shell.h>
38#include <X11/VPaned.h>
39
40/* program specific include files */
41
42#include "ScrollByLine.h"
43#include "mit-copyright.h"
44#include "defs.h"
45
46typedef void (*fcall)();        /* function pointer typedef. */
47
48typedef struct _Fonts {
49  XFontStruct * normal,         /* The normal text for the man pages. */
50    * italic;                   /* The italic text for the man pages. */
51} Fonts;
52
53/*
54 * The structure with the information about the file
55 */
56
57typedef struct _MemoryStruct {
58  char * top_of_page;           /* a pointer to the top of the page. */
59  char ** top_line;             /* a pointer to the top of the list of
60                                   lines in the file. */
61} MemoryStruct;
62   
Note: See TracBrowser for help on using the repository browser.