notice.py - A plugin for Gate One that adds an escape sequence handler that will tell the client browser to display a message whenever said escape sequence is encountered. Any terminal program can emit the following escape sequence to display a message in the browser:
\x1b]_;notice|<the message>\x07
Very straightforward and also very powerful.
This Python plugin file implements the following hooks:
hooks = {
'Escape': notice_esc_seq_handler,
}