max size of user names changed to PATHSIZE
[unix-history] / usr / src / usr.bin / mail / glob.h
index 6a56505..80941d2 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 /*
  */
 
 /*
- * Sccs Id = "@(#)glob.h       1.1 %G%";
+ * Sccs Id = "@(#)glob.h       1.4 %G%";
  */
 
 int    msgCount;                       /* Count of messages read in */
  */
 
 int    msgCount;                       /* Count of messages read in */
@@ -17,10 +17,13 @@ char        nosrc;                          /* Don't source /usr/lib/Mail.rc */
 int    selfsent;                       /* User sent self something */
 int    senderr;                        /* An error while checking */
 int    edit;                           /* Indicates editing a file */
 int    selfsent;                       /* User sent self something */
 int    senderr;                        /* An error while checking */
 int    edit;                           /* Indicates editing a file */
+int    readonly;                       /* Will be unable to rewrite file */
 int    noreset;                        /* String resets suspended */
 int    sourcing;                       /* Currently reading variant file */
 int    noreset;                        /* String resets suspended */
 int    sourcing;                       /* Currently reading variant file */
+int    shudann;                        /* Print headers when possible */
 FILE   *itf;                           /* Input temp file buffer */
 FILE   *otf;                           /* Output temp file buffer */
 FILE   *itf;                           /* Input temp file buffer */
 FILE   *otf;                           /* Output temp file buffer */
+FILE   *pipef;                         /* Pipe file we have opened */
 int    image;                          /* File descriptor for image of msg */
 FILE   *input;                         /* Current command input file */
 char   *editfile;                      /* Name of file being edited */
 int    image;                          /* File descriptor for image of msg */
 FILE   *input;                         /* Current command input file */
 char   *editfile;                      /* Name of file being edited */
@@ -34,7 +37,7 @@ int   uid;                            /* The invoker's user id */
 char   mailrc[PATHSIZE];               /* Name of startup file */
 char   deadletter[PATHSIZE];           /* Name of #/dead.letter */
 char   homedir[PATHSIZE];              /* Path name of home directory */
 char   mailrc[PATHSIZE];               /* Name of startup file */
 char   deadletter[PATHSIZE];           /* Name of #/dead.letter */
 char   homedir[PATHSIZE];              /* Path name of home directory */
-char   myname[9];                      /* My login id */
+char   myname[PATHSIZE];               /* My login id */
 off_t  mailsize;                       /* Size of system mailbox */
 int    lexnumber;                      /* Number of TNUMBER from scan() */
 char   lexstring[STRINGLEN];           /* String from TSTRING, scan() */
 off_t  mailsize;                       /* Size of system mailbox */
 int    lexnumber;                      /* Number of TNUMBER from scan() */
 char   lexstring[STRINGLEN];           /* String from TSTRING, scan() */