To get MacTerminal to send application commands with the keypad, all you need to do is have the host system send <escape>=, where <escape> is the escape character. Likewise, to get MacTerminal to return to normal mode, send <escape>> (escape greater than) from the host to MacTerminal.