On Wed, Aug 01, 2012 at 04:11:16PM +0200, Kai Hendry wrote: > > What would be good if just PGUP/PGDN worked.
The following should work, but as the code is you have no way of sending PGUP/PGDN to the underlying app, which might be a problem. I personally use a pager when I know that I want to inspect/search a lot of program output. For the occasional case where the window size is just a little too small pressing MOD+PG{UP,DN} doesn't bother me too much. diff --git a/config.h b/config.h index 2b00776..57ae4ff 100644 --- a/config.h +++ b/config.h @@ -89,8 +89,8 @@ Key keys[] = { { MOD, 'r', { redraw, { NULL } } }, { MOD, 'X', { lock, { NULL } } }, { MOD, 'B', { togglebell, { NULL } } }, - { MOD, KEY_PPAGE, { scrollback, { "-1" } } }, - { MOD, KEY_NPAGE, { scrollback, { "1" } } }, + { 0, KEY_PPAGE, { scrollback, { "-1" } } }, + { 0, KEY_NPAGE, { scrollback, { "1" } } }, { MOD, '?', { create, { "man dvtm", "dvtm help" } } }, }; -- Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0