how to disable keys?

clemens fischer <[email protected]> Mon, 22 Jun 2009 18:50:53 +0200
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
(please excuse if this posting shows up twice)

Hi,

I'm using a number of ncurses programs and often hit "[" or "]" by
mistake.  As I don't need the "QuickFilterSelect" and "QuickFilterKill"
functions, I want to disable them.  The same goes for "PageTopThd" and
"PageBotThd" and a few others.  In addition to this, I want to remap
a few bindings, which doesn't seem to really work.  It seems generic
keybindings cannot be overridden or deleted.

Now my "~/.tin/keymap" reads (without the top lines):

  QuickFilterSelect NULL NULL
  QuickFilterKill NULL NULL
  PageTopThd NULL NULL
  PageBotThd NULL NULL
  ScrollUp <
  ScrollDown >
  Down j >
  Up k <
  PageUp b
  PageDown SPACE
  PageNextThd TAB

No error is flagged on startup and the "<", ">" keys work, but there
seems to be no way to disable any keys, setting them to "NULL" doesn't
work.  The source indicates any string starting with "N"* should do it.
Especially with the Quick* functions this gets nasty, because tin
doesn't give feedback about the new scores.

So what's wrong there?


clemens