diff options
author | kim <kim@pkgsrc.org> | 1999-03-07 19:39:19 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-03-07 19:39:19 +0000 |
commit | 4782f7c5e58fd5b465210bdc6d658ecccd29d5b4 (patch) | |
tree | e6ab536317275dc94fb6209ce089de984454b179 /mail | |
parent | e3edd6ad3a9ff4cc784415a0938f439dc32281ee (diff) | |
download | pkgsrc-4782f7c5e58fd5b465210bdc6d658ecccd29d5b4.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); + } + } + |