1. 09 Jul, 2001 5 commits
  2. 06 Jul, 2001 13 commits
  3. 05 Jul, 2001 3 commits
    • 	the message is pipe to the cmd and if starts with '/' it is
      	save to a file.
      	     mailx ghislaine '|cat >save'
      	mails a message to ghislaine and also copies the message into a file
      	called save.
      
      	* mail/mail.h: Change struct send_environ to contain
      	two new fields char **outfiles and int nfiles.
      	* mail/send.c: Look for '/' and '|' when parsing the addresses
      	and add them to struct send_environ outfiles.
      	(mail_send0):  Memory overflow, we were free(buf) twice.
      	made char *buf local where it is needed.  Save the message
      	to outfiles when set.
      	(isfilename): New function.
      	* mail/followup.c: Initialise the struct send_environ new fields.
      	* mail/reply.c: Initialise the struct send_environ new fields.
      
      	* lib/argcv.c: Add support to consider string between
      	single quote like one word(same as double quotes).
      Alain Magloire authored
    • 	the size is not zero before making the memcpy().
      Alain Magloire authored
    • 	change prototype to be void * instead of char *.
      	* mailbox2/bstream.c: Adjust bstream_{read,write} to the
      	new prototypes.
      	* mailbox2/pop3/pop3_stream.c: Likewised.
      	* mailbox2/Makefile.am: New file.
      	* mailbox2/pop3/Makefile.am: New file.
      	* mailbox2/mstream.c: Mapfile stream Implementation.
      	* mailbox2/fstream.c: File stream implementation.
      	* mailbox2/include/mailutils/sys/fstream.h: New file.
      	* mailbox2/include/mailutils/sys/mstream.h: New file.
      	* mailbox2/tcp.c: rename to tcpstream.c.
      	* mailbox2/include/mailutils/sys/tcp.h: Rename to tcpstream.h
      Alain Magloire authored
  4. 04 Jul, 2001 1 commit
    • 	reseting the number of lines to default screen lines.
      	* mail/mail.c (main): Add a "summary" call also for the
      	initial commands on startup(in interactive).
      	* mail.h: Proto for mail_summary() and mail_version().
      	* table.c: Add mail_summary() and mail_version() in the cmd table.
      	* util.c (util_getcols): First try an ioctl(TIOCGWINSZ,..) call
      	not all shells set the COLUMNS environ.
      	(util_getlines): Likewised. Also take to account the prompt
      	in the lines number.
      	* z.c (mail_z): Change the behaviour of "z." to show a screenfull
      	when the lastpage is reach.  This is very practical when starting
      	mail, since "z." is the initial command to show the header summary.
      	* mail/version.c: New file, show mail version, mail_version().
      	* mail/summary.c: New file, display a short summary of the mailbox.
      	mail_summary().
      	* mail/Makefile.am: add summary.c and version.c
      
      	* mailbox2/include/mailutils/mbox.h: Proto for Unix-Mbox.
      Alain Magloire authored
  5. 03 Jul, 2001 16 commits
  6. 02 Jul, 2001 2 commits
    • 	it will save the attribute flags.
      	* imap4d/close.c: Typo.
      	* imap4d/logout: Remove the mailbox_close() and mailbox_destroy()
      	it is being call imap4d_bye ().
      	* imap4d/select.c (imapr3d_select0): call mailbox_save_attributes()
      	if a mailbox was already selected.
      
      	Feedback from Sergey for the need of saving the attribute flags
      	without expunging.  Note, this is a hack, the code is taken from
      	mbox_expunge(mbx_mbox.c) and there is lot of duplication.  But
      	since we are moving toward a new mailbox API, the code will be
      	rewritten more cleanly in the new API.
      
      	* include/mailutils/mailbox.h: Add proto mailbox_save_attributes()
      	* mailbox/include/mailbox0.h: New field in struct _mailbox
      	_save_attributes (mailbox_t);
      	* mailbox/mailbox.c: New function mailbox_save_attributes ().
      	* mailbox/mbx_mbox.c: New function mbox_save_attributes (),
      	implement saving the attribute flags in header field "Status:"
      Alain Magloire authored
    • 	buggy, corrected.
      Alain Magloire authored