/[mailutils]/mailutils/mail/mail.c
ViewVC logotype

Diff of /mailutils/mail/mail.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.64 by polak, Thu Dec 26 20:51:05 2002 UTC revision 1.65 by gray, Fri Dec 27 15:32:53 2002 UTC
# Line 91  parse_opt (int key, char *arg, struct ar Line 91  parse_opt (int key, char *arg, struct ar
91        break;        break;
92                
93      case 'q':      case 'q':
94        util_do_command ("set quiet");        util_do_command ("set quit");
95        break;        break;
96                
97      case 't':      case 't':
# Line 139  parse_opt (int key, char *arg, struct ar Line 139  parse_opt (int key, char *arg, struct ar
139                        "it must follow the option\n"                        "it must follow the option\n"
140                        "without any intervening whitespace."));                        "without any intervening whitespace."));
141            util_error (_("Run mail --help for more info."));            util_error (_("Run mail --help for more info."));
           util_do_command ("set quiet");  
142            args->file = arg;            args->file = arg;
143          }          }
144        else        else
# Line 296  main (int argc, char **argv) Line 295  main (int argc, char **argv)
295    util_do_command ("set nooutfolder");    util_do_command ("set nooutfolder");
296    util_do_command ("set nopage");    util_do_command ("set nopage");
297    util_do_command ("set prompt=\"? \"");    util_do_command ("set prompt=\"? \"");
   util_do_command ("set noquiet");  
298    util_do_command ("set norecord");    util_do_command ("set norecord");
299    util_do_command ("set save");    util_do_command ("set save");
300    util_do_command ("set screen=%d", util_getlines ());    util_do_command ("set screen=%d", util_getlines ());
# Line 342  main (int argc, char **argv) Line 340  main (int argc, char **argv)
340        util_do_command ("set noasksub");        util_do_command ("set noasksub");
341        util_do_command ("set noaskcc");        util_do_command ("set noaskcc");
342        util_do_command ("set noaskbcc");        util_do_command ("set noaskbcc");
       util_do_command ("set quiet");  
343      }      }
344    
345    /* how should we be running? */    /* how should we be running? */
# Line 351  main (int argc, char **argv) Line 348  main (int argc, char **argv)
348    modelen = strlen (mode);    modelen = strlen (mode);
349    
350    /* Interactive mode */    /* Interactive mode */
   if (util_getenv (NULL, "quiet", Mail_env_boolean, 0))  
     {  
       fprintf (ofile,  
                _("%s, Copyright (C) 2001 Free Software Foundation, Inc.\n"  
                "mail is free software with ABSOLUTELY NO WARRANTY.\n"  
                "For details type `warranty'.\n"  
                "Send bug reports to %s.\n"),  
                argp_program_version,  
                argp_program_bug_address);  
     }  
351    
352    ml_readline_init ();    ml_readline_init ();
353    mail_set_my_name(args.user);    mail_set_my_name(args.user);

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26