summaryrefslogtreecommitdiff
path: root/mail/Makefile.am
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-07-04 03:31:13 +0000
committerAlain Magloire <alainm@gnu.org>2001-07-04 03:31:13 +0000
commit2ca6f6be2f00463dbb8f6e8f4af83387e00b9d14 (patch)
treecf484d17450e510f4cf27c9aa8c2f621376256e4 /mail/Makefile.am
parenta26b5ba5e58a22fe9fb0b4865801d57196f2f735 (diff)
downloadmailutils-2ca6f6be2f00463dbb8f6e8f4af83387e00b9d14.tar.gz
mailutils-2ca6f6be2f00463dbb8f6e8f4af83387e00b9d14.tar.bz2
* mail/headers.c: Catch the overflow in the calculation by
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.
Diffstat (limited to 'mail/Makefile.am')
-rw-r--r--mail/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am
index a66a3bf69..5c3432c7f 100644
--- a/mail/Makefile.am
+++ b/mail/Makefile.am
@@ -12,5 +12,5 @@ mail_SOURCES = alias.c alt.c cd.c copy.c delete.c dp.c echo.c \
edit.c eq.c exit.c file.c folders.c followup.c from.c headers.c help.c \
hold.c if.c inc.c list.c mail.c mail.h mailline.c mbox.c next.c pipe.c \
previous.c print.c quit.c reply.c retain.c save.c send.c set.c shell.c \
- size.c source.c table.c top.c touch.c unalias.c undelete.c unset.c util.c \
- var.c visual.c write.c z.c
+ size.c source.c summary.c table.c top.c touch.c unalias.c undelete.c \
+ unset.c util.c var.c version.c visual.c write.c z.c

Return to:

Send suggestions and report system problems to the System administrator.