>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User

Other Message Handlers

wdhandler is the main message handler, but other handlers may be used if appropriate. There are essentially three alternatives:

  • You can replace wdhandler with your own definition. This gives you complete control over the way you respond to events.

  • You can define a specific handler function for a given form, using the wd command phandler. For example, when the following form is run, any event specific to it will invoke the sentence: abc_event 0 :
    wd 'pc abc;pshow;ptop'
    wd 'phandler "abc_event 0"'
    abc_event=: wdinfo bind 'abc form handler'
    
  • You can bypass the handler mechanism entirely by issuing the wd command wait, described below.
    >>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User