diff options
author | kim <kim> | 1999-03-07 19:39:19 +0000 |
---|---|---|
committer | kim <kim> | 1999-03-07 19:39:19 +0000 |
commit | 0d534a122e4bc9ee7b71aa176ce3f8adb719cd72 (patch) | |
tree | e6ab536317275dc94fb6209ce089de984454b179 /mail | |
parent | e679cceb5e5f2d672fdd1e76eb82b8c1b0975590 (diff) | |
download | pkgsrc-0d534a122e4bc9ee7b71aa176ce3f8adb719cd72.tar.gz |
Make mhshow look at the user input for "Press <return> to show..." (like
MH 6.8.4 did). The responses checked for (first letter) are:
- "n" skips the next content (i.e. "no")
- "q" exits mhshow immediately (i.e. "quit")
Diffstat (limited to 'mail')
-rw-r--r-- | mail/nmh/patches/patch-ce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-ce b/mail/nmh/patches/patch-ce new file mode 100644 index 00000000000..8b899e41728 --- /dev/null +++ b/mail/nmh/patches/patch-ce @@ -0,0 +1,17 @@ +$NetBSD: patch-ce,v 1.1 1999/03/07 19:39:19 kim Exp $ + +--- uip/mhshowsbr.c.orig Wed Sep 9 16:59:17 1998 ++++ uip/mhshowsbr.c Sun Mar 7 14:14:59 1999 +@@ -509,10 +509,11 @@ + read (fileno (stdout), prompt, sizeof(prompt)); + } + SIGNAL (SIGINT, istat); +- if (intr != OK) { ++ if (intr != OK || prompt[0] == 'n') { + (*ct->c_ceclosefnx) (ct); + return (alternate ? DONE : NOTOK); + } ++ if (prompt[0] == 'q') done(OK); + } + } + |