home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
telecom
/
uucp_442
/
src
/
dmail
/
globals.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-02
|
2KB
|
52 lines
/*
* GLOBALS.C
*
* $Header: Beta:src/uucp/src/dmail/RCS/globals.c,v 1.1 90/02/02 12:04:02 dillon Exp Locker: dillon $
*
* (C) Copyright 1985-1990 by Matthew Dillon, All Rights Reserved.
*
* Declarations for most global variables.
*
*/
#include <stdio.h>
#include "dmail.h"
FILE *m_fi; /* open file ptr to spool file */
char *mail_file; /* name of from (spool) file */
char *output_file; /* name of out file (i.e. mbox) */
char *user_name; /* user name from password entry*/
char *home_dir; /* home directory of user */
char *visual; /* visual editor path */
char Buf[MAXFIELDSIZE]; /* Scratch Buffer */
char Puf[MAXFIELDSIZE]; /* Another Scratch Buffer */
jmp_buf env[LONGSTACK]; /* Holds longjump (break) stack */
int Did_cd; /* Set if user does a CD */
int XDebug; /* Debug mode */
int Longstack, Breakstack; /* longjump/break level stack */
int Entries, Current; /* #Entries and Current entry */
int XDisable; /* Disable non-cond comm exec. */
int ac; /* internal argc, from/to stat */
int No_load_mail; /* disable loading of mail */
int lmessage_overide; /* Overide initial 'X items ... */
int Silence; /* -s command option status */
int SelAll = 1; /* last select was sel all */
struct ENTRY *Entry; /* Base of Entry list */
char *av[128]; /* internal argv[] */
char *Nulav[3] = { "", "", NULL };
int width[MAXLIST] = { 18, 38, 10 }; /* Default setlist params */
int header[MAXLIST] = { 0, 2, 1 };
int Listsize = 3;
/* The following are globals variables definable from the 'set' command */
char *S_sendmail; /* sendmail program path */
int S_page; /* Paging status */
int S_novibreak; /* vi-break status */
int S_verbose; /* sendmail verbose status */
int S_ask; /* Ask what to do after mail ed */
int S_archive; /* Archive sent mail */