From 7f669f73b0442e026b66b5fdd82fdf3ab79ee6b5 Mon Sep 17 00:00:00 2001 From: fredb Date: Wed, 13 Mar 2002 21:13:17 +0000 Subject: Binding "Ctl-P" to mime_hack(png,uue) doesn't work, because Ctl-P is already bound to "scroll up". Leave unshifted Ctl-P and Ctl-N to scroll up and down, but let Shift-Ctl-P display a uuencoded PNG file. --- news/knews/distinfo | 3 ++- news/knews/patches/patch-bh | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 news/knews/patches/patch-bh (limited to 'news/knews') diff --git a/news/knews/distinfo b/news/knews/distinfo index e9f28a943ec..1741728e742 100644 --- a/news/knews/distinfo +++ b/news/knews/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2001/08/15 06:09:01 fredb Exp $ +$NetBSD: distinfo,v 1.6 2002/03/13 21:13:17 fredb Exp $ SHA1 (knews-1.0b.1.tar.gz) = b56046036d4c6688439e6730b8ae2a2eade922db Size (knews-1.0b.1.tar.gz) = 392225 bytes @@ -35,3 +35,4 @@ SHA1 (patch-bd) = 6ed34d15ce86336e280f39fc0903d0bd84e93e4c SHA1 (patch-be) = 3cf47af64e7865f3336b0549b78e3f56bbff2252 SHA1 (patch-bf) = 5d51af81738c227de3ec6d23bbfe33c593410614 SHA1 (patch-bg) = 84e4daf47ca111831661448c4411da4d9c803d27 +SHA1 (patch-bh) = a07383736b99b14c2d3a993f08f8734ba29e711e diff --git a/news/knews/patches/patch-bh b/news/knews/patches/patch-bh new file mode 100644 index 00000000000..61bb7d238e4 --- /dev/null +++ b/news/knews/patches/patch-bh @@ -0,0 +1,37 @@ +$NetBSD: patch-bh,v 1.1 2002/03/13 21:13:17 fredb Exp $ + +--- src/Knews.ad.orig Mon Dec 28 07:48:08 1998 ++++ src/Knews.ad +@@ -274,10 +274,10 @@ + ! 'less'-like bindings for the article text scrollbar: + ! + *textvbar.accelerators: #override \n\ +- c p: abs-scroll(-13) \n\ +- c n: abs-scroll(13) \n\ +- c f: page-scroll(0.95) \n\ +- c b: page-scroll(-0.95) ++ ~s c p: abs-scroll(-13) \n\ ++ ~s c n: abs-scroll(13) \n\ ++ c f: page-scroll(0.95) \n\ ++ c b: page-scroll(-0.95) + *textvbar.stepSize: 13 + + +@@ -359,7 +359,7 @@ + c s k: kill-append(message-id, thread) \n\ + c j: mime-hack(image/jpeg, uue) \n\ + c g: mime-hack(image/gif, uue) \n\ +- c p: mime-hack(image/png, uue) \n\ ++ c s p: mime-hack(image/png, uue) \n\ + ~s t: tree-layout(True, 16) \n\ + s t: tree-layout(False, 6) + +@@ -402,7 +402,7 @@ + c s k: kill-append(message-id, thread) \n\ + c j: mime-hack(image/jpeg, uue) \n\ + c g: mime-hack(image/gif, uue) \n\ +- c p: mime-hack(image/png, uue) ++ c s p: mime-hack(image/png, uue) + + + -- cgit v1.2.3