__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 F: =over =item C<"ctcp msg"> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"ctcp msg "> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"default ctcp msg"> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"ctcp reply"> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"ctcp reply "> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"default ctcp reply"> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =item C<"ctcp action"> =over =item L C<$server> =item string C<$args> =item string C<$nick> =item string C<$addr> =item string C<$target> =back =back =head3 F: =over =item C<"awaylog show"> =over =item L C<$log> =item int C<$away_msgs> =item int C<$filepos> =back =back =head3 F: =over =item C<"server nick changed"> =over =item L C<$server> =back =back =head3 F: =over =item C<"event connected"> =over =item L C<$server> =back =back =head3 F: =over =item C<"server event"> =over =item L C<$server> =item string C<$data> =item string C<$sender_nick> =item string C<$sender_addr> =back =item C<"event "> =over =item L C<$server> =item string C<$args> =item string C<$sender_nick> =item string C<$sender_addr> =back =item C<"default event"> =over =item L C<$server> =item string C<$data> =item string C<$sender_nick> =item string C<$sender_addr> =back =item C<"whois default event"> =over =item L C<$server> =item string C<$data> =item string C<$sender_nick> =item string C<$sender_addr> =back =item C<"server incoming"> =over =item L C<$server> =item string C<$data> =back =item C<"redir "> =over =item L C<$server> =item string C<$args> =item string C<$sender_nick> =item string C<$sender_addr> =back =back =head3 F: =over =item C<"server lag"> =over =item L C<$server> =back =item C<"server lag disconnect"> =over =item L C<$server> =back =back =head3 F: =over =item C<"massjoin"> =over =item L C<$channel> =item List of L C<@nicks> B =back =back =head3 F: =over =item C<"ban new"> =over =item L C<$channel> =item L C<$ban> =back =item C<"ban remove"> =over =item L C<$channel> =item L C<$ban> =item string C<$set_by> =back =back =head3 F: =over =item C<"channel mode changed"> =over =item L C<$channel> =item string C<$set_by> =back =item C<"nick mode changed"> =over =item L C<$channel> =item L C<$nick> =item string C<$set_by> =item string C<$mode> =item string C<$type> =back =item C<"user mode changed"> =over =item L C<$server> =item string C<$old_mode> =back =item C<"away mode changed"> =over =item L C<$server> =back =back =head3 F: =over =item C<"netsplit server new"> =over =item L C<$server> =item L C<$netsplit_server> =back =item C<"netsplit server remove"> =over =item L C<$server> =item L C<$netsplit_server> =back =item C<"netsplit new"> =over =item L C<$netsplit> =back =item C<"netsplit remove"> =over =item L C<$netsplit> =back =back =head2 IRC Modules =head3 F: =over =item C<"dcc ctcp "> =over =item string C<$args> =item L C<$dcc> =back =item C<"default dcc ctcp"> =over =item string C<$args> =item L C<$dcc> =back =item C<"dcc unknown ctcp"> =over =item string C<$args> =item string C<$sender> =item string C<$send_addr> =back =item C<"dcc reply "> =over =item string C<$args> =item L C<$dcc> =back =item C<"default dcc reply"> =over =item string C<$args> =item L C<$dcc> =back =item C<"dcc unknown reply"> =over =item string C<$args> =item string C<$sender> =item string C<$send_addr> =back =item C<"dcc chat message"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"dcc created"> =over =item L C<$dcc> =back =item C<"dcc destroyed"> =over =item L C<$dcc> =back =item C<"dcc connected"> =over =item L C<$dcc> =back =item C<"dcc rejecting"> =over =item L C<$dcc> =back =item C<"dcc closed"> =over =item L C<$dcc> =back =item C<"dcc request"> =over =item L C<$dcc> =item string C<$send_addr> =back =item C<"dcc request send"> =over =item L C<$dcc> =back =item C<"dcc chat message"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"dcc transfer update"> =over =item L C<$dcc> =back =item C<"dcc get receive"> =over =item L C<$dcc> =back =item C<"dcc error connect"> =over =item L C<$dcc> =back =item C<"dcc error file create"> =over =item L C<$dcc> =item string C<$filename> =back =item C<"dcc error file open"> =over =item string C<$nick> =item string C<$filename> =item int C<$errno> =back =item C<"dcc error get not found"> =over =item string C<$nick> =back =item C<"dcc error send exists"> =over =item string C<$nick> =item string C<$filename> =back =item C<"dcc error unknown type"> =over =item string C<$type> =back =item C<"dcc error close not found"> =over =item string C<$type> =item string C<$nick> =item string C<$filename> =back =back =head3 F: =over =item C<"autoignore new"> =over =item L C<$server> =item L C<$autoignore> =back =item C<"autoignore remove"> =over =item L C<$server> =item L C<$autoignore> =back =back =head3 F: =over =item C<"flood"> =over =item L C<$server> =item string C<$nick> =item string C<$host> =item int C<$level> =item string C<$target> =back =back =head3 F: =over =item C<"notifylist new"> =over =item L C<$notify_list> =back =item C<"notifylist remove"> =over =item L C<$notify_list> =back =item C<"notifylist joined"> =over =item L C<$server> =item string C<$nick> =item string C<$user> =item string C<$host> =item string C<$real_name> =item string C<$away_message> =back =item C<"notifylist away changed"> =over =item L C<$server> =item string C<$nick> =item string C<$user> =item string C<$host> =item string C<$real_name> =item string C<$away_message> =back =item C<"notifylist left"> =over =item L C<$server> =item string C<$nick> =item string C<$user> =item string C<$host> =item string C<$real_name> =item string C<$away_message> =back =back =head3 F: =over =item C<"proxy client connected"> =over =item L C<$client> =back =item C<"proxy client disconnected"> =over =item L C<$client> =back =item C<"proxy client command"> =over =item L C<$client> =item string C<$args> =item string C<$data> =back =item C<"proxy client dump"> =over =item L C<$client> =item string C<$data> =back =back =head2 Display (FE) Common B =over =item C<"gui print text"> =over =item L C<$window> =item int C<$fg> =item int C<$bg> =item int C<$flags> =item string C<$text> =item L C<$text_dest> =back =back (Can be used to determine when all "gui print text"s are sent (not required)) "gui print text finished", WINDOW_REC B =head3 F: =over =item C<"complete word"> , GList * of char*, WINDOW_REC, char *word, char *linestart, int *want_space =back =head3 F: =over =item C<"irssi init read settings"> =over =item I =back =back =head3 F: =over =item C<"exec new"> =over =item L C<$process> =back =item C<"exec remove"> =over =item L C<$process> =item int C<$status> =back =item C<"exec input"> =over =item L C<$process> =item string C<$text> =back =back =head3 F: =over =item C<"message public"> =over =item L C<$server> =item string C<$msg> =item string C<$nick> =item string C<$address> =item string C<$target> =back =item C<"message private"> =over =item L C<$server> =item string C<$msg> =item string C<$nick> =item string C<$address> =back =item C<"message own_public"> =over =item L C<$server> =item string C<$msg> =item string C<$target> =back =item C<"message own_private"> =over =item L C<$server> =item string C<$msg> =item string C<$target> =item string C<$original_target> =back =item C<"message join"> =over =item L C<$server> =item string C<$channel> =item string C<$nick> =item string C<$address> =back =item C<"message part"> =over =item L C<$server> =item string C<$channel> =item string C<$nick> =item string C<$address> =item string C<$reason> =back =item C<"message quit"> =over =item L C<$server> =item string C<$nick> =item string C<$address> =item string C<$reason> =back =item C<"message kick"> =over =item L C<$server> =item string C<$channel> =item string C<$nick> =item string C<$kicker> =item string C<$address> =item string C<$reason> =back =item C<"message nick"> =over =item L C<$server> =item string C<$new_nick> =item string C<$old_nick> =item string C<$address> =back =item C<"message own_nick"> =over =item L C<$server> =item string C<$new_nick> =item string C<$old_nick> =item string C<$address> =back =item C<"message invite"> =over =item L C<$server> =item string C<$channel> =item string C<$nick> =item string C<$address> =back =item C<"message topic"> =over =item L C<$server> =item string C<$channel> =item string C<$topic> =item string C<$nick> =item string C<$address> =back =back =head3 F: =over =item C<"keyinfo created"> =over =item L C<$key_info> =back =item C<"keyinfo destroyed"> =over =item L C<$key_info> =back =back =head3 F: =over =item C<"print text"> =over =item L C<$text_dest> =item string C<$text> =item string C<$stripped_text> =back =back =head3 F: =over =item C<"theme created"> =over =item L C<$theme> =back =item C<"theme destroyed"> =over =item L C<$theme> =back =back =head3 F: =over =item C<"window hilight"> =over =item L C<$window> =back =item C<"window dehilight"> =over =item L C<$window> =back =item C<"window activity"> =over =item L C<$window> =item int C<$old_level> =back =item C<"window item hilight"> =over =item L C<$window_item> =back =item C<"window item activity"> =over =item L C<$window_item> =item int C<$old_level> =back =back =head3 F: =over =item C<"window item new"> =over =item L C<$window> =item L C<$window_item> =back =item C<"window item remove"> =over =item L C<$window> =item L C<$window_item> =back =item C<"window item moved"> B =over =item L C<$window_from> =item L C<$window_item> =item L C<$window_to> =back =item C<"window item changed"> =over =item L C<$window> =item L C<$window_item> =back =item C<"window item server changed"> =over =item L C<$window> =item L C<$window_item> =back =back =head3 F: =over =item C<"window created"> =over =item L C<$window> =back =item C<"window destroyed"> =over =item L C<$window> =back =item C<"window changed"> =over =item L C<$window> =item L C<$old_window> =back =item C<"window changed automatic"> =over =item L C<$window> =back =item C<"window server changed"> =over =item L C<$window> =item L C<$server> =back =item C<"window refnum changed"> =over =item L C<$window> =item int C<$old_refnum> =back =item C<"window name changed"> =over =item L C<$window> =back =item C<"window history changed"> =over =item L C<$window> =item string C<$old_name> =back =item C<"window level changed"> =over =item L C<$window> =back =back =head2 Display (FE) IRC =head3 F: =over =item C<"default event numeric"> =over =item L C<$server> =item string C<$data> =item string C<$nick> =item string C<$address> =back =back =head3 F: =over =item C<"message irc op_public"> =over =item L =item string C<$msg> =item string C<$nick> =item string C<$address> =item string C<$target> =back =item C<"message irc own_wall"> =over =item L C<$server> =item string C<$msg> =item string C<$target> =back =item C<"message irc own_action"> =over =item L C<$server> =item string C<$msg> =item string C<$target> =back =item C<"message irc action"> =over =item L C<$server> =item string C<$msg> =item string C<$nick> =item string C<$address> =item string C<$target> =back =item C<"message irc own_notice"> =over =item L C<$server> =item string C<$msg> =item string C<$target> =back =item C<"message irc notice"> =over =item L C<$server> =item string C<$msg> =item string C<$nick> =item string C<$address> =item string C<$target> =back =item C<"message irc own_ctcp"> =over =item L C<$server> =item string C<$cmd> =item string C<$data> =item string C<$target> =back =item C<"message irc ctcp"> =over =item L C<$server> =item string C<$cmd> =item string C<$data> =item string C<$nick> =item string C<$address> =item string C<$target> =back =back =head3 F: =over =item C<"message irc mode"> =over =item L C<$server> =item string C<$channel> =item string C<$nick> =item string C<$address> =item string C<$mode> =back =back =head3 F: =over =item C<"message dcc own"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"message dcc own_action"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"message dcc own_ctcp"> =over =item L C<$dcc> =item string C<$cmd> =item string C<$data> =back =item C<"message dcc"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"message dcc action"> =over =item L C<$dcc> =item string C<$msg> =back =item C<"message dcc ctcp"> =over =item L C<$dcc> =item string C<$cmd> =item string C<$data> =back =back =head2 Display (FE) Text =head3 F: =over 4 =item C<"gui key pressed"> =over =item int C<$key> =back =back =head3 F: =over 4 =item C<"beep"> =over =item I =back =back =head2 Perl Scripting =over 4 =item C<"script error"> =over =item L C<$script> =item string C<$error_msg> =back =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