From 6512d3c30a219a15bc98e8fd4e21c9185c268589 Mon Sep 17 00:00:00 2001 From: martynas Date: Sun, 3 Aug 2008 14:30:48 +0000 Subject: [PATCH] make U (abbreviation of unread) work as man page says ok millert@, jmc@. sure theo --- usr.bin/mail/cmdtab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/mail/cmdtab.c b/usr.bin/mail/cmdtab.c index 62b93ac3f1c..93d1fbead74 100644 --- a/usr.bin/mail/cmdtab.c +++ b/usr.bin/mail/cmdtab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmdtab.c,v 1.10 2004/09/15 22:21:40 deraadt Exp $ */ +/* $OpenBSD: cmdtab.c,v 1.11 2008/08/03 14:30:48 martynas Exp $ */ /* $NetBSD: cmdtab.c,v 1.7 1996/12/28 07:10:59 tls Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static const char sccsid[] = "@(#)cmdtab.c 8.2 (Berkeley) 4/20/95"; #else -static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.10 2004/09/15 22:21:40 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.11 2008/08/03 14:30:48 martynas Exp $"; #endif #endif /* not lint */ @@ -75,6 +75,7 @@ const struct cmd cmdtab[] = { { "More", { More }, MSGLIST, 0, MMNDEL }, { "Page", { More }, MSGLIST, 0, MMNDEL }, { "unread", { unread }, MSGLIST, 0, MMNDEL }, + { "Unread", { unread }, MSGLIST, 0, MMNDEL }, { "!", { shell }, I|STRLIST, 0, 0 }, { "copy", { copycmd }, M|STRLIST, 0, 0 }, { "chdir", { schdir }, M|RAWLIST, 0, 1 }, -- 2.20.1