From c576644dc64f8db4e192ee2650379a2488072205 Mon Sep 17 00:00:00 2001 From: dzp Date: Tue, 12 Mar 2024 10:21:43 +0800 Subject: [PATCH] fix: missing event PORT RECEIVED DATA --- src/tables.c | 255 ++++++++++++++++++++++++++------------------------- 1 file changed, 128 insertions(+), 127 deletions(-) diff --git a/src/tables.c b/src/tables.c index 738cb80..bb3ebb3 100644 --- a/src/tables.c +++ b/src/tables.c @@ -770,133 +770,134 @@ struct timer_type timer_table[] = struct event_type event_table[] = { - { "BUFFER UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "scrollback buffer update" }, - { "CATCH ", 0, EVENT_FLAG_CATCH, "CATCH", "prefix for catch events" }, - { "CHAT MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "any chat related message" }, - { "CLASS ACTIVATED", 0, EVENT_FLAG_CLASS, "CLASS", "class activations" }, - { "CLASS CREATED", 0, EVENT_FLAG_CLASS, "CLASS", "class creation" }, - { "CLASS DEACTIVATED", 0, EVENT_FLAG_CLASS, "CLASS", "class deactivations" }, - { "CLASS DESTROYED", 0, EVENT_FLAG_CLASS, "CLASS", "class destruction" }, - { "CONFIG", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "config change" }, - { "DAEMON ATTACH TIMEOUT", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon attachment timeout" }, - { "DAEMON ATTACHED", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon attachment" }, - { "DAEMON DETACHED", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon detachment" }, - { "DATE", 0, EVENT_FLAG_TIME, "TIME", "the given date" }, - { "DAY", 0, EVENT_FLAG_TIME, "TIME", "each day or given day" }, - { "DISPLAY UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "when display is updated" }, - { "DOUBLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is double-clicked" }, - { "EDIT FINISHED", 0, EVENT_FLAG_INPUT, "INPUT", "when editing is finished" }, - { "EDIT STARTED", 0, EVENT_FLAG_INPUT, "INPUT", "when editing is started" }, - { "END OF PATH", 0, EVENT_FLAG_MAP, "MAP", "walking the last room" }, - { "END OF RUN", 0, EVENT_FLAG_MAP, "MAP", "running the last room" }, - { "GAG ", 0, EVENT_FLAG_GAG, "GAG", "prefix for gag events" }, - { "HISTORY UPDATE", 0, EVENT_FLAG_INPUT, "INPUT", "command history update" }, - { "HOUR", 0, EVENT_FLAG_TIME, "TIME", "every hour or given hour" }, - { "IAC ", 0, EVENT_FLAG_TELNET, "TELNET", "prefix for telnet events" }, - { "LONG-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is long-clicked" }, - { "MAP CREATE ROOM", 0, EVENT_FLAG_MAP, "MAP", "a room is created" }, - { "MAP DELETE ROOM", 0, EVENT_FLAG_MAP, "MAP", "a room is deleted" }, - { "MAP DOUBLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP ENTER MAP", 0, EVENT_FLAG_MAP, "MAP", "entering the map" }, - { "MAP ENTER ROOM", 0, EVENT_FLAG_MAP, "MAP", "entering a map room" }, - { "MAP EXIT MAP", 0, EVENT_FLAG_MAP, "MAP", "exiting the map" }, - { "MAP EXIT ROOM", 0, EVENT_FLAG_MAP, "MAP", "exiting a map room" }, - { "MAP FOLLOW MAP", 0, EVENT_FLAG_MAP, "MAP", "moving to a map room" }, - { "MAP LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP LONG-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP MOUSE LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "called by #screen raise" }, - { "MAP MOVED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map mouse move" }, - { "MAP PRESSED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP REGION ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map mouse events" }, - { "MAP RELEASED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP ROOM ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map room mouse events" }, - { "MAP SCROLLED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map scroll" }, - { "MAP SHORT-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP TRIPLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, - { "MAP UPDATED VTMAP", 0, EVENT_FLAG_MAP, "MAP", "vt map update" }, - { "MINUTE", 0, EVENT_FLAG_TIME, "TIME", "minute or given minute" }, - { "MONTH", 0, EVENT_FLAG_TIME, "TIME", "month or given month" }, - { "MOVED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is moved" }, - { "NO SESSION ACTIVE", 0, EVENT_FLAG_INPUT, "INPUT", "input on startup session" }, - { "PACKET PATCH", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "broken packet detected" }, - { "PORT CONNECTION", 0, EVENT_FLAG_PORT, "PORT", "socket connects" }, - { "PORT DISCONNECTION", 0, EVENT_FLAG_PORT, "PORT", "socket disconnects" }, - { "PORT INITIALIZED", 0, EVENT_FLAG_PORT, "PORT", "port is initialized" }, - { "PORT LOG MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "local port log messages" }, - { "PORT MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "local port messages" }, - { "PORT RECEIVED MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "socket data is received" }, - { "PORT UNINITIALIZED", 0, EVENT_FLAG_PORT, "PORT", "port is uninitialized" }, - { "PRESSED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse button is pressed" }, - { "PROCESSED KEYPRESS", 0, EVENT_FLAG_INPUT, "INPUT", "after a regular keypress" }, - { "PROCESSED LINE", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "after triggers have fired" }, - { "PROGRAM START", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "main session starts" }, - { "PROGRAM TERMINATION", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "main session exits" }, - { "READ ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the read command fails" }, - { "READ FILE", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the read command finished" }, - { "RECEIVED ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "an error is received" }, - { "RECEIVED INPUT", 0, EVENT_FLAG_INPUT, "INPUT", "keyboard input is received" }, - { "RECEIVED INPUT CHARACTER", 0, EVENT_FLAG_INPUT, "INPUT", "keyboard input character" }, - { "RECEIVED KEYPRESS", 0, EVENT_FLAG_INPUT, "INPUT", "a keypress is received" }, - { "RECEIVED LINE", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "a new line is received" }, - { "RECEIVED OUTPUT", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "bulk output is received" }, - { "RECEIVED PROMPT", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "a prompt is received" }, - { "REFORMAT ", 0, EVENT_FLAG_REFORMAT, "REFORMAT", "system format message" }, - { "RELEASED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse button is released" }, - { "SCAN CSV HEADER", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a csv file" }, - { "SCAN CSV LINE", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a csv file" }, - { "SCAN TSV HEADER", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a tsv file" }, - { "SCAN TSV LINE", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a tsv file" }, - { "SCREEN DESKTOP DIMENSIONS", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN DESKTOP SIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN DIMENSIONS", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN FILL", 0, EVENT_FLAG_SCREEN, "SCREEN", "split bars are filled" }, - { "SCREEN FOCUS", 0, EVENT_FLAG_SCREEN, "SCREEN", "focus changes", }, - { "SCREEN LOCATION", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN MINIMIZED", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN MOUSE LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "called by #screen raise" }, - { "SCREEN REFRESH", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is refreshed" }, - { "SCREEN RESIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is resized" }, - { "SCREEN ROTATE LANDSCAPE", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is rotated" }, - { "SCREEN ROTATE PORTRAIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is rotated" }, - { "SCREEN SIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, - { "SCREEN SPLIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is split" }, - { "SCREEN SPLIT FILL", 0, EVENT_FLAG_SCREEN, "SCREEN", "split region is filled" }, - { "SCREEN UNSPLIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is unsplit" }, - { "SCROLLBAR MOVE", 0, EVENT_FLAG_SCREEN, "SCREEN", "scrollbar movement" }, - { "SCROLLBAR POSITION", 0, EVENT_FLAG_SCREEN, "SCREEN", "scrollbar position" }, - { "SCROLLBAR UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "scrollbar update" }, - { "SCROLLED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse wheel is scrolled" }, - { "SECOND", 0, EVENT_FLAG_TIME, "TIME", "second or given second" }, - { "SEND OUTPUT", 0, EVENT_FLAG_INPUT, "INPUT", "before sending output" }, - { "SENT OUTPUT", 0, EVENT_FLAG_INPUT, "INPUT", "after sending output" }, - { "SESSION ACTIVATED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is activated" }, - { "SESSION CONNECTED", 0, EVENT_FLAG_SESSION, "SESSION", "a new session connects" }, - { "SESSION CREATED", 0, EVENT_FLAG_SESSION, "SESSION", "a new session is created" }, - { "SESSION DEACTIVATED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is deactivated" }, - { "SESSION DESTROYED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is destroyed" }, - { "SESSION DISCONNECTED", 0, EVENT_FLAG_SESSION, "SESSION", "a session disconnects" }, - { "SESSION TIMED OUT", 0, EVENT_FLAG_SESSION, "SESSION", "a session doesn't connect" }, - { "SHORT-CLICKED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is short-clicked" }, - { "SIGHUB", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "Terminal has closed" }, - { "SIGUSR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "Raised SIGUSR1 or SIGUSR2" }, - { "SWIPED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse swipe" }, - { "SYSTEM CRASH", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "system crash" }, - { "SYSTEM ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "system errors" }, - { "TIME ", 0, EVENT_FLAG_TIME, "TIME", "the given time" }, - { "TRIPLE-CLICKED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is triple-clicked" }, - { "UNKNOWN COMMAND", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "unknown tintin command" }, - { "VARIABLE UPDATE ", 0, EVENT_FLAG_VARIABLE, "VARIABLE", "before a variable updates" }, - { "VARIABLE UPDATED ", 0, EVENT_FLAG_VARIABLE, "VARIABLE", "after a variable updates" }, - { "VT100 CPR", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ 6 n call" }, - { "VT100 DA", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ c call" }, - { "VT100 DECID", 0, EVENT_FLAG_VT100, "VT100", "an ESC Z call" }, - { "VT100 DSR", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ 5 n call" }, - { "VT100 ENQ", 0, EVENT_FLAG_VT100, "VT100", "an \\x05 call" }, - { "VT100 SCROLL REGION", 0, EVENT_FLAG_VT100, "VT100", "vt100 scroll region change" }, - { "WEEK", 0, EVENT_FLAG_TIME, "TIME", "each week or given week" }, - { "WRITE ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the write command fails" }, - { "YEAR", 0, EVENT_FLAG_TIME, "TIME", "each year or given year" }, - { "", 0, 0, "", "" } + { "BUFFER UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "scrollback buffer update" }, + { "CATCH ", 0, EVENT_FLAG_CATCH, "CATCH", "prefix for catch events" }, + { "CHAT MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "any chat related message" }, + { "CLASS ACTIVATED", 0, EVENT_FLAG_CLASS, "CLASS", "class activations" }, + { "CLASS CREATED", 0, EVENT_FLAG_CLASS, "CLASS", "class creation" }, + { "CLASS DEACTIVATED", 0, EVENT_FLAG_CLASS, "CLASS", "class deactivations" }, + { "CLASS DESTROYED", 0, EVENT_FLAG_CLASS, "CLASS", "class destruction" }, + { "CONFIG", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "config change" }, + { "DAEMON ATTACH TIMEOUT", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon attachment timeout" }, + { "DAEMON ATTACHED", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon attachment" }, + { "DAEMON DETACHED", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "daemon detachment" }, + { "DATE", 0, EVENT_FLAG_TIME, "TIME", "the given date" }, + { "DAY", 0, EVENT_FLAG_TIME, "TIME", "each day or given day" }, + { "DISPLAY UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "when display is updated" }, + { "DOUBLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is double-clicked" }, + { "EDIT FINISHED", 0, EVENT_FLAG_INPUT, "INPUT", "when editing is finished" }, + { "EDIT STARTED", 0, EVENT_FLAG_INPUT, "INPUT", "when editing is started" }, + { "END OF PATH", 0, EVENT_FLAG_MAP, "MAP", "walking the last room" }, + { "END OF RUN", 0, EVENT_FLAG_MAP, "MAP", "running the last room" }, + { "GAG ", 0, EVENT_FLAG_GAG, "GAG", "prefix for gag events" }, + { "HISTORY UPDATE", 0, EVENT_FLAG_INPUT, "INPUT", "command history update" }, + { "HOUR", 0, EVENT_FLAG_TIME, "TIME", "every hour or given hour" }, + { "IAC ", 0, EVENT_FLAG_TELNET, "TELNET", "prefix for telnet events" }, + { "LONG-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is long-clicked" }, + { "MAP CREATE ROOM", 0, EVENT_FLAG_MAP, "MAP", "a room is created" }, + { "MAP DELETE ROOM", 0, EVENT_FLAG_MAP, "MAP", "a room is deleted" }, + { "MAP DOUBLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP ENTER MAP", 0, EVENT_FLAG_MAP, "MAP", "entering the map" }, + { "MAP ENTER ROOM", 0, EVENT_FLAG_MAP, "MAP", "entering a map room" }, + { "MAP EXIT MAP", 0, EVENT_FLAG_MAP, "MAP", "exiting the map" }, + { "MAP EXIT ROOM", 0, EVENT_FLAG_MAP, "MAP", "exiting a map room" }, + { "MAP FOLLOW MAP", 0, EVENT_FLAG_MAP, "MAP", "moving to a map room" }, + { "MAP LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP LONG-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP MOUSE LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "called by #screen raise" }, + { "MAP MOVED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map mouse move" }, + { "MAP PRESSED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP REGION ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map mouse events" }, + { "MAP RELEASED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP ROOM ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map room mouse events" }, + { "MAP SCROLLED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map scroll" }, + { "MAP SHORT-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP TRIPLE-CLICKED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "vt map click" }, + { "MAP UPDATED VTMAP", 0, EVENT_FLAG_MAP, "MAP", "vt map update" }, + { "MINUTE", 0, EVENT_FLAG_TIME, "TIME", "minute or given minute" }, + { "MONTH", 0, EVENT_FLAG_TIME, "TIME", "month or given month" }, + { "MOVED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is moved" }, + { "NO SESSION ACTIVE", 0, EVENT_FLAG_INPUT, "INPUT", "input on startup session" }, + { "PACKET PATCH", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "broken packet detected" }, + { "PORT CONNECTION", 0, EVENT_FLAG_PORT, "PORT", "socket connects" }, + { "PORT DISCONNECTION", 0, EVENT_FLAG_PORT, "PORT", "socket disconnects" }, + { "PORT INITIALIZED", 0, EVENT_FLAG_PORT, "PORT", "port is initialized" }, + { "PORT LOG MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "local port log messages" }, + { "PORT MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "local port messages" }, + { "PORT RECEIVED DATA", 0, EVENT_FLAG_PORT, "PORT", "socket bulk data is received" }, + { "PORT RECEIVED MESSAGE", 0, EVENT_FLAG_PORT, "PORT", "socket data is received" }, + { "PORT UNINITIALIZED", 0, EVENT_FLAG_PORT, "PORT", "port is uninitialized" }, + { "PRESSED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse button is pressed" }, + { "PROCESSED KEYPRESS", 0, EVENT_FLAG_INPUT, "INPUT", "after a regular keypress" }, + { "PROCESSED LINE", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "after triggers have fired" }, + { "PROGRAM START", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "main session starts" }, + { "PROGRAM TERMINATION", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "main session exits" }, + { "READ ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the read command fails" }, + { "READ FILE", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the read command finished" }, + { "RECEIVED ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "an error is received" }, + { "RECEIVED INPUT", 0, EVENT_FLAG_INPUT, "INPUT", "keyboard input is received" }, + { "RECEIVED INPUT CHARACTER", 0, EVENT_FLAG_INPUT, "INPUT", "keyboard input character" }, + { "RECEIVED KEYPRESS", 0, EVENT_FLAG_INPUT, "INPUT", "a keypress is received" }, + { "RECEIVED LINE", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "a new line is received" }, + { "RECEIVED OUTPUT", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "bulk output is received" }, + { "RECEIVED PROMPT", 0, EVENT_FLAG_OUTPUT, "OUTPUT", "a prompt is received" }, + { "REFORMAT ", 0, EVENT_FLAG_REFORMAT, "REFORMAT", "system format message" }, + { "RELEASED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse button is released" }, + { "SCAN CSV HEADER", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a csv file" }, + { "SCAN CSV LINE", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a csv file" }, + { "SCAN TSV HEADER", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a tsv file" }, + { "SCAN TSV LINE", 0, EVENT_FLAG_SCAN, "SCAN", "scanning a tsv file" }, + { "SCREEN DESKTOP DIMENSIONS", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN DESKTOP SIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN DIMENSIONS", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN FILL", 0, EVENT_FLAG_SCREEN, "SCREEN", "split bars are filled" }, + { "SCREEN FOCUS", 0, EVENT_FLAG_SCREEN, "SCREEN", "focus changes", }, + { "SCREEN LOCATION", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN MINIMIZED", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN MOUSE LOCATION", 0, EVENT_FLAG_MOUSE, "MOUSE", "called by #screen raise" }, + { "SCREEN REFRESH", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is refreshed" }, + { "SCREEN RESIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is resized" }, + { "SCREEN ROTATE LANDSCAPE", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is rotated" }, + { "SCREEN ROTATE PORTRAIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is rotated" }, + { "SCREEN SIZE", 0, EVENT_FLAG_SCREEN, "SCREEN", "called by #screen raise" }, + { "SCREEN SPLIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is split" }, + { "SCREEN SPLIT FILL", 0, EVENT_FLAG_SCREEN, "SCREEN", "split region is filled" }, + { "SCREEN UNSPLIT", 0, EVENT_FLAG_SCREEN, "SCREEN", "the screen is unsplit" }, + { "SCROLLBAR MOVE", 0, EVENT_FLAG_SCREEN, "SCREEN", "scrollbar movement" }, + { "SCROLLBAR POSITION", 0, EVENT_FLAG_SCREEN, "SCREEN", "scrollbar position" }, + { "SCROLLBAR UPDATE", 0, EVENT_FLAG_UPDATE, "UPDATE", "scrollbar update" }, + { "SCROLLED ", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse wheel is scrolled" }, + { "SECOND", 0, EVENT_FLAG_TIME, "TIME", "second or given second" }, + { "SEND OUTPUT", 0, EVENT_FLAG_INPUT, "INPUT", "before sending output" }, + { "SENT OUTPUT", 0, EVENT_FLAG_INPUT, "INPUT", "after sending output" }, + { "SESSION ACTIVATED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is activated" }, + { "SESSION CONNECTED", 0, EVENT_FLAG_SESSION, "SESSION", "a new session connects" }, + { "SESSION CREATED", 0, EVENT_FLAG_SESSION, "SESSION", "a new session is created" }, + { "SESSION DEACTIVATED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is deactivated" }, + { "SESSION DESTROYED", 0, EVENT_FLAG_SESSION, "SESSION", "a session is destroyed" }, + { "SESSION DISCONNECTED", 0, EVENT_FLAG_SESSION, "SESSION", "a session disconnects" }, + { "SESSION TIMED OUT", 0, EVENT_FLAG_SESSION, "SESSION", "a session doesn't connect" }, + { "SHORT-CLICKED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is short-clicked" }, + { "SIGHUB", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "Terminal has closed" }, + { "SIGUSR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "Raised SIGUSR1 or SIGUSR2" }, + { "SWIPED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse swipe" }, + { "SYSTEM CRASH", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "system crash" }, + { "SYSTEM ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "system errors" }, + { "TIME ", 0, EVENT_FLAG_TIME, "TIME", "the given time" }, + { "TRIPLE-CLICKED", 0, EVENT_FLAG_MOUSE, "MOUSE", "mouse is triple-clicked" }, + { "UNKNOWN COMMAND", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "unknown tintin command" }, + { "VARIABLE UPDATE ", 0, EVENT_FLAG_VARIABLE, "VARIABLE", "before a variable updates" }, + { "VARIABLE UPDATED ", 0, EVENT_FLAG_VARIABLE, "VARIABLE", "after a variable updates" }, + { "VT100 CPR", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ 6 n call" }, + { "VT100 DA", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ c call" }, + { "VT100 DECID", 0, EVENT_FLAG_VT100, "VT100", "an ESC Z call" }, + { "VT100 DSR", 0, EVENT_FLAG_VT100, "VT100", "an ESC [ 5 n call" }, + { "VT100 ENQ", 0, EVENT_FLAG_VT100, "VT100", "an \\x05 call" }, + { "VT100 SCROLL REGION", 0, EVENT_FLAG_VT100, "VT100", "vt100 scroll region change" }, + { "WEEK", 0, EVENT_FLAG_TIME, "TIME", "each week or given week" }, + { "WRITE ERROR", 0, EVENT_FLAG_SYSTEM, "SYSTEM", "the write command fails" }, + { "YEAR", 0, EVENT_FLAG_TIME, "TIME", "each year or given year" }, + { "", 0, 0, "", "" } }; struct path_type path_table[] =