|
|
1.1 root 1: /*
2: * rcs_id[] = "$Header: globals.h,v 1.14 87/08/06 13:20:25 toddb Exp $";
3: */
4:
5: /*
6: * COPYRIGHT 1987
7: * DIGITAL EQUIPMENT CORPORATION
8: * MAYNARD, MASSACHUSETTS
9: * ALL RIGHTS RESERVED.
10: *
11: * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
12: * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
13: * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
14: * ANY PURPOSE. IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
15: *
16: * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT RIGHTS,
17: * APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN ADDITION TO THAT
18: * SET FORTH ABOVE.
19: *
20: *
21: * Permission to use, copy, modify, and distribute this software and its
22: * documentation for any purpose and without fee is hereby granted, provided
23: * that the above copyright notice appear in all copies and that both that
24: * copyright notice and this permission notice appear in supporting documentation,
25: * and that the name of Digital Equipment Corporation not be used in advertising
26: * or publicity pertaining to distribution of the software without specific,
27: * written prior permission.
28: */
29:
30: #ifdef MAIN
31: #define ext
32: #else
33: #define ext extern
34: #endif
35: ext int *dptr;
36:
37: ext short debug;
38:
39: ext Display *theDisplay; /* Display variable. */
40: ext int theScreen; /* Which screen we're using. */
41:
42: ext char *progName; /* Program name. */
43: ext char *homeDir; /* User's home directory. */
44: ext char *mailDir; /* mh's mail directory. */
45: ext char *tempDir; /* Directory to use for temporary files. */
46: ext char *displayName; /* Name of the X display. */
47: ext char *defGeometry; /* Default geometry to use for things. */
48: ext char *defTocGeometry;
49: ext char *defViewGeometry;
50: ext char *defCompGeometry;
51: ext char *defPickGeometry;
52: ext char *initialFolderName; /* Initial folder to use. */
53: ext char *initialIncFile; /* -file for inc on initial folder */
54: ext char *draftsFolderName; /* Folder for drafts. */
55: ext char *draftFile; /* Filename of draft. */
56: ext char *xmhDraftFile; /* Filename for sending. */
57: ext char *defMhPath; /* Path for mh commands. */
58: ext int defSendLineWidth; /* How long to break lines on send. */
59: ext int defBreakSendLineWidth; /* Minimum length of a line before
60: we'll break it. */
61: ext char *defPrintCommand; /* Printing command. */
62:
63: ext int defTocWidth; /* How many characters wide to use in tocs */
64:
65: ext int SkipDeleted; /* If true, skip over deleted msgs. */
66: ext int SkipMoved; /* If true, skip over moved msgs. */
67: ext int SkipCopied; /* If true, skip over copied msgs. */
68:
69: ext int defHideBoringHeaders;
70: ext int defHideNullSeqBoxes;
71:
72: ext int defTocPercentage;
73: ext int defNewMailCheck; /* Whether to check for new mail. */
74: ext int defMakeCheckpoints; /* Whether to create checkpoint files. */
75:
76: ext Toc *folderList; /* Array of folders. */
77: ext int numFolders; /* Number of entries in above array. */
78: ext Toc InitialFolder; /* Toc containing initial folder. */
79: ext Toc DraftsFolder; /* Toc containing drafts. */
80:
81: ext Scrn *scrnList; /* Array of scrns in use. */
82: ext int numScrns; /* Number of scrns in above array. */
83:
84: ext Arg windowarglist[1];
85: ext Arg labelarglist[1];
86:
87: ext Button LastButtonPressed;
88:
89: ext XtTextSource *NullSource;
90:
91: ext int rootwidth; /* Dimensions of root window. */
92: ext int rootheight;
93:
94: ext Pixmap NoMailPixmap; /* Icon pixmap if no new mail. */
95: ext Pixmap NewMailPixmap; /* Icon pixmap if new mail. */
96:
97: ext int defGrabFocus; /* Whether to grab input focus. */
98: ext int defDoubleClick; /* Whether to look for double-clicks. */
99:
100: ext void (*DoubleClickProc)(); /* Func to call on double-click. */
101: ext caddr_t DoubleClickParam; /* Parameter to above. */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.