__END__ =head1 NAME Irssi Signal Documentation =head1 DESCRIPTION Perl POD documentation based on the doc/signals.txt documentation supplied with Irssi. =head1 USING SIGNALS See L =begin irssi_signal_types START OF SIGNAL TYPES =over =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =item C C =back END OF SIGNAL TYPES =end irssi_signal_types =head1 SIGNAL DEFINITIONS The following signals are categorised as in the original documentation, but have been revised to note Perl variable types and class names. Arguments are passed to signal handlers in the usual way, via C<@_>. =for irssi_signal_defs START OF SIGNAL DEFINITIONS =head2 Core =over 4 =item C<"gui exit"> =over =item I =back =item C<"gui dialog"> =over =item string C<$type> =item string C<$text> =back =item C<"send command"> =over =item C, =item L C<$server>, =item L C<$window_item> =back This is sent when a command is entered via the GUI, or by scripts via L. =back =head3 F: B =over 4 =item C<"chat protocol created"> =over =item CHAT_PROTOCOL_REC C<$protocol> =back =item C<"chat protocol updated"> =over =item CHAT_PROTOCOL_REC C<$protocol> =back =item C<"chat protocol destroyed"> =over =item CHAT_PROTOCOL_REC C<$protocol> =back =back =head3 F: =over 4 =item C<"channel created"> =over =item L C<$channel> =item int C<$automatic> =back =item C<"channel destroyed"> =over =item L C<$channel> =back =back =head3 F: =over 4 =item C<"chatnet created"> =over =item CHATNET_REC C<$chatnet> =back =item C<"chatnet destroyed"> =over =item CHATNET_REC C<$chatnet> =back =back =head3 F: =over 4 =item C<"commandlist new"> =over =item L C<$cmd> =back =item C<"commandlist remove"> =over =item L C<$cmd> =back =item C<"error command"> =over =item int C<$err> =item string C<$cmd> =back =item C<"send command"> =over =item string C<$args> =item L C<$server> =item L C<$witem> =back =item C<"send text"> =over =item string C<$line> =item L C<$server> =item L C<$witem> =back =item C<"command "> =over =item string C<$args> =item L C<$server> =item L C<$witem> =back B =item C<"default command"> =over =item string C<$args> =item L C<$server> =item L C<$witem> =back =back =head3 F: =over 4 =item C<"ignore created"> =over =item L C<$ignore> =back =item C<"ignore destroyed"> =over =item L C<$ignore> =back =item C<"ignore changed"> =over =item L C<$ignore> =back =back =head3 F: =over 4 =item C<"log new"> =over =item L C<$log> =back =item C<"log remove"> =over =item L C<$log> =back =item C<"log create failed"> =over =item L C<$log> =back =item C<"log locked"> =over =item L C<$log> =back =item C<"log started"> =over =item L C<$log> =back =item C<"log stopped"> =over =item L C<$log> =back =item C<"log rotated"> =over =item L C<$log> =back =item C<"log written"> =over =item L C<$log> =item string C<$line> =back =back =head3 F: B =over 4 =item C<"module loaded"> =over =item MODULE_REC C<$module> =item MODULE_FILE_REC C<$module_file> =back =item C<"module unloaded"> =over =item MODULE_REC C<$module> =item MODULE_FILE_REC C<$module_file> =back =item C<"module error"> =over =item int C<$error> =item string C<$text> =item string C<$root_module> =item string C<$sub_module> =back =back =head3 F: =over 4 =item C<"nicklist new"> =over =item L C<$channel> =item L C<$nick> =back =item C<"nicklist remove"> =over =item L C<$channel> =item L C<$nick> =back =item C<"nicklist changed"> =over =item L C<$channel> =item L C<$nick> =item string C<$old_nick> =back =item C<"nicklist host changed"> =over =item L C<$channel> =item L C<$nick> =back =item C<"nicklist gone changed"> =over =item L C<$channel> =item L C<$nick> =back =item C<"nicklist serverop changed"> =over =item L C<$channel> =item L C<$nick> =back =back =head3 F: =over 4 =item C<"pidwait"> =over =item int C<$pid> =item int C<$status> =back =back =head3 F: =over 4 =item C<"query created"> =over =item L C<$query> =item int C<$automatic> =back =item C<"query destroyed"> =over =item L C<$query> =back =item C<"query nick changed"> =over =item L C<$query> =item string C<$original_nick> =back =item C<"window item name changed"> =over =item L C<$witem> =back =item C<"query address changed"> =over =item L C<$query> =back =item C<"query server changed"> =over =item L C<$query> =item L C<$server> =back =back =head3 F: =over 4 =item C<"rawlog"> =over =item L C<$raw_log> =item string C<$data> =back =back =head3 F: =over 4 =item C<"server looking"> =over =item L C<$server> =back =item C<"server connected"> =over =item L C<$server> =back =item C<"server connecting"> =over =item L C<$server> =item ulongptr C<$ip> =back =item C<"server connect failed"> =over =item L C<$server> =back =item C<"server disconnected"> =over =item L C<$server> =back =item C<"server quit"> =over =item L C<$server> =item string C<$message> =back =item C<"server sendmsg"> =over =item L C<$server> =item string C<$target> =item string C<$message> =item int C<$target_type> =back =back =head3 F: =over 4 =item C<"setup changed"> =over =item I =back =item C<"setup reread"> =over =item string C<$fname> =back =item C<"setup saved"> =over =item string C<$fname> =item int C<$autosaved> =back =back =head2 IRC Core =head3 F: =over 4 =item C<"ban type changed"> =over =item string C<$bantype> =back =back =head3 F, F: B =over 4 =item C<"channel joined"> =over =item L C<$channel> =back =item C<"channel wholist"> =over =item L C<$channel> =back =item C<"channel sync"> =over =item L C<$channel> =back =item C<"channel topic changed"> =over =item L C<$channel> =back =back =head3 ctcp.c: "ctcp msg", SERVER_REC, char *args, char *nick, char *addr, char *target "ctcp msg ", SERVER_REC, char *args, char *nick, char *addr, char *target "default ctcp msg", SERVER_REC, char *args, char *nick, char *addr, char *target "ctcp reply", SERVER_REC, char *args, char *nick, char *addr, char *target "ctcp reply ", SERVER_REC, char *args, char *nick, char *addr, char *target "default ctcp reply", SERVER_REC, char *args, char *nick, char *addr, char *target "ctcp action", SERVER_REC, char *args, char *nick, char *addr, char *target =head3 irc-log.c: "awaylog show", LOG_REC, int away_msgs, int filepos =head3 irc-nicklist.c: "server nick changed", SERVER_REC =head3 irc-servers.c: "event connected", SERVER_REC =head3 irc.c: "server event", SERVER_REC, char *data, char *sender_nick, char *sender_address "event ", SERVER_REC, char *args, char *sender_nick, char *sender_address "default event", SERVER_REC, char *data, char *sender_nick, char *sender_address "whois default event", SERVER_REC, char *args, char *sender_nick, char *sender_address "server incoming", SERVER_REC, char *data (for perl parser..) "redir ", SERVER_REC, char *args, char *sender_nick, char *sender_address =head3 lag.c: "server lag", SERVER_REC "server lag disconnect", SERVER_REC =head3 massjoin.c: "massjoin", CHANNEL_REC, GSList of NICK_RECs =head3 mode-lists.c: "ban new", CHANNEL_REC, BAN_REC "ban remove", CHANNEL_REC, BAN_REC, char *setby =head3 modes.c: "channel mode changed", CHANNEL_REC, char *setby "nick mode changed", CHANNEL_REC, NICK_REC, char *setby, char *mode, char *type "user mode changed", SERVER_REC, char *old "away mode changed", SERVER_REC =head3 netsplit.c: "netsplit server new", SERVER_REC, NETSPLIT_SERVER_REC "netsplit server remove", SERVER_REC, NETSPLIT_SERVER_REC "netsplit new", NETSPLIT_REC "netsplit remove", NETSPLIT_REC =head2 IRC Modules =head3 dcc*.c: "dcc ctcp ", char *args, DCC_REC "default dcc ctcp", char *args, DCC_REC "dcc unknown ctcp", char *args, char *sender, char *sendaddr "dcc reply ", char *args, DCC_REC "default dcc reply", char *args, DCC_REC "dcc unknown reply", char *args, char *sender, char *sendaddr "dcc chat message", DCC_REC, char *msg "dcc created", DCC_REC "dcc destroyed", DCC_REC "dcc connected", DCC_REC "dcc rejecting", DCC_REC "dcc closed", DCC_REC "dcc request", DCC_REC, char *sendaddr "dcc request send", DCC_REC "dcc chat message", DCC_REC, char *msg "dcc transfer update", DCC_REC "dcc get receive", DCC_REC "dcc error connect", DCC_REC "dcc error file create", DCC_REC, char *filename "dcc error file open", char *nick, char *filename, int errno "dcc error get not found", char *nick "dcc error send exists", char *nick, char *filename "dcc error unknown type", char *type "dcc error close not found", char *type, char *nick, char *filename =head3 autoignore.c: "autoignore new", SERVER_REC, AUTOIGNORE_REC "autoignore remove", SERVER_REC, AUTOIGNORE_REC =head3 flood.c: "flood", SERVER_REC, char *nick, char *host, int level, char *target =head3 notifylist.c: "notifylist new", NOTIFYLIST_REC "notifylist remove", NOTIFYLIST_REC "notifylist joined", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg "notifylist away changed", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg "notifylist left", SERVER_REC, char *nick, char *user, char *host, char *realname, char *awaymsg =head3 proxy/listen.c: "proxy client connected", CLIENT_REC "proxy client disconnected", CLIENT_REC "proxy client command", CLIENT_REC, char *args, char *data "proxy client dump", CLIENT_REC, char *data =head2 Display (FE) Common B "gui print text", WINDOW_REC, int fg, int bg, int flags, char *text, TEXT_DEST_REC (Can be used to determine when all "gui print text"s are sent (not required)) "gui print text finished", WINDOW_REC B =head3 completion.c: "complete word", GList * of char*, WINDOW_REC, char *word, char *linestart, int *want_space =head3 fe-common-core.c: "irssi init read settings" =head3 fe-exec.c: "exec new", PROCESS_REC "exec remove", PROCESS_REC, int status "exec input", PROCESS_REC, char *text =head3 fe-messages.c: "message public", SERVER_REC, char *msg, char *nick, char *address, char *target "message private", SERVER_REC, char *msg, char *nick, char *address "message own_public", SERVER_REC, char *msg, char *target "message own_private", SERVER_REC, char *msg, char *target, char *orig_target "message join", SERVER_REC, char *channel, char *nick, char *address "message part", SERVER_REC, char *channel, char *nick, char *address, char *reason "message quit", SERVER_REC, char *nick, char *address, char *reason "message kick", SERVER_REC, char *channel, char *nick, char *kicker, char *address, char *reason "message nick", SERVER_REC, char *newnick, char *oldnick, char *address "message own_nick", SERVER_REC, char *newnick, char *oldnick, char *address "message invite", SERVER_REC, char *channel, char *nick, char *address "message topic", SERVER_REC, char *channel, char *topic, char *nick, char *address =head3 keyboard.c: "keyinfo created", KEYINFO_REC "keyinfo destroyed", KEYINFO_REC =head3 printtext.c: "print text", TEXT_DEST_REC *dest, char *text, char *stripped =head3 themes.c: "theme created", THEME_REC "theme destroyed", THEME_REC =head3 window-activity.c: "window hilight", WINDOW_REC "window dehilight", WINDOW_REC "window activity", WINDOW_REC, int old_level "window item hilight", WI_ITEM_REC "window item activity", WI_ITEM_REC, int old_level =head3 window-items.c: "window item new", WINDOW_REC, WI_ITEM_REC "window item remove", WINDOW_REC, WI_ITEM_REC "window item moved", WINDOW_REC, WI_ITEM_REC, WINDOW_REC "window item changed", WINDOW_REC, WI_ITEM_REC "window item server changed", WINDOW_REC, WI_ITEM_REC =head3 windows.c: "window created", WINDOW_REC "window destroyed", WINDOW_REC "window changed", WINDOW_REC, WINDOW_REC old "window changed automatic", WINDOW_REC "window server changed", WINDOW_REC, SERVER_REC "window refnum changed", WINDOW_REC, int old "window name changed", WINDOW_REC "window history changed", WINDOW_REC, char *oldname "window level changed", WINDOW_REC =head2 Display (FE) IRC =head3 fe-events.c: "default event numeric", SERVER_REC, char *data, char *nick, char *address =head3 fe-irc-messages.c: "message irc op_public", SERVER_REC, char *msg, char *nick, char *address, char *target "message irc own_wall", SERVER_REC, char *msg, char *target "message irc own_action", SERVER_REC, char *msg, char *target "message irc action", SERVER_REC, char *msg, char *nick, char *address, char *target "message irc own_notice", SERVER_REC, char *msg, char *target "message irc notice", SERVER_REC, char *msg, char *nick, char *address, char *target "message irc own_ctcp", SERVER_REC, char *cmd, char *data, char *target "message irc ctcp", SERVER_REC, char *cmd, char *data, char *nick, char *address, char *target =head3 fe-modes.c: "message irc mode", SERVER_REC, char *channel, char *nick, char *addr, char *mode =head3 dcc/fe-dcc-chat-messages.c: "message dcc own", DCC_REC *dcc, char *msg "message dcc own_action", DCC_REC *dcc, char *msg "message dcc own_ctcp", DCC_REC *dcc, char *cmd, char *data "message dcc", DCC_REC *dcc, char *msg "message dcc action", DCC_REC *dcc, char *msg "message dcc ctcp", DCC_REC *dcc, char *cmd, char *data =head2 Display (FE) Text =head3 F: =over 4 =item C<"gui key pressed"> int C<$key> =back =head3 F: =over 4 =item C<"beep"> I =back =head2 Perl Scripting =over 4 =item C<"script error"> PERL_SCRIPT_REC, string C<$errormsg> =back =for irssi_signal_defs END OF SIGNAL DEFINITIONS =head1 SIGNAL AUTO-GENERATION This file is used to auto-generate the signal definitions used by Irssi, and hence must be edited in order to add new signals. =head2 Format