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 >
C/C++ Source or Header  |  1990-02-02  |  2KB  |  52 lines

  1.  
  2. /*
  3.  * GLOBALS.C
  4.  *
  5.  *  $Header: Beta:src/uucp/src/dmail/RCS/globals.c,v 1.1 90/02/02 12:04:02 dillon Exp Locker: dillon $
  6.  *
  7.  *  (C) Copyright 1985-1990 by Matthew Dillon,  All Rights Reserved.
  8.  *
  9.  *  Declarations for most global variables.
  10.  *
  11.  */
  12.  
  13. #include <stdio.h>
  14. #include "dmail.h"
  15.  
  16. FILE *m_fi;                /* open file ptr to spool file  */
  17. char *mail_file;            /* name of from (spool) file    */
  18. char *output_file;            /* name of out file (i.e. mbox) */
  19. char *user_name;            /* user name from password entry*/
  20. char *home_dir;             /* home directory of user        */
  21. char *visual;                /* visual editor path        */
  22. char Buf[MAXFIELDSIZE];         /* Scratch Buffer            */
  23. char Puf[MAXFIELDSIZE];         /* Another Scratch Buffer        */
  24. jmp_buf env[LONGSTACK];         /* Holds longjump (break) stack */
  25. int  Did_cd;                /* Set if user does a CD        */
  26. int  XDebug;                /* Debug mode            */
  27. int  Longstack, Breakstack;        /* longjump/break level stack   */
  28. int  Entries, Current;            /* #Entries and Current entry   */
  29. int  XDisable;                /* Disable non-cond comm exec.  */
  30. int  ac;                /* internal argc, from/to stat  */
  31. int  No_load_mail;            /* disable loading of mail        */
  32. int  lmessage_overide;            /* Overide initial 'X items ... */
  33. int  Silence;                /* -s command option status     */
  34. int  SelAll = 1;            /* last select was sel all        */
  35. struct ENTRY *Entry;            /* Base of Entry list        */
  36. char *av[128];                /* internal argv[]            */
  37. char *Nulav[3] = { "", "", NULL };
  38.  
  39. int width[MAXLIST]  = { 18, 38, 10 };    /* Default setlist params    */
  40. int header[MAXLIST] = {  0,  2,  1 };
  41. int Listsize = 3;
  42.  
  43. /* The following are globals variables definable from the 'set' command */
  44.  
  45. char  *S_sendmail;            /* sendmail program path        */
  46. int   S_page;                /* Paging status            */
  47. int   S_novibreak;            /* vi-break status            */
  48. int   S_verbose;            /* sendmail verbose status        */
  49. int   S_ask;                /* Ask what to do after mail ed */
  50. int   S_archive;            /* Archive sent mail        */
  51.  
  52.