1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Compare commits

...

1254 Commits

Author SHA1 Message Date
Sebastien Helleu e0c6451b91 Version 0.2.4 2007-03-29 17:48:47 +00:00
Sebastien Helleu 29e879326d Added oldtopic.pl script 2007-03-29 12:55:28 +00:00
Sebastien Helleu e995453b9a Fixed typo in french quickstart guide 2007-03-29 12:45:04 +00:00
Sebastien Helleu bad4bd0bef Fixed color bug with IRC messages displayed by plugins (bug #19442) 2007-03-29 12:44:42 +00:00
Sebastien Helleu 0872e77872 Added response.py script 2007-03-28 20:15:30 +00:00
Sebastien Helleu 41b7aa0f93 Fixed czech translations 2007-03-28 07:40:04 +00:00
Sebastien Helleu a4bf839a30 Updated copyright date in english and french docs 2007-03-27 16:19:04 +00:00
Sebastien Helleu 1ff61b1745 Updated german doc 2007-03-27 16:18:33 +00:00
Sebastien Helleu 2d5e1474e3 Updated translations 2007-03-27 16:17:53 +00:00
Sebastien Helleu 57477f9da9 Fixed command parsing: now "/*" is not considered any more as a command (task #6684) 2007-03-27 11:06:50 +00:00
Sebastien Helleu 64bcd25692 Updated russian translations 2007-03-26 21:29:34 +00:00
Sebastien Helleu cd3f62d37e Fixed topic charset, now using channel charset if defined (bug #19386) 2007-03-25 14:13:21 +00:00
Sebastien Helleu 17989f8d71 Renamed log file for DCC chat (now <server>.dcc.<nick>.weechatlog) 2007-03-23 13:40:18 +00:00
Sebastien Helleu b498062fde Fixed crash when closing a pv if a DCC chat is open on same nick (bug #19147) 2007-03-23 13:39:23 +00:00
Sebastien Helleu 2096354ea8 Remove current buffer from hotlist when scrolling down and end of buffer is reached 2007-03-23 13:01:31 +00:00
Sebastien Helleu 1daa5061a9 Fixed bug with channel topic after reconnection (not erased) (bug #19384) 2007-03-22 13:26:50 +00:00
Sebastien Helleu 926932a20f Updated czech translations 2007-03-21 21:23:48 +00:00
Sebastien Helleu 6323e55ab4 Added current buffer in hotlist when scrolling up in buffer (task #6664) 2007-03-21 20:29:13 +00:00
Sebastien Helleu 0b6a91837c Fixed bug with text search and previous/next highlight (sometimes search came back to end of buffer) 2007-03-20 12:23:11 +00:00
Sebastien Helleu c988f0c473 Fixed minor bug in /upgrade command 2007-03-20 12:22:32 +00:00
Sebastien Helleu 7f0e0b5eea Added case-sensitive search in buffer, display marker for each line matching search 2007-03-20 10:18:25 +00:00
Sebastien Helleu 25bfda26e9 Fixed bug with explode_string / free_exploded_string when max_items > 0 2007-03-19 23:31:49 +00:00
Sebastien Helleu a584ef4261 Added weempd.py script 2007-03-17 12:51:25 +00:00
Sebastien Helleu 00935961e8 Updated russian translations 2007-03-17 12:37:16 +00:00
Sebastien Helleu e12a2c985c Updated ChangeLog 2007-03-16 15:28:09 +00:00
Sebastien Helleu 9a81c27e7d Replaced ctrl-S by ctrl-R for interactive and incremental search 2007-03-16 15:27:28 +00:00
Sebastien Helleu 0f0f7511d2 Added new key (ctrl-S) for interactive and incremental search in buffer history (task #6628) 2007-03-16 15:02:47 +00:00
Sebastien Helleu aa149dcfbc Fixed /topic completion when no topic set on current channel (bug #19322) 2007-03-16 11:49:58 +00:00
Sebastien Helleu 4d64128ef2 Improved password hiding, code cleanup (bug #19229) (new commit after savannah crash) 2007-03-16 08:40:10 +00:00
Sebastien Helleu 7d5ea81f93 Added away info on status bar for server buffer when look_one_server_buffer is ON (new commit after savannah crash) 2007-03-15 22:14:49 +00:00
Emmanuel Bouthenot 063744ef7d make arguments for function get_buffer_data() mandatory in plugins/scripts 2007-03-09 15:46:08 +00:00
Sebastien Helleu cfd2f57dd1 New version of amarok.py 2007-03-09 13:34:34 +00:00
Sebastien Helleu 8d60035951 New version of amarok.py 2007-03-07 10:55:09 +00:00
Sebastien Helleu ff2fdc14b7 New version of ctcp.py 2007-03-07 10:54:58 +00:00
Sebastien Helleu 8c6fa998f8 Updated translations 2007-03-07 08:38:40 +00:00
Sebastien Helleu 600fe4deb3 Updated doc 2007-03-06 19:21:32 +00:00
Sebastien Helleu 7b9ef6b56e Added new return code in plugin API to force highlight (for message handlers only) 2007-03-06 16:42:39 +00:00
Sebastien Helleu 00dd81761f Fixed bug with server buffer when "look_one_server_buffer" is ON and server buffer is moved to any number > 1 (bug #19219) 2007-03-06 14:37:43 +00:00
Sebastien Helleu 85db677423 Fixed /help command: displays plugin help for redefined commands (bug #19166) 2007-03-05 13:03:37 +00:00
Sebastien Helleu 70ebdc9808 Updated /help alias with $nick/$channel/$server (bug #19194) 2007-03-05 12:48:50 +00:00
Sebastien Helleu f8e31fa38f Prefix '/' disabled in commands (patch #5769) 2007-03-01 09:34:50 +00:00
Sebastien Helleu 018b440004 Fixed completion of redefined commands removed by plugins (bug #19176) 2007-03-01 09:06:04 +00:00
Sebastien Helleu f1fdc469c4 Fixed memory leaks in perl and python plugins (bug #19163) 2007-03-01 08:25:08 +00:00
Emmanuel Bouthenot 47db86b66a fix some memory leaks in perl plugin/script 2007-02-28 22:59:47 +00:00
Emmanuel Bouthenot 2ca6c6a3f1 fix some memory leaks in python plugin/script 2007-02-28 15:07:24 +00:00
Emmanuel Bouthenot 158d2c9934 bug fix and code cleanup in plugins/scripts 2007-02-27 22:22:56 +00:00
Sebastien Helleu 7758f02992 Updated catapult.py 2007-02-25 14:29:09 +00:00
Sebastien Helleu fef85af5cc Updated rbox.rb script 2007-02-24 23:34:14 +00:00
Sebastien Helleu 3fb1affd95 Added logurlsql.pl and rbox.rb scripts 2007-02-23 16:17:15 +00:00
Sebastien Helleu f5731322da Added awl.py script 2007-02-22 10:50:16 +00:00
Sebastien Helleu 1dc994e5f6 Added scripts last.fm.py and weexaile.py 2007-02-19 19:33:37 +00:00
Emmanuel Bouthenot 429167f032 fix the possibility to load a perl script even if it doesn't call register() function 2007-02-17 18:23:50 +00:00
Sebastien Helleu aba6e1257d Added "call" option to /key command, added new key function "insert" to insert text on command line (task #6468) 2007-02-12 17:39:34 +00:00
Sebastien Helleu 6d01968259 Fixed permissions on "dcc" and "logs" directories (bug #18978) 2007-02-06 21:33:48 +00:00
Sebastien Helleu fddd0416b9 Added event handlers in plugin list commands outputs (/plugin and script commands) 2007-02-05 22:47:12 +00:00
Sebastien Helleu 8e436c58cd Added event handler to plugin API 2007-02-05 22:18:33 +00:00
Sebastien Helleu 4713f94602 Added scots quickstart guide 2007-02-05 15:50:38 +00:00
Sebastien Helleu ef43b3e013 Added numeric argument for /clear command (buffer number) (patch #5372) 2007-02-03 08:49:23 +00:00
Sebastien Helleu 0e113ded09 Fixed typos in doc 2007-02-02 16:57:08 +00:00
Sebastien Helleu cd75488d0d Added mp3blaster.py script 2007-01-22 10:44:46 +00:00
Sebastien Helleu dc80d87b0e Fixed crash when /away command is issued with no server connection (bug #18839) 2007-01-21 11:54:45 +00:00
Sebastien Helleu 0213633fb8 New e-mail for author of xmms.pl 2007-01-19 13:35:16 +00:00
Sebastien Helleu fa833455ae Added amarok.py script 2007-01-19 13:34:09 +00:00
Sebastien Helleu 749fae7a75 Fixed crash when closing a buffer opened on many windows 2007-01-16 23:53:01 +00:00
Sebastien Helleu e99915e427 Fixed freeze with SSL server when disconnecting after connection loss (bug #18735) 2007-01-16 14:54:38 +00:00
Sebastien Helleu 22d0d47d2d Updated FAQ 2007-01-16 14:07:37 +00:00
Sebastien Helleu 0af26a3fb5 Version 0.2.4-cvs 2007-01-10 23:26:04 +00:00
Sebastien Helleu 6dacffe946 Version 0.2.3 2007-01-10 18:12:53 +00:00
Sebastien Helleu 3409d9a7e7 Fixed display bugs with nicklist at top/bottom when look_nicklist_separator is OFF (bug #18737) 2007-01-09 21:15:02 +00:00
Sebastien Helleu c14e090638 Fixed bug in topic display 2007-01-08 16:28:06 +00:00
Sebastien Helleu 1b348cf8ad Fixed again iconv 2007-01-08 16:10:02 +00:00
Sebastien Helleu 66161f5249 Fixed iconv problem, causing truncated words when using iso locale 2007-01-08 15:43:21 +00:00
Sebastien Helleu a1bbfb0129 Fixed topic scroll when topic has multi-bytes chars 2007-01-07 18:38:39 +00:00
Sebastien Helleu 428127cb71 Fixed typo in doc 2007-01-07 15:31:49 +00:00
Sebastien Helleu 029e539aba Fixed display bug in nicklist with cyrillic nick names 2007-01-07 10:06:58 +00:00
Sebastien Helleu 53acc07eb1 Fixed compilation problem with iconv under FreeBSD 2007-01-06 23:57:59 +00:00
Sebastien Helleu bbe2f9093c Fixed bugs with charset: now decodes/encodes nicks and channels in IRC messages (bug #18716) 2007-01-06 22:24:54 +00:00
Sebastien Helleu 09efc5333f Version 0.2.3-cvs 2007-01-06 00:33:42 +00:00
Sebastien Helleu 4ba67bdd0c Version 0.2.2 2007-01-05 23:46:35 +00:00
Sebastien Helleu 632d451f62 Changed copyright date (2006 -> 2007) 2007-01-05 23:41:38 +00:00
Sebastien Helleu 216b68b682 Added missing russian translations 2007-01-05 17:05:53 +00:00
Sebastien Helleu 3e2349481c Fixed bug with status bar (missing refresh) when closing a buffer 2007-01-01 20:48:14 +00:00
Sebastien Helleu 37e4e1f011 Fixed bug with use of first buffer for a channel if not connected to server (now allowed only for a server buffer) 2007-01-01 17:42:12 +00:00
Sebastien Helleu 412ffa632e Fixed refresh bug with private buffer title 2006-12-26 17:29:50 +00:00
Sebastien Helleu e0a50e4d9a Version 0.2 -> 0.3 for script auto_op.py 2006-12-14 16:31:21 +00:00
Sebastien Helleu 00613ece06 Fixed auto_op.py script for quakenet like servers (no ":" after JOIN) 2006-12-14 16:30:07 +00:00
Sebastien Helleu 8c1c01e58e Fixed memory leak in /charset command 2006-12-11 08:32:21 +00:00
Sebastien Helleu 59158c48d3 Fixed bug with nick completion in command args (now uses option look_nick_completion_ignore) 2006-12-08 15:22:44 +00:00
Sebastien Helleu a1bc5ce60f Fixed display bug with color for first line on screen (bug #17719) 2006-12-05 14:27:01 +00:00
Sebastien Helleu 10ab4b0a20 Added anti-flood option (irc_anti_flood) (task #5442) 2006-12-04 09:44:23 +00:00
Sebastien Helleu c774d9eb00 Fixed display bug with charset on DCC and IRC raw buffers 2006-12-04 09:05:14 +00:00
Sebastien Helleu 22f255afbb Fixed bug with "set_config" function in plugins API (bug #18448) 2006-12-04 08:51:10 +00:00
Sebastien Helleu 78accc74a3 Fixed bug in plugin modifier exec when many modifiers are called for a message 2006-12-03 23:26:03 +00:00
Sebastien Helleu fe1e7bdce6 Updated russian translations 2006-12-03 18:35:40 +00:00
Sebastien Helleu 9208800f22 Fixed charset problem with date in log files when using ISO charset 2006-12-03 18:26:27 +00:00
Sebastien Helleu b712ce9ac4 Updated german doc 2006-12-03 12:19:21 +00:00
Sebastien Helleu 015a9d0a22 Added doc formats in ./configure output, fixed problem with make install when pdf are not built 2006-12-02 10:16:20 +00:00
Julien Louis 875d1e5fee Documentation can now be built in pdf format 2006-12-01 22:38:20 +00:00
Julien Louis ac52a1d607 import needed files to build documentation in pdf format 2006-12-01 22:09:03 +00:00
Sebastien Helleu d1d41da7ad Plugins: "add_message_handler" now accepts "*" for all IRC messages 2006-12-01 16:14:08 +00:00
Julien Louis 3ba99d6d71 remove "n°" to workaround a bug in dblatex when generating pdf documentation 2006-12-01 16:02:00 +00:00
Sebastien Helleu 8ffbfe4b2c Fixed charset bug when displaying "Day changed" message 2006-12-01 15:14:46 +00:00
Sebastien Helleu 7ce144e875 Added keys (F9/F10) to scroll topic (task #6030) 2006-11-29 16:08:57 +00:00
Sebastien Helleu 59a0d27668 Added auto completion with channels and filenames 2006-11-29 08:28:26 +00:00
Sebastien Helleu f1dbe04c20 Fixed typos in doc 2006-11-28 20:28:36 +00:00
Sebastien Helleu c7d9ebd5c4 Added filename completion in doc and ChangeLog 2006-11-28 19:23:00 +00:00
Sebastien Helleu e03df08e0a Updated translations 2006-11-27 08:30:51 +00:00
Sebastien Helleu 670c05554c Fixed memleak in keyboard input 2006-11-26 11:42:59 +00:00
Sebastien Helleu 7aabd15b4f Fixed typos in english and german docs 2006-11-20 20:47:03 +00:00
Sebastien Helleu 7d5878e4d6 Fixed refresh bug when changing config options if window is splited 2006-11-19 08:18:59 +00:00
Sebastien Helleu 0ea530127b Removed unused charset options in default config file for servers 2006-11-19 00:02:34 +00:00
Sebastien Helleu f4c01bc785 Added space between chat and nicklist when position is "right" (bug #17852) 2006-11-17 22:03:00 +00:00
Sebastien Helleu 4061f34127 Added option "look_nicklist_separator" (task #5437) 2006-11-17 20:40:23 +00:00
Sebastien Helleu cad95b8f32 Replaced call to strndup() by weechat_charset_strndup() 2006-11-15 14:54:26 +00:00
Emmanuel Bouthenot 71ac31fcdd fix possible stack overflow in filename completion 2006-11-15 13:28:29 +00:00
Sebastien Helleu 7d29001f9d Fixed bug with DCC SEND when filename begins with '~' 2006-11-14 19:54:56 +00:00
Sebastien Helleu 3e4db5f7c1 Updated czech translations 2006-11-12 08:55:41 +00:00
Sebastien Helleu 5a915f6974 Fixed random crash with completion 2006-11-11 00:38:25 +00:00
Sebastien Helleu 6729d8d6f2 Fixed minor bug with /setp when no value is given and that option does not exist 2006-11-10 07:58:11 +00:00
Sebastien Helleu 045ceb961f Fixed bug in charset plugin: now encode/decode channels/nicks in IRC messages (after command) 2006-11-09 22:33:44 +00:00
Sebastien Helleu ef039c99da Fixed typo in fr.po 2006-11-09 13:41:40 +00:00
Sebastien Helleu 48f526b55a Added "irc_send_unknown_commands" option to send unknown commands to IRC server (OFF by default) (task #5947) 2006-11-09 13:34:03 +00:00
Sebastien Helleu 3dcea50073 Remove some unneeded iconv calls (for UTF-8 term) 2006-11-08 15:29:14 +00:00
Sebastien Helleu 855997623d Fixed display bug with new charset and unreadable UTF-8 chars in ISO term 2006-11-08 15:19:29 +00:00
Sebastien Helleu 2aeb867fb8 Fixed bad header name in gui-common.c 2006-11-08 15:15:03 +00:00
Sebastien Helleu d6a85fd553 Fixed bug with /upgrade and buffer's data when switching to new charset plugin (now old messages are parsed for UTF-8 and invalid chars are replaced by '?') 2006-11-08 11:18:30 +00:00
Sebastien Helleu c20ce83d20 Added charset plugin (WeeChat is now full UTF-8 for internal data storage), fixed compilation problems with FreeBSD, fixed status bar display bug 2006-11-08 07:54:33 +00:00
Sebastien Helleu b5a7d8e99e Updated "pyexec.py" script 2006-11-07 23:03:06 +00:00
Sebastien Helleu 101e623b75 Fixed bug with ignore: now any IRC command is allowed 2006-11-04 19:53:39 +00:00
Sebastien Helleu eadfd18117 Added "clonescan.py" script 2006-11-04 14:24:51 +00:00
Sebastien Helleu 844a16a3c5 Added nicklist/status refresh when disconnected from server 2006-11-02 11:49:09 +00:00
Emmanuel Bouthenot b786cdafe6 add missing reference for debian package build 2006-11-01 13:19:17 +00:00
Julien Louis b99273387b Add missing file 2006-10-31 15:50:15 +00:00
Julien Louis 6961bcb05a Sync with current package. 2006-10-31 15:47:55 +00:00
Sebastien Helleu 0eae5234a1 Fixed crash with Ctrl-T (transpose) and one char on line (bug #18153) 2006-10-30 13:27:24 +00:00
Sebastien Helleu 3fb24d37f8 Updated FAQ 2006-10-30 13:15:34 +00:00
Sebastien Helleu b3b516e023 Fixed bug with completion context (some variables were not properly reset) 2006-10-29 22:00:52 +00:00
Emmanuel Bouthenot 07dc0c85df fix minor display bug in aspell plugin 2006-10-29 13:06:48 +00:00
Emmanuel Bouthenot 9d96e3ad33 improve autogen.sh script (fancy output, better gettext usage) 2006-10-29 12:29:01 +00:00
Sebastien Helleu 812ed965e9 Added "pyexec" script 2006-10-29 09:15:50 +00:00
Emmanuel Bouthenot b84f75eba6 adding $weechat_dir/python in the top of sys.path 2006-10-29 01:38:54 +00:00
Emmanuel Bouthenot 7772bcfd33 improve plugins/scripts completion template to use filename completion 2006-10-28 20:24:20 +00:00
Emmanuel Bouthenot 5473b39986 minor improvement in aspell plugin 2006-10-28 19:29:05 +00:00
Emmanuel Bouthenot ac297214e0 remove unused header 2006-10-28 16:22:59 +00:00
Emmanuel Bouthenot 463d4638c1 improve filename completion 2006-10-28 16:16:07 +00:00
Sebastien Helleu 17a52d0020 Removed automatic space after filename when using completion 2006-10-27 22:45:23 +00:00
Emmanuel Bouthenot 4dd93fd6d3 adding filename completion (partially) 2006-10-27 22:08:07 +00:00
Sebastien Helleu ffd4b7c254 Fixed minor display bug when setting colored topic 2006-10-27 19:34:55 +00:00
Sebastien Helleu 1386c9218d Added audacious.pl script 2006-10-27 18:44:58 +00:00
Sebastien Helleu ac3a3d365f Removed bufsave.pl (wrong directory) 2006-10-27 18:42:20 +00:00
Sebastien Helleu 2273e47d81 Added "bufsave" perl script 2006-10-27 18:39:30 +00:00
Sebastien Helleu b789f39702 Improved WeeChat CSS style for website doc 2006-10-27 12:56:06 +00:00
Emmanuel Bouthenot 189d06624e fix memory leaks in python/script plugin 2006-10-26 14:11:45 +00:00
Emmanuel Bouthenot 0ff3acf6e4 add modifiers in scripts/plugins API, cleaning code in script/plugins, improve display for stdout/stderr redirections for python and ruby 2006-10-26 13:30:20 +00:00
Sebastien Helleu e9939cf574 Fixed crash when unloading/reloading scripts using modifiers 2006-10-25 07:38:56 +00:00
Sebastien Helleu 81aff59e4e Fixed bug with modifiers list in "/plugin listfull" command 2006-10-24 19:35:17 +00:00
Sebastien Helleu ff2e38a006 Fixed typo in /plugin command help 2006-10-24 13:10:32 +00:00
Sebastien Helleu 655150875b Updated ChangeLog 2006-10-24 13:08:35 +00:00
Sebastien Helleu dfa9ed31d4 Added "modifier" in plugins API, improved /plugin command 2006-10-24 11:23:31 +00:00
Sebastien Helleu 1e81591803 Added question about windows/buffers in FAQ 2006-10-24 11:21:52 +00:00
Sebastien Helleu a9b3e2efae Fixed typo in french quickstart guide 2006-10-23 11:15:53 +00:00
Sebastien Helleu 2ee57a4af5 Fixed bug on ignore with "mode" IRC command (bug #18058) 2006-10-20 10:11:16 +00:00
Sebastien Helleu a3878a522c Fixed crash when loading ruby script if file does not exist, with Ruby >= 1.9 only (bug #18064) 2006-10-20 09:19:51 +00:00
Emmanuel Bouthenot 06c4cf4144 adding date field 'date' in get_buffer_data() function of plugins/scripts API 2006-10-16 20:19:12 +00:00
Sebastien Helleu 0f07b69688 Fixed typo with lines date when using /upgrade (makes weechat crash) 2006-10-15 21:00:27 +00:00
Sebastien Helleu def08461d4 Added alternate boolean values (true,1,false,0,..) for server options 2006-10-14 08:42:33 +00:00
Sebastien Helleu 8dcb59fd0b Added date in plugin function get_buffer_data() 2006-10-14 08:33:13 +00:00
Sebastien Helleu 9b91c91577 Fixed some portability bugs (patch #5271) 2006-10-12 17:16:14 +00:00
Sebastien Helleu 481e6f8e7f Fixed iconv detection for BSD (patch #5456) 2006-10-12 16:42:35 +00:00
Sebastien Helleu e4ad664010 Fixed typo in configure.in (bash specific test) (patch #5450) 2006-10-12 16:13:30 +00:00
Sebastien Helleu 5a82d5a246 Mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are now sent in one mode command to server (task #5968) 2006-10-12 15:14:08 +00:00
Sebastien Helleu 8c29d36461 Added more values for config boolean values: y/true/t/1 and n/false/f/0 (patch from Stalwart) 2006-10-12 12:30:11 +00:00
Sebastien Helleu 14751f721d Fixed bug with alias when there's no $x and user args after alias command 2006-10-12 07:51:55 +00:00
Emmanuel Bouthenot 5d70f20c27 adding some missing headers in plugins 2006-10-10 18:08:48 +00:00
Emmanuel Bouthenot 71d5c65e28 Adding Lua 5.1 support, display plugins interpreter versions on configure 2006-10-09 17:22:32 +00:00
Sebastien Helleu b49ed70af4 Fixed warning on AMD64 2006-10-09 17:00:35 +00:00
Sebastien Helleu 9753571988 Fixed bug with /alias and arguments (like $1), now text after argument(s) is used (bug #17944) 2006-10-09 14:55:35 +00:00
Julien Louis c12b23382e Improve lua detection and make lua 5.1 the default version 2006-10-09 10:28:53 +00:00
Sebastien Helleu 232e5a27f0 Fixed compilation warnings for AMD64 2006-10-08 10:20:05 +00:00
Sebastien Helleu ebf5b78fce Fixed comparison between a char and negative value (now using 'signed char' to compare), this should fix minor display bug on some arch like PPC 2006-10-08 07:43:09 +00:00
Sebastien Helleu 3bedad8622 Version 0.2.2-cvs 2006-10-01 10:49:09 +00:00
Sebastien Helleu 047d941f46 Version 0.2.1 2006-10-01 08:11:55 +00:00
Sebastien Helleu cf4a22b156 Updated czech translations 2006-10-01 06:27:17 +00:00
Sebastien Helleu 40bfb43e0f Removed warnings with __USE_GNU and __USE_XOPEN 2006-09-30 15:09:29 +00:00
Sebastien Helleu edcc676ecf File automatically updated 2006-09-30 07:02:28 +00:00
Sebastien Helleu 6f1683172f Fixed wrong bug # in ChangeLog: #17852 => #17838 2006-09-30 06:55:20 +00:00
Sebastien Helleu 80a76f65f6 Fixed crash for DCC receiver when resuming a file (bug #17885), fixed DCC error for sender when receiver cancels DCC (bug #17852) 2006-09-30 06:52:52 +00:00
Emmanuel Bouthenot 9f035d8f91 fix a bug (can make crash) when calling a script command with another script command 2006-09-28 21:27:42 +00:00
Julien Louis 33ff438086 Add AC_GNU_SOURCE macro call 2006-09-28 13:34:15 +00:00
Emmanuel Bouthenot 1759b1f004 minor improvements on aspell plugin :
+ spellchecking is now available on commands like /me, /away, /query, ...
 + do not colorize urls : words begining with http(s)://, ftp(s)://, fish://, file://, etc
 + do not colorize words begining with '#' (channels) , '/' (commands), '-' (command option)
2006-09-28 13:30:54 +00:00
Sebastien Helleu 29dd888e6f Removed compilation warning on ascii_strcasecmp 2006-09-24 12:45:38 +00:00
Sebastien Helleu 63416bb801 Fixed random crash with /upgrade command (error when loading buffers) 2006-09-23 09:09:36 +00:00
Sebastien Helleu a33efdd755 Fixed crash with /buffer notify on server buffer when server_notify_levels is empty 2006-09-22 12:08:40 +00:00
Sebastien Helleu 28f7902667 Added keepnick python script 2006-09-20 09:45:07 +00:00
Julien Louis 0493cb89eb Initial import 2006-09-16 20:48:42 +00:00
Sebastien Helleu cb95bfc846 Fixed buffer search by server/channel: now if only channel is specified, a channel of another server can be found 2006-09-16 14:47:15 +00:00
Sebastien Helleu f325b5a71f Fixed highlight for DCC, invite and notice: when a window is displaying buffer, there's no highlight 2006-09-12 10:45:46 +00:00
Sebastien Helleu 6450867535 Command "/away -all" now allowed when not connected to current server 2006-09-08 20:20:05 +00:00
Sebastien Helleu bd4d543d50 New signals handled: SIGTERM and SIGHUP (received when terminal is closed): clean WeeChat quit (send quit to irc servers then quit WeeChat) 2006-09-08 13:51:32 +00:00
Sebastien Helleu 50b371da7e Fixed display of privates in hotlist: now display activity for privates (at least messages) when server default notify is 1 2006-09-08 12:20:49 +00:00
Sebastien Helleu 5479a3d10a Added some new default key bindings for existing keys (for some OS) 2006-09-02 20:47:52 +00:00
Sebastien Helleu 7c51a79460 Command /key now ok with one arg (key name): display key if found 2006-08-30 21:37:13 +00:00
Sebastien Helleu 09b73be53a Translated parts of german doc from english to german 2006-08-29 20:48:11 +00:00
Sebastien Helleu 3eb2b1dc0f Fixed bug with CTCP VERSION sent on channels (bug #17547), added current channel completion for /ctcp command 2006-08-28 12:09:09 +00:00
Sebastien Helleu 11acdddda3 Removed unused variable 2006-08-27 16:26:09 +00:00
Sebastien Helleu ba5349d9cb Fixed completion bug when many commands starts with same letters 2006-08-27 16:24:21 +00:00
Sebastien Helleu ce72bdb9f0 Fixed completion with alias calling user arguments ($1..$9) 2006-08-26 23:00:09 +00:00
Sebastien Helleu cb334b6de3 Fixed typo in doc for example of get_buffer_data (lua) 2006-08-26 21:47:52 +00:00
Emmanuel Bouthenot 9905ee774b fix bugs in get_buffer_data() which breaks the retrieval of buffer content (perl, lua) 2006-08-26 21:18:10 +00:00
Sebastien Helleu 56ebcb53eb Fixed typos in doc for scripts examples (get_buffer_info and get_buffer_data) 2006-08-26 18:32:09 +00:00
Sebastien Helleu 85cd863819 Fixed nicklist display bug when top/bottom (not enough lines) (bug #17537) 2006-08-26 15:45:37 +00:00
Sebastien Helleu 46205116c2 Fixed bug with auto-rejoin of keyed chans (bug #17534) 2006-08-26 15:11:56 +00:00
Sebastien Helleu 311ac060ce Added default nick completion when line starts with '//' (bug #17535) 2006-08-26 13:26:29 +00:00
Sebastien Helleu bb021e567a Values yes/no accepted (as on/off) for config boolean values (task #5454) 2006-08-26 08:38:04 +00:00
Sebastien Helleu 00fbd7ad56 Added server default notify level (task #5634), fixed crashs with /buffer and /charset commands when not connected to any server (bug #17525) 2006-08-25 16:30:10 +00:00
Sebastien Helleu 77e3fb3c83 Added arguments $1,$2,..,$9 and $* for alias (task #5831), added special vars $nick/$channel/$server for server_command, alias and plugin command handlers 2006-08-22 10:04:17 +00:00
Sebastien Helleu 1f801ff079 Added hotlist in session file when using /upgrade command (task #5449) 2006-08-20 22:28:31 +00:00
Sebastien Helleu 0d2afafbd0 Fixed typo in russian translation 2006-08-20 16:55:00 +00:00
Sebastien Helleu 74ee068457 Updated russian translations 2006-08-20 16:43:22 +00:00
Sebastien Helleu 8f623f6747 Added debian/weechat.xpm in EXTRA_DIST files 2006-08-20 15:56:53 +00:00
Sebastien Helleu ef1c7734bf Fixed typo in czech translation 2006-08-19 23:02:40 +00:00
Sebastien Helleu f4ccd51f74 Updated czech translations 2006-08-19 22:29:19 +00:00
Sebastien Helleu 2ad953097f Added missing aspell plugin in ChangeLog for v0.2.0 2006-08-19 22:24:57 +00:00
Sebastien Helleu f680066f16 Fixed nick refresh problem with unrealircd specific modes: chan owner (~) and chan admin (&) (bug #17340) 2006-08-19 17:05:43 +00:00
Sebastien Helleu 857a1b9139 Version 0.2.1-cvs 2006-08-19 13:02:55 +00:00
Sebastien Helleu 72d15555ac Version 0.2.0 2006-08-19 11:58:58 +00:00
Sebastien Helleu 904ed30e82 Added missing API plugin functions in doc: mkdir_home, get_irc_color, input_color, get_window_info, free_window_info, get_buffer_info, free_buffer_info, get_buffer_data, free_buffer_data. Removed /panel command for release. 2006-08-19 11:09:38 +00:00
Sebastien Helleu f782970158 Removed /panel command for release (command under development) 2006-08-19 00:49:22 +00:00
Sebastien Helleu ffd9a850c2 Fixed typos 2006-08-19 00:46:13 +00:00
Sebastien Helleu 3e53c517d0 Updated russian translations 2006-08-18 22:39:43 +00:00
Julien Louis 9d59722879 Sync debian packaging 2006-08-17 23:57:44 +00:00
Sebastien Helleu 6db6b35e40 Added 'C'lear option on IRC raw buffer 2006-08-17 23:24:40 +00:00
Sebastien Helleu aacbf82675 IRC raw buffer now uses join/part prefix with color to display messages 2006-08-17 23:13:32 +00:00
Sebastien Helleu e64138b70a Fixed bug with display of message 329 (channel creation date), now displayed after a /cycle 2006-08-17 23:08:41 +00:00
Sebastien Helleu 440214d098 Added send of "quit" message to server when using /disconnect 2006-08-17 16:12:52 +00:00
Sebastien Helleu 17fdaf83d3 Fixed bug with display of message 329 (channel creation date), now displayed only when joining a new channel 2006-08-17 13:59:27 +00:00
Sebastien Helleu 487d776b87 Added IRC command 329 (channel creation date) 2006-08-17 13:23:31 +00:00
Sebastien Helleu 9f88f68e3b Added missing IRC commands: 310, 326 2006-08-17 12:00:49 +00:00
Sebastien Helleu 5a0461ac69 Fixed "wallops" command when received, now displayed by WeeChat (bug #17441) 2006-08-17 09:47:44 +00:00
Sebastien Helleu 48deeb9e77 Updated hungarian translations 2006-08-16 20:18:40 +00:00
Sebastien Helleu f6fb874c88 Fixed /wallops command (now many words are correctly sent) 2006-08-10 14:14:19 +00:00
Sebastien Helleu 8c2876a77c Fixed command 348 (channel exception list, received by /mode #chan e) 2006-08-10 13:58:10 +00:00
Sebastien Helleu 3060525426 Fixed crash when purging DCC when a closed DCC chat has no more buffer 2006-08-09 22:07:34 +00:00
Sebastien Helleu 5a4515b759 Added DCC fast in doc 2006-08-09 22:06:53 +00:00
Sebastien Helleu 8babdca0dc Added release note about /upgrade and modes when upgrading to version 0.2.0 2006-08-09 11:21:34 +00:00
Sebastien Helleu 1d211a16da Added missing modes (channel & user), now all modes are allowed (bug #16606), added "%m" for completion with self nick (on current server) 2006-08-07 22:26:55 +00:00
Sebastien Helleu f8c913a77a Added missing translations 2006-08-05 22:00:26 +00:00
Sebastien Helleu 5c56f9ff33 Added missing translations 2006-08-05 20:20:13 +00:00
Sebastien Helleu 8361053576 Fixed typo 2006-08-05 20:10:10 +00:00
Sebastien Helleu 70d6af7a0e Added missing IRC command 338 2006-08-05 20:05:53 +00:00
Sebastien Helleu fb607cb4ab Fixed DCC restore after /upgrade (now order is saved) 2006-08-05 19:33:48 +00:00
Sebastien Helleu b2183ee3ed Fixed away after server disconnection (now away is set again when reconnecting) (bug #16359) 2006-08-05 18:44:55 +00:00
Emmanuel Bouthenot 22b80dec65 adding functions : get_buffer_info, get_window_info, get_buffer_data and print_server in scripts API 2006-08-05 14:23:38 +00:00
Sebastien Helleu 8ee907af02 Fixed DCC file connection problem (connection from receiver to sender) 2006-08-05 11:20:58 +00:00
Sebastien Helleu a5cd14add5 Improved DCC speed (up to x5 on LAN) by forking for DCC files and a new option "dcc_fast_send" (does not wait for ACK) (task #5758) 2006-08-03 19:50:52 +00:00
Sebastien Helleu 34ee7e4076 Fixed compilation problems under Irix 2006-07-30 23:25:12 +00:00
Sebastien Helleu b11f2b2c4b Fixed crash when purging DCC with high number of DCC (> window size) 2006-07-30 20:41:49 +00:00
Sebastien Helleu aff43aa355 Added question about $TERM value 2006-07-29 20:10:51 +00:00
Sebastien Helleu d861cb0fd3 Use of constants for min/max DCC blocksize 2006-07-27 21:05:15 +00:00
Sebastien Helleu c92ad8b195 Updated options/commands for doc 2006-07-27 16:11:42 +00:00
Sebastien Helleu 06cc936937 Fixed completion for command handlers (now empty completion_template means nick completion, "-" string means no completion at all) 2006-07-27 16:04:46 +00:00
Sebastien Helleu 451f623c98 Fixed nick alignment problem when look_nickmode is off 2006-07-27 11:11:22 +00:00
Sebastien Helleu 8df7ac464b Added generic function for incoming numeric IRC commands (bug #16611) 2006-07-25 18:06:39 +00:00
Sebastien Helleu 2f6a4140d6 Fixed crash when doing "/part something" on a server buffer (bug #17201) 2006-07-25 15:26:41 +00:00
Sebastien Helleu 9909adc0a4 Removed useless call to doupdate() 2006-07-23 21:30:37 +00:00
Sebastien Helleu 3eced7694b Splited weechat.c into weechat.c and util.c 2006-07-23 11:19:09 +00:00
Sebastien Helleu b7fc6747f6 Charsets are now checked when set by /charset command 2006-07-22 19:46:09 +00:00
Sebastien Helleu ff82fdffb7 Updated translations 2006-07-19 20:46:09 +00:00
Sebastien Helleu 480e40d6f8 Fixed typo 2006-07-19 13:27:48 +00:00
Sebastien Helleu 5699898d5b Added "look_save_on_exit" option (patch from Emanuele Giaquinta) 2006-07-18 16:55:19 +00:00
Sebastien Helleu a0e5c4567b Fixed crash on DCC buffer under Darwin 8 (bug #17115) 2006-07-16 16:44:58 +00:00
Sebastien Helleu 4c4f5ab012 added some panel functions, fixed refresh bugs when terminal is resized: too many refreshs, display bug with splited windows 2006-07-16 11:04:10 +00:00
Sebastien Helleu c308b2ec1f Fixed typo 2006-07-15 17:29:29 +00:00
Sebastien Helleu cc47e94422 Replaced weechat-html(-one).xsl by .xsl.in in EXTRA_DIST 2006-07-10 13:29:42 +00:00
Sebastien Helleu 70331a15b5 Added "-delete" argument for /topic completion 2006-07-09 21:35:13 +00:00
Sebastien Helleu 6cf207f23a Renamed weechat-html-one.xsl to weechat-html-one.xsl.in 2006-07-07 10:31:50 +00:00
Sebastien Helleu 7fae7c504a Renamed weechat-html.xsl to weechat-html.xsl.in 2006-07-07 10:31:31 +00:00
Sebastien Helleu 7f68da2c74 Added configure option for doc XSL prefix (bug #16991) 2006-07-07 10:29:01 +00:00
Sebastien Helleu ee68e1c944 Fixed typo in help for script plugin commands (/perl, /python, /ruby, /lua) 2006-07-04 07:45:39 +00:00
Sebastien Helleu ede2bf1374 Fixed typos 2006-07-01 11:59:06 +00:00
Sebastien Helleu 9563cf2b9d Fixed bug with spaces in script names (bug #16957) 2006-06-30 13:02:25 +00:00
Sebastien Helleu 2068aa5322 Replaced call to plugin_find_server_channel() by gui_buffer_search() in weechat_plugin_get_buffer_data() 2006-06-29 13:37:44 +00:00
Julien Louis 0221e4ab15 Sync with official debian package 2006-06-29 09:55:23 +00:00
Sebastien Helleu f50ed1f267 Updated translations 2006-06-28 21:51:21 +00:00
Julien Louis f46984357d Fix evaluation of ${datadir} with new (CVS) autoconf 2006-06-28 21:50:28 +00:00
Sebastien Helleu b38908ff67 Fixed random crash when "MODE #chan -l" is received 2006-06-28 21:19:02 +00:00
Sebastien Helleu eccf1ad92d File automatically updated 2006-06-28 21:18:34 +00:00
Sebastien Helleu f0541c5f12 Fixed bug in IRC parser (random crash with malformed IRC messages) 2006-06-28 17:53:01 +00:00
Sebastien Helleu 37edc90d7f Fixed refresh bug (too many refresh) when terminal is resized 2006-06-26 21:21:43 +00:00
Sebastien Helleu 055a2c6a64 Fixed crash with crash dump (nice isn't it?) 2006-06-26 18:42:16 +00:00
Sebastien Helleu c5f1a1af6c Case ignored for channel names in charset options (bug #16858) 2006-06-26 09:58:55 +00:00
Sebastien Helleu e5ba6dcb85 Fixed crash when setting look_one_server_buffer to ON (bug #16932) 2006-06-24 08:41:01 +00:00
Sebastien Helleu 636a6ca088 Added new functions in plugin/script API: get window info, get buffer info, get buffer content 2006-06-22 16:23:47 +00:00
Emmanuel Bouthenot 9680e67a9a do not check words made of punctuation and digits and fix a bug while saving aspell plugin configuration 2006-06-20 18:00:47 +00:00
Sebastien Helleu 2a22ebbf06 Added Makefile.am for czech quickstart guide 2006-06-20 13:36:29 +00:00
Sebastien Helleu f4f63412f8 Added czech quickstart guide 2006-06-20 08:28:21 +00:00
Sebastien Helleu cd47f4246e Fixed FIFO samples in scripts 2006-06-17 07:03:12 +00:00
Emmanuel Bouthenot 7e3db3dfa4 improve aspell checking, do not check nicks in chans, take care of punctuation in words 2006-06-16 16:06:25 +00:00
Sebastien Helleu dc7595c78e Fixed display bug with special char (bug #16732) 2006-06-16 13:20:11 +00:00
Emmanuel Bouthenot daa802a6a2 improvements in python scripts context management 2006-06-16 11:39:00 +00:00
Emmanuel Bouthenot 3e17a27c01 improve python sub-interpreters management 2006-06-15 22:24:12 +00:00
Sebastien Helleu 87d3725823 Added color encoding for some commands like /me 2006-06-15 13:06:36 +00:00
Emmanuel Bouthenot a38b9ecf79 add iconv/libiconv detection 2006-06-15 09:04:12 +00:00
Sebastien Helleu d8b775d2c4 Renamed plugins names (removed "lib" prefix in name) 2006-06-14 16:23:53 +00:00
Sebastien Helleu f6ff17ebb0 Added completion info for buffers in crash/debug dump 2006-06-14 15:43:33 +00:00
Emmanuel Bouthenot 98338e2e20 clean code, rename global vars and function to avoid possibles crashs 2006-06-13 21:05:41 +00:00
Emmanuel Bouthenot de3d072220 improve global vars uses in plugins 2006-06-13 19:48:32 +00:00
Emmanuel Bouthenot 130d9012f8 add some improvements 2006-06-11 12:48:05 +00:00
Emmanuel Bouthenot c7cab37e16 add missing source header weechat-aspell.h 2006-06-11 12:19:39 +00:00
Emmanuel Bouthenot 99e3f219af make aspell plugin compile with gcc-2.95 2006-06-11 11:20:18 +00:00
Emmanuel Bouthenot 935d8e9304 adding aspell plugin 2006-06-11 02:28:23 +00:00
Emmanuel Bouthenot b48fb5c0ec add get_irc_color function in plugins/scripts 2006-06-10 21:34:16 +00:00
Sebastien Helleu 08aa5570d8 Added error message when home is not a directory (bug #16772) 2006-06-10 19:29:23 +00:00
Sebastien Helleu 62059cb614 Added plugin API function to get IRC color number by name 2006-06-10 18:59:43 +00:00
Sebastien Helleu 4e434e4fb3 Added IRC colors list in plugin header, fixed get_info for channel info (now ok with pv/dcc chat) 2006-06-10 18:07:57 +00:00
Sebastien Helleu 3b2e2ad006 Fixed crash when closing DCC/raw buffer if 2 are open (bug #16808) 2006-06-10 17:35:11 +00:00
Sebastien Helleu cb329a3f33 Fixed crashes with DCC chat remove/purge on DCC view (bug #16775) 2006-06-10 16:42:22 +00:00
Sebastien Helleu 59795445c5 Fixed typos 2006-06-09 22:22:02 +00:00
Sebastien Helleu c1e68a4d24 Modified makefiles for Polish quickstart guide 2006-06-09 05:35:08 +00:00
Julien Louis 9f9c2c7147 Add quickstart Polish translation 2006-06-08 22:13:22 +00:00
Sebastien Helleu 507ae028c5 Fixed problem with bnc (now connected to server when receiving 001, not 004) (bug #16760) 2006-06-07 16:24:17 +00:00
Sebastien Helleu 5235fd119c Added Makefile.am for russian quickstart guide 2006-06-05 22:24:57 +00:00
Sebastien Helleu 0fbcc93e6c Renamed quickstart_guide_ru.txt to weechat_quickstart.ru.txt 2006-06-05 22:06:26 +00:00
Sebastien Helleu 78b4477644 Renamed quickstart_guide_ru.txt to weechat_quickstart.ru.txt 2006-06-05 21:23:38 +00:00
Emmanuel Bouthenot e5eedac4c3 fix a crash in plugin function get_config with config string values stored as int 2006-06-04 12:57:02 +00:00
Julien Louis 439cc20c3d Add russian translation of quickstart_guide 2006-06-03 21:31:06 +00:00
Sebastien Helleu 6460e337f2 Fixed typo 2006-06-01 17:48:56 +00:00
Sebastien Helleu 4af2f3a02d Revert back for plugin loaded, use of GLOBAL instead of LOCAL (problems with Perl DynaLoader) 2006-06-01 14:16:23 +00:00
Sebastien Helleu 7509710c33 Added quickstart guide to .spec for RPM build 2006-06-01 09:09:58 +00:00
Sebastien Helleu 39cc46b609 Added german quickstart guide 2006-05-31 22:10:13 +00:00
Sebastien Helleu 0c7f9f274d Fixed make clean in doc which was deleting weechat quickstart guide 2006-05-31 20:54:17 +00:00
Sebastien Helleu 16c7e4b61c Fixed plugins symbol problem (removed global flag when loading library) 2006-05-31 20:44:04 +00:00
Sebastien Helleu 1ac38c3458 Added quickstart guide 2006-05-31 09:37:11 +00:00
Sebastien Helleu ad624059ad Command /save now writes plugins options (~/.weechat/plugins.rc) 2006-05-29 23:03:53 +00:00
Sebastien Helleu 6599c52352 Fixed /perl command output when no keyboard handler is defined 2006-05-29 22:42:07 +00:00
Sebastien Helleu fe90f3d4e4 Fixed crash with "register" function in plugin scripts (bug #16701) 2006-05-29 22:36:29 +00:00
Sebastien Helleu 8b0ca6ac41 Fixed typo 2006-05-28 18:18:08 +00:00
Sebastien Helleu 7f0a3f795b Fixed random crash at exit (/quit or /upgrade) with splited windows 2006-05-25 19:12:31 +00:00
Sebastien Helleu 02c0b9fab3 Fixed typo 2006-05-25 18:11:46 +00:00
Sebastien Helleu 37b5e25f7f Fixed typos in handler samples 2006-05-25 16:41:10 +00:00
Sebastien Helleu 2e7e88f7fa Replaced tail by sed 2006-05-25 16:39:41 +00:00
Sebastien Helleu 5816e4526e Version 0.2.0-cvs 2006-05-25 00:12:33 +00:00
Sebastien Helleu d13e2328b1 Version 0.1.9 2006-05-24 22:57:33 +00:00
Sebastien Helleu 1838637f24 Fixed /squery command (message sent to server, now ok with # args > 2) 2006-05-24 21:39:39 +00:00
Sebastien Helleu 6beb0f1cb0 Fixed typo when weechat log file is locked 2006-05-22 14:35:23 +00:00
Sebastien Helleu b0260b6494 Fixed typos 2006-05-22 07:31:51 +00:00
Sebastien Helleu fe2bb8516b Fixed /alias command (now ok with an alias name: display content) 2006-05-21 15:10:36 +00:00
Sebastien Helleu 9eb6643f63 Replaced "window close" by "window merge" for default alias "wc" 2006-05-21 15:04:44 +00:00
Sebastien Helleu d2f855b7ee Changed default alias "wc" (now /window close instead of /part) 2006-05-21 14:59:34 +00:00
Sebastien Helleu 586e89b191 Fixed bug with keyboard on GNU/Hurd: use only one select(), waiting for better solution 2006-05-21 14:15:24 +00:00
Emmanuel Bouthenot f6bb78a3b2 make possible to disable flock support 2006-05-21 12:57:24 +00:00
Sebastien Helleu 1c9456f2a7 Added include of time.h 2006-05-21 10:41:15 +00:00
Emmanuel Bouthenot 545fa4c332 Fix some compile erros on OpenBSD and NetBSD 2006-05-20 18:48:13 +00:00
Sebastien Helleu ec9da8cc85 Improved lua plugin detection (bug #16574) 2006-05-20 14:43:49 +00:00
Sebastien Helleu 2322eb0625 Automatically rename log file when crashing, added backtrace to log file 2006-05-20 13:42:08 +00:00
Sebastien Helleu 0eea93bba3 Moved content of src/common/log.c to src/gui/gui-log.c, log.c is now used for WeeChat log file 2006-05-20 09:45:02 +00:00
Sebastien Helleu 1bc71392c4 Use of "which" to find path to executables with addr2line (for backtrace) 2006-05-20 09:43:30 +00:00
Emmanuel Bouthenot 94a5c72590 improve lua checking (libs) in configure 2006-05-19 23:04:06 +00:00
Sebastien Helleu 15f75d157c Added backtrace when WeeChat crashes 2006-05-19 22:49:24 +00:00
Julien Louis 7e802070ca Remove uneeded weechat-curses.links 2006-05-19 19:41:21 +00:00
Emmanuel Bouthenot c2dd7e4ffb check return value in weechat_ruby_exec() to be a valid value and fix crash when called function return nothing 2006-05-17 12:41:58 +00:00
Emmanuel Bouthenot 524fbba036 fix bug in end function calls for plugins/scripts 2006-05-17 09:59:19 +00:00
Emmanuel Bouthenot 87aa03b2cf fix number of args in end function call 2006-05-17 08:58:56 +00:00
Sebastien Helleu a47e4a9567 Updated translations 2006-05-16 13:57:02 +00:00
Sebastien Helleu 88fd88373d Added lock for log file (~/.weechat/weechat.log), only one WeeChat process can use this file (bug #16382) 2006-05-16 13:53:34 +00:00
Sebastien Helleu ed5f70aa6a Updated spanish translations 2006-05-16 08:53:33 +00:00
Sebastien Helleu 8659d94965 Updated translations 2006-05-15 20:24:06 +00:00
Sebastien Helleu 949c4f72e0 Added missing status bar refresh when connecting to server 2006-05-15 17:27:10 +00:00
Sebastien Helleu a4650a7f92 Fixed typos 2006-05-14 20:10:22 +00:00
Sebastien Helleu 127edfb0fe Fixed crash with ncurses color when too many colors defined in ncurses (bug #16556) 2006-05-14 12:42:46 +00:00
Sebastien Helleu 631eab3c66 Fixed 2 crashs: with malformed UTF-8 strings and with ncurses color when too many colors defined in ncurses 2006-05-14 11:06:16 +00:00
Sebastien Helleu 1418897108 Fixed typo 2006-05-14 09:25:55 +00:00
Sebastien Helleu f4ab9dcc33 Updated translations 2006-05-14 09:24:57 +00:00
Sebastien Helleu d88ad92c72 Added missing IRC commands (006, 007, 310, 379) 2006-05-14 08:45:55 +00:00
Sebastien Helleu 01aa8472c0 Added charset encoding for some command arguments (like /me, /msg, /query, ..) 2006-05-13 21:04:27 +00:00
Sebastien Helleu c1ce18e2f6 Updated doc 2006-05-13 17:57:50 +00:00
Sebastien Helleu bdaaa6182f Fixed typos in doc 2006-05-13 17:56:06 +00:00
Julien Louis c7a8d68f70 Sync debian packaging stuff with official packages 2006-05-13 08:45:19 +00:00
Sebastien Helleu 78ca78855e Added new key to find previous completion (shift-tab by default) 2006-05-13 00:06:18 +00:00
Sebastien Helleu 293bf5988b Removed unused prefix 2006-05-13 00:04:45 +00:00
Sebastien Helleu 65b4c157d1 Fixed savannah bugs URL 2006-05-12 15:56:09 +00:00
Sebastien Helleu e36b53bf74 Fixed "hostname" option for servers (now really used to set hostname/IP for choosing local interface (ipv4 or ipv6)) 2006-05-12 14:24:23 +00:00
Sebastien Helleu 59cddf7a40 Updated translations 2006-05-10 14:18:36 +00:00
Sebastien Helleu dce5e4fa18 Fixed bug with long outgoing IRC messages (> 512 bytes) (bug #16358) 2006-05-08 22:45:01 +00:00
Emmanuel Bouthenot 5d08d5e27c - fix a crash in ruby when a function return nothing (close bug #16552)
- add a warning when a function return nothing (python, ruby)
2006-05-08 20:22:42 +00:00
Sebastien Helleu 93e69f5b3e Fixed UTF-8 display bug with chars using more than one cell on screen (bug #16356) 2006-05-08 13:26:08 +00:00
Sebastien Helleu beb846884c Added date in doc 2006-05-08 00:44:07 +00:00
Sebastien Helleu 343e7fe59d Added contributors 2006-05-07 23:31:11 +00:00
Sebastien Helleu 057cffe9f0 Fixed display bug with DCC file size when > 1 Gb 2006-05-07 16:21:42 +00:00
Sebastien Helleu 86c2fb3031 Added russian translator name in doc 2006-05-07 14:01:19 +00:00
Sebastien Helleu b7ba64c744 Added some panel structures and functions 2006-05-07 11:40:19 +00:00
Sebastien Helleu 7d944ceca4 Fixed typo in setup option help 2006-05-07 11:35:35 +00:00
Sebastien Helleu 6172338bb7 Fixed refresh bug (deadlock in curses) when terminal is resized (bug #16542) 2006-05-07 11:31:11 +00:00
Emmanuel Bouthenot 27f45cdc6a update email and jabber address 2006-05-05 18:08:44 +00:00
Sebastien Helleu 9761177a2c Fixed nicklist sort bug 2006-05-05 12:59:16 +00:00
Sebastien Helleu 3352658af4 Added russian translations 2006-04-30 14:42:09 +00:00
Sebastien Helleu b314ee0f43 Added german doc 2006-04-30 12:35:58 +00:00
Sebastien Helleu 758f7f0103 Added colors in doc CSS 2006-04-25 17:09:18 +00:00
Sebastien Helleu b33e8c6482 Added IRC commands 290, 292, 437, 974 2006-04-23 16:01:01 +00:00
Sebastien Helleu 23f3622f2c Fixed bug #16369: fixed crash when multiple pv have same name: now it's forbidden and pv buffer is not renamed (when a nick changes) if another exists with same name 2006-04-23 09:22:53 +00:00
Sebastien Helleu 6021ee85cb Fixed bug #16416 (crash when purging old DCC chats) 2006-04-23 08:19:06 +00:00
Sebastien Helleu bcee678a56 Nick modes are now saved with /upgrade 2006-04-22 21:33:49 +00:00
Sebastien Helleu 40ffeb9e0c Splited GUI sources 2006-04-22 21:18:02 +00:00
Sebastien Helleu fb0e3a4e95 Splited gui-display.c into many sources 2006-04-22 21:09:59 +00:00
Sebastien Helleu daf2087164 Command /clear [-all] now clears hotlist 2006-04-21 13:02:50 +00:00
Sebastien Helleu a17a5337dc Removed known bugs, added URL to Savannah bugs page 2006-04-19 13:01:56 +00:00
Sebastien Helleu a56d65a7c0 Fixed crash after /upgrade if a line in history is empty 2006-04-19 12:35:30 +00:00
Sebastien Helleu 5af8e4f6e7 Fixed bug in logs with nick for names lines (nicks on channel when joining new channel) 2006-04-18 13:30:29 +00:00
Sebastien Helleu a065de071c Fixed typo in /window command help 2006-04-16 12:18:53 +00:00
Sebastien Helleu 22d8c1017b Fixed typo in /window command help 2006-04-16 11:56:34 +00:00
Sebastien Helleu 9481ec0c9c Changed default nick prefix/suffix 2006-04-16 10:27:48 +00:00
Sebastien Helleu f80489f469 Added option "look_align_size_max", nick alignment to right is now set by default with size 14 (max 20) 2006-04-16 09:46:23 +00:00
Sebastien Helleu 2fd53dcc37 Fixed many crashes with DCC chat 2006-04-15 16:47:43 +00:00
Sebastien Helleu b34bb801dc Added german translation 2006-04-14 07:21:47 +00:00
Sebastien Helleu 14fdcc5157 Fixed typos 2006-04-13 21:57:12 +00:00
Sebastien Helleu 0b523df418 Fixed typos in doc 2006-04-13 16:13:57 +00:00
Sebastien Helleu b81b747b96 Added more help for input prompt format 2006-04-13 12:04:14 +00:00
Sebastien Helleu 0da4487a11 Added --auto option, to remove wait for Return key (useful for automatic CVS build scripts) 2006-04-12 16:32:24 +00:00
Emmanuel Bouthenot f2258884d9 fix minor bug with ruby 1.9 and stdout/stderr redirections 2006-04-12 15:29:28 +00:00
Sebastien Helleu 1bee0ba0b2 Added new option to customize input prompt, added nick modes, fixed commands 332, 333 (/topic now ok when channel is not opened) 2006-04-12 13:34:33 +00:00
Sebastien Helleu 69730a21dd Removed charset conversion for commands (only allowed in text sent to channel/private) 2006-04-11 09:55:40 +00:00
Sebastien Helleu d6459aa638 Removed color encoding in commands (only allowed in text sent to channel/private) 2006-04-10 15:53:14 +00:00
Sebastien Helleu 58a1fc72db Added nick host in doc (for get_nick_info API function) 2006-04-09 08:51:21 +00:00
Emmanuel Bouthenot 1bc997b238 Fix possible minor bug in getting hostnames in plugins/scripts 2006-04-08 21:37:26 +00:00
Emmanuel Bouthenot 1f03444a6b Added hostnames associeted to nicks in plugins/scripts 2006-04-08 21:03:31 +00:00
Sebastien Helleu c525b231e4 Added hostnames associeted to nicks (available for /ban completion) 2006-04-08 18:38:00 +00:00
Emmanuel Bouthenot 6963ca7b65 make gcc-2.95 happy 2006-04-07 08:00:27 +00:00
Sebastien Helleu 99d86d64ab Added "+p" mode for channels, fixed mode display in status bar 2006-04-04 17:47:31 +00:00
Sebastien Helleu 94face39a6 Updated czech translations 2006-04-04 07:30:20 +00:00
Sebastien Helleu 2a34684bc1 Added alignment for local away message 2006-04-03 21:12:01 +00:00
Sebastien Helleu 5068f4d365 Added nick alignment in DCC chat, /query and /msg, fixed DCC chat bug when closing buffer 2006-04-03 16:01:10 +00:00
Sebastien Helleu 212ec7a76d Added nick alignment in private buffers 2006-04-03 09:35:08 +00:00
Sebastien Helleu 08b0272a9b Fixed typos in doc 2006-04-02 22:03:47 +00:00
Sebastien Helleu d01081241a Added nick alignment options 2006-04-02 21:53:41 +00:00
Sebastien Helleu 8ef6192b49 Fixed string explosion bug (should return 0 with empty string) 2006-04-02 11:37:22 +00:00
Sebastien Helleu f98d66a842 Fixed /buffer close bug with part message 2006-04-02 10:45:29 +00:00
Emmanuel Bouthenot 6175a89580 add regular expression support for /list command 2006-04-01 19:33:02 +00:00
Sebastien Helleu 23bfafed6a Fixed /names command: now displays result when not on a channel 2006-04-01 14:39:51 +00:00
Sebastien Helleu fccefcdf04 Fixed display but with input command line (when text is longer than window size) 2006-04-01 10:03:09 +00:00
Sebastien Helleu d86af240fa Fixed plugin command handler call when no argument is given 2006-04-01 07:43:51 +00:00
Sebastien Helleu c803419616 Fixed nicklist display bugs when on top or bottom of chat window, fixed refresh bug (too many refresh) when terminal is resized 2006-03-31 13:49:58 +00:00
Sebastien Helleu cc324abb75 Fixed bug with /alias and /unalias commands when alias begins with '/' 2006-03-30 17:08:23 +00:00
Sebastien Helleu 8c8a4104f0 Added nick completion for /userhost command 2006-03-30 15:20:28 +00:00
Sebastien Helleu 83bdd97916 Added keyboard handler to plugin API 2006-03-30 12:08:55 +00:00
Sebastien Helleu 56af0e3284 Improved script plugin loader 2006-03-26 09:46:30 +00:00
Sebastien Helleu 9abddbb7e9 Fixed bug with /set string value completion 2006-03-25 11:53:00 +00:00
Sebastien Helleu c0b6a23959 Fixed typo 2006-03-25 11:43:39 +00:00
Sebastien Helleu 173c7f7f2e Fixed typo 2006-03-25 11:32:31 +00:00
Sebastien Helleu eaa33bfb8e Added hostname/IP option for connection to server 2006-03-25 11:20:37 +00:00
Sebastien Helleu fcd3809326 Updated doc 2006-03-24 22:22:30 +00:00
Sebastien Helleu 8d4497a764 Fixed --disable-plugins option in configure script 2006-03-24 09:57:22 +00:00
Sebastien Helleu d9c032fee3 Added /setp command (set plugin options) 2006-03-24 09:38:54 +00:00
Sebastien Helleu 9fb1176b1b Completed /set command help 2006-03-21 14:17:29 +00:00
Sebastien Helleu 9ed873ed94 Fixed high CPU usage when running under a screen that has been killed 2006-03-21 13:27:51 +00:00
Sebastien Helleu 27fd4beca7 Aliases are executed before WeeChat/IRC commands, /builtin command added 2006-03-21 11:41:02 +00:00
Sebastien Helleu 6a55ee4f79 Immediately refresh nick (input window) during server connection process 2006-03-19 16:05:37 +00:00
Sebastien Helleu 4a13abcc9b Updated doc 2006-03-19 12:51:17 +00:00
Sebastien Helleu e499c1cb32 Added /cycle command, /part command does close buffer any more 2006-03-19 12:15:27 +00:00
Julien Louis 12b0742668 Sync Debian packaging stuff with official package 2006-03-18 12:07:14 +00:00
Sebastien Helleu 04e9677405 Fixed bug on ppc 2006-03-18 10:51:53 +00:00
Sebastien Helleu 3ff8d488e7 Version 0.1.9-cvs 2006-03-18 10:51:18 +00:00
Sebastien Helleu a4ee390737 Version 0.1.8 2006-03-18 09:46:07 +00:00
Sebastien Helleu 2b99338176 Version 0.1.8 2006-03-18 09:25:50 +00:00
Sebastien Helleu 1314c8e78e Version 0.1.8 2006-03-18 09:03:14 +00:00
Sebastien Helleu 0277a1eb62 Ruby changes forgotten in ChangeLog 2006-03-17 14:09:34 +00:00
Sebastien Helleu c4bafd3eef Fixed translations 2006-03-16 11:57:10 +00:00
Sebastien Helleu d006811b8e Fixed typos 2006-03-16 10:36:27 +00:00
Sebastien Helleu 2c894b89e7 Fixed /set command when internal server name contains one or many dots 2006-03-14 13:06:48 +00:00
Sebastien Helleu 02d4287ad0 Added missing IRC command "378" 2006-03-14 12:44:42 +00:00
Sebastien Helleu 7fa3dcbb2e Fixed plugin get_info bug when no server at all is opened 2006-03-14 12:43:02 +00:00
Sebastien Helleu 031fab21b0 Fixed display bug when top of buffer is displayed and first line is removed
(according to "history_max_lines" setting)
2006-03-11 07:33:54 +00:00
Sebastien Helleu ea06fca69c Fixed "+I" mode output 2006-03-10 23:19:11 +00:00
Sebastien Helleu 4181fa3f74 Fixed /mode command output 2006-03-10 22:44:21 +00:00
Julien Louis b9e247794e Fix typo in french translation 2006-03-10 20:11:41 +00:00
Sebastien Helleu d6e562ed7e Fixed completion for /away and /nick commands 2006-03-10 09:04:29 +00:00
Sebastien Helleu 227c05447f Improved alias completion (now uses target command for completion) 2006-03-08 15:31:26 +00:00
Sebastien Helleu 1005890db2 Fixed completion bug with commands in pv (nick completion, for example with /me) 2006-03-06 21:09:09 +00:00
Sebastien Helleu 8f714033ac Fixed chmod on home (now chmod is not executed when a directory is user's home) 2006-03-06 20:58:08 +00:00
Sebastien Helleu 1a510e1598 Added missing IRC command "487" 2006-03-04 23:20:41 +00:00
Sebastien Helleu 650805f204 Using new default value for DCC download dir (created at startup), fixed logs dir creation 2006-03-04 15:37:20 +00:00
Sebastien Helleu 919800c37c Added inactivity time, available for plugins via get_info("inactivity") 2006-03-04 14:27:14 +00:00
Sebastien Helleu 92db79989e Keys alt-{home|end} to scroll top/bottom, alt-{f11-f12} to scroll nicklist top/bottom 2006-03-03 10:40:43 +00:00
Sebastien Helleu 5d32ac0d57 Added special names for plugin message handlers: weechat_pv, weechat_highlight, weechat_ctcp, weechat_dcc 2006-03-02 21:54:33 +00:00
Sebastien Helleu bd1685a8fe Updated TODO 2006-03-02 21:54:00 +00:00
Sebastien Helleu 312ad619ae Fixed bug with dl library detection (for FreeBSD and maybe other systems) 2006-03-02 15:58:10 +00:00
Sebastien Helleu e4cc182105 Script plugins now load scripts in WeeChat system share directory 2006-02-28 21:11:34 +00:00
Sebastien Helleu 8c662f69f9 /msg command does not open any buffer any more 2006-02-28 15:59:33 +00:00
Sebastien Helleu 5c29def9d9 Fixed crash when using global history (when older entry is removed) 2006-02-26 11:27:43 +00:00
Sebastien Helleu c0a1673060 Added IRC raw data buffer 2006-02-22 11:58:11 +00:00
Emmanuel Bouthenot 3a79e32dbb fix minor bug and improve backtrace display on errors 2006-02-21 22:43:48 +00:00
Sebastien Helleu 349d9d1028 Fixed display bugs with /kill command 2006-02-21 10:23:35 +00:00
Sebastien Helleu 13ddcc3adc Added infobar_remove in C plugin API 2006-02-20 21:55:51 +00:00
Sebastien Helleu 9373a7a47e Added new plugin API function: remove_infobar 2006-02-20 17:01:18 +00:00
Sebastien Helleu e0c97562a5 Fixed bug in /lua command for timer handlers 2006-02-19 11:17:14 +00:00
Sebastien Helleu 3a213f38ec Added timer handler for plugins 2006-02-19 10:43:47 +00:00
Sebastien Helleu 484274d65f Plugin messages handlers now called when message is ignored; new behaviour for
messages ignored by a message handler: now WeeChat executes standard handler,
treating message as "ignored"
2006-02-18 13:35:06 +00:00
Sebastien Helleu 4f81254e40 Fixed message displayed when a command handler failed (now "failed" instead of
"command not found")
2006-02-18 12:50:55 +00:00
Sebastien Helleu da3f8ade08 Fixed Ruby function "log" (argument count) 2006-02-18 12:50:03 +00:00
Sebastien Helleu 271d1c905f Fixed scripts examples with server/channel/nick info 2006-02-17 15:00:00 +00:00
Sebastien Helleu ae0e17cfe2 Commands allowed when not connected to any server, fixed get_config: now needs exact option name to return value 2006-02-17 14:59:07 +00:00
Sebastien Helleu d69c634d2f Fixed typos 2006-02-17 14:58:01 +00:00
Emmanuel Bouthenot 14c9afb990 fix typo in parsing args for weechat_python_add_command_handler 2006-02-16 21:14:36 +00:00
Sebastien Helleu c491b39388 Updated doc, renamed functions in plugins API 2006-02-16 20:27:28 +00:00
Emmanuel Bouthenot 8855d39f44 make possible to log with plugins / scripts 2006-02-16 16:10:25 +00:00
Sebastien Helleu 91af3fe728 Updated translations 2006-02-16 10:19:07 +00:00
Emmanuel Bouthenot a62a002522 clean code while parsing commands in server_command and make possible to run many (irc or weechat) commands with alias 2006-02-16 09:51:08 +00:00
Sebastien Helleu f79653db8e Updated czech translations 2006-02-14 08:02:47 +00:00
Sebastien Helleu 0538215157 Updated doc for server_command setting 2006-02-12 22:12:05 +00:00
Emmanuel Bouthenot fa02f128ec make possible to run more than one command when connecting to server 2006-02-12 21:50:31 +00:00
Emmanuel Bouthenot 06ecdfdd35 fix some crash (unprotected code execution) and display some kind of backtrace when errors occurs 2006-02-12 01:33:36 +00:00
Emmanuel Bouthenot 00eef1c1bc clean some code 2006-02-12 01:31:35 +00:00
Sebastien Helleu e7fd1a0cb7 Auto-detect all components, and compile if found by default 2006-02-11 10:11:10 +00:00
Sebastien Helleu 321a8a65ad Added Lua 2006-02-11 10:10:26 +00:00
Sebastien Helleu e7f730387f Enable plugins compilation if Lua is enabled (like Perl/Python/Ruby) 2006-02-11 10:09:59 +00:00
Emmanuel Bouthenot e4eeaaf1dd clean code to avoid warning and errors when compiling with gcc-2.95 2006-02-10 12:44:10 +00:00
Sebastien Helleu 4c34ac5d8f Added Lua script plugin 2006-02-09 20:47:16 +00:00
Emmanuel Bouthenot 73990d8caa fix weechat_lua_remove_handler : now really use function args 2006-02-09 10:50:46 +00:00
Emmanuel Bouthenot d4e755a641 fix weechat_lua_add_message_handler : now really use function args 2006-02-09 10:33:48 +00:00
Sebastien Helleu 4a4daf6931 Added lua script plugin, new functions in plugins API 2006-02-08 21:37:17 +00:00
Emmanuel Bouthenot 8ddc5afb21 adding lua plugin/scripts support 2006-02-08 13:14:23 +00:00
Emmanuel Bouthenot a5cef6abde lua plugin/scripts support 2006-02-08 12:06:24 +00:00
Emmanuel Bouthenot 13a6d5b833 adding lua plugin/script 2006-02-08 11:49:04 +00:00
Sebastien Helleu 47b7b1d578 Added new API functions for scripts (list of servers, channels, nicks) 2006-02-08 11:13:49 +00:00
Sebastien Helleu c0a7e4445c Added hungarian translation (thanks to voroskoi) 2006-02-08 10:27:10 +00:00
Sebastien Helleu 80d6b1d952 Fixed XML typos 2006-02-07 21:10:11 +00:00
Sebastien Helleu 75eb47ee9e Added new plugins API functions (get_server_info, free_server_info, get_channel_info, free_channel_info, get_nick_info, free_nick_info) 2006-02-05 20:57:42 +00:00
Sebastien Helleu 6013e43292 Minor changes on server/channel/nick info API functions 2006-02-04 15:25:18 +00:00
Emmanuel Bouthenot 9150cff430 fix minor bugs while detecting lua 2006-02-03 08:31:15 +00:00
Sebastien Helleu 480974b8de Gtk GUI changes, now compile is ok 2006-02-03 00:36:03 +00:00
Emmanuel Bouthenot abeb5a2f48 Move previous GNU/hurd fix
Add lua script/plugin (detect libs and headers)
2006-02-03 00:29:38 +00:00
Emmanuel Bouthenot 4aac135244 fix a missing link in GNU/Hurd by force linking with pthread 2006-02-01 07:33:34 +00:00
Emmanuel Bouthenot f222a6ad7a extending plugins/scripts API by adding get_server_info, get_channel_info and get_nick_info 2006-01-31 13:54:27 +00:00
Sebastien Helleu fe5731dc84 Added options "look_open_near_server" and "look_nick_complete_first" (patch from Gwenn) 2006-01-30 20:42:53 +00:00
Sebastien Helleu 70ad116c0f Added options "look_open_near_server" and "look_nick_complete_first" (patch from Gwenn) 2006-01-30 20:22:40 +00:00
Sebastien Helleu 99a3434733 Fixed bug with elapsed time when away if computer clock was changed (displays 0 if elapsed time is negative) 2006-01-26 16:49:21 +00:00
Sebastien Helleu 0e91f0c208 Fixed bug with /upgrade when servers buffer (with one buffer for all servers) is moved to buffer # > 1 2006-01-26 13:57:27 +00:00
Sebastien Helleu 7711d548c0 Fixed typos 2006-01-26 11:18:59 +00:00
Sebastien Helleu a7479272f0 Fixed bug with "get_dcc_info" plugin interface function 2006-01-26 10:18:50 +00:00
Sebastien Helleu 2e1c6023d7 Fixed bug with option "irc_away_check_max_nicks" (now channels are refreshed when nicks count changed) 2006-01-26 10:04:57 +00:00
Sebastien Helleu 464fc8abdf Added new scroll keys for a few lines up/down (default: meta-pgup/pgdn) (patch from Pistos) 2006-01-25 17:52:11 +00:00
Sebastien Helleu 1e4c1a7073 Fixed compilation problem with debug messages 2006-01-25 17:09:24 +00:00
Sebastien Helleu 1607c44e75 Added new option "irc_away_check_max_nicks" to disable away check on channels with high number of nicks (patch from Gwenn) 2006-01-25 10:31:22 +00:00
Sebastien Helleu 364d774ded Added new command line argument for setting WeeChat homedir (-d or --dir) (patch from Gwenn) 2006-01-25 08:55:24 +00:00
Sebastien Helleu 6972b057d9 Fixed bug with charset in infobar highlights 2006-01-24 15:08:03 +00:00
Sebastien Helleu 8cd8410448 Fixed bugs: buffer detection in plugins/scripts commands, and /history command 2006-01-22 21:30:19 +00:00
Julien Louis 1cbdbffa40 Update debian packaging 2006-01-22 18:34:32 +00:00
Sebastien Helleu 3c16d49d2d Added some info for commands and options help 2006-01-21 21:26:24 +00:00
Sebastien Helleu 083ede73fd Added command line section in doc 2006-01-21 16:49:25 +00:00
Sebastien Helleu 5aeb7921fe Added option "irc_show_away_once", to show away message only once in pv 2006-01-21 11:56:58 +00:00
Sebastien Helleu e907b3b7a5 Version 0.1.8-cvs 2006-01-14 13:05:25 +00:00
Sebastien Helleu be6594afb7 Version 0.1.7 2006-01-14 12:09:38 +00:00
Sebastien Helleu f6d46b8792 Reverse order for unloading plugins (fixes crash on FreeBSD) 2006-01-14 12:09:04 +00:00
Sebastien Helleu 83852ca3ab Fixed charset decoding bug when displaying topic of a channel 2006-01-14 08:26:10 +00:00
Sebastien Helleu a4695f5ba2 New values for "irc_display_away" (off, local, channel) 2006-01-12 15:05:35 +00:00
Sebastien Helleu 8c54d55611 Fixed msg command (now allowed in private buffer with "*" as target) 2006-01-10 08:52:09 +00:00
Sebastien Helleu 8b5137ddeb Fixed bug with alt+k followed by an UTF-8 char coded on more than one byte 2006-01-08 22:08:24 +00:00
Sebastien Helleu b3b1ab104b Fixed hotlist display bug with server buffer when all servers are displayed on
same buffer (display was current server instead of server with activity)
2006-01-08 19:26:51 +00:00
Sebastien Helleu 05992a34f3 Encode commands like text with channel's encoding charset 2006-01-08 19:13:59 +00:00
Sebastien Helleu 224cd3ff59 Updated translations 2006-01-08 01:24:49 +00:00
Sebastien Helleu b1f83dce8a Removed "irc_default_msg_away" setting, for RFC 2812 conformity (/away command
wihtout argument only removes away status)
2006-01-08 01:22:25 +00:00
Sebastien Helleu dd39ac2432 Fixed infobar_printf interface function, security problem with string format 2006-01-08 00:07:24 +00:00
Sebastien Helleu 05456cc54e Fixed infobar_printf interface function, security problem with string format 2006-01-07 23:58:07 +00:00
Sebastien Helleu 3fd569a83e Fixed refresh bug with Solaris when term size is changed 2006-01-07 23:54:22 +00:00
Sebastien Helleu 978efc0d4f Secured some code with color management in messages 2006-01-07 23:44:19 +00:00
Sebastien Helleu b409b42470 Updated BUGS 2006-01-06 12:51:14 +00:00
Sebastien Helleu 0369660c0e Option "irc_display_away" is now set to OFF by default 2006-01-05 10:26:27 +00:00
Sebastien Helleu 457c786fbe Fixed typos in doc 2006-01-04 14:12:44 +00:00
Sebastien Helleu 4d62625894 New year in copyright, FSF address changed 2006-01-04 08:56:00 +00:00
Sebastien Helleu d875b52124 Updated ChangeLog 2006-01-03 15:10:17 +00:00
Sebastien Helleu 1704595452 Added XML files needed by XML doc 2006-01-02 22:31:18 +00:00
Sebastien Helleu d06e847efe Added a contributor 2006-01-02 22:18:25 +00:00
Sebastien Helleu b10b53c689 Replaced Texinfo doc by XML Docbook 2006-01-02 22:16:54 +00:00
Sebastien Helleu 96a9a1df90 Replaced Texinfo doc by XML Docbook 2006-01-02 22:08:41 +00:00
Julien Louis 70e0f05ff2 oops, really commit the corrected file 2005-12-26 15:40:55 +00:00
Julien Louis 43093b13fa Proofreading by Guillaume Delacour 2005-12-26 15:35:25 +00:00
Sebastien Helleu c771db23fe Added missing translations 2005-12-25 11:20:46 +00:00
Sebastien Helleu 18e47000f4 Added uptime save in session file (for /upgrade command) 2005-12-25 10:40:52 +00:00
Sebastien Helleu ac8c68bd68 Added spanish translations 2005-12-25 09:33:30 +00:00
Sebastien Helleu 4f0dc2984b Added color for windows separators, fixed minor refresh bug when changing some colors 2005-12-22 16:33:04 +00:00
Sebastien Helleu 88ee7addbc Removed "&" for XML doc 2005-12-21 13:57:04 +00:00
Sebastien Helleu d3bfff3d65 Fixed typos in some command helps ("&" now forbidden for XML doc) 2005-12-21 11:39:49 +00:00
Sebastien Helleu b0d10367d3 Fixed typo 2005-12-21 00:10:27 +00:00
Sebastien Helleu 63d728a6a1 Added Czech translations 2005-12-20 23:53:14 +00:00
Sebastien Helleu 503350f46b Changed some command outputs for doc 2005-12-20 14:37:35 +00:00
Sebastien Helleu 7c1c8cd874 Fixed completion bugs with nick completion in commmands ("%n") 2005-12-20 11:47:24 +00:00
Sebastien Helleu d280bf2a92 Fixed segfault when changing buffer number with only one buffer 2005-12-19 10:20:33 +00:00
Sebastien Helleu f4513bbadd Added include of <sys/types.h> for time_t 2005-12-18 23:46:15 +00:00
Sebastien Helleu 77b504cd3f Fixed encoding bug ("encode" var was not used since new command /charset was introduced) 2005-12-18 00:22:51 +00:00
Sebastien Helleu 04fda8a314 Fixed FIFO pipe buffer detection, away message (301) now displayed in query if
exists, otherwise on server buffer
2005-12-17 11:54:41 +00:00
Sebastien Helleu d5b58ff068 Added completion system for plugins/scripts commands, fixed plugins autoload 2005-12-16 14:16:03 +00:00
Sebastien Helleu 6eabc3aa61 Added missing args for add_command_handler 2005-12-15 12:44:25 +00:00
Julien Louis c08c40a1c6 use AC_PATH_PROGS instead of AC_PATH_PROG for binary search 2005-12-15 12:32:36 +00:00
Sebastien Helleu 1c4056a3b6 Added missing #ifdef HAVE_GNUTLS 2005-12-12 14:05:18 +00:00
Sebastien Helleu 756f7354e9 Added up/down/left/right args to /window command completion, help & doc 2005-12-12 11:38:15 +00:00
Sebastien Helleu ceaf9fa287 Fixed minor bug with session reload (nicks count for channels now ok) 2005-12-11 14:33:02 +00:00
Sebastien Helleu 54baad1848 After a /upgrade, load session before plugins 2005-12-11 13:59:50 +00:00
Sebastien Helleu 11da868d70 Upgrade when one or more servers are connected with gnutls (SSL) is now
forbidden (temporary solution while gnutls save/load thru session is not ok)
2005-12-11 13:56:39 +00:00
Emmanuel Bouthenot acb40634b0 fix: shutdown function was not lauched 2005-12-11 10:56:13 +00:00
Sebastien Helleu 290c603321 Fixed bug with windows/buffers and some commands manipulating current window 2005-12-11 10:41:55 +00:00
Sebastien Helleu 77e00d0381 Added charset by server and channel, new command: /charset 2005-12-11 00:52:32 +00:00
Emmanuel Bouthenot b8662d79c2 rewrite ruby funcalls 2005-12-10 22:28:18 +00:00
Sebastien Helleu f9a4a0dd01 Added "--with-debug=0" option for ./configure 2005-12-10 11:18:29 +00:00
Sebastien Helleu 59f6997cf0 Debug info is now added by default (--with-debug=1 for ./configure) 2005-12-10 11:13:57 +00:00
Julien Louis 76891f9037 Fix typo restaur -> restaure 2005-12-10 10:42:52 +00:00
Sebastien Helleu b7286b7e9f Fixed bugs with /upgrade command (FIFO pipe now closed before upgrade, and
WeeChat log file descriptor closed too)
2005-12-10 09:41:18 +00:00
Sebastien Helleu c1b4ccace4 Fixed scroll bug (sometimes new lines were not displayed after a scroll up/down) 2005-12-10 09:28:34 +00:00
Sebastien Helleu 1984e7f0f5 Added Ruby script plugin to ChangeLog 2005-12-09 09:23:37 +00:00
Emmanuel Bouthenot 7a80558d0f fix various minor bugs in plugins scripts 2005-12-06 22:38:06 +00:00
Sebastien Helleu 0ef010d211 added /upgrade command, added ETA for DCC files 2005-12-06 18:20:59 +00:00
Julien Louis 6c7a71976b enable the ruby plugin in debian packages 2005-12-05 13:18:28 +00:00
Emmanuel Bouthenot 74b84ae163 make ruby plugin functionnal 2005-12-02 22:28:21 +00:00
Emmanuel Bouthenot 81224d9397 fix some typos and improve get_dcc_info 2005-12-02 22:26:40 +00:00
Sebastien Helleu a114b7adc3 Fixed arguments for "get_info" function 2005-11-29 22:43:14 +00:00
Sebastien Helleu 8e696af49a Removed "look_color_nicks" option, using "col_nick_color1" if "look_color_nicks_number" is set to 1 2005-11-29 21:44:50 +00:00
Sebastien Helleu 4f1e90f68f Fixed display bug 2005-11-29 16:15:21 +00:00
Sebastien Helleu 6efb8e4439 /nick command is now allowed when not connected to server 2005-11-29 10:11:21 +00:00
Sebastien Helleu c005d8c4d3 Added server/channel arg to /buffer command for jumping to buffer 2005-11-29 08:23:03 +00:00
Emmanuel Bouthenot 816fac5084 fix typo with perl_current_script_filename 2005-11-28 20:08:50 +00:00
Emmanuel Bouthenot b821783bbf remove unused perl_current_script_filename variable 2005-11-28 19:32:48 +00:00
Sebastien Helleu 62bc46cb1d Fixed display bug with long lines 2005-11-26 14:35:29 +00:00
Sebastien Helleu a477f29cf8 Fixed display bug in chat window when a message length equals to window width 2005-11-26 13:45:32 +00:00
Sebastien Helleu ea3d7c278d Fixed bug with use of nick1 with a new server ("weechat_user" was used instead of nick1) 2005-11-23 15:44:01 +00:00
Julien Louis 6cfb01f363 Correct weechat-plugins typo in dh_fixperms call 2005-11-23 08:09:47 +00:00
Julien Louis f035f768ad Add weechat-plugins.install 2005-11-23 07:54:23 +00:00
Sebastien Helleu b38f7b6d17 Fixed potential bug in printf internal function 2005-11-22 23:38:33 +00:00
Emmanuel Bouthenot 163ded5658 display python trackback on errors 2005-11-22 20:47:53 +00:00
Julien Louis 80ed16c3c0 Move symlink creation from weechat-curses.links to rules 2005-11-22 19:35:45 +00:00
Julien Louis 1b7f628457 Fix lintian warnings 2005-11-22 19:01:14 +00:00
Emmanuel Bouthenot 578a57812f improve ruby detection 2005-11-22 14:36:20 +00:00
Julien Louis 83b82e1d7d Add a new package called weechat-plugins 2005-11-22 14:07:58 +00:00
Sebastien Helleu 4ea27db1d7 Added new keys for switching to other windows: alt-w followed by alt-{arrow} 2005-11-22 13:43:54 +00:00
Sebastien Helleu 470e8a0296 alt-U scrolls to read marker only if read marker is enabled 2005-11-21 10:43:39 +00:00
Sebastien Helleu 9f0aedd319 Added new keys: alt-U (scroll to read marker), alt-P / alt-N (scroll to
previous/next highlight)
2005-11-20 18:13:24 +00:00
Sebastien Helleu c71f869106 Updated spanish translations 2005-11-20 13:27:08 +00:00
Sebastien Helleu e750eaecfa Updated doc 2005-11-20 08:16:20 +00:00
Sebastien Helleu 5a970dffbb Renamed options "col_chat_marker*" to "col_chat_read_marker*" 2005-11-20 08:01:59 +00:00
Sebastien Helleu d5affecc23 Added read marker (indicator for first unread line), added quotes and spaces in config files 2005-11-19 22:08:46 +00:00
Sebastien Helleu 967d436a1d Updated known bugs 2005-11-17 11:49:07 +00:00
Emmanuel Bouthenot ef0e468415 fix a bug in plugin scripts : current_script was not set when exec a command 2005-11-16 21:13:56 +00:00
Emmanuel Bouthenot 2229d34110 add Eterm support for gui_window_set_title 2005-11-16 10:20:50 +00:00
Emmanuel Bouthenot f29a08bc47 fix typo in gui_window_set_title 2005-11-16 10:04:26 +00:00
Emmanuel Bouthenot 6d931f27c3 better setting and restting terminal title 2005-11-16 09:02:47 +00:00
Sebastien Helleu 3eaf388bce Fixed startup crash when using terms with no color 2005-11-15 11:32:34 +00:00
Sebastien Helleu cea353d34d Fixed display bug with channel mode changes 2005-11-15 11:28:12 +00:00
Julien Louis 85f20851d8 Add -follow option to the find command to follow lib*.so symlinks 2005-11-14 12:26:35 +00:00
Julien Louis f2402d4be2 Update debian packaging 2005-11-14 12:15:45 +00:00
Sebastien Helleu 0cf9d16bb9 - added "resize" option for /window command
- fixed infinite loop when resizing term to small size
2005-11-13 22:14:06 +00:00
Sebastien Helleu fd7d98134d Updated ChangeLog and translations 2005-11-13 17:30:28 +00:00
Emmanuel Bouthenot 8cab953c6f add command /history 2005-11-13 16:59:40 +00:00
Emmanuel Bouthenot b81fa36a5c add LDFLAGS for solaris 2005-11-13 16:41:44 +00:00
Sebastien Helleu e63da66644 Improved window management: new window may have different size (% of current
window size), window sizes are automatically recomputed when term window is
resized
2005-11-13 15:51:00 +00:00
Sebastien Helleu 3a2fdde999 Fixed bug with "command" interface function: now ok when not connected to server 2005-11-13 15:49:29 +00:00
Sebastien Helleu 4df45530c3 Added file weechat.spec to tarball 2005-11-13 14:10:51 +00:00
Sebastien Helleu d73597d69f Updated .spec file for creating RPM (designed for SuSE) 2005-11-13 00:31:02 +00:00
Sebastien Helleu 47c3266952 Fixed bug with new %O attribute for color reset 2005-11-12 12:00:03 +00:00
Sebastien Helleu b081d831e6 Added color reset attr (%O) for messages encoding 2005-11-12 11:45:59 +00:00
Sebastien Helleu 9b371e9ae7 Updated FAQ 2005-11-12 11:45:14 +00:00
Sebastien Helleu 483d4670e1 Fixed crash when command line is ending by char '%' 2005-11-11 23:01:21 +00:00
Sebastien Helleu 92a2a0774c Version 0.1.7-cvs 2005-11-11 16:10:06 +00:00
Sebastien Helleu f5a20d282e Fixed some bugs in RPM build 2005-11-11 13:00:56 +00:00
Sebastien Helleu ed76104d42 Version 0.1.6 2005-11-11 11:23:04 +00:00
Sebastien Helleu 04206f8032 Fixed minor display bug with /set command 2005-11-11 10:56:47 +00:00
Sebastien Helleu 54a5f181b5 Fixed bug with DCC chat close and get_dcc_info plugin function 2005-11-10 22:30:39 +00:00
Sebastien Helleu dd735af7f8 Fixed bug with ctrl-w key (delete previous word) when used in the middle of a line 2005-11-10 15:05:27 +00:00
Sebastien Helleu 87fb462f35 Fixed bug with notify for windows that are not displayed (when using splited windows) 2005-11-10 08:54:45 +00:00
Sebastien Helleu b3018f8ae7 Fixed minor display bug with options help 2005-11-09 14:17:27 +00:00
Sebastien Helleu 1f363eeb24 Previous icon restored 2005-11-09 10:12:03 +00:00
Sebastien Helleu f5ecafd6a8 Fixed bugs with get_plugin_config and set_plugin_config functions (python only) 2005-11-08 09:16:32 +00:00
Julien Louis c8361419b8 Fix second enumeration 2005-11-08 08:23:19 +00:00
Julien Louis 10161cd16c fix enumeration description to fit description format 2005-11-07 13:50:12 +00:00
Sebastien Helleu a83507eb77 Updated package info 2005-11-07 13:04:19 +00:00
Sebastien Helleu 159371cbd9 Commented out code for calling PRIVMSG plugins handlers when user send text to
channel/private (was causing problems with Perl scripts unload)
2005-11-06 22:56:13 +00:00
Sebastien Helleu 78c110ace2 Check only min number of args in perl plugin for all functions, except register
(if too much args given, they're silently ignored)
2005-11-06 22:12:40 +00:00
Sebastien Helleu 83b7741ef2 New WeeChat icon 2005-11-06 19:26:23 +00:00
Sebastien Helleu 64c1dbba0e Fixed bugs in "get_info" and "command" interface functions of plugins 2005-11-06 18:27:20 +00:00
Sebastien Helleu 6eb449b370 Added WeeChat logo 2005-11-06 12:59:32 +00:00
Sebastien Helleu 2bbc2d53eb Added missing translation for /uptime command 2005-11-06 12:23:55 +00:00
Sebastien Helleu 68cf327088 Updated TODO 2005-11-06 12:18:28 +00:00
Sebastien Helleu bf3f696830 Added /uptime command 2005-11-06 12:09:44 +00:00
Emmanuel Bouthenot 3bca573d49 auto detect perl multiplicity at compile time 2005-11-06 11:38:07 +00:00
Sebastien Helleu ba98dca08a Added "col_real_white" option to active real white (useful only if term has not
white background)
2005-11-06 00:46:29 +00:00
Emmanuel Bouthenot 4812123dc5 fix typo 2005-11-05 22:25:02 +00:00
Emmanuel Bouthenot ed1755eacc make possible to use perl plugin with a not threaded Perl 2005-11-05 22:18:15 +00:00
Sebastien Helleu bd80891676 Updated cs.po 2005-11-05 21:16:12 +00:00
Sebastien Helleu 8a2a0ec0ae Added color decode when sending some commands to server (like /me, /msg, ..) 2005-11-05 19:07:07 +00:00
Sebastien Helleu e49b4131f2 Fixed nick completion in private, now completes according to
"look_nick_completion_ignore" option)
2005-11-05 18:33:19 +00:00
Sebastien Helleu a164b85e3a Fixed crash with Alt-S key 2005-11-05 16:04:16 +00:00
Sebastien Helleu b0758b6fac Updated contributors 2005-11-05 15:27:25 +00:00
Sebastien Helleu 5830b0ab40 Fixed server detection when using "command" interface function from scripts 2005-11-05 15:14:17 +00:00
Sebastien Helleu d94a7d05ea Convert colors codes to %B, %C with /topic completion (if option irc_colors_send
is ON)
2005-11-05 13:21:48 +00:00
Sebastien Helleu bea5769a05 Fixed some bugs with color codes:
- colors are now removed in topic for display in title bar
- completion of /topic command now strips color codes
- color codes are encoded in commands (not only text sent to channel/pv)
- double '%' is replaced by single '%' in command line (when irc_colors_send is ON)
2005-11-05 11:34:52 +00:00
Sebastien Helleu fd562722d0 Changed help for "irc_colors_receive" option 2005-11-05 10:46:23 +00:00
Sebastien Helleu 639d8b3ba9 Updated with last contributors 2005-11-05 10:10:38 +00:00
Sebastien Helleu b536a8a491 Added message for /buffer notify completion 2005-11-04 22:53:10 +00:00
Emmanuel Bouthenot 51cacc0fdb remove unused comment 2005-11-04 22:33:26 +00:00
Emmanuel Bouthenot e07859395f improve PYTHON LDFLAGS 2005-11-04 22:30:23 +00:00
Emmanuel Bouthenot 7cf7e5b9ff fix a dead lock 2005-11-04 22:26:53 +00:00
Sebastien Helleu 87e934766b Fixed cursor position bug when using history with up/down keys 2005-11-04 21:40:34 +00:00
Sebastien Helleu e4b59681b2 Fixed crash with /buffer command 2005-11-04 20:13:26 +00:00
Sebastien Helleu dd8ce32004 Removed debug messages 2005-11-04 20:12:28 +00:00
Sebastien Helleu b575a4f578 Fixed scroll problem when one line is bigger than screen size 2005-11-04 16:14:28 +00:00
Sebastien Helleu 6b1f5a4a92 Fixed crash when doing "/msg nickserv identify ..." 2005-11-04 13:41:05 +00:00
Sebastien Helleu dd3977367f Fixed log problem with new color display system (now color codes are removed in
log file)
2005-11-04 13:11:39 +00:00
Sebastien Helleu 8a9e8ecc88 - added major feature: new color management system (internal to WeeChat), now
colors are displayed by WeeChat (optional by new settings irc_colors_receive
  and irc_colors_send)
- fixed IRC command 367
- added IRC command 382
2005-11-04 11:53:23 +00:00
Emmanuel Bouthenot 5dfab7643d update --enable-perl-nothread config 2005-11-04 11:00:00 +00:00
Emmanuel Bouthenot cea0851071 improve contexts switch in python plugin 2005-11-04 09:23:33 +00:00
Emmanuel Bouthenot 6919005d74 improve python detection 2005-11-01 19:52:29 +00:00
Emmanuel Bouthenot 8497d25d34 add openbsd flags 2005-11-01 18:32:10 +00:00
Sebastien Helleu 4ea734a376 Fixed type used for htonl function (replaced u_int32_t by uint32_t, now OK under
MacOS)
2005-10-31 12:40:34 +00:00
Sebastien Helleu 3369a00959 Added missing intl libs for openbsd 2005-10-31 10:56:32 +00:00
Sebastien Helleu a6d93cf432 Added constants for Perl return codes 2005-10-30 23:51:19 +00:00
Emmanuel Bouthenot e6a1bb4694 add constants for python return codes 2005-10-30 23:39:54 +00:00
Sebastien Helleu 6b6def5890 Fixed "jump to next server" action (was broken by new option "look_one_server_buffer") 2005-10-30 22:56:00 +00:00
Sebastien Helleu be1c9be925 Added command line arguments to disable auto-connect to servers and plugins auto-load 2005-10-30 19:22:53 +00:00
Sebastien Helleu e5754e1fe6 Fixed minor compilation problem (dependency with plugins lib) 2005-10-30 18:37:58 +00:00
Emmanuel Bouthenot c0e4ba60d7 add dependance on automake for libtool 2005-10-30 13:18:05 +00:00
Emmanuel Bouthenot 5f101c3833 fix CFLAGS on openbsd 2005-10-30 13:17:20 +00:00
Sebastien Helleu 079e4a4028 - added new setting (look_one_server_buffer): use same buffer for all servers
- fixed DCC bug when looking for ports in range
2005-10-30 09:56:24 +00:00
Emmanuel Bouthenot 24ceb3bb95 fix type in LDFLAGS 2005-10-29 23:59:44 +00:00
Emmanuel Bouthenot dec92aeba6 fix detection of libgnutls 2005-10-29 17:56:50 +00:00
Emmanuel Bouthenot 5551542566 fix flags on *bsd 2005-10-29 12:11:54 +00:00
Emmanuel Bouthenot 9411a2fad0 fix perl/python sigv and undefined symbols by adding '-pthread' in global CFLAGS on freebsd
add option --enable-perl-nothread to compile perl plugin without Perl without thread or multiplicity support (typically in some *bsd)
2005-10-29 09:36:45 +00:00
Sebastien Helleu ee4f5716d3 Added setting for ignoring some chars when completing nicks 2005-10-28 13:07:32 +00:00
Sebastien Helleu e26772dcdb Added new return codes for plugin handlers, to discard messages for WeeChat, plugins, or both. 2005-10-28 07:31:21 +00:00
Emmanuel Bouthenot 232b5684ca improve python LDFLAGS on *BSD 2005-10-27 15:49:03 +00:00
Sebastien Helleu 93b2be7a41 Clean up of IRC message parser (fixed potential bugs when long messages are received) 2005-10-27 10:28:20 +00:00
Sebastien Helleu b86c95e7dc Added partial match for highlights, patch by Jim Ramsay 2005-10-26 23:15:38 +00:00
Sebastien Helleu 9d52621c44 Fixed Perl bugs with returned values 2005-10-26 23:07:03 +00:00
Sebastien Helleu 0e6b0a3b0c Signal SIGPIPE now ignored by WeeChat 2005-10-26 23:05:35 +00:00
Emmanuel Bouthenot e081a6af17 improve python header and libs detection 2005-10-26 10:20:15 +00:00
Sebastien Helleu 3f3a202739 Removed old functions for removing handlers, replaced by one function, the same for all handlers 2005-10-25 18:27:02 +00:00
Sebastien Helleu 0f055b087a - Added options for /plugin command: autoload, reload, unload
- Added new plugin functions, for C plugins and scripts: set_config, get_plugin_config, set_plugin_config
- Added new script function: remove_handler
2005-10-25 17:37:13 +00:00
Sebastien Helleu 0e531f5e6a Added auto-detection of ncursesw/ncurses lib in configure.in, fall back to ncurses if ncursesw is not found (auto-detect ncurses.h location too) 2005-10-25 09:23:10 +00:00
Emmanuel Bouthenot c2f4bdd0fc add the possibility to (un)load each script one by one 2005-10-24 21:33:48 +00:00
Sebastien Helleu 32a7fbb767 Added new plugins functions: set_config, get_plugin_config, set_plugin_config.
New file is used to store plugin variables (~/.weechat/plugins.rc)
2005-10-23 22:07:18 +00:00
Sebastien Helleu b7484eeea7 Updated doc 2005-10-23 11:34:58 +00:00
Sebastien Helleu f7872a9dd8 Converted old Ruby interface to new plugin system (Ruby plugin still NOT ok!) 2005-10-23 11:33:39 +00:00
Sebastien Helleu cde66456fb Fixed bug with keyboard and "^" key (was inserting two "^") 2005-10-22 16:22:52 +00:00
Sebastien Helleu 6beb8b6465 - added dcc_own_ip and dcc_port_range settings, patch by Jim Ramsay
- fixed bug when exiting DCC buffer (wrong input buffer)
2005-10-22 14:04:26 +00:00
Julien Louis 1a140ab8b5 * update build-depends
* remove automatic update of config.{guess,sub} since it's now handled by
   libtool
 * Add new loadable plugins in weechat-curses package
2005-10-22 08:51:50 +00:00
Sebastien Helleu e148a40ae1 Added "ncursesw/" path for ncurses.h include 2005-10-22 08:22:27 +00:00
Sebastien Helleu ee2951bf11 The "day changed" message does not update hotlist any more 2005-10-21 14:20:22 +00:00
Sebastien Helleu 73359fcc05 Full UTF-8 support, auto-detection of UTF-8 usage (locale) 2005-10-21 13:59:55 +00:00
Emmanuel Bouthenot 0bc32f561b fixes some typos, and a bug which occured when parsing a script fails 2005-10-20 09:19:10 +00:00
Emmanuel Bouthenot d179625e52 correct bad hack for stdout and stderr outputs 2005-10-19 15:43:13 +00:00
Julien Louis bd9cdeec5c Add debian/compat and remove debian/weechat-gtk.* to EXTRA_DIST 2005-10-19 08:48:59 +00:00
Sebastien Helleu a9f04c5fd9 Added "Day changed to [date]" message when day changes 2005-10-18 17:46:54 +00:00
Sebastien Helleu 1e382ab9bd Log options (for server/channel/private) can now be set while WeeChat is running 2005-10-18 15:56:00 +00:00
Julien Louis 2855b71520 Add --copy argument to libtollize call 2005-10-18 08:07:51 +00:00
Sebastien Helleu 7b4453a507 Updated doc with new plugins implementation 2005-10-17 20:54:30 +00:00
Sebastien Helleu aeb7170024 Moved some functions in source code 2005-10-17 17:45:23 +00:00
Sebastien Helleu 357d7c5a2f Changes in plugins and scripts plugins:
- get_info("version") now returns only version
- added get_config() function to read config options
2005-10-17 14:30:03 +00:00
Sebastien Helleu b2ec60110c Auto-load plugins in user's plugins path (before WeeChat system lib dir) 2005-10-17 11:53:46 +00:00
Sebastien Helleu 9eb142036e When dlopen function is found without dl lib, do not link with -ldl (now ok
under FreeBSD)
2005-10-17 10:36:09 +00:00
Sebastien Helleu fa54807ef6 Added "weechatdir" info for compatibility with old scripts (now DEPRECATED, use
"weechat_dir" instead)
2005-10-16 21:47:43 +00:00
Sebastien Helleu 11d77e6168 Added channel modes +e/+f, IRC commands 348,349,470 2005-10-16 21:46:31 +00:00
Sebastien Helleu 2ca5b4f651 Added Py_Finalise when Python plugin is unloaded 2005-10-16 17:38:50 +00:00
Sebastien Helleu 38e2003a17 Commented out WxWidget lib detection since WxWidgets GUI is not developed today 2005-10-16 17:20:46 +00:00
Sebastien Helleu 7bb815a540 Fixed but when no parameter given for /perl and /python options 2005-10-16 15:39:20 +00:00
Sebastien Helleu 5a3976d6a5 Changed help messages for options 2005-10-16 15:38:47 +00:00
Sebastien Helleu cdc33d08b0 New plugin interface (loads dynamic C libraries) 2005-10-15 12:34:21 +00:00
Sebastien Helleu 5130b1dc4f Removed old ruby interface 2005-10-15 12:27:49 +00:00
Sebastien Helleu cdfc5b6c5a Removed old python interface 2005-10-15 12:27:22 +00:00
Sebastien Helleu 50ef2b0306 Removed old perl interface 2005-10-15 12:25:24 +00:00
Sebastien Helleu b25824eb4f Removed obsolete file 2005-10-15 12:21:41 +00:00
Sebastien Helleu 97a1d0e79d Updated TODO 2005-10-06 21:03:50 +00:00
Sebastien Helleu 219e9d443a Added auto-creation of ~/.weechat/{perl|python}/config directories 2005-10-03 12:35:15 +00:00
Sebastien Helleu 77d50aef98 Added IRC commands: 008 and 381 2005-10-03 12:27:09 +00:00
Sebastien Helleu eea49832ea Changed default color for delimiters in input window (from cyan to lightgreen) 2005-10-03 09:37:25 +00:00
Sebastien Helleu 16389e0728 Added colors for input buffer and current channel of status bar 2005-10-02 20:52:38 +00:00
Sebastien Helleu 4a7b3436ae Added online help for config options (with /set full_option_name) 2005-10-02 08:16:12 +00:00
Sebastien Helleu 799bb14928 Updated doc with new options 2005-10-01 22:05:27 +00:00
Sebastien Helleu 75c58c423c Added "smart" hotlist 2005-10-01 13:41:10 +00:00
Julien Louis 63e73b30ad Fix ruby ldflags add 2005-09-30 15:48:01 +00:00
Sebastien Helleu 29006d8cec Fixed /server command help (3 nicks are mandatory if -nicks used) 2005-09-28 12:58:41 +00:00
Julien Louis 85b1702077 Update debian/changelog 2005-09-25 13:32:19 +00:00
Sebastien Helleu caff3dd011 Fixed typo in autojoin option help 2005-09-25 07:49:09 +00:00
Sebastien Helleu 9d4300c0d7 Added doc (info format) in rpm build 2005-09-25 07:48:03 +00:00
Sebastien Helleu 8aa7e3e3e6 Version 0.1.6-cvs 2005-09-24 12:17:05 +00:00
Sebastien Helleu 150c5e9749 Version 0.1.5 2005-09-24 11:35:13 +00:00
Sebastien Helleu 6bec96cd4d Replaced gettext with macro "_" 2005-09-23 21:49:02 +00:00
Sebastien Helleu 068284dd19 Added /ame command (send CTCP action to all channels of all connected servers) 2005-09-23 09:57:45 +00:00
Sebastien Helleu 38a8c321c0 Added czech translations 2005-09-22 17:22:30 +00:00
Sebastien Helleu 0094d143b3 Updated doc 2005-09-22 14:20:17 +00:00
Sebastien Helleu 530dc9fb67 Added setting "irc_notice_as_pv" to see notices as pv 2005-09-22 08:21:53 +00:00
Sebastien Helleu 96a69fd7f3 Updated doc 2005-09-21 08:34:48 +00:00
Sebastien Helleu 938915d387 Added nicks colors in setup file 2005-09-20 17:44:44 +00:00
Sebastien Helleu 25bbe3d284 Fixed DCC bug: delete failed file only if really empty (on disk) 2005-09-20 16:14:04 +00:00
Sebastien Helleu 9c7d05f605 Fixed IRC message parser bug 2005-09-15 14:02:38 +00:00
Sebastien Helleu c953db4d64 Fixed window swtich functions (was changing windows buffer and should not) 2005-09-15 13:07:52 +00:00
Sebastien Helleu 9d6ca20478 Fixed window switch functions and bug when line is removed and that a window uses this line at scroll start point 2005-09-15 11:36:50 +00:00
Sebastien Helleu 7f4a213239 Fixed scroll problem (screen moving when scrolling and new line displayed) 2005-09-15 08:21:36 +00:00
Sebastien Helleu e18f14e5d3 One bug removed! 2005-09-14 08:59:49 +00:00
Sebastien Helleu 8f3455d0a9 Fixed infinite loop when scrolling back and displaying long lines 2005-09-14 08:39:14 +00:00
Sebastien Helleu dfbea2850a Fixed minor refresh bug in buffer clear function 2005-09-13 17:10:18 +00:00
Sebastien Helleu 8a299adb3b Fixed crash when closing a buffer used by more than one window 2005-09-13 17:04:34 +00:00
Sebastien Helleu a29416e352 Updated TODO 2005-09-13 07:00:33 +00:00
Sebastien Helleu c346216e34 Added missing "return 0" in handler for IRC command 221 2005-09-11 16:39:37 +00:00
Sebastien Helleu da7df57b1a Added global history keys (ctrl+up/down) 2005-09-11 16:30:51 +00:00
Sebastien Helleu 61fac4d49e Updated bugs 2005-09-11 14:32:07 +00:00
Sebastien Helleu 4f5c1b6e09 Updated Czech translations 2005-09-11 13:54:44 +00:00
Sebastien Helleu 2962a8e6c8 Added IRC commands: 042, 344, 345, 484 2005-09-10 08:53:35 +00:00
Sebastien Helleu 76263dc7cf Added IRC command "221" 2005-09-07 14:17:10 +00:00
Sebastien Helleu 554fa728ae Fixed command "331" ("no topic set for channel") 2005-09-07 10:16:00 +00:00
Sebastien Helleu 5881048405 Fixed DCC display bug (now decodes strings according to charset) 2005-09-07 10:14:07 +00:00
Sebastien Helleu c517253a72 Updated doc 2005-09-05 15:52:16 +00:00
Sebastien Helleu fe16f6d48f Added czech translation file 2005-09-04 19:21:30 +00:00
Sebastien Helleu f276fd9494 Fixed bug with nick change 2005-09-04 13:39:24 +00:00
Sebastien Helleu 517de7ab94 Removed nick color in nicklist when away and away check for nicks is disabled (= 0) 2005-09-04 13:20:56 +00:00
Sebastien Helleu 06463e5937 Added /ignore and /unignore commands 2005-09-04 12:55:25 +00:00
Sebastien Helleu d80c8e9e57 Fixed bug with strings comparison (str[n]casecmp) and some locales (like turkish), now using ASCII comparison 2005-09-03 12:37:20 +00:00
Sebastien Helleu f74b280a1f Added "505" IRC command 2005-09-02 08:17:17 +00:00
Sebastien Helleu cd4f50c136 Signal SIGQUIT is now ignored 2005-09-02 08:16:52 +00:00
Sebastien Helleu 767e378c53 Set non blockant socket for dcc connection (as it was made before) 2005-08-26 22:32:02 +00:00
Sebastien Helleu 60503d9383 Added command "020" 2005-08-22 11:43:43 +00:00
Sebastien Helleu 11321acb96 Added Ruby plugins skeleton 2005-08-21 16:32:48 +00:00
Sebastien Helleu 84b1a27265 Fixed empty private buffer when unknown CTCP is received 2005-08-21 09:49:58 +00:00
Sebastien Helleu 51322e7917 Fixed refresh bug when one line is bigger than screen size 2005-08-17 16:54:05 +00:00
Sebastien Helleu d256d72eef Fixed look_nicklist_min_size and look_nicklist_max_size options 2005-08-16 21:01:32 +00:00
Sebastien Helleu 8a61b0eee0 Updated TODO 2005-08-16 19:33:58 +00:00
Sebastien Helleu d4ecb032d4 Added example in server_autojoin description 2005-08-16 15:03:44 +00:00
Sebastien Helleu 3f946e304d Added completion for internal functions with /key command 2005-08-16 15:02:01 +00:00
Sebastien Helleu 97b6bbcb9e Revert code for irc_cmd_send_join function code (to prevent lag when sending
many /join commands to IRC server)
2005-08-15 21:52:15 +00:00
Sebastien Helleu 357edc193e Fixed bug and memory leak in irc_cmd_send_join function 2005-08-14 06:56:45 +00:00
Emmanuel Bouthenot ace03b808d add half (due to dcc) dcc support with proxies (only in ipv4 ) 2005-08-04 19:01:29 +00:00
Emmanuel Bouthenot 428cfbc297 fix an error in socket() while using ipv6 proxy 2005-08-03 19:18:28 +00:00
Julien Louis 02cd829c4c Update debian stuff 2005-08-01 19:54:39 +00:00
Emmanuel Bouthenot 17973de52a fix a stupid error about previous commit 2005-08-01 09:11:29 +00:00
Emmanuel Bouthenot 364667f788 improve support of keys when joining channel and with server autojoin 2005-07-31 23:01:14 +00:00
Sebastien Helleu 10d7c6c34a Fixed refrech bug when changing channel modes 2005-07-31 12:29:49 +00:00
Sebastien Helleu 38fa7c93ac Jump to next server now saves current channel buffer for each server 2005-07-31 11:32:28 +00:00
Sebastien Helleu 9e328d3fef ctrl-up/ctrl-down keys added to call previous/next command in global history (common to all buffers) 2005-07-30 18:41:48 +00:00
Sebastien Helleu 312d8015f5 Version 0.1.5-cvs 2005-07-30 09:05:09 +00:00
Sebastien Helleu 110aa59ca8 Version 0.1.4 2005-07-30 09:04:09 +00:00
Sebastien Helleu 89b955c79e Version 0.1.4 2005-07-30 08:28:43 +00:00
Sebastien Helleu 3d724fb634 Join and part/quit prefixes (arrows) now displayed with different colors 2005-07-22 08:11:39 +00:00
Sebastien Helleu 29d0225e4a Fixed CTCP ACTION bug and now replies to CTCP PING on channels 2005-07-20 15:04:49 +00:00
Sebastien Helleu 8416212077 Updated TODO 2005-07-20 13:49:33 +00:00
Sebastien Helleu c36f08d7d7 Highlights with "irc_highlight" setting now case insensitive 2005-07-19 19:50:10 +00:00
Sebastien Helleu 1230735c5f Added "irc_highlight" setting, fixed crash when doing /part on an active DCC chat buffer 2005-07-19 17:35:51 +00:00
Sebastien Helleu 77d7b703de Fixed typo (wrong accent) 2005-07-19 14:17:08 +00:00
Sebastien Helleu 60db73c19a Updated translations 2005-07-19 12:20:40 +00:00
Sebastien Helleu a9ca2987bb Commands /halfop, /voice, /deop, /dehalfop, /devoice are ok for self nick (no arg) 2005-07-19 12:19:06 +00:00
Sebastien Helleu 220308e1fa Fixed hotlist for privates: now quit message is displayed as part/join/quit, not standard message 2005-07-19 10:17:17 +00:00
Sebastien Helleu 8166d15235 Fixed auto-rejoin for channels with key 2005-07-19 09:46:23 +00:00
Sebastien Helleu 575525d965 Reverted to previous code 2005-07-18 09:30:55 +00:00
Emmanuel Bouthenot 6271304832 change signatures in proxy functions 2005-07-17 23:10:17 +00:00
Sebastien Helleu bdf9eadf43 Fixed /ctcp command (now any command/data allowed) 2005-07-17 11:03:00 +00:00
Julien Louis 15ea11b57b Update path of weechat-curses.1 manpages in debian/rules 2005-07-17 08:59:27 +00:00
Sebastien Helleu f3390da5e3 Previous behaviour restored for key "^" (now inserted in buffer) 2005-07-17 00:15:48 +00:00
Sebastien Helleu eeff957278 Added /amsg command (send text to all channels of all connected servers) 2005-07-17 00:02:40 +00:00
Sebastien Helleu 1eac6d8fdd Added /amsg command (send text to all channels of all connected servers) 2005-07-16 23:26:01 +00:00
Sebastien Helleu 23696b44da Documentation is now included in source package and installed with standard process 2005-07-16 22:46:01 +00:00
Sebastien Helleu 63ffae72af Image not used any more in pdf version of doc 2005-07-16 22:44:06 +00:00
Sebastien Helleu 376c8a29d6 Makefile replaced by Makefile.am 2005-07-16 22:40:42 +00:00
Sebastien Helleu 8b1e3b9890 Man page moved to doc/ directory 2005-07-16 22:38:49 +00:00
Julien Louis 1b2c5571e6 Add @documentencoding macro to enable localized info files 2005-07-16 16:51:59 +00:00
Sebastien Helleu 4c6c367557 - added alt-j + alt-l key (switch to last buffer)
- added message for +q mode changing on a nick
2005-07-16 12:37:30 +00:00
Sebastien Helleu 99ad719ab9 Fixed segfault when switching to DCC buffer 2005-07-16 11:32:23 +00:00
Sebastien Helleu a68a1f8192 Added alt-k key to grab a key and insert result into input buffer 2005-07-16 11:14:47 +00:00
Julien Louis 930c40eae1 Sync debian packaging with actual version 2005-07-16 08:58:23 +00:00
Sebastien Helleu 9238a37351 Fixed minor typos 2005-07-15 12:16:14 +00:00
Sebastien Helleu a7c4c7237c Added control in clipboard copy function 2005-07-14 16:35:59 +00:00
Sebastien Helleu a9912cd266 - fixed SIGSEGV handler (now write a core file by aborting program)
- fixed statusbar & infobar background refresh problem with some systems
2005-07-14 07:04:45 +00:00
Sebastien Helleu 1d07964d17 Added color for private in hotlist (different than color for highlight) 2005-07-13 17:40:20 +00:00
Sebastien Helleu 06bd0f9f0e Special chars (between 01 and 31 decimal) not displayed any more on buffers (replaced by spaces) 2005-07-13 16:40:42 +00:00
Sebastien Helleu 4b1679900a Setting "dcc_auto_resume" now used, and fixed address & pos conversion to unsigned long for DCC 2005-07-13 16:39:49 +00:00
Sebastien Helleu 99f03cd2a3 Added DCC resume 2005-07-13 16:24:47 +00:00
Emmanuel Bouthenot 3d41a3fa2f correct bugs in clipboard management 2005-07-13 08:32:02 +00:00
Emmanuel Bouthenot 089b167573 close bug when using delete_end_line in empty line 2005-07-13 07:33:29 +00:00
Sebastien Helleu fc2d9732e5 When DCC failed, do not display local filename if transfer failed before starting 2005-07-12 19:28:09 +00:00
Sebastien Helleu 94a3b5e1ae Added message on server buffer when DCC file transfer failed (or was aborted) 2005-07-12 17:17:37 +00:00
Sebastien Helleu 6b12f19083 - added DCC timeout
- fixed FIFO pipe (command now authorized on a buffer not connected to an IRC server)
- fixed Perl bug with info reading functions
2005-07-12 17:05:01 +00:00
Emmanuel Bouthenot 8a6d35cf12 change return type from tuple to list for get_info('dccs') feature 2005-07-12 14:58:42 +00:00
Emmanuel Bouthenot d286f3922c adding getinfo feature about dccs 2005-07-12 14:46:44 +00:00
Emmanuel Bouthenot 505b43d15b add some gui_input features : clipboard and a 'translate_chars' function 2005-07-12 10:06:10 +00:00
Sebastien Helleu 07a820ced6 Added function for Perl/Python to get DCC list 2005-07-12 08:35:58 +00:00
Sebastien Helleu df6a41566b Updated spanish translation 2005-07-12 08:20:25 +00:00
Sebastien Helleu 263606fffb Updated TODO 2005-07-11 15:05:10 +00:00
Sebastien Helleu d4d065253e Topic completion now decodes UTF-8 string 2005-07-11 14:34:20 +00:00
Sebastien Helleu 673e7680af Fixed bug with IRC URL on command line (irc://) 2005-07-11 12:14:57 +00:00
Sebastien Helleu ad1120c84c Updated doc with new kayboard management 2005-07-09 22:23:41 +00:00
Sebastien Helleu f2a78ebc16 Updated TODO 2005-07-09 22:01:26 +00:00
Sebastien Helleu fef0932c1d Changed two shortcuts (jump to server and jump to next server, now prefixed by meta-j) 2005-07-09 17:50:04 +00:00
Sebastien Helleu 96bd473887 Internal functions descriptions for keys are now displayed and translated 2005-07-09 17:08:26 +00:00
Sebastien Helleu 89d107c1a9 Fixed typo on a color number 2005-07-09 15:58:54 +00:00
Sebastien Helleu 54d4fc12a6 - new keyboard management: keys are setup in config file, new command /key was added and some new default keys were added
- added seconds in infobar time (optional with new config flag)
- fixed some curses refreshs
2005-07-09 15:30:51 +00:00
Sebastien Helleu 55125beee4 Channels auto-prefixed by "#" (if no prefix found) for /join command 2005-07-06 07:13:03 +00:00
Julien Louis a724278215 Update packaging stuff 2005-07-04 04:50:59 +00:00
Sebastien Helleu e3799797ef Version 0.1.4-cvs 2005-07-02 18:22:40 +00:00
Sebastien Helleu b738f4c8aa Version 0.1.3 2005-07-02 17:21:50 +00:00
Sebastien Helleu 6f3b6d9e50 Version 0.1.3 2005-07-02 17:03:23 +00:00
Sebastien Helleu def35c5a66 Updated doc 2005-07-02 16:07:52 +00:00
Sebastien Helleu da4ee1a6ee Added tests after getaddrinfo function 2005-07-02 16:01:02 +00:00
Sebastien Helleu 7c31dd9189 gnutls lib now optional, configure goes on if lib is not found 2005-07-02 15:59:44 +00:00
Sebastien Helleu dbad2a0206 Translated some messages and added calls to freeaddrinfo() function 2005-06-30 20:16:07 +00:00
Emmanuel Bouthenot ec1d57063c - proxy support (http, socks4, socks5) with authentification for http, socks5 2005-06-30 19:22:01 +00:00
Sebastien Helleu 5bd56f86c6 * commands from users outside channel now authorized (if special user or channel without "n" flag)
* completion added for config option (with /set command)
2005-06-30 12:55:36 +00:00
Sebastien Helleu 2fab4da03d Updated TODO with SSL and IPv6 2005-06-28 08:33:13 +00:00
Sebastien Helleu c69c77507c Added IPv6 and SSL options for command line IRC url 2005-06-28 08:24:43 +00:00
Sebastien Helleu b330ec3dae Added IPv6 support 2005-06-27 16:27:31 +00:00
Sebastien Helleu ae8f8a5700 gnutls code compiled according to pre-processor var HAVE_GNUTLS 2005-06-22 21:08:21 +00:00
Julien Louis 5e8b47f187 * Add --disable-gnutls option to turn off gnutls support
* Remove wxwidgets checks when --enable-wxwidgets arg is not given
2005-06-22 18:50:24 +00:00
Sebastien Helleu f4abd0bf59 Added certificate management in SSL (connection now ok with SSL server) 2005-06-21 08:05:58 +00:00
Sebastien Helleu abe7e08147 kill command now received and displayed 2005-06-20 14:04:17 +00:00
Sebastien Helleu 4e9193a943 Added SSL support with gnutls lib 2005-06-19 20:55:10 +00:00
Julien Louis bbd373c44d Update debian/changelog 2005-06-19 19:44:01 +00:00
Sebastien Helleu 6b011234cf Added kolter and ptitlouis 2005-06-19 15:51:22 +00:00
Sebastien Helleu 71a76ada48 Channel notify levels are saved in config file 2005-06-19 14:22:11 +00:00
Sebastien Helleu a7ddb89076 Updated README 2005-06-18 20:27:05 +00:00
Sebastien Helleu 6fe262c131 File automatically updated 2005-06-18 11:44:37 +00:00
Julien Louis 0a32bc5326 Fix wrong debhelper version dependency. 2005-06-18 09:38:59 +00:00
Sebastien Helleu 70fe8e9472 part message now accepts %v (replaced by WeeChat version), like quit message 2005-06-18 09:28:16 +00:00
Julien Louis b0310b6e78 Set debhelper compatibility to avoid warnings during package build 2005-06-18 09:25:30 +00:00
Julien Louis 8218316502 Sync with official debian package 2005-06-18 08:42:08 +00:00
Emmanuel Bouthenot d00c99f292 errors while loading perl scripts are now displayed in server buffer (instead of current buffer) 2005-06-16 17:02:37 +00:00
Emmanuel Bouthenot f72e5952f2 in python scripts, all messages written in stdin and stderr are redirect in server window 2005-06-16 16:52:17 +00:00
Emmanuel Bouthenot ebf5f9e66d in python scripts, all messages written in stdin and stderr are redirect in server window 2005-06-16 16:41:41 +00:00
Emmanuel Bouthenot 7330dc862a fix a filename error while loading a python script manually 2005-06-16 16:38:36 +00:00
Sebastien Helleu 9eb1422bb7 Fixed plugins "print" and "prnt" functions: now ok for writing on server buffers 2005-06-16 11:02:19 +00:00
Sebastien Helleu d86a783b6a Fixed color problem with new libcurses version 2005-06-15 17:17:45 +00:00
Sebastien Helleu 5b3f96dace Display message content when nick is not found for an incoming "PRIVMSG" message 2005-06-15 17:16:35 +00:00
Emmanuel Bouthenot 821c2e87c8 update examples in python API 2005-06-05 12:54:31 +00:00
Sebastien Helleu 1de7b52aa2 Fixed crash when using alt-S or alt-X keys on DCC buffer (alt-D) 2005-05-31 15:09:54 +00:00
Sebastien Helleu 4d4a667094 Fixed crash when using alt-S or alt-X keys on DCC buffer (alt-D) 2005-05-31 07:55:17 +00:00
Emmanuel Bouthenot 0eb3d45582 Fix python library detection on FreeBSD 2005-05-29 15:15:12 +00:00
Sebastien Helleu 7c63a73999 Added cast to prevent problems with AMD64 where size_t is not int 2005-05-29 07:20:15 +00:00
Sebastien Helleu 2ab3467c05 Added cast for away time display (to prevent problems with *BSD, where time_t is int and not long int) 2005-05-29 06:46:01 +00:00
Emmanuel Bouthenot 37d74c4941 Fix perl headers and library detection on various systems 2005-05-24 15:14:54 +00:00
Sebastien Helleu 01186c6c8b Fixed startup crash when weechat config file is not found 2005-05-24 14:10:56 +00:00
Emmanuel Bouthenot 29ffe7e0d8 Remove unused $PERL_LIB var due to an impoved libperl detection 2005-05-23 21:52:53 +00:00
Emmanuel Bouthenot a8619181b7 Fix libperl and libpython detection 2005-05-23 21:45:50 +00:00
Julien Louis 5a90270a79 Fix configure args handling 2005-05-22 17:40:25 +00:00
Sebastien Helleu 3900a0f5ae Version 0.1.3-cvs 2005-05-22 16:12:24 +00:00
Sebastien Helleu 5f46617b11 Version 0.1.2 2005-05-21 07:04:11 +00:00
Sebastien Helleu 68ec2acbb3 Empty sources added for wxWidgets GUI 2005-05-21 05:29:50 +00:00
Sebastien Helleu e7041a467b Added "++++" at bottom of nicklist if end of nicklist is not displayed 2005-05-18 19:03:34 +00:00
Julien Louis ee2121b917 Remove weechat-gtk dependency since GTK gui does not exist 2005-05-12 19:56:53 +00:00
Sebastien Helleu bff5f95056 Plugin message handler is now called for own messages (as "privmsg" IRC command, with "localhost" as host to differenciate from other messages) 2005-05-08 12:19:47 +00:00
Sebastien Helleu 2b178c73fa Updated doc with new Perl/Python script interface 2005-05-07 22:53:05 +00:00
Sebastien Helleu 13d8a4f093 Fixed buffer detection for Perl/Python "print" and "command" functions 2005-05-07 11:26:31 +00:00
Sebastien Helleu b935a02ceb Perl and Python libraries now cheked in configure script 2005-05-07 09:29:26 +00:00
Sebastien Helleu e7c899014c Fixed nicklist sort mode: now modes are not cumulated any more (so for example all op will be sorted together) 2005-05-07 06:56:01 +00:00
Sebastien Helleu f88b75b241 Allow only server (with blank channel) for buffer search (for print & command functions) 2005-05-05 16:41:22 +00:00
Sebastien Helleu c8ad30020b Improved Perl interface and some changes in Python:
- function "print_with_channel" was removed
- function "command" now runs weechat command or send text to channel
- Perl functions are now called with weechat::name (instead of IRC::name)
- IRC::xxx functions are still active for compatibility with old scripts
2005-05-05 16:26:34 +00:00
Sebastien Helleu c6fc8bd147 Added Python plugin support 2005-05-01 19:03:15 +00:00
Sebastien Helleu eda55fbdb4 Added Python plugin support 2005-05-01 18:53:23 +00:00
Sebastien Helleu dca4064502 Added nicklist scroll keys (Alt+{home/end/pgup/pgdn} or F11/F12) 2005-04-30 19:21:28 +00:00
Sebastien Helleu 8a3d30b03a Changes for Mac OS X platform (now ok) 2005-04-30 10:29:54 +00:00
Sebastien Helleu 40d02fdffd Added IRC command "671" 2005-04-28 18:34:12 +00:00
Sebastien Helleu 7cc2635652 wxWidgets CFLAGS & libs are used for wxWidgets GUI only 2005-04-24 18:33:26 +00:00
Sebastien Helleu df2f164ffc wxWidgets missing error is now displayed only if this frontend is selected with --enable-wxwidgets switch 2005-04-24 12:01:23 +00:00
Benoit Papillault eb0b722ee5 Added WxWidgets frontend (no source files) 2005-04-24 11:08:22 +00:00
Sebastien Helleu 04d6257224 Backup and restore Makefile.am before and after gettextize 2005-04-24 08:48:54 +00:00
Sebastien Helleu 73c69d2d71 Added transfer rate for DCC files 2005-04-23 18:13:25 +00:00
Sebastien Helleu 2f9f37bed6 Updated autogen.sh script 2005-04-23 15:03:27 +00:00
Sebastien Helleu d90587c443 Fixed call to "has_color" in gui_window_set_color function 2005-04-22 16:47:02 +00:00
Sebastien Helleu 992632857f Added "485" IRC command 2005-04-20 21:27:44 +00:00
Sebastien Helleu 5ebab583f6 Added "-all" option for /nick command, added "341" IRC command (for invitation) 2005-04-19 21:02:59 +00:00
Sebastien Helleu ca117dbb24 Added config.rpath in extra dist 2005-04-19 20:08:19 +00:00
Sebastien Helleu 40c348df7a Removed debian/files from extra dist (not used) 2005-04-17 21:58:03 +00:00
Sebastien Helleu 0b781f96f7 Improved gettext installation (now ok under BSD) 2005-04-17 19:01:18 +00:00
Sebastien Helleu 5090689a76 Buffers timestamp can now be changed (new option in config file) 2005-04-09 11:34:15 +00:00
Sebastien Helleu a92ca4961b Hotlist not changed when self away or nick change 2005-04-09 08:03:53 +00:00
Sebastien Helleu ae8a4633ef Allow nick completion in private buffer with /me command 2005-04-07 18:58:01 +00:00
Sebastien Helleu 38505d02dd Fixed display bug with "-MORE-" in private or server buffers 2005-04-05 18:21:01 +00:00
Sebastien Helleu 20dcc4f56e Fixed crash when purging old DCC 2005-04-03 17:12:12 +00:00
Sebastien Helleu 36b2e10497 Fixed crash with 64-bits arch (like AMD64) when converting UTF-8, added weechat version in log at startup 2005-03-24 16:42:24 +00:00
Sebastien Helleu cec88e0047 "FIFO pipe" chapter translated to spanish 2005-03-21 21:57:16 +00:00
Sebastien Helleu 3198879ff2 Added missing IRC command 307 2005-03-21 06:18:03 +00:00
Sebastien Helleu 88a6fc7f16 Updated file 2005-03-20 10:17:30 +00:00
Sebastien Helleu fbcd5b3673 Remove compilation in parent dir for gui dir 2005-03-20 10:09:42 +00:00
Sebastien Helleu 7fe5afe3cb Check return codes in autogen.sh, remove compilation in parent dir for gui dir 2005-03-20 10:04:51 +00:00
Sebastien Helleu 212ca071c6 Version 0.1.2-cvs 2005-03-20 09:52:24 +00:00
Sebastien Helleu f5074da156 Version 0.1.1 2005-03-20 07:22:53 +00:00
Sebastien Helleu a23af790df Option irc_away_check is now 0 by default (waiting for fix) 2005-03-20 07:19:16 +00:00
Sebastien Helleu 6d1d1a7b90 Fixed display bug when halfop flag is set/unset 2005-03-17 21:40:54 +00:00
Sebastien Helleu 0b78294f1a Added /halfop & /dehalfop commands, fixed halfop display bug in nicklist 2005-03-16 21:49:49 +00:00
Sebastien Helleu 2580406aa7 Fixed translation 2005-03-15 22:52:18 +00:00
Sebastien Helleu bbd4011020 Added nicks count for channel buffers 2005-03-15 21:15:36 +00:00
Sebastien Helleu 1524432007 More explicit message when channel or nick not found 2005-03-15 19:01:58 +00:00
Sebastien Helleu 09242c3ba6 Added /ban, /unban and /kickban commands, fixed /kick command 2005-03-13 23:36:45 +00:00
Sebastien Helleu bba97304a0 Do not highlight server buffer for notices from memoserv 2005-03-13 09:22:48 +00:00
Sebastien Helleu 32851b7758 Do not highlight server buffer for notices from nickserv and chanserv 2005-03-13 09:05:53 +00:00
Sebastien Helleu 4322501ebd Fixed /invite command (and now invite requests are displayed) 2005-03-12 20:08:08 +00:00
Sebastien Helleu 39d14185a1 FIFO command/text not authorized on special buffers like DCC 2005-03-12 18:52:29 +00:00
Sebastien Helleu c3f5e88286 Added FIFO pipe for remote control 2005-03-12 03:16:30 +00:00
Sebastien Helleu 89c311646f Updated doc 2005-03-11 20:05:43 +00:00
Sebastien Helleu bcd4623a6d Added WeeChat & IRC commands to doc 2005-03-10 17:30:34 +00:00
Sebastien Helleu 8270b50548 Added spanish doc 2005-03-10 17:28:52 +00:00
Sebastien Helleu 6e253245fe Fixed some commands help for doc 2005-03-10 17:20:14 +00:00
Sebastien Helleu 47d03e7dee Fixed list of commands output 2005-03-10 15:49:49 +00:00
Sebastien Helleu 9fbd33faaf Added --irc-commands and --weechat-commands command line options 2005-03-10 15:40:18 +00:00
Sebastien Helleu 5301c75021 Fixed type used for Mac OS (replaced uint32_t by u_int32_t) 2005-03-10 14:49:50 +00:00
Sebastien Helleu 7f165b4c7c Display "Disconnected" only on connected servers 2005-03-09 13:59:12 +00:00
Sebastien Helleu 9526e4a79d Fixed crash when cancelling DCC CHAT that was not started 2005-03-09 13:56:05 +00:00
Sebastien Helleu 2b79d0fe5c Properly display CTCP SOUND on channel 2005-03-07 19:21:28 +00:00
Sebastien Helleu de43c7984a Fixed bug in server messages parser 2005-03-06 22:28:11 +00:00
Sebastien Helleu f78eb88e5a Crash message modified 2005-03-06 20:56:24 +00:00
Sebastien Helleu 4b5b5354da Fixed display bug with empty strings 2005-03-05 22:42:31 +00:00
Sebastien Helleu ac446e9c1f Nick completion with nothing as base word is disabled 2005-03-05 19:19:37 +00:00
Sebastien Helleu 951ec2e7be Fixed crash when a line is ending by lot of spaces 2005-03-05 19:19:12 +00:00
Sebastien Helleu bce7a0e961 Server errors are now displayed on appropriate buffers (default is server buffer) 2005-03-05 17:23:45 +00:00
Sebastien Helleu 7433015842 Added crash dump when WeeChat receives SIGSEGV (Segmentation fault) 2005-03-05 17:03:15 +00:00
Sebastien Helleu 57daa68be5 Fixed some translations 2005-02-28 10:45:09 +00:00
Sebastien Helleu d310a8e960 Fixed display bug when many windows are opened 2005-02-27 23:12:34 +00:00
Sebastien Helleu 4281d09a95 Fixed some translations 2005-02-27 22:49:38 +00:00
Sebastien Helleu 7dedba18bf Fixed typo 2005-02-27 13:43:44 +00:00
Sebastien Helleu 90e4e34f8c Added spanish translation 2005-02-27 13:25:36 +00:00
Sebastien Helleu 12026ef17e Fixed bug with disconnection (was causing high cpu usage) 2005-02-27 10:27:03 +00:00
Sebastien Helleu 46234f0504 Fixed completion bug: now allows command completion in private buffers 2005-02-27 10:16:51 +00:00
Sebastien Helleu 4d4d697b17 Added date/time for DCC CHAT on DCC buffer 2005-02-27 10:08:45 +00:00
Sebastien Helleu 3686d92cb5 Added DCC CHAT (send & recv) 2005-02-27 02:40:11 +00:00
Sebastien Helleu 64c33a8295 Improved display: align messages after prefixes (for example: "-@-" or "-=-") 2005-02-26 11:52:40 +00:00
Sebastien Helleu 7596736ae9 Added new display engine: doesn't cut words at end of lines 2005-02-26 11:10:20 +00:00
Sebastien Helleu 8f55d297e6 Don't check for away on channels when connection to server is down 2005-02-24 21:27:03 +00:00
Sebastien Helleu 5238dba084 Remove brackets after nick in status bar for private buffers 2005-02-22 22:31:57 +00:00
Sebastien Helleu 81e700ea43 Added key for previous window (now: F5/F6 = switch buffer, F7/F8 = switch window) 2005-02-22 21:58:40 +00:00
Sebastien Helleu a13f301d49 Added key for previous window (now: F5/F6 = switch buffer, F7/F8 = switch window) 2005-02-22 21:48:26 +00:00
Sebastien Helleu 575565371b Nicklist now refreshed when using multiple windows 2005-02-22 19:35:52 +00:00
Sebastien Helleu 24d0c49ae4 Fixed crash when quitting WeeChat 2005-02-22 19:32:37 +00:00
Sebastien Helleu 559b651669 Fixed /connect and /disconnect commands, improved output of some commands 2005-02-21 20:29:55 +00:00
Sebastien Helleu 6199f9b629 /set command does not add "=" any more after completed option name 2005-02-20 15:01:41 +00:00
Sebastien Helleu 6e60c95056 Fixed minor display bug 2005-02-20 13:41:07 +00:00
Sebastien Helleu 73f6606771 Connection to IRC server is now made by child process (non blocking) 2005-02-20 13:37:47 +00:00
Sebastien Helleu e3088336ab Fixed translation 2005-02-20 00:18:12 +00:00
Sebastien Helleu 3e81666752 Added DCC send 2005-02-20 00:08:22 +00:00
Sebastien Helleu 6d0be7db4b Added test of HAVE_ICONV, so compile is ok if iconv is not found 2005-02-19 00:32:11 +00:00
Sebastien Helleu 5cdcfdebb7 Improved /help command output 2005-02-17 22:48:44 +00:00
Sebastien Helleu ca50f2c8fc Removed AC_FUNC_MALLOC and AC_FUNC_REALLOC (was causing troubles with cross-compile) 2005-02-17 20:33:37 +00:00
Sebastien Helleu 84f84823c9 Added support for UnrealIrcd ("~" for chan owner, "&" for chan admin) 2005-02-15 20:03:35 +00:00
Sebastien Helleu 0d21ca207d Fixed /buffer close command (now ok when disconnected from server) 2005-02-15 18:41:47 +00:00
Sebastien Helleu 235d96d728 Fixed /help command (display bug) 2005-02-14 22:42:23 +00:00
Sebastien Helleu 58417dddc6 Fixed infobar display bug when multpile windows are opened 2005-02-13 20:25:52 +00:00
Sebastien Helleu b3d66118b4 Fixed display bugs when many windows are opened 2005-02-13 19:59:11 +00:00
Sebastien Helleu 0473d2c8db Plugins messages are logged with new config option (log_plugin_msg); on server buffer, only server messages are logged 2005-02-12 21:21:54 +00:00
Sebastien Helleu 34ce958df9 Version 0.1.1-cvs 2005-02-12 13:32:42 +00:00
Sebastien Helleu dfc1c0370d Version 0.1.0 2005-02-12 12:59:32 +00:00
Sebastien Helleu 89d9fb641e Default decoded charset is UTF-8 2005-02-12 11:12:46 +00:00
Sebastien Helleu a55da76244 Fixed display bug for nicklist window when using multiple windows 2005-02-10 18:42:14 +00:00
Sebastien Helleu e90e206b35 Updated french translations 2005-02-06 16:04:59 +00:00
Sebastien Helleu 8ede80b2b6 Nick window separator is now a single line (instead of colored space) 2005-02-06 15:56:32 +00:00
Sebastien Helleu 1af0359046 Fixed charset conversions when locale is UTF-8 (added "look_charset_internal" option) 2005-02-06 13:15:47 +00:00
Sebastien Helleu 9c67fdf3ea Fixed display bug when resizing term with many windows 2005-02-06 10:34:51 +00:00
Sebastien Helleu 0c695733b3 Improved /window command: now split and merge are ok, fixed crash when resizing terminal to small size 2005-02-06 03:13:33 +00:00
Sebastien Helleu df4ed3eeba Updated documentation and french translations 2005-02-05 18:07:12 +00:00
Sebastien Helleu 85bd530a88 Away check is now customizable (with new irc_away_check option) 2005-02-05 17:39:48 +00:00
Sebastien Helleu 8921e45815 Fixed many memory leaks 2005-01-31 23:33:59 +00:00
Sebastien Helleu 74b83e5294 Fixed small color bug in nicks 2005-01-27 22:28:30 +00:00
Sebastien Helleu 4fa9edeb56 Fixed bug when sending automatically who command during server split 2005-01-27 13:37:55 +00:00
Sebastien Helleu 4d3e76eb3e Fixed bug in message parser when connected to many servers 2005-01-27 00:11:06 +00:00
Sebastien Helleu c48ee3cd73 Fixed bug in message parser when connected to many servers 2005-01-26 23:54:29 +00:00
Sebastien Helleu 9a7b7af41c Away nicks are now displayed with another color 2005-01-26 22:21:58 +00:00
Sebastien Helleu 7debba0eca Added away indicator 2005-01-25 20:54:22 +00:00
Sebastien Helleu a0255a0a3a Updated doc with new config options 2005-01-23 18:29:20 +00:00
Sebastien Helleu 159fa3d806 Improved completion for /set command (now adds '=' at the end) 2005-01-23 18:24:08 +00:00
Sebastien Helleu 07686bf69b Min value for "irc_lag_min_show" is now 0 2005-01-23 17:59:18 +00:00
Sebastien Helleu f877e8be51 Fixed display bug for lag (missing space) 2005-01-23 17:31:53 +00:00
Sebastien Helleu 757d00ab48 Fixed crash when closing some private buffers 2005-01-23 16:32:40 +00:00
Sebastien Helleu ecb6ed6707 Wait "irc_lag_check" seconds for 1st lag check after connection to server 2005-01-23 10:05:38 +00:00
Sebastien Helleu 9d0b6fad72 Added lag indicator 2005-01-23 02:14:37 +00:00
Sebastien Helleu 63d6ee1007 Added nick completion in private buffers 2005-01-19 17:05:34 +00:00
Sebastien Helleu 6a1230de54 Added charset conversion in infobar 2005-01-19 17:04:55 +00:00
Sebastien Helleu 684f43298e Updated french translation 2005-01-19 06:25:07 +00:00
Sebastien Helleu 26af7b49fd Fixed possible crash with "/server del" and "/buffer close" commands 2005-01-19 06:21:27 +00:00
Sebastien Helleu 1ee8e1edb2 Allow nick completion for /quote command 2005-01-17 22:03:33 +00:00
Sebastien Helleu a5bbd513b7 Allow nick completion for /me command 2005-01-16 19:29:40 +00:00
Sebastien Helleu 88930e50dd Improved completion (now completes commands args), fixed color bug (gray removed, replaced by default), fixed crash when unknown section with option(s) in config file, fixed IRC commands: /op, /deop, /voice, /devoice 2005-01-16 11:52:22 +00:00
Sebastien Helleu 555999534e Fixed /quit command with arg and %v 2005-01-09 12:03:07 +00:00
Sebastien Helleu 64601fc662 Fixed /me command (now ok without parameter) 2005-01-08 17:37:23 +00:00
Sebastien Helleu d8360af103 Fixed display bug for title in first server buffer 2005-01-08 11:53:10 +00:00
Sebastien Helleu 55c042d604 Logs are now disabled by default (server/channel/private) 2005-01-08 11:40:23 +00:00
Sebastien Helleu 6d3c24361d Improved /set command: new colors, server options can be changed while WeeChat is running 2005-01-05 23:07:08 +00:00
Sebastien Helleu 2f5c9a8fd4 Fixed /away command, new [irc] config section, option "look_display_away" moved to "irc_display_away", added default away/part/quit messages in config file 2005-01-04 22:48:40 +00:00
Sebastien Helleu 96fc2c9aec Server & error messages now prefixed, /server command modified, ~/.weechat/logs dir can be read/write by user only 2005-01-03 23:40:22 +00:00
Sebastien Helleu aca19813ad Added chmod on ~/.weeechat/weechat.rc file (only onwer can read/write) 2005-01-02 16:22:20 +00:00
Sebastien Helleu 7dbaec1abf Replaced "curses" by "ncurses" 2005-01-02 13:07:19 +00:00
Sebastien Helleu 3b05b6bafe Reset away time when disconnected from server 2005-01-02 12:26:20 +00:00
Sebastien Helleu 82265b629b Fixed /away command (now ok when not away) 2005-01-02 11:44:33 +00:00
Sebastien Helleu a3e3113e4e Fixed /set command (now empty strings are allowed) 2005-01-02 02:45:06 +00:00
Sebastien Helleu b2c5317e17 Added new options look_charset_decode/look_charset_encode and /unset command. 2005-01-02 02:10:10 +00:00
Sebastien Helleu 9adb547b36 Version 0.1.0-cvs 2005-01-01 13:27:54 +00:00
Sebastien Helleu 14e833c257 Version 0.0.9 2005-01-01 12:31:19 +00:00
Sebastien Helleu de5af8a3b1 Added /buffer close, new keys: Alt-S (switch to server buffer), Alt-X (switch to first channel of next server) 2004-12-31 15:59:58 +00:00
Sebastien Helleu 37a2f80fae Fixed bug when parsing messages, now looking for for \r\n and \n to cut messages 2004-12-28 08:21:53 +00:00
Sebastien Helleu 0f95a48854 Fixed bug in notice display when no '!' is found in host 2004-12-28 07:52:56 +00:00
Sebastien Helleu 39b5f07d6f Inline help is now translated with gettext 2004-12-27 17:15:59 +00:00
Sebastien Helleu f4f2ec3668 auto-reconnection to server (new options: server_autoreconnect (on/off), server_autoreconnect_delay (in seconds)), disconnections are now managed without problem by WeeChat 2004-12-27 16:22:39 +00:00
Sebastien Helleu 486e55be02 Updated french translation 2004-12-27 12:53:58 +00:00
Sebastien Helleu c35f841b58 Major bug fixed when socket is closed by server (100% CPU usage fixed) 2004-12-27 12:50:51 +00:00
Sebastien Helleu 209fe89d27 Fixed bug when resizing window (input not displayed after resize) 2004-12-24 12:46:00 +00:00
Sebastien Helleu fca4840c4a Colors suppression in incoming messages is now ok (option look_remove_colors_from_msgs) 2004-12-23 11:31:34 +00:00
Sebastien Helleu 97ef63e2e6 Updated ChangeLog 2004-12-22 13:39:39 +00:00
Sebastien Helleu 17b409afe8 Fixed notice command (to server and display when received), fixed display of nick mode changes 2004-12-22 13:34:24 +00:00
Sebastien Helleu bf4bcd3b8c Updated doc for version 0.0.9-pre1 2004-12-22 10:57:45 +00:00
Sebastien Helleu 5233063825 Added keys: Ctrl+A (=home), Ctrl+E (=end), Ctrl+W (=ctrl+backspace) 2004-12-22 09:31:08 +00:00
Sebastien Helleu 9eeece2ccb Fixed typo 2004-12-22 01:16:27 +00:00
Sebastien Helleu 9e8f42c141 French translation for new config option "server_command_delay" 2004-12-21 19:55:21 +00:00
Sebastien Helleu 996343fc1d Added server_command_delay config option (delay in seconds after startup command) 2004-12-21 19:35:09 +00:00
Sebastien Helleu ecafff21ce Changes in main event loop: treats keyboard input & servers messages at same time 2004-12-21 19:11:38 +00:00
Sebastien Helleu cf9d394e3a Modified CFLAGS management (can now be customized) 2004-11-05 21:05:32 +00:00
Sebastien Helleu 0955167b6b Version 0.0.9-pre1 2004-10-30 12:14:14 +00:00
Sebastien Helleu 2b96cacd51 Version 0.0.8 2004-10-30 09:57:16 +00:00
Sebastien Helleu 45f7cdda18 Added debian dir 2004-10-30 09:53:47 +00:00
Sebastien Helleu dcf0119264 Removed file 2004-10-30 09:49:22 +00:00
Sebastien Helleu c98365803d Renamed man page weechat.1 to weechat-curses.1 2004-10-30 09:47:51 +00:00
Sebastien Helleu ebcf17c78d Fixed bug with /kick command (now ok with many words as reason) 2004-10-29 08:02:07 +00:00
Sebastien Helleu 022bf4d070 Fixed bug with /kick command (now ok with many words as reason) 2004-10-24 19:27:02 +00:00
Sebastien Helleu d37ec4791c Changed xahlexx mail 2004-10-22 19:45:41 +00:00
Sebastien Helleu e5038b4119 nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off) 2004-10-17 11:33:21 +00:00
Sebastien Helleu 482d327562 nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off) 2004-10-17 11:28:03 +00:00
Sebastien Helleu cb5269404c Fixed display bug with channel name and privates when kicked 2004-10-17 09:24:27 +00:00
Sebastien Helleu 76c4d4d427 Auto-rejoin channels when kicked (new config option: server_autorejoin on/off) 2004-10-17 09:13:54 +00:00
Sebastien Helleu 34c6051ffc Updated doc for version 0.0.8-pre2 2004-10-03 19:51:22 +00:00
Sebastien Helleu e69afa1401 Fixed call to plugin_exec_command when server is NULL 2004-10-03 16:40:16 +00:00
Sebastien Helleu 2a227141c4 Fixed bug in wee_perl_exec() when server == NULL 2004-10-03 16:37:56 +00:00
Sebastien Helleu 7ef14b95b6 Added IRC::command function for Perl scripts 2004-10-03 16:29:05 +00:00
Sebastien Helleu 4e5f1698ba Fixed bug when adding alias with same name as other 2004-10-03 12:43:32 +00:00
Sebastien Helleu 0a6945b6ed Command "/buffer notify" 2004-10-03 01:56:30 +00:00
Sebastien Helleu 046452b7e0 Perl plugin interface available 2004-10-01 12:40:39 +00:00
Sebastien Helleu d79dc3233a Fixed display bug: now redraws all DCC view when one or more DCC status are modified 2004-09-28 21:33:54 +00:00
Sebastien Helleu ce7f24ecc1 Log server/channel/private to file 2004-09-19 20:26:15 +00:00
Sebastien Helleu 0f718bf2c0 Commands "/buffer (list)" and "/buffer move" now ok 2004-09-19 09:46:11 +00:00
Sebastien Helleu a9e05f57ee Commands "/buffer (list)" and "/buffer move" now ok 2004-09-19 09:21:50 +00:00
Sebastien Helleu 24508e733c Fixed path for included .h files 2004-09-19 06:59:18 +00:00
Sebastien Helleu 9f5c71ca98 Fixed typo in french translation 2004-09-18 16:03:20 +00:00
Sebastien Helleu 491dff4238 Redraw status bar when closing DCC view 2004-09-18 16:02:50 +00:00
Sebastien Helleu 7b84ab4b71 Added some options for ./configure script 2004-09-16 22:08:03 +00:00
Sebastien Helleu c656661812 Added DCC control keys (Accept, Cancel, Remove, Close DCC view) 2004-09-16 20:01:56 +00:00
Sebastien Helleu 6753591f86 New /perl autoload command 2004-09-13 19:48:22 +00:00
Sebastien Helleu 4e8ed66a1e Updated french translations 2004-09-12 17:33:16 +00:00
Sebastien Helleu 0e47caf091 Away now announced in channels, and config option "look_display_away" added to enable/disable this feature 2004-09-12 17:22:45 +00:00
Sebastien Helleu 6100af949b Updated french translations 2004-09-12 11:47:36 +00:00
Sebastien Helleu 4b3d25175f Display DCC progress in realtime, added selected DCC color config option, move into DCC list is ok (scroll) 2004-09-11 14:54:11 +00:00
Sebastien Helleu b3fd00fc23 Removed debug message 2004-09-09 22:24:08 +00:00
Sebastien Helleu 1484e17ce1 DCC not auto accepted (depending on config), "~" replaced by home in dcc download dir, suffix displayed in filename received (if file is renamed), highlight for DCC buffer 2004-09-09 21:41:54 +00:00
Sebastien Helleu 9759d72d3d Incoming DCC file 2004-09-08 21:48:45 +00:00
Sebastien Helleu 92eb995917 Receive DCC packets (for DCC file) 2004-09-08 16:56:56 +00:00
Sebastien Helleu 1425ee40f4 Fixed crash when resizing terminal to very small size, "-MORE-" message is now erased when switching to another buffer 2004-09-08 16:41:15 +00:00
Sebastien Helleu c8eae742b9 Version 0.0.8-pre2: DCC window with Alt-D, /query command now reopens private buffer if already opened 2004-08-31 22:53:33 +00:00
Sebastien Helleu 441dd2313f Updated doc for v0.0.7 (date) 2004-08-27 20:55:36 +00:00
Sebastien Helleu aea603b6ed Added DCC buffer type 2004-08-26 22:20:04 +00:00
Sebastien Helleu 9c6f2fcb8c Added Ctrl-L key to redraw terminal 2004-08-25 20:51:25 +00:00
Sebastien Helleu 74ee53c102 Added Ctrl-L key to redraw terminal 2004-08-25 20:51:25 +00:00
Sebastien Helleu 649fd216ed After hotlist clear, initial buffer for loop is current buffer 2004-08-10 18:07:43 +00:00
Sebastien Helleu 9278198964 Added key for clearing hotlist (Alt-R) 2004-08-10 18:02:38 +00:00
Sebastien Helleu 2ff30b15f2 Version 0.0.8-pre1 2004-08-08 21:25:52 +00:00
Sebastien Helleu c94e1204aa Version 0.0.7 2004-08-08 19:49:15 +00:00
Sebastien Helleu 2d438492d7 Fixed typo in french translation 2004-07-13 19:32:08 +00:00
Sebastien Helleu 8959ba9759 Fixed bug with hotlist when closing buffer 2004-07-13 18:15:04 +00:00
Sebastien Helleu b9e5c94032 Free all buffers when exiting from WeeChat 2004-07-10 15:39:39 +00:00
Sebastien Helleu 4c660ad565 Free all buffers when exiting from WeeChat 2004-07-10 12:29:20 +00:00
Sebastien Helleu ab393805fb Alt-0 now switches to buffer #10 2004-07-10 07:39:06 +00:00
Sebastien Helleu dea586e5f1 Fixed crash when opening second server window 2004-07-09 22:26:30 +00:00
Sebastien Helleu e1afa31563 Fixed bug when closing window (new numbers for next buffers if any) 2004-07-06 19:54:31 +00:00
Sebastien Helleu 750a5cbc6d Added "col_status_delimiters" config option 2004-07-05 22:31:26 +00:00
Sebastien Helleu 77fab4ae29 Fixed nick color when nick is changed (now uses always same color) 2004-07-05 17:43:42 +00:00
Sebastien Helleu 622a18fb3f Removed "?" when system date not found 2004-07-04 21:03:39 +00:00
Sebastien Helleu 97b34b36fc DCC skeleton 2004-07-04 16:04:00 +00:00
Sebastien Helleu fb21a1c7f9 Hotlist management (buffers with activity) 2004-07-04 15:58:40 +00:00
Sebastien Helleu f02ba717a0 Added /buffer command, jump to buffer by number (alt-digit), actions now ok in private buffers 2004-07-04 15:39:49 +00:00
Sebastien Helleu 9e6938bdf7 Added auto-switch to active channels (alt-a) 2004-07-03 14:07:09 +00:00
Sebastien Helleu b9a40bbe21 Buffers ordered by number, unique color for each nick, action messages now like messages (not crappy msgs), --enable-debug replaced by --with-debug for ./configure script 2004-07-02 23:19:36 +00:00
Sebastien Helleu 062e5ea1ae Window management 2004-07-01 20:43:57 +00:00
Sebastien Helleu 66ff97166f Version 0.0.7-pre2 - window management 2004-06-22 22:21:22 +00:00
Sebastien Helleu 095f296529 Fixed display bug when nicklist is displayed at bottom of screen 2004-06-17 18:48:01 +00:00
Sebastien Helleu 340176d635 Added history limit (text buffer & commands) 2004-06-13 00:40:30 +00:00
Sebastien Helleu fed6c36d19 Added Gentoo install command 2004-06-12 14:01:28 +00:00
Sebastien Helleu 3f84a8456a Version 0.0.7-pre1 2004-06-05 16:56:59 +00:00
Sebastien Helleu fc95f86528 v0.0.6 doc 2004-06-05 10:59:14 +00:00
Sebastien Helleu d7287a71e5 Version 0.0.6 2004-06-05 09:20:35 +00:00
Sebastien Helleu b861403369 Updated FAQ, added french FAQ 2004-05-31 21:13:55 +00:00
Sebastien Helleu d8a790e8eb New license for doc (FDL => GPL) 2004-05-31 16:26:45 +00:00
Sebastien Helleu 9211a67fb4 Improved channel highlight (priority to message vs join/part) 2004-05-31 15:16:34 +00:00
Sebastien Helleu d0babb2896 Fixed bug in /away command 2004-05-31 15:14:06 +00:00
Sebastien Helleu ad345c0bce Added WeeChat forum URL. 2004-05-13 15:58:04 +00:00
Sebastien Helleu 3b7b459522 Updated TODO 2004-04-25 10:46:33 +00:00
Sebastien Helleu a99e6f3d95 Fixed bug when a user changes nick (do not change private window name if nick is not the same) 2004-04-19 21:53:12 +00:00
Sebastien Helleu 35d6c43f85 Fixed bug when opened private win and remote user changes his nick 2004-03-27 15:09:36 +00:00
Sebastien Helleu db235b23fa /query command added, IRC messages 476, 477 now displayed 2004-03-20 11:19:00 +00:00
Sebastien Helleu a4ed5069c1 Fixed IRC channel for support 2004-03-07 19:04:18 +00:00
Sebastien Helleu 0bd38072f2 Display channel modes when joining channel that already exists (i.e. with modes already set) 2004-02-29 21:16:22 +00:00
Sebastien Helleu 81da0f41d7 Added modes channel (and /mode command is now ok), dcc skeleton, fixed display bug for nicklist 2004-02-29 16:31:26 +00:00
Sebastien Helleu 070e1b6ec7 Fixed display bug (text was blinking when scrolling) 2004-02-24 23:29:58 +00:00
Sebastien Helleu 4e86ff9682 CTCP Version reply is now in english only and doesn't show host (security reason) 2004-02-21 13:26:28 +00:00
Sebastien Helleu 867b881bac Version 0.0.6-pre1 2004-02-07 21:25:53 +00:00
Sebastien Helleu 2c31a11aeb Version 0.0.5 2004-02-07 19:35:26 +00:00
Sebastien Helleu 1d2a83b055 Version 0.0.5 2004-02-07 19:22:53 +00:00
Sebastien Helleu 915ea408f0 Updated doc 2004-01-25 14:13:42 +00:00
Sebastien Helleu c9a469f51b Channel can be specified at the end of command line URL with /channel 2004-01-24 21:53:22 +00:00
Sebastien Helleu 69cb87251e /set command is now ok 2004-01-24 20:17:01 +00:00
Sebastien Helleu 8bcbc3dcae Secured code to prevent buffer overflows and memory leaks 2004-01-24 12:59:57 +00:00
Sebastien Helleu dcb3b6fc7e Secured code to prevent buffer overflows and memory leaks 2004-01-24 02:22:16 +00:00
Sebastien Helleu 16717f8322 Fixed memory leak in exec_weechat_command() 2004-01-23 19:44:59 +00:00
Sebastien Helleu dc38b59849 Infobar highlight notifications 2004-01-21 18:40:13 +00:00
Sebastien Helleu 7d91cdcbb3 Updated bugs 2004-01-21 15:57:20 +00:00
Sebastien Helleu 885fe7434f Fixed QUIT command: now sent to all connected servers (not only current) 2004-01-21 15:55:25 +00:00
Sebastien Helleu 84677f2835 Added IRC::print_infobar Perl function 2004-01-21 15:29:43 +00:00
Sebastien Helleu c20a3fdfa4 Added look_infobar_timestamp config option 2004-01-19 23:16:07 +00:00
Sebastien Helleu f97a5555ca Removed unused variables 2004-01-19 00:00:43 +00:00
Sebastien Helleu 59bd0b825d Fixed minor typo 2004-01-19 00:00:13 +00:00
Sebastien Helleu 38bf163c17 Servers allowed on command line (irc://nick:passwd@irc.example.org:port) 2004-01-18 23:53:34 +00:00
Sebastien Helleu 09a36a5d8e Changed default color for info bar 2004-01-18 19:03:28 +00:00
Sebastien Helleu 10f0236ea9 Added info bar 2004-01-18 18:59:34 +00:00
Sebastien Helleu 6d7afb96c1 Fixed crash with /oper command 2004-01-18 18:58:38 +00:00
Sebastien Helleu 48941e3646 Updated ChangeLog 2004-01-17 10:47:37 +00:00
Sebastien Helleu 72cb070ee4 Fixed bug when un*x realname (in /etc/passwd) is not set 2004-01-17 10:33:11 +00:00
Sebastien Helleu 390a097718 Added check of sys/types.h pwd.h and errno.h 2004-01-17 10:23:01 +00:00
Sebastien Helleu f4733b970a Updated french translations 2004-01-17 10:17:21 +00:00
Sebastien Helleu b80086cfac Nick for default config file is now based on un*x user 2004-01-17 10:15:27 +00:00
Sebastien Helleu 984eaaf826 Updated Changelog 2004-01-15 23:09:18 +00:00
Sebastien Helleu 0dddf86ab7 Fixed crash when config file can not be created 2004-01-15 21:51:55 +00:00
Sebastien Helleu c057937c7b Create plugin directories only if plugin is built when WeeChat is compiled 2004-01-15 21:33:18 +00:00
Sebastien Helleu 938cc50f5e Added LOCALEDIR define 2004-01-15 21:00:27 +00:00
Sebastien Helleu aac1a0a08c Added default values for --config option 2004-01-11 22:54:20 +00:00
Sebastien Helleu b77e441dc4 Added config file options 2004-01-11 22:53:13 +00:00
Sebastien Helleu f9279df092 Added -c (--config) command line parameter to see config file options 2004-01-11 17:45:37 +00:00
Sebastien Helleu d84b1fa58f Added -c (--config) command line parameter to see config file options 2004-01-11 17:29:56 +00:00
Sebastien Helleu 12941227d7 Updated doc for v0.0.4 2004-01-03 10:37:33 +00:00
Sebastien Helleu 25f79c7bba Highlight action messages 2004-01-01 23:14:20 +00:00
Sebastien Helleu ac3f6dfa7b Version 0.0.5-pre1 2004-01-01 23:13:42 +00:00
Sebastien Helleu 65704c6fea Added --enable-perl for ./configure and Perl dependency for Debian package (for building v0.0.4 RPM & Debian packages) 2004-01-01 11:48:46 +00:00
Sebastien Helleu 85c32048cf Modified revision date 2004-01-01 11:22:27 +00:00
Sebastien Helleu ffbc4c0b0c Version 0.0.4 2004-01-01 11:10:22 +00:00
Sebastien Helleu 4e138f3dca Removed Qt sources (not used today) 2004-01-01 10:57:13 +00:00
Sebastien Helleu df66856a28 New copyright 2003-12-31 17:02:57 +00:00
Sebastien Helleu 6950745079 New copyright 2003-12-31 16:56:11 +00:00
Sebastien Helleu 3b6bf81ad6 Updated FAQ. 2003-12-31 16:45:50 +00:00
Sebastien Helleu fd3e94070a When private window is created (another user is talking), WeeChat does not switch to this window 2003-12-31 16:00:20 +00:00
uid67137 0708f1a571 Added highlight (when our nick is written in a channel/private window), added "col_chat_highlight" configuration option 2003-12-26 19:36:52 +00:00
uid67137 3ea696bbc0 Perl scripts auto-load, if no path given, look in ~/.weechat/perl when loading Perl script, auto create plugin directories at startup (~/.weechat/perl, /perl/autoload, /python, /python/autoload, /ruby, /ruby/autoload) 2003-12-26 12:59:31 +00:00
uid67137 57e00428ca Added problem with WeeChat and KDE Konsole 2003-12-24 09:28:49 +00:00
uid67137 555a4191d4 Updated Portuguese doc. 2003-12-23 21:20:02 +00:00
Sebastien Helleu a1f09df80f - added IRC::get_info function for Perl scripts
- cleanup code in main() function of weechat.c
- fixed bug when unloading all Perl scripts (now end and restart Perl interpreter)
2003-11-30 19:18:06 +00:00
Sebastien Helleu c8c5ff3d68 Added "Perl scripts unloaded" message when unloading all Perl scripts 2003-11-30 15:09:04 +00:00
Sebastien Helleu e2e384df49 Added "print_with_channel" function (for Perl scripts) 2003-11-29 16:18:02 +00:00
Sebastien Helleu 507a5c17c0 Added plugin prefix ("=P=") in front of scripts messages 2003-11-29 10:37:37 +00:00
Sebastien Helleu 4f23a3c621 SIGINT signal (Ctrl-C) intercepted, handler does nothing 2003-11-28 23:15:17 +00:00
Sebastien Helleu ba618d3276 Updated TODO 2003-11-23 17:41:13 +00:00
Sebastien Helleu 2f1af3b53e Updated french translation 2003-11-23 17:40:58 +00:00
Sebastien Helleu 10a170bf7d - Perl unloading is now ok (unload all scripts),
- /perl prints all Perl scripts,
- error if registering 2 Perl scripts with same (internal) name.
2003-11-23 17:40:19 +00:00
Sebastien Helleu 7a3ee901a4 Updated doc 2003-11-23 17:29:18 +00:00
Sebastien Helleu e469f0ef48 WeeChat documentation 2003-11-23 13:15:27 +00:00
Sebastien Helleu ba65f5ec30 Renamed PLUGIN_* macros and fixed bug in "IRC::add_message_handler" function 2003-11-22 16:55:56 +00:00
Sebastien Helleu 7779b2f78e Added Perl command handlers 2003-11-22 14:14:30 +00:00
Sebastien Helleu edcc01bcf0 Added Perl message handlers 2003-11-17 21:07:17 +00:00
Sebastien Helleu fe4ca01615 Added Perl handlers 2003-11-16 23:46:48 +00:00
Sebastien Helleu 62fabde373 Removed perl.c 2003-11-16 19:52:43 +00:00
Sebastien Helleu 8758555b19 Updated (Perl interface ok) 2003-11-16 19:47:14 +00:00
Sebastien Helleu d4ec2e46aa Perl plugin support 2003-11-16 19:40:36 +00:00
Sebastien Helleu fd9512bbbc Perl plugin skeleton 2003-11-09 00:08:01 +00:00
Sebastien Helleu 176198fdc6 DEBUG macro moved to config.h 2003-11-09 00:03:57 +00:00
Sebastien Helleu 97d5c9bd0e Fixed display bug in --help and --license options 2003-11-03 22:59:36 +00:00
Sebastien Helleu 13949e2ace Version 0.0.4-pre1 2003-11-03 22:59:16 +00:00
427 changed files with 265617 additions and 23708 deletions
+1111
View File
File diff suppressed because it is too large Load Diff
+35 -17
View File
@@ -4,26 +4,44 @@ WeeChat - Wee Enhanced Environment for Chat
Developers:
----------
All developers are connected to IRC:
server: irc.freenode.net, channel: #weechat
* General code
FlashCode <flashcode@flashtux.org>
Web : http://www.flashtux.org
IRC : nick is "FlashCode"
Jabber: flashcode@jabber.org
ICQ : 160677660
AIM : FlashCode AIM
Yahoo : FlashCode_Y
FlashCode <flashcode@flashtux.org>
Web : http://weechat.flashtux.org
IRC : nick is "FlashCode" @ irc.freenode.net
Bounga <bounga@altern.org>
Web : http://bounga.ath.cx
IRC : nick is "Bounga"
Jabber: Bounga@jabber.org
ICQ : 178297842
* Scripts plugins
Xahlexx <xahlexx@tuxisland.org>
Web : http://www.tuxisland.org
IRC : nick is "xahlexx"
kolter <kolter@openics.org>
IRC : nick is "kolter" @ irc.freenode.net
Debian packager:
---------------
Julien Louis <ptitlouis@sysif.net>
IRC : nick is "ptitlouis" @ irc.freenode.net
Jabber: ptitlouis@amessage.info
Contributors:
------------
Rudolf Polzer <rpolzer-rp@durchnull.de>, IRC: "divVerent"
Jiri Golembiovsky <golemj@gmail.com>, IRC: "GolemJ"
Jim Ramsay <i.am@jimramsay.com>, IRC: "lack"
Odin <odin@dtdm.org>, IRC: "Odin"
Pistos, IRC: "pistos"
Gwenn, IRC: "gwenn"
Voroskoi, IRC: "voroskoi"
Frank Zacharias
Pavel Shevchuk, IRC: "Stalwart"
=====
Whole team is connected to IRC:
server: irc.freenode.net, channels: #weechat and #weechat-fr (french)
See README file for licence detail.
+2 -14
View File
@@ -1,17 +1,5 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat known bugs, 2003-11-03
- ./configure does not check that Curses header is installed
- ./configure does not check that Gtk 2.0 libraries are installed
- too much nicks in the channel (> height of window) => display bug
- some IRC commands are marked as 'unknown' when received
(IRC protocol is under dev!)
- intercept Ctrl-C (do not quit immediately if Ctrl-C pressed!)
- too much opened channels => display bug
- when kicked, channel is not prefixed by '(' and sufixed by ')'
- when function key (non used by WeeChat) is pressed, prompt is deleted
- when quitting WeeChat term title is not restored (if look_set_title is ON)
- command name for /server can not contain spaces
- wrong alias is not created and not saved when quitting WeeChat
WeeChat known bugs:
please look at https://savannah.nongnu.org/bugs/?group=weechat
+2 -2
View File
@@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -305,7 +305,7 @@ the "copyright" line and a pointer to where the full notice is found.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
+523 -1
View File
@@ -1,9 +1,531 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2003-11-03
ChangeLog - 2007-03-29
Version 0.2.4 (2007-03-29):
* fixed color bug with IRC messages displayed by plugins (bug #19442)
* fixed topic charset, now using channel charset if defined (bug #19386)
* renamed log file for DCC chat (now <server>.dcc.<nick>.weechatlog)
* fixed crash when closing a pv if a DCC chat is open on same nick
(bug #19147)
* fixed bug with channel topic after reconnection (not erased) (bug #19384)
* added current buffer in hotlist when scrolling up in buffer (task #6664)
* fixed bug with explode_string / free_exploded_string when max_items > 0
* added new key (ctrl-R) for interactive and incremental search in buffer
history (task #6628)
* fixed /topic completion when no topic set on current channel (bug #19322)
* improved password hiding, code cleanup (bug #19229)
* added new return code in plugin API to force highlight (for message
handlers only)
* fixed bug with server buffer when "look_one_server_buffer" is ON and
server buffer is moved to any number > 1 (bug #19219)
* fixed /help command: displays plugin help for redefined commands
(bug #19166)
* prefix '/' disabled in commands (patch #5769)
* fixed completion of redefined commands removed by plugins (bug #19176)
* fixed memory leaks in perl and python plugins (bug #19163)
* added "call" option to /key command, added new key function "insert" to
insert text on command line (task #6468)
* fixed permissions on "dcc" and "logs" directories (bug #18978)
* added event handler to plugin API
* added scots quickstart guide
* added numeric argument for /clear command (buffer number) (patch #5372)
* fixed crash when /away command is issued with no server connection
(bug #18839)
* fixed crash when closing a buffer opened on many windows
* fixed freeze with SSL server when disconnecting after connection loss
(bug #18735)
Version 0.2.3 (2007-01-10):
* fixed display bugs with nicklist at top/bottom when look_nicklist_separator
is OFF (bug #18737)
* fixed iconv problem, causing truncated words when using iso locale
* fixed topic scroll when topic has multi-bytes chars
* fixed compilation problem with iconv under FreeBSD
* fixed bugs with charset: now decodes/encodes nicks and channels in IRC
messages (bug #18716)
Version 0.2.2 (2007-01-06):
* fixed bug with status bar (missing refresh) when closing a buffer
* fixed bug with use of first buffer for a channel if not connected
to server (now allowed only for a server buffer)
* fixed refresh bug with private buffer title
* fixed bug with nick completion in command args (now uses option
look_nick_completion_ignore)
* fixed display bug with color for first line on screen (bug #17719)
* added anti-flood option (irc_anti_flood) (task #5442)
* fixed bug with "set_config" function in plugins API (bug #18448)
* plugins: "add_message_handler" now accepts "*" for all IRC messages
* added keys (F9/F10) to scroll topic (task #6030)
* added auto completion with channels and filenames (task #5423)
* fixed memleak in keyboard input
* fixed refresh bug when changing config options if window is splited
* added space between chat and nicklist when position is "right" (bug #17852)
* added option "look_nicklist_separator" (task #5437)
* fixed bug with DCC SEND when filename begins with '~'
* added "irc_send_unknown_commands" option to send unknown commands to
IRC server (OFF by default) (task #5947)
* /charset command and charset conversions now made by "charset" plugin
* fixed display bug in status bar, wrong length when using UTF-8
* fixed bug with ignore: now any IRC command is allowed
* fixed crash with Ctrl-T (transpose) and one char on line (bug #18153)
* added filename completion (task #5425)
* added "modifier" in plugins API
* improved /plugin command
* fixed bug on ignore with "mode" IRC command (bug #18058)
* fixed crash when loading ruby script if file does not exist, with
Ruby >= 1.9 only (bug #18064)
* added date in plugin function get_buffer_data()
* fixed some portability bugs (patch #5271)
* fixed iconv detection for BSD (patch #5456)
* fixed typo in configure.in (bash specific test) (patch #5450)
* mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are
now sent in one mode command to server (task #5968)
* added more values for config boolean values: y/true/t/1 and n/false/f/0
* fixed bug with /alias and arguments (like $1), now text after
argument(s) is used (bug #17944)
* fixed minor display bug with special chars on some arch like PPC
Version 0.2.1 (2006-10-01):
* fixed crash for DCC receiver when resuming a file (bug #17885)
* fixed DCC error for sender when receiver cancels DCC (bug #17838)
* fixed random crash with /upgrade command (error when loading buffers)
* fixed buffer search by server/channel: now if only channel is specified,
a channel of another server can be found
* fixed highlight for DCC, invite and notice: when a window is displaying
buffer, there's no highlight
* command "/away -all" now allowed when not connected to current server
* new signals handled: SIGTERM and SIGHUP (received when terminal is closed):
clean WeeChat quit (send quit to irc servers then quit WeeChat)
* added some new default key bindings for existing keys (for some OS)
* command /key now ok with one arg (key name): display key if found
* fixed bug with CTCP VERSION sent on channels (bug #17547)
* added current channel completion for /ctcp command
* fixed bugs in get_buffer_data() which breaks the retrieval of buffer
content (perl, lua)
* fixed nicklist display bug when top/bottom (not enough lines) (bug #17537)
* fixed bug with auto-rejoin of keyed chans (bug #17534)
* added default nick completion when line starts with '//' (bug #17535)
* values yes/no accepted (as on/off) for config boolean values (task #5454)
* added server default notify level (set by /buffer notify on server buffer)
(task #5634)
* fixed crashs with /buffer and /charset commands when not connected to any
server (bug #17525)
* added special vars $nick/$channel/$server for server_command, alias and
plugin command handlers
* added arguments $1,$2,..,$9 and $* for alias (task #5831)
* added hotlist in session file when using /upgrade command (task #5449)
* fixed nick refresh problem with unrealircd specific modes: chan owner (~)
and chan admin (&) (bug #17340)
Version 0.2.0 (2006-08-19):
* added 'C'lear option on IRC raw buffer
* IRC raw buffer now uses join/part prefix with color to display messages
* added send of "quit" message to server when using /disconnect
* fixed "wallops" command when received, now displayed by WeeChat (bug #17441)
* fixed /wallops command (now many words are correctly sent)
* fixed command 348 (channel exception list, received by /mode #chan e)
* added missing modes (channel & user), now all modes are allowed (bug #16606)
* added "%m" for completion with self nick (on current server)
* added missing IRC commands (310, 326, 329, 338)
* fixed DCC restore after /upgrade (order is now correctly saved)
* fixed away after server disconnection (now away is set again when
reconnecting) (bug #16359)
* fixed DCC file connection problem (connection from receiver to sender)
* improved DCC speed (up to x5 on LAN) by forking for DCC files and a
new option "dcc_fast_send" (does not wait for ACK) (task #5758)
* fixed crash when purging DCC with high number of DCC (> window size)
* fixed completion for command handlers (now empty completion_template
means nick completion, "-" string means no completion at all)
* fixed nick alignment problem when look_nickmode is off
* added generic function for incoming numeric IRC commands (bug #16611)
* fixed crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
* added "look_save_on_exit" option (patch from Emanuele Giaquinta)
* fixed crash on DCC buffer under Darwin 8 (bug #17115)
* added configure option for doc XSL prefix (bug #16991)
* fixed bug with spaces in script names (bug #16957)
* fixed random crash when "MODE #chan -l" is received
* fixed bug in IRC parser (random crash with malformed IRC messages)
* fixed refresh bugs when terminal is resized: too many refreshs,
display bug with splited windows
* case ignored for channel names in charset options (bug #16858)
* fixed crash when setting look_one_server_buffer to ON (bug #16932)
* added new functions in plugin/script API: get window info,
get buffer info, get buffer content
* added polish, russian and czech quickstart guide
* fixed display bug with special char (bug #16732)
* added color encoding for some commands like /me
* added aspell plugin
* renamed plugins names (removed "lib" prefix in name)
* fixed crash when closing DCC/raw buffer if 2 are open (bug #16808)
* fixed crashes with DCC chat remove/purge on DCC view (bug #16775)
* fixed bug with connection to bnc (bug #16760)
* command /save now writes plugins options (~/.weechat/plugins.rc)
* fixed crash with "register" function in plugin scripts (bug #16701)
* fixed random crash at exit (/quit or /upgrade) with splited windows
Version 0.1.9 (2006-05-25):
* fixed /squery command (message sent to server, now ok with # args > 2)
* fixed /alias command (with an alias name, display content)
* improved lua plugin detection (bug #16574)
* added backtrace when WeeChat crashes, log file automatically renamed
* added lock for log file (~/.weechat/weechat.log), only one WeeChat
process can use this file (bug #16382)
* fixed crash with malformed UTF-8 strings
* fixed crash with ncurses color when too many colors defined in ncurses
(bug #16556)
* added new key to find previous completion (shift-tab by default)
* fixed bug with long outgoing IRC messages (> 512 bytes) (bug #16358)
* fixed Ruby crash when handler does not return OK or KO (bug #16552)
* fixed UTF-8 display bug with chars using more than one cell on screen
(bug #16356)
* fixed display bug with DCC file size when > 1 Gb
* fixed refresh bug (deadlock in curses) when terminal is resized
(bug #16542)
* fixed nicklist sort bug
* added russian translations (thanks to Pavel Shevchuk)
* added german doc (thanks to Frank Zacharias)
* added missing IRC commands (006, 007, 290, 292, 310, 379, 437, 974)
* fixed crash when multiple pv have same name: now it's forbidden
and pv buffer is not renamed (when a nick changes) if another
exists with same name (bug #16369)
* command /clear [-all] now clears hotlist
* fixed crash after /upgrade if a line in history is empty (bug #16379)
* fixed many crashes with DCC chat (bug #16416)
* added new option to customize input prompt
* added nick modes
* fixed commands 332, 333 (/topic now ok when channel is not opened)
* removed color encoding and charset conversion for commands (only
allowed in text sent to channel/private)
* added hostnames associeted to nicks (available for /ban completion)
* added "+p" mode for channels, fixed mode display in status bar
* added nick alignment options
* fixed /names command: now displays result when not on a channel
* fixed refresh bug (too many refresh) when terminal is resized
* fixed nicklist display bugs when on top or bottom of chat window
* added keyboard handler to plugin API
* improved script plugin loader
* added hostname/IP option for connection to server
* fixed --disable-plugins option in configure script
* added /setp command (set plugin options)
* fixed high CPU usage when running under a screen that has been killed
* aliases are executed before WeeChat/IRC commands, /builtin command added
* added /cycle command, /part command does close buffer any more (use
/buffer close (or alias /close) to part and close buffer
Version 0.1.8 (2006-03-18):
* improved Ruby plugin
* fixed /set command when internal server name contains one or many dots
* fixed get_info plugin API function when no server at all is opened
* fixed display bug when top of buffer is displayed and first line is
removed (according to "history_max_lines" setting)
* fixed /mode command output
* improved alias completion (now uses target command for completion)
* fixed completion problem in private with nicks
* added missing IRC command (487)
* added inactivity time, available for plugins via get_info("inactivity")
* keys alt-{home|end} to scroll top/bottom, alt-{f11-f12} to scroll
nicklist top/bottom
* added special names for plugin message handlers: weechat_pv,
weechat_highlight, weechat_ctcp, weechat_dcc
* script plugins now load scripts in WeeChat system share directory
* /msg command does not open any buffer any more
* fixed crash when using global history (when older entry is removed)
* added IRC raw data buffer (new key: alt-J + alt-R)
* fixed display bug with /kill command
* added new plugins functions: add_timer_handler, remove_timer_handler,
remove_infobar
* plugin messages handlers now called when message is ignored (by /ignore)
* new behaviour for messages ignored by a message handler: now WeeChat
executes standard handler, treating message as "ignored"
* many commands allowed for aliases
* many commands allowed when connecting to server
* added Lua script plugin
* added functions in plugins API: get_server_info, free_server_info,
get_channel_info, free_channel_info, get_nick_info, free_nick_info
* added option "look_nick_complete_first" (patch from Gwenn)
* added option "look_open_near_server" (patch from Gwenn)
* fixed bug with /upgrade and servers buffer
* fixed bug with "get_dcc_info" plugin interface function
* added new scroll keys for a few lines up/down (default: meta-pgup/pgdn)
(patch from Pistos)
* added new option "irc_away_check_max_nicks" to disable away check on
channels with high number of nicks (patch from Gwenn)
* added new command line argument for setting WeeChat homedir (-d or --dir)
(patch from Gwenn)
* fixed bug with charset in infobar highlights
* fixed bug with buffer detection in plugins/scripts commands
* fixed bug with /history command
* added option "irc_show_away_once", to show away message only once in pv
* added partial hungarian translation
Version 0.1.7 (2006-01-14):
* fixed msg command (now allowed in private buffer with "*" as target)
* removed "irc_default_msg_away" setting, for RFC 2812 conformity
(/away command wihtout argument only removes away status),
new values for "irc_display_away" (off, local, channel)
* fixed refresh bug with Solaris when term size is changed
* replaced Texinfo doc by XML Docbook
* added color for window separators (when splited)
* added completion system for plugins/scripts commands
* fixed plugins autoload
* added charset by server and channel, new command: /charset
* added Ruby script plugin
* added /upgrade command
* added ETA (Estimated Time of Arrival) for DCC files
* /nick command is now allowed when not connected to server
* added server/channel arg to /buffer command for jumping to buffer
* fixed display bug in chat window when a message length equals to window
width
* added new keys for switching to other windows: alt-W followed by
alt-{arrow}
* added new keys for scrolling to previous/next highlight: alt-P / alt-N
* added "read marker": an indicator for first unread line in a
server or channel buffer (new key alt-U to scroll to marker)
* new window maganement: custom size for windows, auto resize when
terminal is resized
* fixed infinite loop when resizing term to small size
* added /history command
Version 0.1.6 (2005-11-11):
* new color management system, IRC colors are now correctly
displayed and can be removed by new options irc_colors_receive
and irc_colors_send
* fixed scroll problem when one line is bigger than screen size
* added setting for having one server buffer for all servers
(look_one_server_buffer)
* added setting for ignoring some chars when completing nicks
* fixed IRC message parser bug
* signal SIGPIPE is now ignored
* added partial match for highlights
* added dcc_own_ip and dcc_port_range settings
* full UTF-8 support, auto-detection of UTF-8 usage (locale)
* added "Day changed to [date]" message when day changes
* new plugin interface, rewritten from scratch: now loads dynamic C
library, and perl/python are script plugins
* log options (for server/channel/private) can now be set while
WeeChat is running
* added channel modes +e and +f
* added some missing IRC commands, fixed command 367
* added colors for input buffer and current channel of status bar
* added online help for config options (with /set full_option_name)
* enhanced "smart" hotlist, with names (new options:
look_hotlist_names_{count|level|length})
Version 0.1.5 (2005-09-24):
* added /ame command (send CTCP action to all channels of all
connected servers)
* added setting "irc_notice_as_pv" to see notices as pv
* added nicks colors in setup file
* fixed DCC bug: delete failed file only if really empty (on disk)
* fixed IRC message parser bug
* fixed scroll problem (screen moving when scrolling and new line
displayed)
* fixed infinite loop when scrolling back and displaying long lines
* fixed crash when closing a buffer used by more than one window
* added some missing IRC commands
* fixed DCC display bug (now decodes string according to charset)
* added /ignore and /unignore commands
* fixed bug with strings comparison (str[n]casecmp) and some locales
(like turkish), now using ASCII comparison (thanks to roktas)
* signal SIGQUIT is now ignored
* fixed refresh bug when one line is bigger than screen size
* fixed look_nicklist_min_size and look_nicklist_max_size options
* fixed refresh bug when changing channel modes
* jump to next server now saves current channel buffer for each server
* ctrl-up/ctrl-down keys added to call previous/next command in global
history (common to all buffers)
Version 0.1.4 (2005-07-30):
* join and part/quit prefixes (arrows) now displayed with different colors
* added "irc_highlight" setting, to get highlight with any word
* fixed auto-rejoin for channels with key
* fixed /ctcp command (now any command/data allowed)
* added /amsg command (send text to all channels of all connected servers)
* fixed SIGSEGV handler (now write a core file by aborting program)
* fixed statusbar & infobar background refresh problem with some systems
* added color for private in hotlist (different than color for highlight)
* added DCC resume and timeout
* added function for Perl/Python to get DCC list
* fixed FIFO pipe (command now authorized on a buffer not connected
to an IRC server)
* topic completion now decodes UTF-8 string
* fixed bug with IRC URL on command line (irc://)
* new keyboard management: keys are setup in config file, new command
/key was added and some new default keys were added, alt-K key is
used to grab key (useful for /key command)
* added seconds in infobar time (optional thanks to new setting)
* fixed some curses refreshs
* channels auto-prefixed by "#" (if no prefix found) for /join command
Version 0.1.3 (2005-07-02):
* proxy support (http, socks4, socks5) with authentification (http, socks5)
and ipv6 support (client to proxy)
* completion added for config option (with /set command)
* commands from users outside channel now authorized (if special user or
channel without "n" flag)
* added IPv6 support
* kill command now received and displayed
* added SSL support
* channel notify levels are saved in config file (new option
"server_notify_levels" for server sections)
* part message now accepts %v (replaced by WeeChat version), like quit message
* errors while loading perl scripts are now displayed in server buffer
(instead of current buffer)
* in python scripts, all messages written in stdin and stderr are redirected
in server buffer
* fix a filename error while loading a python script manually
* fixed plugins "print" and "prnt" functions: now ok for writing on server
buffers
* fixed color problem with new libcurses version
* fixed crash when using alt-S or alt-X on DCC buffer (alt-D)
* fixed startup crash when config file (~/.weechat/weechat.rc) is not found
* improved Perl/Python libs detection for ./configure script
Version 0.1.2 (2005-05-21):
* added Python plugin support, improved Perl interface (and now Perl/Python
libraries are checked by configure script)
* added nicklist scroll keys (alt+{home/end/pgup/pgdn} or F11/F12)
* added transfer rate for DCC files
* added "-all" option for /nick command
* buffers timestamp can now be changed (new option in config file)
* WeeChat now ok under *BSD and Mac OS X
* fixed nicklist sort
* fixed crash when purging old DCC
* fixed crash with 64-bits arch (like AMD64) when converting UTF-8
* added missing IRC commands (307, 341, 485, 671)
Version 0.1.1 (2005-03-20):
* added nicks count for channel buffers
* added FIFO pipe for remote control
* added crash dump when WeeChat receives SIGSEGV (Segmentation fault)
* added new display engine: doesn't cut words at end of lines
* added DCC send and DCC chat
* added /halfop & /dehalfop commands, fixed halfop display bug in nicklist
* added /ban, /unban and /kickban commands
* added spanish translation
* added --irc-commands and --weechat-commands command line options
* connection to IRC server is now made by child process (non blocking)
* added support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
* new key for window switch (now: F5/F6=switch buffer, F7/F8=switch window)
* on server buffer, only server messages are logged
* improved /help command output
* plugins messages are logged with new config option (log_plugin_msg)
* fixed /kick command
* fixed /invite command (and now invite requests are displayed)
* fixed /buffer close command (now ok when disconnected from server)
* fixed display bugs when many windows are opened
Version 0.1.0 (2005-02-12):
* improved /window command: now split and merge are ok
* away nicks are now displayed with another color (new option: "irc_away_check")
* added away indicator in status bar
* added lag indicator (and auto-disconnect after a delay if important lag)
* improved completion: now completes commands arguments (IRC and internal),
when only one completion matches, completion mechanism is stoped (to
complete command arg for example)
* improved /set command: empty strings are allowed, new colors, server
options can be changed while WeeChat is running
* added default away/part/quit messages in config file
* new [irc] section in config file, option "look_display_away" moved to
"irc_display_away"
* server messages & errors are all prefixed (by 3 chars, like '-@-')
* added new options for charset (UTF-8 support): look_charset_decode,
look_charset_encode and look_charset_internal
* fixed many memory leaks
* fixed colors bug: removed "gray" color (replaced by "default"), colors are
ok when terminal has white (or light) background
* fixed crash when resizing terminal to small size
* fixed crash when multiple servers and big messages received from server
* fixed crash when closing some private buffers
* fixed crash when unknown section with option(s) in config file
* fixed /op, /deop, /voice, /devoice (now ok with many nicks)
* fixed /me command (now ok without parameter)
* fixed /away command (now ok if not away)
* logs are now disabled by default (server/channel/private)
Version 0.0.9 (2005-01-01):
* auto-reconnection to server (new options: server_autoreconnect (on/off),
server_autoreconnect_delay (in seconds))
* major bug fixed when socket is closed by server (100% CPU usage fixed),
and disconnections are now ok (all channels are "closed", history is still
visible, and buffer will be used again if reconnection to server)
* option "look_remove_colors_from_msgs" is now working
* fixed display of nick mode changes
* new command "/buffer close" (close any server/channel/private buffer)
* /notice command fixed (and display when received from server)
* new keys: ctrl+A (=home), ctrl+E (=end), ctrl+W (= ctrl+Backspace),
alt-S (switch to server buffer), alt-X (switch to first channel of next
server)
* added new config option: "server_command_delay" (delay in seconds after
startup command for each server)
Version 0.0.8 (2004-10-30):
* /kick command fixed: now ok with many words as reason
* nickserv passwords hidden (new config option: log_hide_nickserv_pwd on/off)
* auto-rejoin channels when kicked (new config option: server_autorejoin on/off)
* added IRC::command function for Perl scripts
* fixed bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* Away now announced in channels, and config option "look_display_away" added
to enable/disable this feature
* Fixed crash when resizing terminal to very small size
* "-MORE-" message is now erased when switching to another buffer
* DCC file receive ok (alt-D for DCC view)
* /query command now reopens private buffer if already opened
* added key for redrawing terminal (ctrl-L)
* added key for clearing hotlist (alt-R)
Version 0.0.7 (2004-08-08):
* new "col_status_delimiters" config option
* /buffer command added, buffers ordered by number, auto-jump to active
buffers (alt-A), jump to buffers by number (alt-number)
* /window command added, split terminal horizontally/vertically
* unique color for each nick (based on nickname)
* action messages are now considered as messages, not crappy joins/parts
* fixed display bug when nicklist is displayed at bottom of screen
* added history limit (text buffer & commands)
* replaced --enable-debug with --with-debug option for ./configure, which is
now integer: 1 = compiler debug flag, 2 = same 1 with verbose debug messages
in WeeChat (default: 0 = no debug)
Version 0.0.6 (2004-06-05):
* improved channel highlight (priority to message vs join/part)
* fixed bug when opened private win and remote user changes his nick
* /query command added (starts private conversation)
* IRC messages 476, 477 added
* /mode command is now ok and channel flags are displayed in status bar
* fixed display bug (text was blinking when scrolling)
* CTCP Version reply is now in english only and doesn't show host (security reason)
Version 0.0.5 (2004-02-07):
* /set command to modify config options when WeeChat is running
* fixed look_nicklist config option, now enables/disables nicklist
* secured code to prevent buffer overflows and memory leaks
* fixed QUIT IRC command: now sent to all connected servers (not only current)
* URL command line parameter to connect to server(s)
* new Perl script function to display message in info bar ("IRC::print_infobar")
* info bar highlight notifications
* info bar timestamp is added to config ("look_infobar_timestamp")
* added info bar (optional, "look_infobar" to enable it, "on" by default)
* fixed crash with /oper command
* for default config file, nick is now based on un*x username (thanks to Witukind)
* fixed crash when config file cannot be written
* -c (or --config) command line parameter added to see config file options
* highlight action messages
Version 0.0.4 (2004-01-01):
* Perl plugin, with auto-load
* when private window is created (another user is talking), WeeChat does not
switch to this window
* highlight when our nick is written in a channel/private window
* ctrl-C now intercepted (ignored)
* debug messages can be enabled via ./configure --enbale-debug option
Version 0.0.3 (2003-11-03):
* ./configure script to build WeeChat
* nicks are now correctly sorted (op, halfop, voice, other)
+207 -91
View File
@@ -1,134 +1,250 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat FAQ, 2007-03-29
=======================
WeeChat FAQ, 2003-10-27
Intended audience:
All WeeChat users.
Before reading the following:
the following Q/A list is *not* exhaustive.
It is also possible that you won't find any Q/A that matches your problem.
Please read them anyway, they may provide you help in fixing your problem
anyway.
And even if your problem is listed below, it is possible that the answers don't
help you anymore to solve it. Then, please contact us, we will try to help you
finding a solution.
1 - Compiling
2 - Using WeeChat
3 - Development
1.1
================================================================================
Q: I heard about many GUI for WeeChat. How can I compile/use them?
A: Curses GUI is built by default.
To build Gtk, wxWidgets or Qt GUI you've to specify extra options to
./configure script:
--enable-gtk to enable Gtk GUI
--enable-wxwidgets to enable wxWidgets GUI
--enable-qt to enable Qt QUI
Type ./configure --help to see available options.
WARNING: only Curses GUI is ok today. Other GUI are under development!
1- Compiling
1.2
================================================================================
Q: I can't compile WeeChat CVS.
1.1 I heard about many GUI for WeeChat. How can I compile/use them?
1.2 I can't compile WeeChat CVS.
2- Using WeeChat
2.1 Why using WeeChat ? Irssi and xchat are so good...
2.2 I've launched WeeChat, but I'm lost, what can I do?
2.3 How can I customize key bindings?
3- Development
3.1 How should I report bugs?
3.2 How should I submit patches?
3.3 How should I submit new feature request?
3.4 Will WeeChat be ported to *BSD, QNX, MacOS X, Microsoft Windows?
3.5 I want to help WeeChat developers. What can I do?
3.6 Can I give money or other things to WeeChat developers?
A: Check that you have latest version of autoconf and automake.
WeeChat has been developed with autoconf version 2.59 and automake
version 1.9.5.
You should have at least these versions in order to compile WeeChat CVS.
If you can't or don't want to install these versions, you can download and
install "devel package", a package built almost every day, based on CVS.
Note that this package may not correspond exactly to CVS base.
/------------------------------------------------------------------------------\
| 1- Compiling |
\------------------------------------------------------------------------------/
2.1
================================================================================
Q: Why using WeeChat ? X-Chat and Irssi are so good...
A: Because WeeChat is very light and has new features.
Some new features:
* many GUI (Curses, Gtk, wxWidgets, Qt)
* available in many languages
* nicklist available in all GUI
* extensible with plugins (C, Perl, Python, Ruby, Lua)
* horizontal and vertical window split
* infobar highlight
* FIFO pipe for remote control
* developed from scratch (not based on any other IRC client)
* multi-platform
* 100% GPL and free
This is the "geekest" IRC client ;)
More info on this page: http://weechat.flashtux.org/features.php
1.1 I heard about many GUI for WeeChat. How can I compile/use them?
2.2
================================================================================
Q: I've launched WeeChat, but I'm lost, what can I do?
Curses GUI is built by default.
To build Gtk or Qt GUI you've to specify extra options to ./configure script:
--enable-gtk to enable gtk GUI
--enable-qt to enable Qt QUI
Type ./configure --help to see available options.
WARNING: only Curses GUI is ok today. Other GUI are under development!
A: For help you can type /help. For help about a command, type /help command.
Keys and commands are listed in documentation.
1.2 I can't compile WeeChat CVS.
2.3
================================================================================
Q: I heard about "buffers" and "windows", what's the difference?
Check that you have latest version of autoconf and automake.
WeeChat has been developed with autoconf version 2.56 and automake version 1.7.
You should have at least these versions in order to compile WeeChat CVS.
If you can't or don't want to install these versions, you can download and
install "devel package", a package built almost every day, based on CVS.
Note that this package may not correspond exactly to CVS base.
A: A window is used when you split screen vertically or horizontally.
A buffer is a "view" for a window. Each window displays a buffer, and
many windows may display same buffer.
Examples of buffers: server messages, channel, DCC list, ..
/------------------------------------------------------------------------------\
| 2- Using WeeChat |
\------------------------------------------------------------------------------/
2.4
================================================================================
Q: I don't see some chars with accents, what can I do?
A: For versions < 0.2.3, please upgrade to last stable version.
For versions >= 0.2.3 :
- check that weechat-curses is linked to libncursesw (warning: needed
on most distributions but not all) :
ldd /path/to/weechat-curses
- check charset line (on server buffer), you should see ISO-XXXXXX or
UTF-8 for terminal charset. If you see ANSI_X3.4-1968 or other values,
probably your locale is wrong.
- setup global decode value, for example:
/setp charset.global.decode = ISO-8859-15
2.1 Why using WeeChat ? Irssi and xchat are so good...
2.5
================================================================================
Q: How can I customize key bindings?
Because WeeChat is very light and has new features.
Some new features:
* many GUI (Curses, Gtk, Qt),
* extensible with scripts (Perl, Python, Ruby),
* developed from scratch (not based on any other IRC client)
* multi-platform
* 100% GPL and free
This is the "geekest Irc client" ;)
A: Key bindings are customizable with /key command.
Default key Meta-k (usually Alt-k) lets you grab key code and insert it
in input zone.
2.2 I've launched WeeChat, but I'm lost, what can I do?
2.6
================================================================================
Q: How can I load Perl scripts?
Are Perl scripts compatible with other IRC clients ?
For help you can type /help. For help about a command, type /help command.
A: You can use /perl command to load scripts (default path is
~/.weechat/perl).
Note that scripts in ~/.weechat/perl/autoload are automatically loaded
when WeeChat is starting up.
Perl scripts are not compatible with other IRC clients.
2.3 How can I customize key bindings?
2.7
================================================================================
Q: How can I load Python scripts?
Are Python scripts compatible with other IRC clients ?
Today you can't do that. This will be available in a future version.
A: You can use /python command to load scripts (default path is
~/.weechat/python).
Note that scripts in ~/.weechat/python/autoload are automatically loaded
when WeeChat is starting up.
Python scripts are not compatible with other IRC clients.
/------------------------------------------------------------------------------\
| 3- Development |
\------------------------------------------------------------------------------/
2.8
================================================================================
Q: How can I load Ruby scripts?
Are Ruby scripts compatible with other IRC clients ?
A: You can use /ruby command to load scripts (default path is
~/.weechat/ruby).
Note that scripts in ~/.weechat/ruby/autoload are automatically loaded
when WeeChat is starting up.
Ruby scripts are not compatible with other IRC clients.
3.1 How should I report bugs?
2.9
================================================================================
Q: How can I load Lua scripts?
Are Lua scripts compatible with other IRC clients ?
There is 3 ways to report bugs:
1. you can join us on IRC: irc.freenode.net, channel #eci
If no one can help you (huh?), try another way, see below.
2. you can submit your bug at this url:
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. you can mail your problem, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
A: You can use /lua command to load scripts (default path is
~/.weechat/lua).
Note that scripts in ~/.weechat/lua/autoload are automatically loaded
when WeeChat is starting up.
Lua scripts are not compatible with other IRC clients.
3.2 How should I submit patches?
2.10
================================================================================
Q: When I'm using weechat under screen, I have weird chars, when I switch
window for example, how to fix that?
There is 3 ways to submit patches:
1. you can join us on IRC: irc.freenode.net, channel #eci
If no one can help you (huh?), try another way, see below.
2. you can submit your patch at this url:
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. you can mail your patch, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
A: This may be caused by bad value of TERM variable (look at echo $TERM).
For example, "xterm-color" displays such weird chars, use "xterm" which
is ok (like many other values).
3.3 How should I submit new feature request?
2.11
================================================================================
Q: I want to change language used by WeeChat for messages, but without
exiting WeeChat, is it possible?
There is 2 ways to submit your feature request:
1. you can join us on IRC: irc.freenode.net, channel #eci
If no one can help you (huh?), try another way, see below.
2. you can mail your feature request, look at support page for developer's
mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
A: Yes, you have to use python script shell.py (available on WeeChat
website) and issue these commands when script is loaded:
/shell setenv LANG=en_US.UTF-8
/upgrade
(to have english messages with UTF-8 encoding for terminal, for ISO
users, you can issue: /shell setenv LANG=en_US)
3.4 Will WeeChat be ported to *BSD, QNX, MacOS X, Microsoft Windows ?
3.1
================================================================================
Q: How should I report bugs?
Yes. Future versions will be available for these OS.
A: There is 3 ways to report bugs:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your bug at this URL:
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. you can mail your problem, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.5 I want to help WeeChat developers. What can I do?
3.2
================================================================================
Q: How should I submit patches?
There's many tasks to do (code, documentation, ...)
Please contact us with IRC or mail, look at support page:
http://weechat.flashtux.org/support.php
A: There is 3 ways to submit patches:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your patch at this URL:
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. you can mail your patch, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.6 Can I give money or other things to WeeChat developers?
3.3
================================================================================
Q: How should I submit new feature request?
No.
A: There is 2 ways to submit your feature request:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can mail your feature request, look at support page for developer's
mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.4
================================================================================
Q: What is the list of supported platforms for WeeChat?
A: Full list is on this page:
http://weechat.flashtux.org/download.php?lang=en&view=supported_os
3.5
================================================================================
Q: Will WeeChat be ported to QNX or other operating systems?
A: Yes. Future versions will be available for these OS.
We need help for such systems, any help is welcome :)
3.6
================================================================================
Q: I want to help WeeChat developers. What can I do?
A: There's many tasks to do (code, documentation, ...)
Please contact us with IRC or mail, look at support page:
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Can I give money or other things to WeeChat developers?
A: You can give us money to help development.
Details on http://weechat.flashtux.org/donate.php?lang=en
+265
View File
@@ -0,0 +1,265 @@
WeeChat FAQ, 2007-03-29
=======================
Public concerné :
Tous les utilisateurs de WeeChat.
Avant de lire la suite ceci :
la liste suivante de questions/réponses n'est *pas* exhaustive.
Il est donc possible que vous ne trouviez pas de question/réponse correspondant
à votre problème.
Lisez les quand même SVP, elles peuvent vous aider à corriger votre problème.
Et même si votre problème est mentionné ci-dessous, il est possible que la
réponse ne vous aide pas à corriger le problème. Dans ce cas, contactez-nous,
nous essaierons de vous aider à trouver une solution.
1 - Compilation
2 - Utilisation de WeeChat
3 - Développement
1.1
================================================================================
Q: J'ai entendu parler de plusieurs interfaces pour WeeChat.
Comment puis-je les compiler/utiliser ?
R: L'interface Curses est construite par défaut.
Pour construire l'interface Gtk, wxWidgets ou Qt, vous devez spécifier des
options pour le script ./configure :
--enable-gtk pour activer l'interface Gtk
--enable-wxwidgets pour activer l'interface wxWidgets
--enable-qt pour activer l'interface Qt
Tapez ./configure --help pour voir les options disponibles.
ATTENTION : seule l'interface Curses est ok aujourd'hui.
Les autres interfaces sont en développement.
1.2
================================================================================
Q: Je ne peux pas compiler le CVS WeeChat.
R: Vérifiez que vous avez bien la dernière version d'autoconf et automake.
WeeChat a été développé avec autoconf version 2.59 et automake
version 1.9.5.
Vous devez avoir au moins ces versions pour compiler le CVS WeeChat.
Si vous n'avez pas ou ne souhaitez pas installer ces versions, vous
pouvez télécharger et installer le paquet "devel", un paquet construit
quasiment tous les jours, basé sur le CVS.
Notez que ce paquet peut ne pas correspondre exactement à la base CVS.
2.1
================================================================================
Q: Pourquoi utiliser WeeChat ? X-Chat et Irssi sont si bien...
R: Parce que WeeChat est très léger et a de nouvelles fonctionnalités.
Quelques nouvelles fonctionnalités :
* plusieurs interfaces (Curses, Gtk, wxWidgets, Qt)
* disponible en plusieurs langues
* liste des pseudos disponible dans toutes les interfaces
* extensible par des extensions (C, Perl, Python, Ruby, Lua)
* découpage de la fenêtre horizontalement et verticalement
* highlight dans la barre d'infos
* tube FIFO pour contrôle à distance
* développé à partir de zéro (non basé sur un quelconque client IRC)
* multi-platformes
* 100% GPL et libre
C'est le client IRC le plus "geek" ;)
Plus d'infos sur cette page: http://weechat.flashtux.org/features.php
2.2
================================================================================
Q: J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
R: Pour obtenir de l'aide tapez /help. Pour de l'aide sur une commande,
tapez /help commande.
Les touches et commandes sont listées dans la documentation.
2.3
================================================================================
Q: J'ai entendu parler de "buffers" et "windows", quelle est la
différence ?
R: Une fenêtre ("window") est utilisée quand vous partagez l'écran
verticalement ou horizontalement.
Un tampon ("buffer") est une "vue" pour une fenêtre. Chaque fenêtre
affiche un tampon, et plusieurs fenêtres peuvent afficher le même
tampon.
Exemples de tampons: messages serveur, canal, liste des DCC, etc...
2.4
================================================================================
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
R: Pour les versions < 0.2.3, merci d'installer la dernière version stable.
Pour les versions >= 0.2.3 :
- vérifiez que weechat-curses est lié avec libncursesw (attention:
nécessaire sur beaucoup de distributions, mais pas toutes) :
ldd /chemin/vers/weechat-curses
- vérifiez la ligne charset (sur le tampon serveur), vous devriez voir
ISO-XXXXXX ou UTF-8 pour le charset du terminal. Si vous voyez
ANSI_X3.4-1968 ou d'autres valeurs, votre locale est probablement
erronée.
- affectez la valeur pour le décodage global, par exemple :
/setp charset.global.decode = ISO-8859-15
2.5
================================================================================
Q: Comment puis-je configurer les raccourcis clavier ?
R: Les raccourcis clavier sont modifiables avec la commande /key.
La touche par défaut Meta-k (souvent Alt-k) permet de capturer le code
d'une touche et de l'inclure dans la zone de saisie.
2.6
================================================================================
Q: Comment puis-je charger des scripts Perl ?
Les scripts Perl sont-ils compatibles avec d'autres clients IRC ?
R: La commande /perl permet de charger les scripts Perl (le chemin par défaut
est ~/.weechat/perl).
Notez que les scripts dans ~/.weechat/perl/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Perl ne sont pas compatibles avec d'autres clients IRC.
2.7
================================================================================
Q: Comment puis-je charger les scripts Python ?
Les scripts Python sont-ils compatibles avec d'autres clients IRC ?
R: La commande /python permet de charger les scripts Python (le chemin par
défaut est ~/.weechat/python).
Notez que les scripts dans ~/.weechat/python/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Python ne sont pas compatibles avec d'autres clients IRC.
2.8
================================================================================
Q: Comment puis-je charger des scripts Ruby ?
Les scripts Ruby sont-ils compatibles avec d'autres clients IRC ?
R: La commande /ruby permet de charger les scripts Ruby (le chemin par
défaut est ~/.weechat/ruby).
Notez que les scripts dans ~/.weechat/ruby/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Ruby ne sont pas compatibles avec d'autres clients IRC.
2.9
================================================================================
Q: Comment puis-je charger des scripts Lua ?
Les scripts Lua sont-ils compatibles avec d'autres clients IRC ?
R: La commande /lua permet de charger les scripts Lua (le chemin par
défaut est ~/.weechat/lua).
Notez que les scripts dans ~/.weechat/lua/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Lua ne sont pas compatibles avec d'autres clients IRC.
2.10
================================================================================
Q: Quand j'utilise weechat sous screen, j'ai des caractères bizarres
notamment en changeant de fenêtre, comment corriger ça ?
R: Cela peut être du à la variable TERM qui n'a pas la bonne valeur
(regardez echo $TERM). Par exemple "xterm-color" provoque ce genre de
problèmes, utilisez "xterm" qui est ok (comme plein d'autres valeurs).
2.11
================================================================================
Q: Je souhaite changer la langue des messages affichés par WeeChat, mais
sans quitter WeeChat, est-ce possible ?
R: Oui, il faut utiliser le script python shell.py (disponible sur le site
de WeeChat) et taper ces commandes une fois le script chargé :
/shell setenv LANG=en_US.UTF-8
/upgrade
(pour avoir des messages anglais avec encodage UTF-8 pour le terminal,
pour les utilisateurs en ISO, vous pouvez taper:
/shell setenv LANG=en_US)
3.1
================================================================================
Q: Comment dois-je reporter les bugs ?
R: Il y a 3 manières de reporter les bugs :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre bug à cette adresse :
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. vous pouvez envoyer votre problème par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer à la liste de diffusion
"support")
3.2
================================================================================
Q: Comment dois-je soumettre les patches ?
R: Il y a 3 manières de soumettre les patches :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre patch à cette adresse :
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. vous pouvez envoyer votre patch par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer à la liste de diffusion
"support")
3.3
================================================================================
Q: Comment dois-je soumettre les demandes de nouvelles fonctionnalités ?
R: Il y a 2 manières :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, channel #weechat
2. vous pouvez envoyer un mail, consultez la page support pour les
mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer à la liste de diffusion
"support")
3.4
================================================================================
Q: Quelle est la liste des plate-formes supportées par WeeChat ?
R: La liste complète est sur cette page :
http://weechat.flashtux.org/download.php?lang=fr&view=supported_os
3.5
================================================================================
Q: WeeChat sera-t-il porté sur QNX ou d'autres systèmes d'exploitation ?
R: Oui. Les futures versions seront disponibles pour ces OS.
Nous avons besoin d'aide pour ces systèmes, toute aide est la bienvenue :)
3.6
================================================================================
Q: Je souhaiterai aider les développeurs WeeChat. Que puis-je faire ?
R: Il y a plusieurs choses à faire (code, documentation, ...)
Merci de prendre contact avec nous par IRC ou mail, consultez la page
support :
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
R: Vous pouvez donner de l'argent pour aider le développement.
Plus de détails sur http://weechat.flashtux.org/donate.php
+2 -4
View File
@@ -2,9 +2,7 @@ WeeChat - Installation instructions
===================================
1) Run './configure'
options: --disable-curses : do not build Curses interface
--enable-gtk : build Gtk+ interface (under development!)
--enable-qt : build Qt interface (not developed!)
(./configure --help so see options)
2) Run 'make'
@@ -12,4 +10,4 @@ WeeChat - Installation instructions
4) Enjoy ! :-)
See AUTHORS for any support, feel free to contact us for any problem ;)
See AUTHORS for support, feel free to contact us for any problem.
+13 -5
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -12,11 +12,19 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
SUBDIRS = po intl src
SUBDIRS = po doc intl src
EXTRA_DIST = weechat.1 BUGS FAQ
EXTRA_DIST = config.rpath BUGS FAQ FAQ.fr \
debian/changelog debian/control \
debian/copyright debian/compat \
debian/rules debian/weechat-common.docs \
debian/lintian-override \
debian/weechat-common.install debian/weechat-curses.dirs \
debian/weechat-curses.install debian/weechat-plugins.install \
debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
weechat.spec weechat_icon_32.png
man_MANS = weechat.1
ACLOCAL_AMFLAGS = -I m4
+167
View File
@@ -1,6 +1,173 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
* FlashCode, 2007-03-29
WeeChat 0.2.4 released.
* FlashCode, 2007-01-10
WeeChat 0.2.3 released.
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
* FlashCode, 2007-01-06
WeeChat 0.2.2 released.
Important release notes:
- new charset plugin:
- for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
- for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
- be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
- new keys for topic scroll:
- new keys for scrolling topic: F9/F10
- key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
* FlashCode, 2006-10-01
WeeChat 0.2.1 released.
* FlashCode, 2006-08-19
WeeChat 0.2.0 released.
Important release notes:
- if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
- if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
* FlashCode, 2006-05-25
WeeChat 0.1.9 released.
Important release notes:
- please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
- some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
* FlashCode, 2006-03-18
WeeChat 0.1.8 released.
Important release notes:
- it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
- option: log_path: replace "~/.weechat/logs" by "%h/logs"
- option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
- after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
then launch again WeeChat (or issue /upgrade).
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
* FlashCode, 2006-01-14
WeeChat 0.1.7 released.
Important release notes:
- Ruby script plugin has been added but is experimental in this release.
You're warned!
- "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
* FlashCode, 2005-11-11
WeeChat 0.1.6 released.
Important release notes:
- incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
- on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
- with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
* FlashCode, 2005-09-24
WeeChat 0.1.5 released.
* FlashCode, 2005-07-30
WeeChat 0.1.4 released.
* FlashCode, 2005-07-02
WeeChat 0.1.3 released.
* FlashCode, 2005-05-21
WeeChat 0.1.2 released.
* FlashCode, 2005-03-20
WeeChat 0.1.1 released.
* FlashCode, 2005-02-12
WeeChat 0.1.0 released.
* FlashCode, 2005-01-01
WeeChat 0.0.9 released.
* FlashCode, 2004-10-30
WeeChat 0.0.8 released.
* FlashCode, 2004-08-08
WeeChat 0.0.7 released.
* FlashCode, 2004-06-05
WeeChat 0.0.6 released.
* FlashCode, 2004-02-07
WeeChat 0.0.5 released.
* FlashCode, 2004-01-01
WeeChat 0.0.4 released.
* FlashCode, 2003-11-03
WeeChat 0.0.3 released.
+7 -11
View File
@@ -12,20 +12,17 @@ Features
* IRC chat client with multi-server connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with scripts (Perl, Python, Ruby) (2)
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
* compliant with RFC 1459,2810,2811,2812,2813
* developed from scratch (not based on any other IRC client, except for look ;)
* multi-platform (GNU/Linux, *BSD, Windows & other) (3)
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* 100% GPL & free
Copyright
---------
WeeChat (c) Copyright 2003
by: FlashCode <flashcode@flashtux.org>
Xahlexx <xahlex@tuxisland.org>
Bounga <bounga@altern.org>
WeeChat (c) Copyright 2003-2007 by FlashCode <flashcode@flashtux.org>
(see AUTHORS file if you want to contact authors)
WeeChat is distributed under GPL licence (see COPYING file for complete license):
@@ -42,10 +39,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
---
(1) only curses interface is available today
(2) plugin interfaces are not yet developed
(3) only GNU/Linux version is available today
(1) only Curses interface is available today
(2) Windows version is under construction
+2 -90
View File
@@ -1,93 +1,5 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
TODO - 2003-11-03
Legend:
# done
+ currently in development
- pending
? is this really necessary?
v0.0.3:
------
* General:
# use of ./configure script for building WeeChat
* IRC protocol:
# implement RFC 2812
+ "/mode" command: change the user/channels modes
# "/wallops" command: write the same string to all the
persons with the flag +w enable
* WeeChat commands:
+ "/set" command: allow the user to set the WeeChat variables
under WeeChat without editing the config file (colours, time
format, etc)
* Interface:
+ internationalization (traduce WeeChat in many languages)
* Configuration:
# do not stop program if problem with options in config file
Future versions:
---------------
* IRC protocol:
- "/dcc" command (for chat and sending/receiving files)
- complete "/list" command: add regexp search, display only channels that
match regexp
- "/ignore" and "/unignore" commands: hide all that is write by a given
nick/host
- when we're away, WeeChat should log all the lines begenning by our nick.
When we come back from our away it should print it to the current window
- "/notify" and "/unnotify" command to be warn by WeeChat when a given
nick/host connect to the given irc network
* WeeChat commands:
- "/reload" command: reload the WeeChat's config file
- "/highlight" command: highlight a given word when it appears on
channels/privates
- "/completion" command: do shortcuts (for example when we type "u"
in the text bar it send it to the server as "you")
- "/exec" command: execute a command as if we was in shell
and show us the output on the current window. An option to exec
like -o could send the output to the server, on the current
channel/private
* Interface:
+ Gtk GUI
- display current channel modes (example : #weechat(+nt))
- interpret special chars in messages (color & bold for example)
- many channel windows in one window/term (window split)
- add lag indicator
- forget some old lines that were displayed long time ago (now all is saved,
if WeeChat is running for long time, a lot of memory is used!)
- improve completion (for example complete command parameters when possible)
- understand incomplete commands if unambigous (for example: /he for /help is ok)
- add clock (in status bar?)
- log chats to file
? Qt GUI
* TCP/IP communication:
- connect to server with child process (background)
- proxy support
- SSL support
- IPv6 protocol implementation
* Configuration:
- add key bindings to config file
- add missing options for config file
- load config file after GUI (so init values by default (colors, ...) before
loading config)
* Plugins:
- add Perl plugin
- add Python plugin
- add Ruby plugin
- "/load" and "/unload" commands to (un)load extension scripts
(perl, python, ruby, ...)
WeeChat TODO:
please look at https://savannah.nongnu.org/task/?group=weechat
+56 -48
View File
@@ -1,55 +1,63 @@
#!/bin/sh
rm -f config.cache
### GETTEXT ###
###
### common stuff
###
OK="\\033[70G[\\033[1;32mOK\\033[1;00m]"
FAIL="\\033[70G[\\033[1;31mFAILED\\033[1;00m]"
echo searching for GNU gettext intl directory...
AUTOGEN_LOG=autogen.log
dirs="/usr/share /usr/local/share /opt/share /usr /usr/local /opt /usr/gnu/share"
found=0
for try in $dirs; do
echo -n " -> $try/gettext/intl... "
if test -d $try/gettext/intl; then
echo found it
found=1
break
fi
echo no
done
if test "$found" != 1; then
echo ERROR: Cannot find gettext/intl directory.
echo ERROR: Install GNU gettext in /usr or /usr/local prefix.
exit 7
fi;
err ()
{
echo "-------"
echo "Error :"
echo "---8<-----------------------------------"
cat $AUTOGEN_LOG
echo "----------------------------------->8---"
exit 1
}
echo copying gettext intl files...
intldir="$try/gettext/intl"
if test ! -d intl; then
mkdir intl
fi
olddir=`pwd`
cd $intldir
for file in *; do
if test $file != COPYING.LIB-2.0 && test $file != COPYING.LIB-2.1; then
rm -f $olddir/intl/$file
cp $intldir/$file $olddir/intl/
fi
done
cp -f $try/gettext/po/Makefile.in.in $olddir/po/
cd $olddir
if test -f intl/plural.c; then
sleep 2
touch intl/plural.c
fi
run ()
{
echo -n "Running \"$@\""
eval $@ >$AUTOGEN_LOG 2>&1
if [ $? = 0 ] ; then
echo -e $OK
else
echo -e $FAIL
err
fi
}
### END GETTEXT ###
###
### cleanning part
###
# remove autotools stuff
run "rm -rf config"
run "rm -f config.h.in"
run "rm -f aclocal.m4 configure config.log config.status"
run "rm -rf autom4te*.cache"
# remove libtool stuff
run "rm -f libtool"
# remove gettext stuff
run "rm -f ABOUT-NLS"
run "rm -rf intl"
echo "running aclocal..."
aclocal -I /usr/share/aclocal
echo "running autoconf..."
autoconf
echo "running autoheader..."
autoheader
echo "running automake..."
automake -a
echo "autogen.sh ok, now run ./configure script"
###
### configuration part
###
# create the config directory
run "mkdir -p config/m4"
run "mkdir intl"
# execute autotools cmds
run "autopoint -f"
run "libtoolize --automake --force --copy"
run "aclocal --force -I config/m4"
run "autoheader"
run "autoconf"
run "automake --add-missing --copy --gnu"
# ending
rm -f $AUTOGEN_LOG
+829 -65
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -12,123 +12,887 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.0.3, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.2.4, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/common/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.0.3])
AM_INIT_AUTOMAKE([weechat], [0.2.4])
# Checks for programs.
# Checks for programs
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_GNU_SOURCE
AM_PROG_LIBTOOL
AC_CHECK_PROG(DBLATEX_FOUND, "dblatex", "yes")
# Add some flags for some OS
case "$host_os" in
freebsd* | openbsd*)
CFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
netbsd*)
CFLAGS="$CFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
;;
solaris*)
LDFLAGS="$LDFLAGS -lsocket -lxnet"
;;
*)
;;
esac
# Gettext
ALL_LINGUAS="fr"
AM_GNU_GETTEXT
ALL_LINGUAS="fr es cs hu de ru"
AM_GNU_GETTEXT([use-libtool])
AM_GNU_GETTEXT_VERSION([0.15])
# Checks for libraries.
AC_CHECK_LIB([curses], [initscr], LIBCURSES_FOUND=1, LIBCURSES_FOUND=0)
# Checks for libraries
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
AC_CHECK_LIB(ncursesw, initscr, LIBNCURSESW_FOUND=1, LIBNCURSESW_FOUND=0)
# Checks for header files.
# Checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])
AC_CHECK_HEADERS([arpa/inet.h libintl.h limits.h locale.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/types.h unistd.h pwd.h errno.h regex.h wchar.h sys/file.h])
# Checks for typedefs, structures, and compiler characteristics.
if echo "$host_os" | grep "^openbsd" 1>/dev/null 2>&1 ; then
AC_CHECK_HEADER(utf8/wchar.h, LDFLAGS="$LDFLAGS -lutf8", [AC_MSG_ERROR([
*** on OpenBSD systems, package libutf8 must be installed to compile WeeChat])])
fi
# Checks for typedefs, structures, and compiler characteristics
AC_HEADER_TIME
AC_STRUCT_TM
AC_MSG_CHECKING([for socklen_t])
AC_CACHE_VAL(ac_cv_type_socklen_t,
[AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>],
[socklen_t t;],
ac_cv_type_socklen_t=yes,
ac_cv_type_socklen_t=no,
)])
if test $ac_cv_type_socklen_t = no; then
AC_DEFINE(socklen_t, int, Define to 'int' if <sys/socket.h> doesn't define.)
fi
AC_MSG_RESULT($ac_cv_type_socklen_t)
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gethostbyname gethostname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strncasecmp strpbrk strrchr strstr uname])
AC_CHECK_FUNCS([gethostbyname gethostname getsockname gettimeofday inet_ntoa memset mkdir select setlocale socket strcasecmp strchr strdup strndup strncasecmp strpbrk strrchr strstr uname regexec])
AC_ARG_ENABLE(curses, [ --disable-curses Turn off Curses interface (default=auto)],,enable_curses=yes)
AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk+ interface (default=no)],enable_gtk=yes,enable_gtk=no)
AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no)],enable_qt=yes,enable_qt=no)
# Variables in config.h
enable_plugins=no
enable_perl=no
PERL_CFLAGS=
enable_python=no
PYTHON_CFLAGS=
enable_ruby=no
RUBY_CFLAGS=
enable_debug=no
DEBUG_CFLAGS=
AH_VERBATIM([PREFIX], [#undef PREFIX])
AH_VERBATIM([WEECHAT_LIBDIR], [#undef WEECHAT_LIBDIR])
AH_VERBATIM([WEECHAT_SHAREDIR], [#undef WEECHAT_SHAREDIR])
AH_VERBATIM([PLUGINS], [#undef PLUGINS])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([DEBUG], [#undef DEBUG])
AM_CONDITIONAL(GUI_CURSES, test "$enable_curses" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
# Arguments for ./configure
if test "x$enable_curses" = "xyes" ; then
if test "$LIBCURSES_FOUND" = "0" ; then
AC_MSG_ERROR([Curses library not found! Install Curses library or run ./configure with --disable-curses parameter.])
AC_ARG_ENABLE(ncurses, [ --disable-ncurses Turn off ncurses interface (default=compiled if found)],enable_ncurses=$enableval,enable_ncurses=yes)
AC_ARG_ENABLE(wxwidgets, [ --enable-wxwidgets Turn on WxWidgets interface (default=no wxwidgets)],enable_wxwidgets=$enableval,enable_wxwidgets=no)
AC_ARG_ENABLE(gtk, [ --enable-gtk Turn on Gtk interface (default=no Gtk)],enable_gtk=$enableval,enable_gtk=no)
AC_ARG_ENABLE(qt, [ --enable-qt Turn on Qt interface (default=no Qt)],enable_qt=$enableval,enable_qt=no)
AC_ARG_ENABLE(gnutls, [ --disable-gnutls Turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(plugins, [ --disable-plugins Turn off plugins support (default=plugins enabled)],enable_plugins=$enableval,enable_plugins=yes)
AC_ARG_ENABLE(perl, [ --disable-perl Turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
AC_ARG_ENABLE(python, [ --disable-python Turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
AC_ARG_ENABLE(ruby, [ --disable-ruby Turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
AC_ARG_ENABLE(lua, [ --disable-lua Turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, Lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, Lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG Lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
AC_ARG_ENABLE(aspell, [ --disable-aspell Turn off Aspell plugin (default=compiled if found)],enable_aspell=$enableval,enable_aspell=yes)
AC_ARG_ENABLE(charset, [ --disable-charset Turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_WITH(doc_xsl_prefix, [ --with-doc-xsl-prefix=DIR Docbook html/chunk.xsl is in DIR (default=autodetect)],doc_xsl_prefix=$withval,doc_xsl_prefix='')
AC_ARG_WITH(debug, [ --with-debug Debugging: 0=no debug, 1=debug compilation, 2=debug compilation + verbose msgs (default=1)],debug=$withval,debug=1)
not_found=""
# ------------------------------------------------------------------------------
# GUI
# ------------------------------------------------------------------------------
if test "x$enable_ncurses" = "xyes" ; then
if test "$LIBNCURSESW_FOUND" = "0" ; then
if test "$LIBNCURSES_FOUND" = "0" ; then
AC_MSG_WARN([
*** ncurses library not found!
*** WeeChat will be built without ncurses support.])
enable_ncurses="no"
not_found="$not_found ncurses"
else
AC_MSG_WARN([
*** ncursesw library not found! Falling back to "ncurses"
*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.])
NCURSES_LIBS="-lncurses"
fi
else
NCURSES_LIBS="-lncursesw"
fi
CURSES_LIBS=-lcurses
AC_SUBST(CURSES_LIBS)
AC_CHECK_HEADERS([ncurses.h ncursesw/curses.h])
AC_SUBST(NCURSES_LIBS)
fi
#if test "x$enable_wxwidgets" = "xyes" ; then
# AM_OPTIONS_WXCONFIG
# AM_PATH_WXCONFIG(2.3.4, wxWin=1)
#
# if test "$wxWin" != 1; then
# AC_MSG_ERROR([
#*** wxWindows must be installed on your system
#*** but wx-config script couldn't be found.
#
#*** Please check that wx-config is in path, the directory
#*** where wxWindows libraries are installed (returned by
#*** 'wx-config --libs' command) is in LD_LIBRARY_PATH or
#*** equivalent variable and wxWindows version is 2.3.4 or above.
# ])
# fi
#
# CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
# CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
# CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
# LDFLAGS="$LDFLAGS $WX_LIBS"
#
# WXWIDGETS_CFLAGS=""
# WXWIDGETS_LIBS=""
#fi
if test "x$enable_gtk" = "xyes" ; then
#if test "$LIBGTK_FOUND" = "0" ; then
# AC_MSG_ERROR([Gtk+ library not found! Install Gtk+ (2.0 or higher) library or run ./configure without --enable-gtk parameter.])
#fi
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
GTK_LIBS=`pkg-config --libs gtk+-2.0`
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
AM_PATH_GTK_2_0(2.4.0, LIBGTK_FOUND=1, LIBGTK_FOUND=0)
if test "$LIBGTK_FOUND" = "0" ; then
AC_MSG_WARN([
*** Gtk library not found!
*** WeeChat will be built without Gtk support.])
enable_gtk="no"
not_found="$not_found gtk"
else
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
GTK_LIBS=`pkg-config --libs gtk+-2.0`
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
fi
fi
CFLAGS="-Wall -W -pipe -O2"
# ------------------------------------------------------------------------------
# iconv
# ------------------------------------------------------------------------------
iconv_found="no"
ICONV_LFLAGS=""
AC_CHECK_HEADER(iconv.h,ac_found_iconv_header="yes",ac_found_iconv_header="no")
if test "x$ac_found_iconv_header" = "xyes" ; then
AC_CHECK_LIB(iconv,iconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
if test "x$ac_found_iconv_lib" = "xno" ; then
AC_CHECK_LIB(iconv,libiconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
fi
if test "x$ac_found_iconv_lib" = "xyes" ; then
ICONV_LFLAGS="-liconv"
LIBS="$LIBS $ICONV_LFLAGS"
fi
AC_MSG_CHECKING(for iconv usability in programs)
AC_TRY_RUN([
#include <iconv.h>
int main(int argc, char **argv) {
iconv_t conv = iconv_open("ISO8859-1", "UTF-8");
if (conv != (iconv_t) -1) {
return 0;
}
return 1;
}],iconv_found="yes")
if test "x$iconv_found" = "xno" ; then
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes)
fi
fi
if test "x$iconv_found" = "xno" ; then
AC_MSG_ERROR([
*** Iconv headers and/or libraries couldn't be found in your system.
*** Try to install them with your software package manager.
*** WeeChat can't be built without Iconv support.])
fi
# ------------------------------------------------------------------------------
# plugins
# ------------------------------------------------------------------------------
PLUGINS_LIBS=
if test "x$enable_plugins" != "xyes" ; then
enable_plugins="no"
enable_perl="no"
enable_python="no"
enable_ruby="no"
enable_lua="no"
enable_aspell="no"
enable_charset="no"
fi
# ---------------------------------- perl --------------------------------------
PERL_VERSION=
if test "x$enable_perl" = "xyes" ; then
enable_plugins="yes"
AC_PATH_PROGS(PERL, perl perl5)
if test -z $PERL ; then
AC_MSG_WARN([
*** Perl must be installed on your system but perl interpreter couldn't be found in path.
*** Please check that perl is in path, or install it with your software package manager.
*** WeeChat will be built without Perl support.])
enable_perl="no"
not_found="$not_found perl"
else
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_HEADER_TEST" = "x0" ; then
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
AC_MSG_RESULT(found)
AC_MSG_CHECKING(for Perl library)
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_LIB_TEST" = "x0" ; then
PERL_LFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Perl library couldn't be found in your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Perl support.])
enable_perl="no"
not_found="$not_found perl"
fi
else
AC_MSG_WARN([
*** Perl headers couldn't be found in your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Perl support.])
enable_perl="no"
not_found="$not_found perl"
fi
fi
fi
if test "x$enable_perl" = "xyes" ; then
AC_SUBST(PERL_CFLAGS)
AC_SUBST(PERL_LFLAGS)
AC_DEFINE(PLUGIN_PERL)
fi
# --------------------------------- python -------------------------------------
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
enable_plugins="yes"
AC_PATH_PROGS(PYTHON, python python2.5 python2.4 python2.3 python2.2)
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
*** Please check that python is in path, or install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
else
PYTHON_SYSPREFIX=`$PYTHON -c 'import sys; print "%s" % sys.prefix'`
PYTHON_VERSION=`$PYTHON -c 'import sys ; print sys.version[[:3]]'`
PYTHON_INCLUDE=`$PYTHON -c "import distutils.sysconfig,string; print distutils.sysconfig.get_config_var('CONFINCLUDEPY')"`
AC_MSG_CHECKING(for Python header files)
if test -r "$PYTHON_INCLUDE/Python.h"; then
PYTHON_CFLAGS="-I$PYTHON_INCLUDE"
AC_MSG_RESULT(found)
PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBPL')"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LIBS')+' '+distutils.sysconfig.get_config_var('SYSLIBS')+' '+distutils.sysconfig.get_config_var('LINKFORSHARED')"`
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
else
AC_MSG_WARN([
*** Python library couldn't be found in your system.
*** Try to install it with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
fi
else
AC_MSG_WARN([
*** Python header files couldn't be found in your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Python support.])
enable_python="no"
not_found="$not_found python"
fi
fi
fi
if test "x$enable_python" = "xyes" ; then
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LFLAGS)
AC_DEFINE(PLUGIN_PYTHON)
fi
# ---------------------------------- ruby --------------------------------------
RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
enable_plugins="yes"
AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby1.9)
if test -z $RUBY ; then
AC_MSG_WARN([
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
*** Please check that ruby is in path, or install it with your software package manager.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts Config::CONFIG[['ruby_version']]"`
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts Config::CONFIG[['archdir']]"`
AC_MSG_CHECKING(for Ruby header files)
if test -r "$RUBY_INCLUDE/ruby.h"; then
RUBY_CFLAGS="-I$RUBY_INCLUDE"
else
AC_MSG_WARN([
*** Ruby header files couldn't be found in your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
fi
AC_MSG_RESULT(found)
RUBY_LFLAGS=`$RUBY -rrbconfig -e "puts Config::CONFIG[['LIBRUBYARG_SHARED']]"`
fi
fi
if test "x$enable_ruby" = "xyes" ; then
AC_SUBST(RUBY_CFLAGS)
AC_SUBST(RUBY_LFLAGS)
AC_DEFINE(PLUGIN_RUBY)
fi
# ---------------------------------- lua --------------------------------------
LUA_VERSION=
if test "x$enable_lua" = "xyes" ; then
enable_plugins="yes"
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_CFLAGS="$CFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
LUA_CFLAGS=""
LUA_LFLAGS=""
if test -n "$lua_inc"; then
CFLAGS="$CFLAGS -I$lua_inc"
CPPFLAGS="$CPPFLAGS -I$lua_inc"
fi
if test -n "$lua_lib"; then
LDFLAGS="$LDFLAGS -L$lua_lib"
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
fi
done
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
echo
LUA_CFLAGS=`$LUACONFIG --include`
LUA_LFLAGS=`$LUACONFIG --libs`
LUA_VERSION="5.0.x"
fi
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies)
echo
AC_CHECK_HEADER(lua.h,ac_found_lua_header="yes",ac_found_lua_header="no")
AC_CHECK_HEADER(lualib.h,ac_found_liblua_header="yes",ac_found_liblua_header="no")
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
LUA_CFLAGS="$CFLAGS"
fi
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
if test "x$ac_found_lua_lib" = "xyes" ; then
LUA_VERSION=">=5.1.0"
LUA_LFLAGS="$LDFLAGS -llua$l -lm"
ac2_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -llua$l -lm"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LDFLAGS="$LDFLAGS -ldl"
fi
AC_CHECK_LIB(lualib$l,luaL_openlib,ac_found_liblua_lib="yes",ac_found_liblua_lib="no")
if test "x$ac_found_liblua_lib" = "xyes" ; then
LUA_VERSION="5.0.x"
LUA_LFLAGS="$LUA_LFLAGS -llualib$l"
if echo "$host_os" | grep "^linux" 1>/dev/null 2>&1 ; then
LUA_LFLAGS="$LUA_LFLAGS -ldl"
fi
fi
LDFLAGS="$ac2_save_LDFLAGS"
break
fi
done
fi
AC_MSG_CHECKING(for Lua compiling and linking)
LUA_TEST=`LT=luatest.c ; echo "#include <lua.h>" > $LT; echo "#include <lualib.h>" >> $LT; echo "int main() { luaopen_base((lua_State *)lua_open()); return 0; }" >> $LT ; $CC -Wall $LT -o $LT.out $LUA_CFLAGS $LUA_LFLAGS $CFLAGS $LDFLAGS 1>/dev/null 2>&1 ; echo $?; rm -f $LT $LT.out 1>/dev/null 2>&1`
if test "x$LUA_TEST" != "x0" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Lua (>=5.0) headers and/or librairies couldn't be found in your system.
*** Try to install liblua, liblualib and liblua-dev with your software package manager.
*** WeeChat will be built without Lua support.])
enable_lua="no"
not_found="$not_found lua"
else
AC_MSG_RESULT(yes)
fi
CFLAGS="$ac_save_CFLAGS"
CPPFLAGS="$ac_save_CPPFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
fi
if test "x$enable_lua" = "xyes" ; then
AC_SUBST(LUA_CFLAGS)
AC_SUBST(LUA_LFLAGS)
AC_DEFINE(PLUGIN_LUA)
fi
# ------------------------------------------------------------------------------
# aspell
# ------------------------------------------------------------------------------
if test "x$enable_aspell" = "xyes" ; then
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_MSG_CHECKING(for aspell headers and librairies)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Aspell headers and/or libraries couldn't be found in your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Aspell support.])
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
fi
fi
if test "x$enable_aspell" = "xyes" ; then
AC_SUBST(ASPELL_CFLAGS)
AC_SUBST(ASPELL_LFLAGS)
AC_DEFINE(PLUGIN_ASPELL)
fi
# ------------------------------------------------------------------------------
# charset
# ------------------------------------------------------------------------------
if test "x$enable_charset" = "xyes" ; then
CHARSET_CFLAGS=""
CHARSET_LFLAGS=""
CHARSET_LFLAGS="$CHARSET_LFLAGS $ICONV_LFLAGS"
AC_SUBST(CHARSET_CFLAGS)
AC_SUBST(CHARSET_LFLAGS)
AC_DEFINE(PLUGIN_CHARSET)
fi
# ------------------------------------------------------------------------------
# dynamic loader
# ------------------------------------------------------------------------------
if test "x$enable_plugins" = "xyes" ; then
AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
if test "$LIBDL_FOUND" != "yes"; then
AC_CHECK_LIB(dl, dlopen, [LIBDL_FOUND=yes; PLUGINS_LIBS=-ldl], LIBDL_FOUND=no)
fi
if test "$LIBDL_FOUND" = "yes"; then
AC_DEFINE(PLUGINS)
AC_SUBST(PLUGINS_LIBS)
else
AC_MSG_WARN([
*** "dl" library (dynamic library loader) couldn't be found in your system.
*** Try to install it with your software package manager or disable plugins.
*** WeeChat will be built without any plugin.])
enable_plugins="no"
enable_perl="no"
enable_python="no"
enable_ruby="no"
enable_lua="no"
enable_aspell="no"
enable_charset="no"
not_found="$not_found plugins"
fi
fi
# ------------------------------------------------------------------------------
# gnutls
# ------------------------------------------------------------------------------
if test "x$enable_gnutls" = "xyes" ; then
found_gnutls="no"
AM_PATH_LIBGNUTLS( 1.0.0, found_gnutls=yes, AC_MSG_WARN([[
*** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/
*** WeeChat will be built without GnuTLS support.]]))
if test "x$found_gnutls" = "xyes" ; then
GNUTLS_CFLAGS=`libgnutls-config --cflags`
GNUTLS_LFLAGS=`libgnutls-config --libs`
AC_SUBST(GNUTLS_CFLAGS)
AC_SUBST(GNUTLS_LFLAGS)
AC_DEFINE(HAVE_GNUTLS)
else
enable_gnutls="no"
not_found="$not_found gnutls"
fi
fi
# ------------------------------------------------------------------------------
# flock
# ------------------------------------------------------------------------------
enable_flock="no"
AC_CACHE_CHECK([for flock() support], ac_have_flock, [
AC_TRY_COMPILE(
[ #include <sys/file.h>
],
[ flock(0, LOCK_SH); ],
[ ac_have_flock="yes" ],
[ ac_have_flock="no" ])])
if test "x$ac_have_flock" = "xyes"; then
enable_flock="yes"
AC_DEFINE(HAVE_FLOCK)
fi
# ------------------------------------------------------------------------------
# backtrace
# ------------------------------------------------------------------------------
enable_backtrace="no"
if test "x$debug" != "x0" ; then
AC_CACHE_CHECK([for execinfo.h and backtrace], ac_have_backtrace, [
AC_TRY_COMPILE(
[ #include <execinfo.h>
],
[ void *trace[128]; int n = backtrace(trace, 128); ],
[ ac_have_backtrace="yes" ],
[ ac_have_backtrace="no" ])])
if test "x$ac_have_backtrace" = "xyes"; then
enable_backtrace="yes"
AC_DEFINE(HAVE_BACKTRACE,1,[glibc backtrace function])
fi
fi
# ------------------------------------------------------------------------------
# documentation
# ------------------------------------------------------------------------------
msg_doc=""
if test "x$DBLATEX_FOUND" = "xyes"; then
msg_doc="pdf $msg_doc"
fi
AC_MSG_CHECKING(for html/chunk.xsl)
DOC_XSL_PREFIX=""
if test -n "$doc_xsl_prefix"; then
doc_xsl_prefix_path="$doc_xsl_prefix"
else
doc_xsl_prefix_path="/usr/share/xml/docbook/xsl-stylesheets-1.69"
doc_xsl_prefix_path="${doc_xsl_prefix_arr} /usr/share/xml/docbook/stylesheet/nwalsh"
fi
for p in $doc_xsl_prefix_path; do
if test -f ${p}/html/chunk.xsl; then
DOC_XSL_PREFIX="$p"
fi
done
if test "x$DOC_XSL_PREFIX" = "x"; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Docbook XSL files not found
*** WeeChat will be built without documentation.
*** Try ./configure --with-doc-xsl-prefix=DIR if you have DIR/html/chunk.xsl file])
else
AC_MSG_RESULT($DOC_XSL_PREFIX)
AC_SUBST(DOC_XSL_PREFIX)
msg_doc="html $msg_doc"
fi
# ------------------------------------------------------------------------------
# general vars
# ------------------------------------------------------------------------------
if test "x$prefix" = "xNONE" ; then
prefix="$ac_default_prefix"
fi
if test "x$exec_prefix" = "xNONE" ; then
exec_prefix="$prefix"
fi
AC_DEFINE_UNQUOTED(PREFIX, "${prefix}")
WEECHAT_LIBDIR=`eval eval echo ${libdir}/weechat`
AC_DEFINE_UNQUOTED(WEECHAT_LIBDIR, "$WEECHAT_LIBDIR")
WEECHAT_SHAREDIR=`eval eval echo ${datadir}/weechat`
AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
weechat_libdir=${libdir}/weechat
AC_SUBST(weechat_libdir)
COMMON_CFLAGS="-Wall -W"
AC_MSG_CHECKING([whether we have GNU assembler])
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
if test "$GAS"; then
COMMON_CFLAGS="${COMMON_CFLAGS} -pipe"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
CFLAGS=`echo $CFLAGS | sed s/-g//g`
if test "x$CFLAGS" = "x" ; then
CFLAGS="-O2"
fi
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
CFLAGS="$COMMON_CFLAGS $CFLAGS -g"
else
CFLAGS="$COMMON_CFLAGS $CFLAGS"
fi
if test "x$debug" = "x2" ; then
AC_DEFINE(DEBUG)
fi
LIBS="$LIBS $INTLLIBS"
case "$host_os" in
freebsd*)
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
CFLAGS="$CFLAGS -pthread"
fi
CFLAGS="$CFLAGS $CPPFLAGS"
;;
openbsd*)
if test "x$enable_python" = "xyes" ; then
CFLAGS="$CFLAGS -pthread"
fi
;;
netbsd*)
if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then
CFLAGS="$CFLAGS -pthread"
fi
CFLAGS="$CFLAGS $CPPFLAGS"
;;
gnu*)
if test "x$enable_plugins" = "xyes" ; then
LDFLAGS="$LDFLAGS -lpthread"
fi
;;
*)
;;
esac
# ------------------------------------------------------------------------------
# output Makefiles
# ------------------------------------------------------------------------------
AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(GUI_WXWIDGETS, test "$enable_wxwidgets" = "yes")
AM_CONDITIONAL(GUI_GTK, test "$enable_gtk" = "yes")
AM_CONDITIONAL(GUI_QT, test "$enable_qt" = "yes")
AM_CONDITIONAL(PLUGINS, test "$enable_plugins" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes")
AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes")
AM_CONDITIONAL(DBLATEX_FOUND, test "$DBLATEX_FOUND" = "yes")
AC_OUTPUT([Makefile
doc/Makefile
doc/en/Makefile
doc/fr/Makefile
doc/de/Makefile
doc/ru/Makefile
doc/pl/Makefile
doc/cs/Makefile
doc/sco/Makefile
src/Makefile
src/common/Makefile
src/irc/Makefile
src/plugins/Makefile
src/plugins/scripts/Makefile
src/plugins/scripts/perl/Makefile
src/plugins/scripts/python/Makefile
src/plugins/scripts/ruby/Makefile
src/plugins/scripts/lua/Makefile
src/plugins/aspell/Makefile
src/plugins/charset/Makefile
src/gui/Makefile
src/gui/curses/Makefile
src/gui/wxwidgets/Makefile
src/gui/gtk/Makefile
src/gui/qt/Makefile
intl/Makefile
po/Makefile.in])
echo
echo $PACKAGE $VERSION
# ------------------------------------------------------------------------------
# end message
# ------------------------------------------------------------------------------
listgui=
if test "x$enable_curses" = "xyes" ; then
listgui="$listgui Curses"
listgui=""
if test "x$enable_ncurses" = "xyes" ; then
listgui="$listgui ncurses"
fi
if test "x$enable_wxwidgets" = "xyes"; then
listgui="$listgui WxWidgets"
fi
if test "x$enable_gtk" = "xyes" ; then
listgui="$listgui Gtk+"
listgui="$listgui Gtk"
fi
if test "x$enable_qt" = "xyes" ; then
listgui="$listgui Qt"
fi
if test "x$listgui" = "x" ; then
AC_MSG_ERROR([No interface specified... Please specify at least Curses, Gtk or Qt.])
AC_MSG_ERROR([
*** No interface specified...
*** Please enable at least ncurses, WxWidgets, Gtk or Qt.])
fi
echo
echo Interfaces.................... :$listgui
echo
echo Build with Plugin support..... : $enable_plugins
echo Build with Perl support....... : $enable_perl
echo Build with Python support..... : $enable_python
echo Build with Ruby support....... : $enable_ruby
echo
echo Print debugging messages...... : $enable_debug
echo
eval eval echo WeeChat will be installed in $bindir.
echo
echo configure complete, now type \'make\' to build WeeChat
echo
if test "x$not_found" != "x" ; then
echo ""
echo "Following components were asked but not found, they will not be built:"
echo "$not_found"
fi
msg_debug_compiler="no"
msg_debug_verbose="no"
if test "x$debug" = "x1" || test "x$debug" = "x2" ; then
msg_debug_compiler="yes"
fi
if test "x$debug" = "x2" ; then
msg_debug_verbose="yes"
fi
# plugin status
PERL_STATUS=
if test "x$enable_perl" = "xyes"; then
PERL_STATUS="($PERL_VERSION)"
fi
PYTHON_STATUS=
if test "x$enable_python" = "xyes"; then
PYTHON_STATUS="($PYTHON_VERSION)"
fi
RUBY_STATUS=
if test "x$enable_ruby" = "xyes"; then
RUBY_STATUS="($RUBY_VERSION)"
fi
LUA_STATUS=
if test "x$enable_lua" = "xyes"; then
LUA_STATUS="($LUA_VERSION)"
fi
echo ""
echo "Interfaces........................ :$listgui"
echo "Build with GNUtls support......... : $enable_gnutls"
echo "Build with flock support.......... : $enable_flock"
echo "Build with Plugin support......... : $enable_plugins"
echo " Perl plugin......... : $enable_perl $PERL_STATUS"
echo " Python plugin....... : $enable_python $PYTHON_STATUS"
echo " Ruby plugin......... : $enable_ruby $RUBY_STATUS"
echo " Lua plugin.......... : $enable_lua $LUA_STATUS"
echo " Aspell plugin....... : $enable_aspell"
echo " Charset plugin...... : $enable_charset"
echo "Compile with debug info........... : $msg_debug_compiler"
echo " Backtrace........... : $enable_backtrace"
echo "Build doc..........................: $msg_doc"
echo "Print debugging messages.......... : $msg_debug_verbose"
echo ""
eval echo "WeeChat will be installed in $bindir."
echo ""
echo "configure complete, now type 'make' to build WeeChat $VERSION"
echo ""
Vendored
+6
View File
@@ -0,0 +1,6 @@
weechat (0.1.6-1) unstable; urgency=low
This release introduces some incompatible changes with old scripts and locale
support, you can read the upstream NEWS file for more information.
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
+326
View File
@@ -1,3 +1,329 @@
weechat (0.2.1-1) unstable; urgency=low
* New upstream release
* Overrive lintian menu-icon-missing warning
since the icon is in the weechat-common package.
-- Julien Louis <ptitlouis@sysif.net> Mon, 2 Oct 2006 15:30:06 +0200
weechat (0.2.0-2) unstable; urgency=low
* Add libaspell-dev to Build-Depends. This enables the aspell plugin built.
-- Julien Louis <ptitlouis@sysif.net> Mon, 25 Sep 2006 23:56:16 +0200
weechat (0.2.0-1) unstable; urgency=low
* New upstream release
* Rebuild against new default python version (Closes: #380985).
-- Julien Louis <ptitlouis@sysif.net> Sat, 19 Aug 2006 17:10:59 +0200
weechat (0.1.9-3) unstable; urgency=low
* Remove gnutls Build-Depends introduced in the previous upload
(closes: #379765).
* Move xsltproc, docbook-xml, docbook-xsl to Build-Depends-Indep.
* Change icon format from png to xpm.
-- Julien Louis <ptitlouis@sysif.net> Tue, 25 Jul 2006 11:53:25 +0200
weechat (0.1.9-2) unstable; urgency=low
* Fix ${datadir} expansion in configure.in which caused some problem when
loading scripts from /usr/share/weechat.
* Add weechat-scripts to weechat-plugins Suggests.
* Apply patch from Andreas Metzler to make weechat binNMUable
(Closes: #379419).
* Build-Depends against libgnutls13-dev | libgnutls-dev.
-- Julien Louis <ptitlouis@sysif.net> Sun, 23 Jul 2006 17:28:34 +0200
weechat (0.1.9-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Thu, 25 May 2006 07:40:53 +0200
weechat (0.1.8-2) unstable; urgency=low
* Switch to cdbs
* update debhelper compatibility to 5
* update Build-Depends
* update debian/copyright
* Bump Standards-Version, no changes needed
-- Julien Louis <ptitlouis@sysif.net> Fri, 21 Apr 2006 22:39:00 +0200
weechat (0.1.8-1) unstable; urgency=low
* New upstream release
* Add liblualib50-dev and docbook-xml to Build-Depends
-- Julien Louis <ptitlouis@sysif.net> Sat, 18 Mar 2006 11:32:52 +0100
weechat (0.1.7-2) unstable; urgency=low
* force linking against libpthread on GNU/Hurd (Closes: #350487)
-- Julien Louis <ptitlouis@sysif.net> Sun, 5 Feb 2006 18:23:24 +0100
weechat (0.1.7-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Sat, 14 Jan 2006 14:14:29 +0100
weechat (0.1.6-2) unstable; urgency=low
* Apply path to fix segfault when removing server.
* Move plugins in a separate package
-- Julien Louis <ptitlouis@sysif.net> Tue, 22 Nov 2005 08:33:09 +0100
weechat (0.1.6-1) unstable; urgency=low
* New upstream release
* Add menu entry
* Move libperl5.8 and python2.3 from Depends to Recommends
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 22:21:08 +0100
weechat (0.1.5-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
weechat (0.1.4-2) unstable; urgency=low
* Add autotools-dev to Build-Depends.
* update autotools stuff automatically to always
have up-to-date config.{guess,sub}
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
weechat (0.1.4-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
weechat (0.1.3-2) unstable; urgency=low
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
weechat (0.1.3-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
weechat (0.1.2-3) unstable; urgency=low
* Apply patch against gui-display.c to fix curses color bug.
* remove dh_install --sourcedir to allow builds on woody.
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
weechat (0.1.2-2) unstable; urgency=low
* Patch src/gui/curse/gui-display.c to fix segfault
when config file does not exists (Closes: #310589).
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
weechat (0.1.2-1) unstable; urgency=low
* WeeChat version 0.1.2, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
* debian/control:
- Add myself to uploaders.
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
weechat (0.1.1-1) unstable; urgency=low
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
weechat (0.1.0-1) unstable; urgency=low
* WeeChat version 0.1.0, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
weechat (0.1.5-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
weechat (0.1.4-2) unstable; urgency=low
* Add autotools-dev to Build-Depends.
* update autotools stuff automatically to always
have up-to-date config.{guess,sub}
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
weechat (0.1.4-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
weechat (0.1.3-2) unstable; urgency=low
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
weechat (0.1.3-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
weechat (0.1.2-3) unstable; urgency=low
* Apply patch against gui-display.c to fix curses color bug.
* remove dh_install --sourcedir to allow builds on woody.
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
weechat (0.1.2-2) unstable; urgency=low
* Patch src/gui/curse/gui-display.c to fix segfault
when config file does not exists (Closes: #310589).
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
weechat (0.1.2-1) unstable; urgency=low
* WeeChat version 0.1.2, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 21 May 2005 08:00:00 +0200
weechat (0.1.1-2) unstable; urgency=low
* debian/control:
- Add myself to uploaders.
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
weechat (0.1.1-1) unstable; urgency=low
* WeeChat version 0.1.1, see ChangeLog for detail (closes: #306492)
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 20 Mar 2005 08:00:00 +0200
weechat (0.1.0-1) unstable; urgency=low
* WeeChat version 0.1.0, see ChangeLog for detail.
-- Sebastien Helleu <flashcode@flashtux.org> Sat, 12 Feb 2005 12:00:00 +0200
weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
+1
View File
@@ -0,0 +1 @@
5
+38 -17
View File
@@ -1,38 +1,59 @@
Source: weechat
Section: net
Priority: optional
Maintainer: FlashCode <flashcode@flashtux.org>
Build-Depends: debhelper (>> 4.0.0), libncurses5 (>= 5.2.20020112a-7)
Standards-Version: 3.5.8
Maintainer: Sebastien Helleu <flashcode@flashtux.org>
Uploaders: Julien Louis <ptitlouis@sysif.net>
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblualib50-dev, libgnutls-dev, libtool, dpkg-dev (>= 1.13.19)
Standards-Version: 3.7.2
Package: weechat
Architecture: all
Depends: ${shlibs:Depends}, weechat-common (= ${Source-Version}), weechat-curses (= ${Source-Version}), weechat-gtk (= ${Source-Version})
Depends: weechat-common (= ${source:Version}), weechat-curses (>= ${binary:Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
It is customizable and extensible with plugins/scripts, and includes:
- nicklist
- smart hotlist
- infobar with highlight notification
- horizontal and vertical split
- double charset support (decode/encode)
- FIFO pipe for remote control
- and much more!
.
Homepage: http://weechat.flashtux.org/
Package: weechat-curses
Architecture: any
Depends: ${shlibs:Depends}, weechat-common (= ${Source-Version})
Depends: ${shlibs:Depends}, weechat-common (= ${source:Version})
Recommends: weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Package: weechat-gtk
Architecture: any
Depends: ${shlibs:Depends}, weechat-common (= ${Source-Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
It is customizable and extensible with plugins/scripts, and includes:
- nicklist
- smart hotlist
- infobar with highlight notification
- horizontal and vertical split
- double charset support (decode/encode)
- FIFO pipe for remote control
- and much more!
.
Homepage: http://weechat.flashtux.org/
Package: weechat-common
Architecture: all
Replaces: weechat
Recommends: weechat-curses | weechat-gtk
Recommends: weechat-curses
Description: Common files for WeeChat
Documentation, examples, and locale files for WeeChat - fast, light and
extensible IRC client. It is useless without weechat-curses or weechat-gtk.
extensible IRC client. It is useless without weechat-curses.
Package: weechat-plugins
Architecture: any
Depends: ${shlibs:Depends}
Suggests: weechat-scripts
Description: Plugins for WeeChat
This package provides some plugins to enhance weechat with scripting languages
such as perl python or ruby.
+4 -2
View File
@@ -1,9 +1,11 @@
This package was debianized by FlashCode <flashcode@flashtux.org> on
Mon, 03 Nov 2003 23:15:00 +0200.
Sat, 21 May 2005 08:00:00 +0200.
It was downloaded from http://weechat.flashtux.org/download
Upstream Author(s): FlashCode <flashcode@flashtux.org>
Upstream Authors:
- FlashCode <flashcode@flashtux.org>
- kolter <kolter@free.fr>
Copyright:
+1
View File
@@ -0,0 +1 @@
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm
+25 -68
View File
@@ -1,80 +1,37 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
DEB_AUTO_CLEANUP_RCS := yes
# Add here any variable or target overrides you need
DEB_CONFIGURE_USER_FLAGS := --with-debug=0
DEB_STRIP_EXCLUDE := libperl.a
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp
DEB_INSTALL_DOCS_weechat-common := FAQ FAQ.fr
DEB_DH_MAKESHLIBS_ARGS_weechat-plugins := -n
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
CFLAGS += -O0
else
CFLAGS += -O2
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
INSTALL_PROGRAM += -s
endif
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=/usr --sysconfdir=/etc --enable-gtk
touch configure-stamp
ifeq ($(DEB_HOST_ARCH_OS),hurd)
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread"
endif
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
build: build-stamp
install/weechat-common::
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat.xpm
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/weechat
dh_install --sourcedir=debian/weechat
install -o root -g root -m 755 src/gui/curses/weechat-curses $(CURDIR)/debian/weechat-curses/usr/bin
install -o root -g root -m 755 src/gui/gtk/weechat-gtk $(CURDIR)/debian/weechat-gtk/usr/bin
# Build architecture-independent files here.
binary-indep: build install
dh_testdir -pweechat-common
dh_testroot -pweechat-common
dh_installchangelogs -pweechat-common
dh_installdocs -pweechat-common
dh_installexamples -pweechat-common
dh_installman weechat.1 -pweechat-common
dh_compress -pweechat-common
dh_fixperms -pweechat-common
dh_installdeb -pweechat-common
dh_shlibdeps -pweechat-common
dh_gencontrol -pweechat-common
dh_md5sums -pweechat-common
dh_builddeb -pweechat-common
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_link -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
install/weechat-curses::
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses
+2
View File
@@ -0,0 +1,2 @@
version=2
http://weechat.flashtux.org/download/weechat-(\d.*)\.tar\.bz2
+1 -3
View File
@@ -1,9 +1,7 @@
AUTHORS
BUGS
ChangeLog
COPYING
FAQ
INSTALL
FAQ.fr
NEWS
README
TODO
+2
View File
@@ -0,0 +1,2 @@
usr/share/locale/
usr/share/doc/weechat/html usr/share/doc/weechat-common
+1
View File
@@ -0,0 +1 @@
doc/weechat-curses.1
+4
View File
@@ -0,0 +1,4 @@
?package(weechat-curses):needs="text" section="Apps/Net" \
title="weechat-curses" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat-curses"
+1
View File
@@ -0,0 +1 @@
usr/lib
+1
View File
@@ -0,0 +1 @@
usr/lib/weechat/plugins/*so*
+295
View File
@@ -0,0 +1,295 @@
/* XPM */
static char *weechat[] = {
/* columns rows colors chars-per-pixel */
"32 32 257 2",
" c #000000",
". c #0A0904",
"X c #080813",
"o c #080716",
"O c #110D08",
"+ c #150A15",
"@ c #1A0D1A",
"# c #19150C",
"$ c #151517",
"% c #1F1F32",
"& c #13132C",
"* c #260A26",
"= c #351935",
"- c #271927",
"; c #262608",
": c #322C0C",
"> c #36380B",
", c #353316",
"< c #232516",
"1 c #242224",
"2 c #292935",
"3 c #2D302D",
"4 c #2D3330",
"5 c #3B333B",
"6 c #1D1C4A",
"7 c #110F7B",
"8 c #0E0D65",
"9 c #221F60",
"0 c #282948",
"q c #292855",
"w c #333447",
"e c #383855",
"r c #2A2978",
"t c #302F70",
"y c #353465",
"u c #363574",
"i c #2A286E",
"p c #2E4110",
"a c #39410C",
"s c #3E4C11",
"d c #3F5220",
"f c #394041",
"g c #3E4753",
"h c #493F11",
"j c #4F1050",
"k c #4A0F4B",
"l c #572657",
"z c #4D374D",
"x c #403F6F",
"c c #640964",
"v c #641E64",
"b c #701770",
"n c #790A79",
"m c #683C68",
"M c #623662",
"N c #6B2B6B",
"B c #454A08",
"V c #484C15",
"C c #554B16",
"Z c #58560A",
"A c #595B0B",
"S c #545715",
"D c #4C5712",
"F c #4D5034",
"G c #504F24",
"H c #4E710E",
"J c #4D7C1C",
"K c #5B6713",
"L c #506B11",
"P c #546927",
"I c #506D2E",
"U c #665B14",
"Y c #696C0C",
"T c #68730D",
"R c #6F7010",
"E c #707128",
"W c #4D504D",
"Q c #46456A",
"! c #4C4C7B",
"~ c #434577",
"^ c #554C69",
"/ c #5B5A7D",
"( c #54547A",
") c #535964",
"_ c #567745",
"` c #4D6B57",
"' c #5D6C78",
"] c #587069",
"[ c #6A487C",
"{ c #6D576D",
"} c #645475",
"| c #76557A",
" . c #786678",
".. c #70707D",
"X. c #676768",
"o. c #3F3E82",
"O. c #2D2BAA",
"+. c #3D3BA4",
"@. c #3B39B9",
"#. c #484888",
"$. c #4A4C96",
"%. c #585885",
"&. c #595890",
"*. c #555494",
"=. c #4745A6",
"-. c #4947B5",
";. c #514FBB",
":. c #5A58BB",
">. c #5C5BAF",
",. c #755581",
"<. c #605FB6",
"1. c #6B6883",
"2. c #68679B",
"3. c #7A7497",
"4. c #76698F",
"5. c #6968A6",
"6. c #706FB5",
"7. c #7675BB",
"8. c #6E6DB6",
"9. c #4947C3",
"0. c #5351C2",
"q. c #5D5BC0",
"w. c #6B6ACC",
"e. c #6361C7",
"r. c #7170C6",
"t. c #7877D2",
"y. c #56840C",
"u. c #6A8814",
"i. c #63980B",
"p. c #748614",
"a. c #7F9C0D",
"s. c #749218",
"d. c #698F13",
"f. c #6C852A",
"g. c #798C35",
"h. c #76912B",
"j. c #76B505",
"k. c #70A50F",
"l. c #7EA525",
"z. c #678946",
"x. c #A57A5A",
"c. c #9A1E9A",
"v. c #861B86",
"b. c #912B92",
"n. c #8A298A",
"m. c #A030A0",
"M. c #864886",
"N. c #8F469E",
"B. c #975897",
"V. c #8A788A",
"C. c #936A93",
"Z. c #987599",
"A. c #866892",
"S. c #9470AB",
"D. c #A25FA2",
"F. c #B16FB1",
"G. c #B07FB1",
"H. c #B776B7",
"J. c #807FD0",
"K. c #A37AC2",
"L. c #87880B",
"P. c #888513",
"I. c #869A0A",
"U. c #8B9B14",
"Y. c #94970D",
"T. c #9B9C13",
"R. c #98961A",
"E. c #968D16",
"W. c #929D2F",
"Q. c #82A90B",
"!. c #8CAA06",
"~. c #82B30A",
"^. c #84B706",
"/. c #97A913",
"(. c #96B90A",
"). c #99B914",
"_. c #91AB10",
"`. c #A39A1C",
"'. c #A09A3D",
"]. c #A9AE05",
"[. c #A7AA16",
"{. c #A7B90B",
"}. c #ACB712",
"|. c #BDBA18",
" X c #B7B711",
".X c #B0B726",
"XX c #9A8B4B",
"oX c #9EC008",
"OX c #BCC40D",
"+X c #BCC90E",
"@X c #B1C707",
"#X c #AEC90C",
"$X c #C4AE2A",
"%X c #C4CB11",
"&X c #C8D809",
"*X c #CBD011",
"=X c #D1CF1A",
"-X c #D1D50E",
";X c #D7E803",
":X c #918197",
">X c #858494",
",X c #8987BA",
"<X c #928BBB",
"1X c #9B9BA8",
"2X c #9B98B8",
"3X c #8784A3",
"4X c #A787A8",
"5X c #AE9CAE",
"6X c #AC99B1",
"7X c #B988B9",
"8X c #BB92BC",
"9X c #B598B8",
"0X c #A0A0A7",
"qX c #A6A6B7",
"wX c #8382C6",
"eX c #8382D4",
"rX c #8D8CD4",
"tX c #9C8CC7",
"yX c #908FD9",
"uX c #9493C6",
"iX c #9A99DB",
"pX c #9493D3",
"aX c #A693C8",
"sX c #A09AD5",
"dX c #A8A5C9",
"fX c #A9A6D6",
"gX c #B7A8C7",
"hX c #B7B6DA",
"jX c #B5B1CE",
"kX c #B7B4E2",
"lX c #A9A8E2",
"zX c #C88EC8",
"xX c #C38BC3",
"cX c #C695C6",
"vX c #C2ADC2",
"bX c #C7A6C7",
"nX c #C4B5C4",
"mX c #C6B9D3",
"MX c #DDB9DD",
"NX c #D9B4D9",
"BX c #D3A4D4",
"VX c #C9C5CA",
"CX c #CAC9D7",
"ZX c #D4CBD4",
"AX c #D9C1D9",
"SX c #DACEDA",
"DX c #C4C3E4",
"FX c #CBC9E6",
"GX c #D8D7E6",
"HX c #E7CCE7",
"JX c #E9CFE9",
"KX c #EADBEA",
"LX c #E4DAE4",
"PX c #EDE2ED",
"IX c #EAEAF4",
"UX c #F0E1F0",
"YX c None",
/* pixels */
"YXYXYXYXYXYXYXYXYXSXLXIXUXCX YXYXYXYXVXLXPXPXZX. YXYXYXYXYX",
"YXYXYXYXYXYXYXnXKXUXUXKXJXSXnX YXnXKXPXPXPXKXSXnX YXYXYXYX",
"YXYXYXYXYXYX9XHXJXMX0XvX:X9XSX .HXJXAX5XvX>XvXAX. YXYXYXYX",
"YXYXYXYXYXYXMXMXkXx.. | 4XNXvX NXMXMXV. { 4XNXbX YXYXYX",
"YXYXYXYXYXBXBX8XZ. 4X8X8XZ. { BX8X4X G.7XcXZ. YXYXYX",
"YXYXYXYXLXcXcXC.z zXxX7X) X.G.G.C.z zXcX7X5 5 VX YXYX",
"YXYX1XIXGXBXCXC.+ H.H.F.6XIXIX8X| B.- F.H.8X5X0XCXCX YX",
"YXYX3 GXmX8XmXZ.M M.D.m | VXCXGX4X| B.M.B.D.m gXqX1XCXW YX",
"YXYX CXgXS.jXA.= + = 2XFXqXFXZ.| n.l @ = jX>X..GX$ YX",
"YXYX hXaXA.jX,.= + kXFXDXFX3.{ m l * w hXV.2XdX YX",
"YXYX hXdX,.fX[ v n.j b.kX2XDXhX1.4.v b.m.j S.tX3XkX1. YX",
"YXYX fXdX4.aX^ j v.c.N.fX) kXuX} <X= b c.c.G.tX1.kX% YXYX",
"YXYX <XfXuX<X[ k c c S.uX( fX,X' iXk c n b tX/ 3.uX YXYX",
"YXYX 2.iXrX2./ $ pX2.6.rX,XQ iX2 2 iXQ pX/ YXYX",
"YXYX e rXrX( %.e ( rX( 5.7.wXQ J.y 5.yX( yX& YXYXYX",
"YXYXYX t.eXQ 5.~ 7.7.2.% 2.eX&.2.&. J.6.8.5. YXYXYX",
"YXYXYX r.t.y 8.#.o 8.~ *. x t.r.~ 8. 0 t.! r.0 o $ F YXYXYX",
"YXYXYX <.w.~ >.#.d ] #.0 q w.w.y w.o #.e.$.<.. d I I YX",
"YXYXYX =.e.=.#.g z.I t X q ;.e.u :.y :.o.q.u < J y.d YX",
"YXYXYX y 0.0.r ] _ I 6 o -.0.-.=.0.;.t 0.o , I y.p YX",
"YXYXYXYX 9.9.i ' _ g X + +.9.9.@.;.i +.r y.k.i.y.H ",
"YXYXXXW.Q.] =.@.z.J 4 . V s.E o.@.@.-.' d.z.L ; s j.j.j.i.D ",
"YXXXW.Q.Q.f.) O.l.f.# D Q.u.u.o O.$.g.g.h.^.^.> s.oX~.~.u.s ",
"YX}.oXD a P w 9 ~.f.S T p.p.K ~ ).g q g j.(.. # k.a.K ",
".X#X{. . ; 7 0 _.!.V O I.U.C . oXg.6 8 4 Y.(. a /.).T ",
"+X#X(. 1 # T.{., #X{.C B +XI. I./.{. T #XoXA YX",
"&X+X}.Y P.%X[.P.+X@X. &X@XY Z ;X/.A T.OX}.+X; Y.}.[.B YXYX",
".X*XOX;X;X XZ T.*XL. =X%XP.; ;X%X*XT.> `.|., ].`. X: YXYX",
". Y.].T.A . C C ; $X-Xh P.].R O R : XE.P.O YXYX",
" E U C . YXYX",
"YX YX. # YXYXYX",
"YXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYX YXYXYXYXYX"
};
+33
View File
@@ -0,0 +1,33 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
SUBDIRS = . en fr de ru pl cs sco
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) weechat-doc.css weechat-html-one.xsl.in weechat-html.xsl.in weechat-pdf.xsl dblatex.conf
all-local: weechat-html.xsl weechat-html-one.xsl
weechat-html.xsl: weechat-html.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html.xsl.in > weechat-html.xsl
weechat-html-one.xsl: weechat-html-one.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html-one.xsl.in > weechat-html-one.xsl
clean-local:
-rm -f weechat-html.xsl weechat-html-one.xsl
+189
View File
@@ -0,0 +1,189 @@
#!/usr/bin/perl
#
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Build some XML code for WeeChat doc
# with weechat-curses command
#
@all_lang = ("fr_FR", "en_US", "de_DE");
%all_encodings = ("fr_FR" => "iso-8859-1",
"en_US" => "iso-8859-1",
"de_DE" => "iso-8859-1");
%all_types = ("fr_FR" => "type",
"en_US" => "type",
"de_DE" => "Typ",
"es_ES" => "tipo");
%all_values = ("fr_FR" => "valeurs",
"en_US" => "values",
"de_DE" => "Werte",
"es_ES" => "valores");
%all_default = ("fr_FR" => "valeur par défaut",
"en_US" => "default value",
"de_DE" => "Standardwert",
"es_ES" => "valor por defecto");
%all_desc = ("fr_FR" => "description",
"en_US" => "description",
"de_DE" => "Beschreibung",
"es_ES" => "descripción");
$warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n"
." This file is automatically built with a Perl script. DO NOT EDIT!\n"
."-->\n\n";
foreach $lng (@all_lang)
{
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -w | sed 1,2d", "weechat_commands");
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -i | sed 1,2d", "irc_commands");
create_key_func ($lng, $all_encodings{$lng},
"weechat-curses -f | sed 1,2d", "key_functions");
create_config ($lng, $all_encodings{$lng},
"weechat-curses -c | sed 1,2d", "config");
print "\n";
}
sub toxml
{
$_ = $_[0];
$_ =~ s/&/&amp;/g;
$_ =~ s/</&lt;/g;
$_ =~ s/>/&gt;/g;
return $_;
}
sub create_commands
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$started = 0;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*)/)
{
print XML "</programlisting>\n" if ($started == 1);
$started = 1;
print XML "<command>".toxml($1)."</command>\n";
print XML "<programlisting>";
}
else
{
chomp ($_);
print XML toxml($_)."\n";
}
}
print XML "</programlisting>\n";
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_key_func
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*): (.*)/)
{
print XML "<row>\n";
print XML " <entry><literal>$1</literal></entry>\n";
print XML " <entry>$2</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_config
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$type = "";
$values = "";
$default = "";
$desc = "";
$ENV{"LANG"} = $lang;
foreach (`weechat-curses -c`)
{
if (/\* (.*):/)
{
print XML "<row>\n";
print XML " <entry><option>$1</option></entry>\n";
}
elsif (/ \. $all_types{$lang}: (.*)/)
{
$type = $1;
}
elsif (/ \. $all_values{$lang}: (.*)/)
{
$values = $1;
}
elsif (/ \. $all_default{$lang}: (.*)/)
{
$default = $1;
}
elsif (/ \. $all_desc{$lang}: (.*)/)
{
$_ = $1;
s/(.*)/\u$1/;
$desc = $_;
print XML " <entry>".toxml($type)."</entry>\n";
print XML " <entry>".toxml($values)."</entry>\n";
print XML " <entry>".toxml($default)."</entry>\n";
print XML " <entry>".toxml($desc)."</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub iconv_file
{
print "Converting $_[0].xml to $_[1]...\n";
system ("iconv -t $encoding -o $_[0].xml.$_[1] $_[0].xml");
system ("mv $_[0].xml.$_[1] $_[0].xml");
}
+28
View File
@@ -0,0 +1,28 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = cs
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(QUICKSTART)
docdir = $(datadir)/doc/$(PACKAGE)
# install docs
install-data-hook:
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
+104
View File
@@ -0,0 +1,104 @@
WeeChat (česká verze)
=========================
1. Spuštění weechat
Podle požadovaného GUI je třeba spustit:
- weechat-curses pro Curses GUI
- weechat-gtk pro GTK GUI (vyvíjí se)
- weechat-qt pro Qt GUI (není vyvíjeno)
- weechat-wxwidgets pro WxWidgets GUI (není vyvíjeno)
2. Online nápověda / možnosti
WeeChat má nápovědu pro všechny příkazy (/help příkaz)
Pro získání nápovědy k příkazu se používá /help příkaz
Pro nastavení voleb použijte /set volba = hodnota
Lze použít /set volba s částečným jménem (zobrazí všechny možnosti
obsahující písmena), nebo pouze s celým jménem volby bez hodnoty
(pro zobrazení dlouhé nápovědy k volbě).
Důležitá poznámka: nastavení je ukládáno při skončení WeeChat
(nebo pomocí příkazu /save). NEEDITUJTE kontiguracni soubor za
běhu WeeChat, protože do něj můŽe WeeChat kdykoliv zapsat
a není možné jej znovu načíst. Pro změnu jakýchkoliv voleb
použijte příkaz /set, WeeChat okamžitě použije nové nastavení.
3. Vytvoření serveru
Například irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(pro kompletní nápovědu použijte /help server)
4. Nastavení vlastních voleb serveru
Přezdívky:
/set quakenet.server_nick1 = "mujeprezdivka"
/set quakenet.server_nick2 = "mujeprezdivka2"
/set quakenet.server_nick3 = "mujeprezdivka3"
Uživatelské jméno / skutečné jméno:
/set quakenet.server_username = "moje uživatelské jméno"
/set quakenet.server_realname = "moje skutečné jméno"
Automatické připojení k serveru:
/set quakenet.server_autoconnect = on
Ostatní volby:
Pro zobrazení voleb serveru a jejich hodnot použijte /set quakenet
Pro nastavení volby použijte /set quakenet.volba_serveru = hodnota
5. Připojení k serveru a automatické připojení ke kanálům
/connect quakenet
6. Příchod/odchod na/z kanálu
Příchod na kanál:
/join #kanál
Odchod z kanálu:
/part [ukončovací zpráva]
Odchod z kanálu a zavření bufferu:
/close [ukončovací zpráva]
(/close je alias na /buffer close)
7. Správa bufferů/oken
Buffery lze spravovat pomocí příkazu "/buffer" a okna pomocí
příkazu "/window".
Například pro rozdělení okna vertikálně na malé okno (1/3 šíčky)
a velké (2/3) použijte příkaz:
/window splitv 33
8. Klávesové zkratky
Podle Vaší klávesnice a/nebo potřeb si můžete změnit jakoukoliv
klávesu pomocí příkazu "/key".
Užitečná klávesa je meta-k (alt-k) pro nalezení klávesového kódu.
Například pro napojení meta-y (alt-y) na příkaz "/buffer close""
/key (stiskněte meta-k) (stiskněte meta-y) /buffer close
Dostanete řádek podobný tomuto:
/key meta-y /buffer close
9. Pluginy/skripty
Na některých distibucích jako Debian, jsou pluginy dostupné v samostatném
balíčku (jako weechat-plugins).
Pluginy jsou automatikcy načteny při nalezení.
Pro WeeChat je dostupných spousta pluginů/skriptů, více na:
http://weechat.flashtux.org/plugins.php
Pro načítání/rušení pluginů/skriptů se podívejde do dokumentace WeeChat.
10. Další dokumentace
Nyní můžete používat WeeChat a číst FAQ/dokumentaci v případě dalších dotazů:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Uživejte si WeeChat!
--
(c) 2006-05-31, napsal FlashCode <flashcode@flashtux.org>, přeložil GolemJ <golemj@gmail.com>
This document is part of WeeChat and is distributed under GPL licence.
Tento dokunet je součástí WeeChat a je distribuován pod licencí GPL.
+1
View File
@@ -0,0 +1 @@
XslParam: weechat-pdf.xsl
+79
View File
@@ -0,0 +1,79 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = de
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
all-local: html-stamp $(PDF)
# HTML output with chunks (many pages)
html: html-stamp
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# HTML output, all in one page
html1: html1-stamp
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
+1239
View File
File diff suppressed because it is too large Load Diff
+443
View File
@@ -0,0 +1,443 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [Ziel]</command>
<programlisting>
Information über den Server-Administrator abfragen
Ziel: Server
</programlisting>
<command>ame Nachricht</command>
<programlisting>
Nachricht an alle Channels aller verbundenen Server schicken
zu sendende Nachricht
</programlisting>
<command>amsg Text</command>
<programlisting>
Nachricht an alle Channels aller verbundener Server schicken
Text: zu sendender Text
</programlisting>
<command>away [-all] [Nachricht]</command>
<programlisting>
Abwesenheitsnachricht ein/ausschalten
-all: Abwesenheitszustand auf allen Servern ändern
Nachricht: Abwesenheitsnachricht (bzw. keine, um den Abwesenheitszustand zu deaktivieren)
</programlisting>
<command>ban [Channel] [Nickname [Nickname ...]]</command>
<programlisting>
Nicknames oder Hosts sperren/verbannen
Channel: Channel für die Sperre
Nickname: zu sperrender User oder Host
</programlisting>
<command>ctcp Empfänger Typ [Argumente]</command>
<programlisting>
CTCP-Nachricht verschicken
Empfänger: User, an den die CTCP-Nachricht geschickt werden soll
Typ: Typ der CTCP-Nachricht (z.B. "version", "ping", ..)
Argumente: Argumente für CTCP
</programlisting>
<command>cycle [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen und wieder betreten
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
</programlisting>
<command>dehalfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus aberkennen
</programlisting>
<command>deop Nickname [Nickname]</command>
<programlisting>
Operatorstatus aberkennen
</programlisting>
<command>devoice Nickname [Nickname]</command>
<programlisting>
Voice wegnehmen
</programlisting>
<command>die</command>
<programlisting>
Server herunterfahren
</programlisting>
<command>halfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus verleihen
</programlisting>
<command>info [Ziel]</command>
<programlisting>
Information über den Server abfragen
Ziel: Servername
</programlisting>
<command>invite Nickname Channel</command>
<programlisting>
jemanden in einen Channel einladen
Nickname: Chatname des Einzuladenden
Channel: Channel, in den er eingeladen werden soll
</programlisting>
<command>ison Nickname [Nickname ...]</command>
<programlisting>
überprüfen, ob jemand zur Zeit im IRC ist
Nickname: Nickname
</programlisting>
<command>join Channel[,Channel] [Passwort[,Passwort]]</command>
<programlisting>
einen Channel betreten
Channel: zu betretender Channel
Passwort: Channelpasswort (+k-Mode)
</programlisting>
<command>kick [Channel] Nickname [Kommentar]</command>
<programlisting>
einen User aus einem Channel herauskicken
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: Begründung für den Kick
</programlisting>
<command>kickban [Channel] Nickname [Kommentar]</command>
<programlisting>
kickt und verbannt jemanden von einem Channel
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: Begründung für den Kickban
</programlisting>
<command>kill Nickname Kommentar</command>
<programlisting>
Jemanden vom Server werfen
Nickname: Chatname
Kommentar: Begründung
</programlisting>
<command>links [[Server] Servermaske]</command>
<programlisting>
Alle dem antwortenden Server bekannten Servernamen auflisten
Server: dieser Server soll die Anfrage beantworten
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
</programlisting>
<command>list [Channel[,Channel] [Server]]</command>
<programlisting>
Channels mit ihren Topics auflisten
Channel: aufzulistender Channel (reguläre Ausdrücke sind möglich)
Server: Servername
</programlisting>
<command>lusers [Maske [Ziel]]</command>
<programlisting>
Statistik über die Größe dieses IRC-Netzwerks abfragen
Maske: Nur Server, die diesem Muster entsprechen
Ziel: Server, der die Anfrage weiterleiten soll
</programlisting>
<command>me Nachricht</command>
<programlisting>
eine CTCP ACTION an den aktuellen Channel senden
zu sendende Nachricht
</programlisting>
<command>mode { Channel {[+|-]|o|p|s|i|t|n|b|v} [Limit] [User] [Bannmaske] } | {Nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
Channel- oder Usermode ändern
Channelmodi:
Channel: zu ändernder Channel
o: gib/nimm Operatorstatus
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dürfen das Topic setzen
n: keine Channelnachrichten von außerhalb des Channels
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske für zu sperrende User (in nick!ident@host-Form)
e: lege Ausnahmemaske fest
v: gib/nimm Voice (d.h. Schreibrecht bei moderierten Channels)
k: Channelkey/Channelpasswort festlegen
Usermodi:
Nickname: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channeloperator
</programlisting>
<command>motd [Ziel]</command>
<programlisting>
die "Nachricht von heute" abfragen
Ziel: Servername
</programlisting>
<command>msg Empfänger[,Empfänger] Text</command>
<programlisting>
Nachricht an Nick/Channel verschicken
Empfänger: Nick/Channel (darf eine Maske sein, '*' = aktueller Channel)
Text: zu sendender Text
</programlisting>
<command>names [Channel[,Channel]]</command>
<programlisting>
Nicknames in Channels auflisten
Channel: Channelname
</programlisting>
<command>nick [-all] Nickname</command>
<programlisting>
aktuellen Nickname wechseln
-all: Nickname auf allen verbundenen Servern ändern
Nickname: neuer Nickname
</programlisting>
<command>notice Nickname Text</command>
<programlisting>
NOTICE an einen User verschicken
Nickname: Empfänger der Nachricht
Text: zu sendender Text
</programlisting>
<command>op Nickname [Nickname]</command>
<programlisting>
Channeloperatorstatus verleihen
</programlisting>
<command>oper Benutzername Passwort</command>
<programlisting>
Serveroperatorprivilegien anfordern
Benutzername/Passwort: Account im IRC-Server
</programlisting>
<command>part [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht, die den anderen Usern angezeigt wird
</programlisting>
<command>ping Server1 [Server2]</command>
<programlisting>
Server anpingen
Server1: Anzupingender Server
Server2: Ping an diesen Server weiterleiten
</programlisting>
<command>pong Daemon [Daemon2]</command>
<programlisting>
auf Ping antworten
Daemon: Daemon, der auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
</programlisting>
<command>query Nickname [Text]</command>
<programlisting>
private Nachricht an jemanden schicken
Nickname: Nickname für privaten Chat
Text: zu sendender Text
</programlisting>
<command>quit [Abschiedsnachricht]</command>
<programlisting>
alle Verbindungen trennen und Programm beenden
Abschiednachricht: anderen Usern zu zeigende Nachricht
</programlisting>
<command>quote Daten</command>
<programlisting>
Daten direkt an Server senden (siehe RFC 2812)
Daten: zu sendende Rohdaten
</programlisting>
<command>rehash</command>
<programlisting>
den Server dazu bringen, seine Konfigurationsdatei neu zu laden
</programlisting>
<command>restart</command>
<programlisting>
den Server dazu bringen, sich selbst neu zu starten
</programlisting>
<command>service Nickname reserviert Distribution Typ reserviert Info</command>
<programlisting>
einen neuen Service eintragen
Distribution: Sichtbarkeit des Services
Typ: für spätere Verwendung reserviert
</programlisting>
<command>servlist [Maske [Typ]]</command>
<programlisting>
zur Zeit verbundene Services auflisten
Maske: nur zutreffende Services auflisten
Typ: nur Services von diesem Typ auflisten
</programlisting>
<command>squery Service Text</command>
<programlisting>
Nachricht an einen Service senden
Service: Name des Service
Text: zu sendender Text
</programlisting>
<command>squit Server Kommentar</command>
<programlisting>
Serververbindungen trennen
Server: Servername
Kommentar: Trennungsgrund
</programlisting>
<command>stats [Anfrage [Server]]</command>
<programlisting>
Serverstatistik abfragen
Anfrage: c/h/i/k/l/m/o/y/u (siehe RFC1459)
Server: zu befragender Server
</programlisting>
<command>summon User [Ziel [Channel]]</command>
<programlisting>
Nutzer, die auf dem IRC-Server arbeiten, darum bitten, auf den IRC-Server zu kommen
User: Benutzername
Ziel: Servername
Channel: Channelname
</programlisting>
<command>time [Ziel]</command>
<programlisting>
Ortszeit des Servers abfragen
Ziel: der zu fragende Server
</programlisting>
<command>topic [Channel] [Topic]</command>
<programlisting>
Channeltopic abfragen/setzen
Channel: Channelname
Topic: neues Topic (oder "-delete" zum Entfernen des Topics)
</programlisting>
<command>trace [Ziel]</command>
<programlisting>
Route zum angegebenen Server ermitteln
Ziel: Server
</programlisting>
<command>unban [Channel] nickname [nickname ...]</command>
<programlisting>
Bann aufheben
Channel: Channel, in dem der Bann aufzuheben ist
Nickname: User, für den der Bann aufzuheben ist
</programlisting>
<command>userhost Nickname [Nickname ...]</command>
<programlisting>
liste von Nickname-Informationen ermitteln
Nickname: Nickname
</programlisting>
<command>users [Ziel]</command>
<programlisting>
auf dem Server eingeloggte User auflisten
Ziel: Server
</programlisting>
<command>version [Server | Nickname]</command>
<programlisting>
Versionsinformationen von Nickname oder Server ermitteln
Server: Servername
Nickname: Nickname
</programlisting>
<command>voice Nickname [Nickname]</command>
<programlisting>
Voice vergeben
</programlisting>
<command>wallops Text</command>
<programlisting>
Nachricht an alle User schicken, die den 'w'-Mode gesetzt haben
zu sendender Text
</programlisting>
<command>who [Maske ["o"]]</command>
<programlisting>
erweiterte Nicknameliste
Maske: nur Information über betreffende Nicknames abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
</programlisting>
<command>whois [Server] Nickname[,Nickname]</command>
<programlisting>
Information über User abfragen
Server: Servername
Nickname: Nickname (oder eine Maske)
</programlisting>
<command>whowas Nickname [,Nickname [,Nickname ...]] [Anzahl [Ziel]]</command>
<programlisting>
Information über die Vergangenheit eines Nicknames erfragen
Nickname: abzufragende Nicknames
Anzahl: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
Ziel: zu suchende Hostmaske
</programlisting>
+207
View File
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>Zeile terminieren</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>Wort vervollständigen</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>finde letzte Wortvervollständigung</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>vorheriges Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>nächstes Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>bis zum Zeilenende löschen</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>bis zum Zeilenanfang löschen</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>ganze Zeile löschen</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>vorheriges Wort löschen</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>nächstes Wort löschen</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>einfügen</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>Zeichen vertauschen</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>zum Zeilenanfang gehen</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>zum Zeilenende gehen</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>ein Zeichen nach links gehen</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>ein Wort nach links gehen</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>ein Zeichen nach rechts gehen</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>ein Wort nach rechts gehen</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>vorherigen Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>vorherigen Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>nächsten Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>nächsten Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>einige Zeilen hochscrollen</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>einige Zeilen herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>nach ganz oben scrollen</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>nach ganz unten scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>Topic nach links scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>Topic nach rechts scrollen</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>zum Anfang der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>zum Ende der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>Nickliste eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>Nickliste eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>zu nächstem aktiven Puffer springen</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>zum DCC-Puffer springen</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>gehe zum IRC-Rohdaten-Puffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>zum letzten Puffer springen</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>zum Serverpuffer springen</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>zum nächsten Server springen</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>wechsel den aktiven Server im Server-Puffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scrolle zur vorherigen hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scrolle zur nächsten Hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scrolle zur ersten, ungelesenen Zeile im Puffer</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>Hotlist leeren</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>Infobar leeren</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>Bild neu aufbauen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>Tastencode ermitteln und einfügen</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>füge eine Zeichenkette in der Befehlszeile ein</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>suche Text im Pufferverlauf</entry>
</row>
File diff suppressed because it is too large Load Diff
+237
View File
@@ -0,0 +1,237 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [Aliasname [Befehl [Argumente]]]</command>
<programlisting>
einen Alias für einen Befehl anlegen
Aliasname: Name des Alias
Befehl: Befehlsname (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle können durch Semikola getrennt werden)
Argumente: Argumente für den Befehl
</programlisting>
<command>wird durch alle Argumente ersetzt.</command>
<programlisting>Die Variablen $nick, $channel and $server werden durch den aktuellen Nick/Channel oder Server ersetzt.
</programlisting>
<command>buffer [Aktion [Argumente] | Nummer | [[Server] [Channel]]]</command>
<programlisting>
Puffer verwalten
Aktion: Pufferaktion:
move: Puffer in der Liste bewegen (kann auch relativ sein, wie -1)
close: Puffer schließen (eine Part-Message kann optional angegeben werden)
list: alle offenen Puffer auflisten (Standardaktion)
notify: Notify-Level für Puffer festlegen (0=nie, 1=bei hervorgehobenen Nachrichten, 2=1+persönliche Nachricht, 3=2+join/part)
(wenn der Befehl in einem Server Puffer ausgeführt wird, setzt er den Default-Notify-Level für den ganzen Server)
Server
Channel: gehe zum Puffer mit Servernamen oder Channelnamen
Nummer: gehe zu Puffer mit dieser Nummer
</programlisting>
<command>builtin Befehl</command>
<programlisting>
starte eingebauten WeeChat/IRC-Befehl (ohne Plugin-Handler oder Aliase)
Befehl: auszuführender Befehl (falls nicht vorhanden wird automatisch ein '/' vorangestellt)
</programlisting>
<command>clear [-all | Nummer]</command>
<programlisting>
Fenster leeren
-all: lösche alle Puffer
Nummer: lösche den Puffer mit der angegebenen Nummer
</programlisting>
<command>connect [Servername]</command>
<programlisting>
mit einem Server verbinden
Servername: Zielserver
</programlisting>
<command>disconnect [Servername]</command>
<programlisting>
Serververbindung trennen
Servername: Name des zu trennenden Servers
</programlisting>
<command>dcc Aktion [Nickname [Datei]]</command>
<programlisting>
DCC (Filetransfer oder Chat) starten oder Chat beenden
Aktion: 'send' (Datei) oder 'chat' oder 'close' (Chat)
Nickname: Empfänger der Datei bzw. Chatpartner
Datei: zu versendende (lokal vorliegende) Datei
</programlisting>
<command>debug dump | windows</command>
<programlisting>
Debugging-Nachricht ausgeben
dump: Speicherabbild im WeeChat-Logfile ablegen (wie nach einem Programmabsturz)
windows: zeigt Fensterdaten an
</programlisting>
<command>help [Befehl]</command>
<programlisting>
Hilfe zu Befehlen abfragen
Befehl: Name eines WeeChat- oder IRC-Befehls
</programlisting>
<command>history [clear | Anzahl]</command>
<programlisting>
zeigt Befehlsverlauf des Puffers
clear: Löscht Verlauf
Anzahl: zeigt die gewünschte Anzahl an Verlaufseinträgen
</programlisting>
<command>ignore [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
IRC-Nachrichten und/oder Hosts ignorieren
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' für 'alle'.
Ohne Argumente listet /ignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>key [Taste [Funktion/Befehl]] [unbind Taste] [functions] [call Funktion ["Argumente"]] [reset -yes] </command>
<programlisting>
belegen/freigeben von Tasten
Taste: diese Taste anzeigen oder mit einer internen Funktion oder einem Befehl, beginnend mit "/", belegen
unbind: Tastenbelegung aufheben
functions: interne Funktionen für Tastenbelegungen auflisten
call: rufe eine Funktion über ihren Namen auf (mit optionalen Argumenten)
reset: Standardbelegung wiederherstellen und entferne ALLE eigenen Belegungen (Vorsicht!)
</programlisting>
<command>plugin [list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]</command>
<programlisting>
auflisten/laden/entladen von Plugins
list: geladene Plugins auflisten
listfull: geladene Plugins mit Details für jedes Plugin auflisten
load: lade ein Plugin
autoload: lade automatisch alle Plugins im System- oder Benutzerverzeichnis
reload: lade ein Plugin erneut (wenn kein Name vorgegeben ist, werden alle Plugins entladen und autolade die Plugins)
unload: entlade eines oder alle Plugins
Ohne Argument, listet /plugin alle geladenen Plugins auf.
</programlisting>
<command>server [Servername] | [Servername Hostname Port [-auto | -noauto] [-ipv6] [-ssl] [-pwd Passwort] [-nicks Nick1 Nick2 Nick3] [-username Benutzername] [-realname Name] [-command Befehl] [-autojoin Channel[,Channel]] ] | [del Servername]</command>
<programlisting>
Auflisten, Hinzufügen oder Entfernen von Servern
Servername: anzuzeigender Servername
Hostname: Name oder IP-Adresse des Servers
Port: Port des Servers
ipv6: IPv6 benutzen
ssl: SSL benutzen
Passwort: Serverpasswort
Nick1: erster Nickname
Nick2: zweiter Nickname
Nick3: dritter Nicname
Benutzername: Benutzername
Realname: voller Name des Benutzers
</programlisting>
<command>save [Datei]</command>
<programlisting>
Konfiguration abspeichern
Datei: Name der zu speichernden Konfigurationsdatei
</programlisting>
<command>set [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter setzen
Option: Name einer Option (wenn der Name vorhanden ist, aber kein Wert, dann wird eine Hilfe zur Option ausgegeben
Wert: Wert der Option
Option kann Servername.server_xxx lauten, wobei "Servername" der interne Servername ist und "xxx" eine Option für diesen Server.
</programlisting>
<command>setp [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter für Plugin setzen
Option: Name einer Plugin-Option
Wert: Wert für Option
Option wird wie folgt formatiert: Plugin.Option, z.B. perl.myscript.item1
</programlisting>
<command>unalias Aliasname</command>
<programlisting>
einen Alias entfernen
Aliasname: Name des zu löschenden Aliases
</programlisting>
<command>unignore [Nummer | [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
/ignore-Regel entfernen
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' für 'alle'.
Ohne Argumente listet /unignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>upgrade</command>
<programlisting>
aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
Dieser Befehl wird auf dem Weechat-Binary ausgeführt, daher sollte dieses kompiliert oder mit einem Paketmanager installiert sein, bevor der Befehl ausgeführt wird.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
zeigt die Uptime von Weechat an
-o: sendet die Weechat-Uptime als IRC-Nachricht in den aktuellen Channel
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
<programlisting>
Fenster verwalten
list: listet die geöffneten Fenster (Default, kann auch weggelassen werden)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, dass Puffer Nummer # anzeigt
up: wechselt zum Fenster über dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters, die neue Größe ist &lt;pct&gt; Prozent des Elternfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
Bei splith und splitv gibt pct die neue Größe des Fensters im verhältnis zur aktuellen Größe an. Zum Beispiel würde 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hätte.
</programlisting>
+109
View File
@@ -0,0 +1,109 @@
WeeChat Schnellstarter (deutsche Version)
======================
1. Weechat starten
Entsprechend dem gewählten User-Interface müssen Du starten:
- weechat-curses für das Curses GUI
- weechat-gtk für das Gtk GUI (in Entwicklung)
- weechat-qt für das Qt GUI (in Planung)
- weechat-wxwidgets für das WxWidgets GUI (in Planung)
2. Online-Hilfe / Optionen
WeeChat hat eine eingebaute Hilfe für all Kommandos, tippe einfach /help
Um Hilfe zu einem Kommando zu bekommen, tippe /help Kommando
Um Optionen zu verändern, benutzt du /set Option = Wert
Du brauchst /set Option nur mit den Anfangsbuchstaben eingeben
(<tab> zeigt alle Optionen mit den gleichen Buchstaben) oder mit dem vollen
Namen ohne einen Wert, um eine ausführliche Hilfe zu bekommen.
Wichtig: die Einstellungen werden gespeichert, wenn WeeChat beendet wird
(oder mit dem Befehl /save). Verändere die Einstellungen nicht, wenn WeeChat
läuft, weil WeeChat diese Datei zu jeder Zeit überschreiben kann und
Änderungen verloren sind. Um irgendeine Einstellung zu verändern, verwendest du
das /set Kommando, WeeChat wird die neuen Einstellungen umgehend übernehmen.
3. Einen Server-Eintrag anlegen
Zum Beispiel für irc.quakenet.org, Port 6667:
/server quakenet irc.quakenet.org 6667
(/help Server für volle Hilfe zu diesem Kommando)
4. Eigene Server-Optionen setzen
Nickname:
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Username/Klarname:
/set quakenet.server_username = "My username"
/set quakenet.server_realname = "My real name"
Automatische Server-Verbindung:
/set quakenet.server_autoconnect = on
Automatisches Betreten eines Channels:
/set quakenet.server_autojoin = "#chan1,#chan2"
Andere Optionen:
Du kannst die Server-Optionen und ihre Werte mit /set quakenet sehen
Um eine Option zu setzen, tippe /set quakenet.option = Wert
5. Verbinden zu einem Server und automatisch einen Channel betreten
/connect quakenet
6. Channels betreten/verlassen
Einen Channel betreten:
/join #channel
Einen Channel verlassen:
/part [Nachricht]
Einen Channel verlassen und den Buffer schliessen:
/close [Nachricht]
(/close ist ein Alias für /buffer close)
7. Buffer/Fenster Management
Du kannst die einzelnen Buffer mit /buffer und Fenster mit /window
verwalten.
Um zum Beispiel das Fenster in ein kleineres (1/3 breit) und ein
grosses (2/3 breit) zu teilen, nutzt du das folgende Kommando:
/window splitv 33
8. Tastenkombinationen
Entsprechend deiner Tastatur und/oder deinen Wünschen, kannst du jede Taste
mit "/key" neu zuordnen.
Eine nützliche Taste ist meta-k (alt-k), sie zeigt die Tastaturcodes an.
Um zum Beispiel meta-y (alt-y) dem Kommando "/buffer close" zuzuordnen:
/key (tippe meta-k) (tippe meta-y) /buffer close
Und du bekommst damit die Kommandozeile:
/key meta-y /buffer close
9. Plugins/Skripte
In einigen Distributionen, wie zum Beispiel Debian, sind Plugins in separaten
Paketen verfügbar (wie weechat-plugins). Plugins werden automatisch geladen,
wenn welche gefunden wurden.
Viele Plugins/Skripte für WeeChat sind zu finden auf:
http://weechat.flashtux.org/plugins.php
Bitte lies für das Laden/Entladen von Plugins oder Skripten die Dokumentation.
10. Mehr Dokumentation
Jetzt kannst du WeeChat starten und die FAQ/Dokumentation lesen, falls du weitere
Fragen hast:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Viel Spass mit WeeChat!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
This document is part of WeeChat and is distributed under GPL licence.
+79
View File
@@ -0,0 +1,79 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = en
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
all-local: html-stamp $(PDF)
# HTML output with chunks (many pages)
html: html-stamp
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# HTML output, all in one page
html1: html1-stamp
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
+1239
View File
File diff suppressed because it is too large Load Diff
+443
View File
@@ -0,0 +1,443 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [target]</command>
<programlisting>
find information about the administrator of the server
target: server
</programlisting>
<command>ame message</command>
<programlisting>
send a CTCP action to all channels of all connected servers
message: message to send
</programlisting>
<command>amsg text</command>
<programlisting>
send message to all channels of all connected servers
text: text to send
</programlisting>
<command>away [-all] [message]</command>
<programlisting>
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
</programlisting>
<command>ban [channel] [nickname [nickname ...]]</command>
<programlisting>
bans nicks or hosts
channel: channel for ban
nickname: user or host to ban
</programlisting>
<command>ctcp receiver type [arguments]</command>
<programlisting>
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
</programlisting>
<command>cycle [channel[,channel]] [part_message]</command>
<programlisting>
leave and rejoin a channel
channel: channel name for cycle
part_message: part message (displayed to other users)
</programlisting>
<command>dehalfop [nickname [nickname]]</command>
<programlisting>
removes half channel operator status from nickname(s)
</programlisting>
<command>deop [nickname [nickname]]</command>
<programlisting>
removes channel operator status from nickname(s)
</programlisting>
<command>devoice [nickname [nickname]]</command>
<programlisting>
removes voice from nickname(s)
</programlisting>
<command>die</command>
<programlisting>
shutdown the server
</programlisting>
<command>halfop [nickname [nickname]]</command>
<programlisting>
gives half channel operator status to nickname(s)
</programlisting>
<command>info [target]</command>
<programlisting>
get information describing the server
target: server name
</programlisting>
<command>invite nickname channel</command>
<programlisting>
invite a nick on a channel
nickname: nick to invite
channel: channel to invite
</programlisting>
<command>ison nickname [nickname ...]</command>
<programlisting>
check if a nickname is currently on IRC
nickname: nickname
</programlisting>
<command>join channel[,channel] [key[,key]]</command>
<programlisting>
join a channel
channel: channel name to join
key: key to join the channel
</programlisting>
<command>kick [channel] nickname [comment]</command>
<programlisting>
forcibly remove a user from a channel
channel: channel where user is
nickname: nickname to kick
comment: comment for kick
</programlisting>
<command>kickban [channel] nickname [comment]</command>
<programlisting>
kicks and bans a nick from a channel
channel: channel where user is
nickname: nickname to kick and ban
comment: comment for kick
</programlisting>
<command>kill nickname comment</command>
<programlisting>
close client-server connection
nickname: nickname
comment: comment for kill
</programlisting>
<command>links [[server] server_mask]</command>
<programlisting>
list all servernames which are known by the server answering the query
server: this server should answer the query
server_mask: list of servers must match this mask
</programlisting>
<command>list [channel[,channel] [server]]</command>
<programlisting>
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
</programlisting>
<command>lusers [mask [target]]</command>
<programlisting>
get statistics about the size of the IRC network
mask: servers matching the mask only
target: server for forwarding request
</programlisting>
<command>me message</command>
<programlisting>
send a CTCP action to the current channel
message: message to send
</programlisting>
<command>mode { channel {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
change channel or user mode
channel modes:
channel: channel name to modify
o: give/take channel operator privileges
p: private channel flag
s: secret channel flag
i: invite-only channel flag
t: topic settable by channel operator only flag
n: no messages to channel from clients on the outside
m: moderated channel
l: set the user limit to channel
b: set a ban mask to keep users out
e: set exception mask
v: give/take the ability to speak on a moderated channel
k: set a channel key (password)
user modes:
nickname: nickname to modify
i: mark a user as invisible
s: mark a user for receive server notices
w: user receives wallops
o: operator flag
</programlisting>
<command>motd [target]</command>
<programlisting>
get the "Message Of The Day"
target: server name
</programlisting>
<command>msg receiver[,receiver] text</command>
<programlisting>
send message to a nick or channel
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
</programlisting>
<command>names [channel[,channel]]</command>
<programlisting>
list nicknames on channels
channel: channel name
</programlisting>
<command>nick [-all] nickname</command>
<programlisting>
change current nickname
-all: set new nickname for all connected servers
nickname: new nickname
</programlisting>
<command>notice nickname text</command>
<programlisting>
send notice message to user
nickname: user to send notice to
text: text to send
</programlisting>
<command>op nickname [nickname]</command>
<programlisting>
gives channel operator status to nickname(s)
</programlisting>
<command>oper user password</command>
<programlisting>
get operator privileges
user/password: used to get privileges on current IRC server
</programlisting>
<command>part [channel[,channel]] [part_message]</command>
<programlisting>
leave a channel
channel: channel name to leave
part_message: part message (displayed to other users)
</programlisting>
<command>ping server1 [server2]</command>
<programlisting>
ping server
server1: server to ping
server2: forward ping to this server
</programlisting>
<command>pong daemon [daemon2]</command>
<programlisting>
answer to a ping message
daemon: daemon who has responded to Ping message
daemon2: forward message to this daemon
</programlisting>
<command>query nickname [text]</command>
<programlisting>
send a private message to a nick
nickname: nickname for private conversation
text: text to send
</programlisting>
<command>quit [quit_message]</command>
<programlisting>
close all connections and quit
quit_message: quit message (displayed to other users)
</programlisting>
<command>quote data</command>
<programlisting>
send raw data to server without parsing
data: raw data to send
</programlisting>
<command>rehash</command>
<programlisting>
tell the server to reload its config file
</programlisting>
<command>restart</command>
<programlisting>
tell the server to restart itself
</programlisting>
<command>service nickname reserved distribution type reserved info</command>
<programlisting>
register a new service
distribution: visibility of service
type: reserved for future usage
</programlisting>
<command>servlist [mask [type]]</command>
<programlisting>
list services currently connected to the network
mask: list only services matching this mask
type: list only services of this type
</programlisting>
<command>squery service text</command>
<programlisting>
deliver a message to a service
service: name of service
text: text to send
</programlisting>
<command>squit server comment</command>
<programlisting>
disconnect server links
server: server name
comment: comment for quit
</programlisting>
<command>stats [query [server]]</command>
<programlisting>
query statistics about server
query: c/h/i/k/l/m/o/y/u (see RFC1459)
server: server name
</programlisting>
<command>summon user [target [channel]]</command>
<programlisting>
give users who are on a host running an IRC server a message asking them to please join IRC
user: username
target: server name
channel: channel name
</programlisting>
<command>time [target]</command>
<programlisting>
query local time from server
target: query time from specified server
</programlisting>
<command>topic [channel] [topic]</command>
<programlisting>
get/set channel topic
channel: channel name
topic: new topic for channel (if topic is "-delete" then topic is deleted)
</programlisting>
<command>trace [target]</command>
<programlisting>
find the route to specific server
target: server
</programlisting>
<command>unban [channel] nickname [nickname ...]</command>
<programlisting>
unbans nicks or hosts
channel: channel for unban
nickname: user or host to unban
</programlisting>
<command>userhost nickname [nickname ...]</command>
<programlisting>
return a list of information about nicknames
nickname: nickname
</programlisting>
<command>users [target]</command>
<programlisting>
list of users logged into the server
target: server
</programlisting>
<command>version [server | nickname]</command>
<programlisting>
gives the version info of nick or server (current or specified)
server: server name
nickname: nickname
</programlisting>
<command>voice [nickname [nickname]]</command>
<programlisting>
gives voice to nickname(s)
</programlisting>
<command>wallops text</command>
<programlisting>
send a message to all currently connected users who have set the 'w' user mode for themselves
text to send
</programlisting>
<command>who [mask ["o"]]</command>
<programlisting>
generate a query which returns a list of information
mask: only information which match this mask
o: only operators are returned according to the mask supplied
</programlisting>
<command>whois [server] nickname[,nickname]</command>
<programlisting>
query information about user(s)
server: server name
nickname: nickname (may be a mask)
</programlisting>
<command>whowas nickname [,nickname [,nickname ...]] [count [target]]</command>
<programlisting>
ask for information about a nickname which no longer exists
nickname: nickname to search
count: number of replies to return (full search if negative number)
target: reply should match this mask
</programlisting>
+207
View File
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>terminate line</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>complete word</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>find previous completion for word</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>delete previous char</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>delete next char</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>delete until end of line</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>delete until beginning of line</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>delete entire line</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>delete previous word</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>delete next word</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>paste current clipboard content</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>transpose chars</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>go to beginning of line</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>go to end of line</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>move one char left</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>move to previous word</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>move one char right</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>move to next word</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>call previous command in history</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>call previous command in global history</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>call next command in history</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>call next command in global history</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>scroll one page up</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>scroll one page down</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>scroll a few lines up</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>scroll a few lines down</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>scroll to top of buffer</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>scroll to bottom of buffer</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>scroll left topic</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>scroll right topic</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>display beginning of nicklist</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>display end of nicklist</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>scroll nicklist one page up</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>scroll nicklist one page down</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>jump to buffer with activity</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>jump to DCC buffer</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>jump to raw IRC data buffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>jump to last buffer</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>jump to server buffer</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>jump to next server</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>switch active server on servers buffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scroll to previous highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scroll to next highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scroll to first unread line in buffer</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>clear hotlist</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>clear infobar</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>refresh screen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>grab a key</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>insert a string in command line</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>search text in buffer history</entry>
</row>
File diff suppressed because it is too large Load Diff
+236
View File
@@ -0,0 +1,236 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [alias_name [command [arguments]]]</command>
<programlisting>
create an alias for a command
alias_name: name of alias
command: command name (WeeChat or IRC command, many commands can be separated by semicolons)
arguments: arguments for command
</programlisting>
<command>is replaced by all arguments.</command>
<programlisting>Variables $nick, $channel and $server are replaced by current nick/channel/server.
</programlisting>
<command>buffer [action [args] | number | [[server] [channel]]]</command>
<programlisting>
manage buffers
action: action to do:
move: move buffer in the list (may be relative, for example -1)
close: close buffer (optional arg is part message, for a channel)
list: list open buffers (no parameter implies this list)
notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)
(when executed on server buffer, this sets default notify level for whole server)
server,
channel: jump to buffer by server and/or channel name
number: jump to buffer by number
</programlisting>
<command>builtin command</command>
<programlisting>
launch WeeChat/IRC builtin command (do not look at plugins handlers or aliases)
command: command to execute (a '/' is automatically added if not found at beginning of command)
</programlisting>
<command>clear [-all | number]</command>
<programlisting>
clear window(s)
-all: clear all buffers
number: clear buffer by number
</programlisting>
<command>connect [servername]</command>
<programlisting>
connect to a server
servername: server name to connect
</programlisting>
<command>disconnect [servername]</command>
<programlisting>
disconnect from a server
servername: server name to disconnect
</programlisting>
<command>dcc action [nickname [file]]</command>
<programlisting>
starts DCC (file or chat) or close chat
action: 'send' (file) or 'chat' or 'close' (chat)
nickname: nickname to send file or chat
file: filename (on local host)
</programlisting>
<command>debug dump | windows</command>
<programlisting>
print debug messages
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
windows: display windows tree
</programlisting>
<command>help [command]</command>
<programlisting>
display help about commands
command: name of a WeeChat or IRC command
</programlisting>
<command>history [clear | value]</command>
<programlisting>
show buffer command history
clear: clear history
value: number of history entries to show
</programlisting>
<command>ignore [mask [[type | command] [channel [server]]]]</command>
<programlisting>
ignore IRC messages and/or hosts
mask: nick or host mask to ignore
type: type of message to ignore (action, ctcp, dcc, pv)
command: IRC command
channel: name of channel for ignore
server: name of server for ignore
For each argument, '*' means all.
Without argument, /ignore command lists all defined ignore.
</programlisting>
<command>key [key [function/command]] [unbind key] [functions] [call function ["args"]] [reset -yes]</command>
<programlisting>
bind/unbind keys
key: display or bind this key to an internal function or a command (beginning by "/")
unbind: unbind a key
functions: list internal functions for key bindings
call: call a function by name (with optional arguments)
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
</programlisting>
<command>plugin [list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]</command>
<programlisting>
list/load/unload plugins
list: list loaded plugins
listfull: list loaded plugins with detailed info for each plugin
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload one or all plugins
Without argument, /plugin command lists loaded plugins.
</programlisting>
<command>server [servername] | [servername hostname port [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [del servername]</command>
<programlisting>
list, add or remove servers
servername: server name, for internal and display use
hostname: name or IP address of server
port: port for server (integer)
ipv6: use IPv6 protocol
ssl: use SSL protocol
password: password for server
nick1: first nick for server
nick2: alternate nick for server
nick3: second alternate nick for server
username: user name
realname: real name of user
</programlisting>
<command>save [file]</command>
<programlisting>
save config to disk
file: filename for writing config
</programlisting>
<command>set [option [ = value]]</command>
<programlisting>
set config options
option: name of an option (if name is full and no value is given, then help is displayed on option)
value: value for option
Option may be: servername.server_xxx where "servername" is an internal server name and "xxx" an option for this server.
</programlisting>
<command>setp [option [ = value]]</command>
<programlisting>
set plugin config options
option: name of a plugin option
value: value for option
Option is format: plugin.option, example: perl.myscript.item1
</programlisting>
<command>unalias alias_name</command>
<programlisting>
remove an alias
alias_name: name of alias to remove
</programlisting>
<command>unignore [number | [mask [[type | command] [channel [server]]]]]</command>
<programlisting>
unignore IRC messages and/or hosts
number: # of ignore to unignore (number is displayed by list of ignore)
mask: nick or host mask to unignore
type: type of message to unignore (action, ctcp, dcc, pv)
command: IRC command
channel: name of channel for unignore
server: name of server for unignore
For each argument, '*' means all.
Without argument, /unignore command lists all defined ignore.
</programlisting>
<command>upgrade</command>
<programlisting>
upgrade WeeChat without disconnecting from servers
This command run again WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
show WeeChat uptime
-o: send uptime on current channel as an IRC message
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
<programlisting>
manage windows
list: list open windows (no parameter implies this list)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is &lt;pct&gt; pourcentage of parent window
merge: merge window with another (all = keep only one window)
For splith and splitv, pct is a pourcentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
</programlisting>
+107
View File
@@ -0,0 +1,107 @@
WeeChat quick start guide (english version)
=========================
1. Launch weechat
According to choosed GUI, you have to launch:
- weechat-curses for Curses GUI
- weechat-gtk for Gtk GUI (under development)
- weechat-qt for Qt GUI (not developed)
- weechat-wxwidgets for WxWidgets GUI (not developed)
2. Online help / options
WeeChat has help for all commands, just issue /help
To get help on a command, issue /help command
To set options, use /set option = value
You can use /set option with partial name (display all options
containg letters), or with only a full option name without value
(to see long help for option).
Important note: settings are saved when WeeChat ends (or with "/save"
command). Do NOT edit setup file while WeeChat is running, because WeeChat
may write this file at any time, and it's not possible to reload it.
To change any settings, use "/set" command, WeeChat immediately uses new
settings.
3. Create a server
For example irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(/help server for full command help)
4. Set custom server options
Nicks:
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Username/realname:
/set quakenet.server_username = "My username"
/set quakenet.server_realname = "My real name"
Auto-connect to server:
/set quakenet.server_autoconnect = on
Auto-join for some channels:
/set quakenet.server_autojoin = "#chan1,#chan2"
Other options:
You can see servers options and values with /set quakenet
To set an option, use /set quakenet.server_option = value
5. Connect to server and auto-join channels:
/connect quakenet
6. Join/part channels
Join a channel:
/join #channel
Part a channel:
/part [quit message]
Part a channel and close buffer:
/close [quit message]
(/close is an alias on /buffer close)
7. Buffer/window management
You can manage buffers with "/buffer" command and windows
with "/window" command.
For example, to split verticaly screen into a small window (1/3 width),
and a large (2/3), use command:
/window splitv 33
8. Key bindings
According to your keyboard and/or your needs, you can rebind any key
with "/key" command.
A useful key is meta-k (alt-k) to find key codes.
For example, to bind meta-y (alt-y) to command "/buffer close":
/key (press meta-k) (press meta-y) /buffer close
You'll have a command line like:
/key meta-y /buffer close
9. Plugins/scripts
On some distros like Debian, plugins are available via a separate package
(like weechat-plugins).
Plugins are automatically loaded when found.
Many plugins/scripts are available for WeeChat, please look at:
http://weechat.flashtux.org/plugins.php
Please look at WeeChat documentation to load/unload plugins or scripts.
10. More documentation
You can now use WeeChat and read FAQ/documentation for any other question:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Enjoy WeeChat!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
This document is part of WeeChat and is distributed under GPL licence.
+79
View File
@@ -0,0 +1,79 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = fr
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
all-local: html-stamp $(PDF)
# HTML output with chunks (many pages)
html: html-stamp
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# HTML output, all in one page
html1: html1-stamp
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
+1239
View File
File diff suppressed because it is too large Load Diff
+443
View File
@@ -0,0 +1,443 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [cible]</command>
<programlisting>
trouver les informations sur l'administrateur du serveur
cible: serveur
</programlisting>
<command>ame message</command>
<programlisting>
envoyer une action CTCP à tous les canaux de tous les serveurs connectés
message: message à envoyer
</programlisting>
<command>amsg texte</command>
<programlisting>
envoyer un message à tous les canaux de tous les serveurs connectés
texte: texte à envoyer
</programlisting>
<command>away [-all] [message]</command>
<programlisting>
basculer le statut absent
-all: basculer le statut absent sur tous les serveurs connectés
message: message pour l'absence (si pas de message donné, le statut d'absence est supprimé)
</programlisting>
<command>ban [canal] [pseudo [pseudo ...]]</command>
<programlisting>
bannit des pseudos ou masques
canal: nom du canal pour le bannissement
pseudo: pseudo ou masque pour le bannissement
</programlisting>
<command>ctcp cible type [arguments]</command>
<programlisting>
envoyer un message CTCP (Client-To-Client Protocol)
cible: utilisateur à qui envoyer le CTCP
type: type de CTCP (exemples: "version", "ping", etc...)
arguments: arguments pour le CTCP
</programlisting>
<command>cycle [canal[,canal]] [message_de_fin]</command>
<programlisting>
quitter et rejoindre un canal
canal: canal pour le cycle
message_de_fin: message de fin (affiché aux autres utilisateurs)
</programlisting>
<command>dehalfop [pseudo [pseudo]]</command>
<programlisting>
retire le statut de demi-opérateur du canal à/aux nick(s)
</programlisting>
<command>deop [pseudo [pseudo]]</command>
<programlisting>
retire le statut d'opérateur du canal à/aux nick(s)
</programlisting>
<command>devoice [pseudo [pseudo]]</command>
<programlisting>
retire la voix du/des pseudo(s)
</programlisting>
<command>die</command>
<programlisting>
arrêter le serveur
</programlisting>
<command>halfop [pseudo [pseudo]]</command>
<programlisting>
donner le statut de demi-opérateur à un/des utilisateur(s)
</programlisting>
<command>info [cible]</command>
<programlisting>
voir les informations décrivant le serveur
cible: nom du serveur
</programlisting>
<command>invite pseudo canal</command>
<programlisting>
inviter un utilisateur sur un canal
pseudo: utilisateur à inviter
channel: canal pour l'invitation
</programlisting>
<command>ison pseudo [pseudo ...]</command>
<programlisting>
vérifier si un utilisateur est actuellement sur IRC
pseudo: pseudo
</programlisting>
<command>join canal[,canal] [clé[,clé]]</command>
<programlisting>
joindre un canal
canal: nom du canal à rejoindre
clé: clé pour rejoindre le canal
</programlisting>
<command>kick [canal] pseudo [commentaire]</command>
<programlisting>
retirer par la force un utilisateur d'un canal
canal: canal où l'utilisateur se trouve
pseudo: utilisateur à éliminer
commentaire: commentaire pour l'élimination
</programlisting>
<command>kickban [canal] pseudo [commentaire]</command>
<programlisting>
retirer par la force un utilisateur d'un canal et le bannir
canal: canal où l'utilisateur se trouve
pseudo: utilisateur à éliminer et bannir
commentaire: commentaire pour l'élimination
</programlisting>
<command>kill pseudo commentaire</command>
<programlisting>
fermer la connexion client-serveur
pseudo: utilisateur
commentaire: commentaire pour la mort
</programlisting>
<command>links [[serveur] masque_serveur]</command>
<programlisting>
lister tous les noms de serveurs connus du serveur qui répondent à la requête
serveur: ce serveur doit répondre à la requête
masque_serveur: liste des serveurs correspondant au masque
</programlisting>
<command>list [canal[,canal] [serveur]]</command>
<programlisting>
lister les canaux et leur sujet
canal: canal à lister (une expression régulière est acceptée)
serveur: nom du serveur
</programlisting>
<command>lusers [masque [cible]]</command>
<programlisting>
obtenir des statistiques sur la taille du réseau IRC
masque: serveurs qui correspondent au masque seulement
cible: serveur pour faire suivre la requête
</programlisting>
<command>me message</command>
<programlisting>
envoyer une action CTCP au canal courant
message: message à envoyer
</programlisting>
<command>mode { canal {[+|-]|o|p|s|i|t|n|b|v} [limite] [utilisateur] [masque de banissement] } | { nick {[+|-]|i|w|s|o} }</command>
<programlisting>
changer le mode du canal ou de l'utilisateur
modes de canaux :
canal: nom du canal à modifier
o: donner/reprendre le statut privilégié d'opérateur
p: indicateur de canal privé
s: indicateur de canal secret
i: indicateur de canal avec invitation seulement
t: le titre est modifiable seulement par un opérateur du canal
n: aucun message au canal depuis l'extérieur
m: canal modéré
l: fixer la limite d'utilisateurs pour le canal
b: paramétrer un masque de banissement pour garder des utilisateurs dehors
e: paramétrer un masque d'exception
v: donner/reprendre la possibilité de parler sur un canal modéré
k: définir une clé (mot de passe) pour accéder au canal
modes utilisateur :
pseudo: utilisateur à modifier
i: marquer un utilisateur comme invisible
s: marquer un utilisateur pour recevoir les notices du serveur
w: l'utilisateur reçoit les wallops
o: drapeau opérateur
</programlisting>
<command>motd [cible]</command>
<programlisting>
obtenir le message du jour
cible: nom du serveur
</programlisting>
<command>msg cible[,cible] texte</command>
<programlisting>
envoyer un message à un utilisateur ou canal
cible: utilisateur ou canal (peut-être un masque, '*' = canal courant)
texte: texte à envoyer
</programlisting>
<command>names [canal[,canal]]</command>
<programlisting>
lister les utilisateurs sur des canaux
canal: nom du canal
</programlisting>
<command>nick [-all] pseudo</command>
<programlisting>
changer le pseudo courant
-all: définir le nouveau pseudo sur tous les serveurs connectés
pseudo: nouveau pseudo
</programlisting>
<command>notice pseudo texte</command>
<programlisting>
envoyer un message notice à un utilisateur
pseudo: utilisateur cible pour la notice
texte: texte à envoyer
</programlisting>
<command>op pseudo [pseudo]</command>
<programlisting>
donner le statut opérateur à un/des utilisateur(s)
</programlisting>
<command>oper utilisateur mot_de_passe</command>
<programlisting>
obtenir le statut d'opérateur
utilisateur/mot_de_passe: utilisé pour obtenir les privilèges sur le serveur IRC courant
</programlisting>
<command>part [canal[,canal]] [message_de_fin]</command>
<programlisting>
quitter un canal
canal: canal à quitter
message_de_fin: message de fin (affiché aux autres utilisateurs)
</programlisting>
<command>ping serveur1 [serveur2]</command>
<programlisting>
pinguer un serveur
serveur1: serveur à pinguer
serveur2: faire suivre le ping à ce serveur
</programlisting>
<command>pong démon [démon2]</command>
<programlisting>
répondre à un message ping
démon: démon qui a répondu au message Ping
démon2: faire suivre le message à ce démon
</programlisting>
<command>query pseudo [texte]</command>
<programlisting>
envoyer un message privé à un utilisateur
pseudo: utilisateur pour la conversation privée
texte: texte à envoyer
</programlisting>
<command>quit [message_de_fin]</command>
<programlisting>
fermer toutes les connexions et quitter
message_de_fin: message de fin (affiché aux autres utilisateurs)
</programlisting>
<command>quote données</command>
<programlisting>
envoyer des données brutes au serveur sans analyse
données: données brutes à envoyer
</programlisting>
<command>rehash</command>
<programlisting>
demander au serveur de recharger son fichier de configuration
</programlisting>
<command>restart</command>
<programlisting>
demander au serveur de redémarrer
</programlisting>
<command>service pseudo réservé distribution type réservé info</command>
<programlisting>
enregister un nouveau service
distribution: visibilité du service
type: réservé pour une utilisation future
</programlisting>
<command>servlist [masque [type]]</command>
<programlisting>
lister les services actuellement connectés au réseau
masque: lister seulement les services qui correspondent à ce masque
type: lister seulement les services de ce type
</programlisting>
<command>squery service texte</command>
<programlisting>
envoyer un message à un service
service: nom du service
texte: texte à envoyer
</programlisting>
<command>squit serveur commentaire</command>
<programlisting>
déconnecter les liens vers un serveur
serveur: nom du serveur
commentaire: commentaire pour quitter
</programlisting>
<command>stats [requête [serveur]]</command>
<programlisting>
demander des statistiques sur le serveur
requête: c/h/i/k/l/m/o/y/u (voir la RFC1459)
serveur: nom du serveur
</programlisting>
<command>summon utilisateur [cible [canal]]</command>
<programlisting>
envoyer aux utilisateurs d'un serveur IRC un message leur demandant de rejoindre IRC
utilisateur: nom d'utilisateur
cible: nom du serveur
canal: nom du canal
</programlisting>
<command>time [cible]</command>
<programlisting>
demander l'heure locale de serveur
cible: demander l'heure de ce serveur
</programlisting>
<command>topic [canal] [titre]</command>
<programlisting>
recevoir/définir le titre du canal
canal: nom du canal
titre: nouveau titre pour le canal (si le titre est "-delete" alors le titre est supprimé)
</programlisting>
<command>trace [cible]</command>
<programlisting>
trouver le chemin jusqu'à un serveur spécifique
cible: serveur
</programlisting>
<command>unban [canal] pseudo [pseudo ...]</command>
<programlisting>
supprime le bannissement sur des pseudos ou masques
canal: nom du canal pour supprimer le bannissement
pseudo: pseudo ou masque pour supprimer le bannissement
</programlisting>
<command>userhost pseudo [pseudo ...]</command>
<programlisting>
retourne une liste d'informations sur des utilisateurs
pseudo: pseudo
</programlisting>
<command>users [cible]</command>
<programlisting>
liste des utilisateurs connectés au serveur
cible: serveur
</programlisting>
<command>version [serveur | pseudo]</command>
<programlisting>
retourne la version de l'utilisateur ou du serveur (courant ou spécifié)
serveur: nom du serveur
pseudo: utilisateur
</programlisting>
<command>voice [pseudo [pseudo]]</command>
<programlisting>
donne la voix à/aux utilisateur(s)
</programlisting>
<command>wallops texte</command>
<programlisting>
envoyer un message à tous les utilisateurs connectés qui ont activé le mode utilisateur 'w' pour eux-mêmes
texte à envoyer
</programlisting>
<command>who [masque ["o"]]</command>
<programlisting>
génère une requête qui retourne une liste d'information
masque: information qui correspond à ce masque uniquement
o: seul les opérateurs sont retournés correspondant au masque fourni
</programlisting>
<command>whois [serveur] pseudo[,pseudo]</command>
<programlisting>
demande les informations sur le(s) utilisateur(s)
serveur: nom du serveur
pseudo: utilisateur (peut être un masque)
</programlisting>
<command>whowas pseudo [,pseudo [,pseudo ...]] [nombre [cible]]</command>
<programlisting>
demander de l'information sur un nick qui n'existe plus
pseudo: pseudo à chercher
nombre: nombre de réponses à retourner (recherche complète si nombre négatif)
cible: la réponse doit correspondre à ce masque
</programlisting>
+207
View File
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>terminer la ligne</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>compléter le mot</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>trouver le mot complété précédent</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>effacer le caractère précédent</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>effacer le caractère suivant</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>effacer jusqu'à la fin de la ligne</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>effacer jusqu'au début de la ligne</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>effacer la ligne entière</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>effacer le mot précédent</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>effacer le mot suivant</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>coller le contenu du presse-papier</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>inverser les caractères</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>aller au début de la ligne</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>aller à la fin de la ligne</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>se déplacer d'un caractère à gauche</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>se déplacer au mot précédent</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>se déplacer d'un caractère à droite</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>se déplacer au mot suivant</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>appeler la commande précédente dans l'historique</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>appeler la commande précédente dans l'historique global</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>appeler la commande suivante dans l'historique</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>appeler la commande suivante dans l'historique global</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>faire défiler d'une page vers le haut</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>faire défiler d'une page vers le bas</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>faire défiler de quelques lignes vers le haut</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>faire défiler de quelques lignes vers le bas</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>faire défiler jusqu'au début du tampon</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>faire défiler jusqu'à la fin du tampon</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>faire défiler le titre vers la gauche</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>faire défiler le titre vers la droite</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>afficher le début de la liste des pseudos</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>afficher la fin de la liste des pseudos</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>faire défiler la liste des pseudos d'une page vers le haut</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>faire défiler la liste des pseudos d'une page vers le bas</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>sauter au tampon avec de l'activité</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>sauter au tampon DCC</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>sauter au tampon IRC brut</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>sauter au dernier tampon</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>sauter au tampon du serveur</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>sauter au prochain serveur</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>bascule de serveur actif sur le tampon des serveurs</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scroller jusqu'au highlight précédent du tampon</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scroller jusqu'au highlight suivant du tampon</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scroller jusqu'à la première ligne non lue du tampon</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>effacer la liste d'activité</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>effacer la barre d'infos</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>rafraîchir l'écran</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>capturer une touche</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>insérer une chaîne dans la ligne de commande</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>recherche de texte dans l'historique du tampon</entry>
</row>
File diff suppressed because it is too large Load Diff
+236
View File
@@ -0,0 +1,236 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [nom_alias [commande [paramètres]]]</command>
<programlisting>
créer un alias pour une commande
nom_alias: nom de l'alias
commande: nom de la commande (commande WeeChat ou IRC, plusieurs commandes peuvent être séparées par des point-virgules)
paramètres: paramètres pour la commande
</programlisting>
<command>est remplacé par tous les paramètres.</command>
<programlisting>Les variables $nick, $channel et $server sont remplacées par le pseudo/canal/serveur courant.
</programlisting>
<command>buffer [action [args] | nombre | [[serveur] [canal]]]</command>
<programlisting>
gestion des tampons
action: action à effectuer:
move: déplace le tampon dans la liste (peut être relatif, par exemple -1)
close: ferme le tampon (le paramètre optionnel est le message de fin, pour un canal)
list: liste les tampons ouverts (pas de paramètre affiche cette liste)
notify: fixe le niveau de notification (0=jamais, 1=highlight, 2=1+msg, 3=2+join/part)
(quand exécuté sur un tampon serveur, cela fixe le niveau de notification par défaut pour le serveur entier)
serveur,
canal: saute au tampon par serveur et/ou nom de canal
nombre: saute au tampon qui a ce numéro
</programlisting>
<command>builtin commande</command>
<programlisting>
lance une commande WeeChat/IRC interne (sans regarder les gestionnaires de commandes et les alias)
commande: commande à exécuter (un '/' est automatiquement ajouté s'il n'est pas trouvé au début de la commande)
</programlisting>
<command>clear [-all | nombre]</command>
<programlisting>
effacer la/les fenêtre(s)
-all: effacer tous les tampons
nombre: effacer un tampon par son numéro
</programlisting>
<command>connect [nom_serveur]</command>
<programlisting>
se connecter à un serveur
nom_serveur: nom du serveur pour se connecter
</programlisting>
<command>disconnect [nom_serveur]</command>
<programlisting>
se déconnecter d'un serveur
nom_serveur: nom du serveur pour se déconnecter
</programlisting>
<command>dcc action [pseudo [fichier]]</command>
<programlisting>
démarre le DCC (fichier ou discussion) ou ferme une discussion
action: 'send' (envoi de fichier) ou 'chat' (discussion) ou 'close' (fermeture discussion)
pseudo: pseudo pour envoyer le fichier ou discuter
fichier: nom du fichier (sur la machine locale)
</programlisting>
<command>debug dump | windows</command>
<programlisting>
affiche des messages de debogage
dump: affiche les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
windows: affiche l'arbre des fenêtres
</programlisting>
<command>help [commande]</command>
<programlisting>
afficher l'aide sur les commandes
commande: nom d'une commande WeeChat ou IRC
</programlisting>
<command>history [clear | valeur]</command>
<programlisting>
affiche l'historique des commandes du tampon
clear: effacer l'historique
valeur: nombre d'entrées dans l'historique à afficher
</programlisting>
<command>ignore [masque [[type | commande] [canal [serveur]]]]</command>
<programlisting>
ignorer des messages IRC et/ou des masques
masque: pseudo ou masque à ignorer
type: type de message à ignorer (action, ctcp, dcc, pv)
commande: commande IRC
canal: nom du canal pour le ignore
serveur: nom du serveur pour le ignore
Pour chaque paramètre, '*' signifie tou(te)s.
Sans paramètres, la commande /ignore liste les ignore définis.
</programlisting>
<command>key [touche [fonction/commande]] [unbind touche] [functions] [call fonction ["params"]] [reset -yes]</command>
<programlisting>
associer/libérer des touches
touche: voir ou associer cette touche à une fonction interne ou une commande (commençant par "/")
unbind: supprimer l'association à une touche
functions: lister la liste des fonctions internes pour les associations de touches
call: appeler une foonction par son nom (avec paramètres optionnels)
reset: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !)
</programlisting>
<command>plugin [list [nom]] | [listfull [nom]] | [load fichier] | [autoload] | [reload [nom]] | [unload [nom]]</command>
<programlisting>
liste/charge/décharge des extensions
list: lister les extensions chargées
listfull: lister les extensions chargées avec de l'info détaillée pour chaque extension
load: charger une extension
autoload: charger automatiquement les extensions dans un répertoire système ou utilisateur
reload: recharger une extension (si pas de nom donné, décharger toutes les extensions, puis puis recharger automatiquement les extensions)
unload: décharger une ou plusieurs exteneions
Sans paramètre, la commande /plugin liste les extensions chargées.
</programlisting>
<command>server [nom_serveur] | [nom_serveur nom/IP port [-auto | -noauto] [-ipv6] [-ssl] [-pwd mot_de_passe] [-nicks pseudo1 pseudo2 pseudo3] [-username nom_utilisateur] [-realname nom_réel] [-command commande] [-autojoin canal[,canal]] ] | [del nom_serveur]</command>
<programlisting>
liste, ajoute ou retire des serveurs
nom_serveur: nom du serveur, pour usage interne et affichage
nom/IP: nom ou adresse IP du serveur
port: port pour le serveur (nombre entier)
ipv6: utiliser le protocole IPv6
ssl: utiliser le protocole SSL
mot_de_passe: mot de passe pour le serveur
pseudo1: premier pseudo pour le serveur
pseudo2: pseudo alternatif pour le serveur
pseudo3: second pseudo alternatif pour le serveur
nom_utilisateur: nom d'utilisateur
nom_réel: nom réel de l'utilisateur
</programlisting>
<command>save [fichier]</command>
<programlisting>
sauvegarder la configuration sur disque
fichier: fichier pour sauvegarder la configuration
</programlisting>
<command>set [option [ = valeur]]</command>
<programlisting>
modifier des options de configuration
option: nom de l'option (si le nom est complet et qu'aucune valeur n'est donnée, alors l'aide sur l'option est affichée)
valeur: valeur pour l'option
L'option peut être: nomserveur.server_xxx où "nomserveur" est le nom interne d'un serveur et "xxx" une option pour ce serveur.
</programlisting>
<command>setp [option [ = valeur]]</command>
<programlisting>
modifier des options de configuration des extensions
option: nom d'une option d'extension
valeur: valeur pour l'option
L'option est au format: extension.option, par exemple: perl.monscript.variable1
</programlisting>
<command>unalias nom_alias</command>
<programlisting>
supprimer un alias
nom_alias: nom de l'alias à supprimer
</programlisting>
<command>unignore [nombre | [masque [[type | commande] [canal [serveur]]]]]</command>
<programlisting>
supprimer le ignore des messages IRC et/ou des masques
nombre: numéro de ignore à supprimer (le nombre est affiché sur la liste des ignore)
masque: pseudo ou masque à ignorer
type: type de message à ignorer (action, ctcp, dcc, pv)
commande: commande IRC
canal: nom du canal pour le ignore
serveur: nom du serveur pour le ignore
Pour chaque paramètre, '*' signifie tou(te)s.
Sans paramètre, /ignore liste les ignore définis.
</programlisting>
<command>upgrade</command>
<programlisting>
mettre à jour WeeChat sans se déconnecter des serveurs
Cette commande lance à nouveau le binaire WeeChat, il doit donc avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
montrer l'uptime de WeeChat
-o: envoyer l'uptime sur le canal courant en tant que message IRC
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [ptc] | resize pct | merge [all]]</command>
<programlisting>
gestion des fenêtres
list: liste les fenêtres ouvertes (pas de paramètre affiche cette liste)
-1: saute à la fenêtre précédente
+1: saute à la fenêtre suivante
b#: saute à la fenêtre affichant le tampon #
up: saute à la fenêtre au dessus
down: saute à la fenêtre au dessous
left: saute à la fenêtre à gauche
right: saute à la fenêtre à droite
splith: éclate la fenêtre en deux horizontalement
splitv: éclate la fenêtre en deux verticalement
resize: redimensionne une fenêtre, la nouvelle taille est &lt;pct&gt; pourcentage de la fenêtre parent
merge: fusionne la fenêtre avec une autre
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
</programlisting>
+110
View File
@@ -0,0 +1,110 @@
Guide de démarrage rapide WeeChat (version française)
=================================
1. Démarrer weechat
Selon l'interface choisie, vous devez lancer :
- weechat-curses pour l'interface Curses
- weechat-gtk pour l'interface Gtk (en développement)
- weechat-qt pour l'interface Qt (non développée)
- weechat-wxwidgets pour l'interface WxWidgets (non développée)
2. Aide en ligne / options
WeeChat dispose d'aide pour toutes les commandes, tapez simplement /help
Pour avoir de l'aide sur une commande, tapez /help commande
Pour modifier des options, utilisez /set option = valeur
Vous pouvez utiliser /set avec un nom partiel d'option (affiche alors
les options contenant ces lettres), ou avec un nom complet d'option
sans valeur (pour voir l'aide complète de l'option).
Note importante: les options sont sauvées lorsque WeeChat quitte (ou avec
la commande "/save"). N'éditez PAS le fichier de configuration pendant que
WeeChat tourne, car WeeChat peut écrire ce fichier à tout moment, et il
n'est pas possible de le recharger.
Pour changer toute option, utilisez la commande "/set", WeeChat prend en
compte immédiatement les nouvelles valeurs.
3. Créer un serveur
Par exemple irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(/help server pour l'aide complète sur la commande)
4. Définir les options du serveur
Pseudos :
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Nom d'utilisateur/réel :
/set quakenet.server_username = "Mon nom d'utilisateur"
/set quakenet.server_realname = "Mon nom réel"
Connexion auto au serveur :
/set quakenet.server_autoconnect = on
Rejoindre automatiquement des canaux :
/set quakenet.server_autojoin = "#canal1,#canal2"
Autres options :
Vous pouvez voir les options du serveur et les valeurs avec /set quakenet
Pour modifier une option, utilisez /set quakenet.server_option = valeur
5. Se connecter au serveur et rejoindre les canaux
/connect quakenet
6. Rejoindre/quitter les canaux
Joindre un canal :
/join #channel
Quitter un canal :
/part [message de fin]
Quitter un canal et fermer le tampon :
/close [message de fin]
(/close est un alias sur /buffer close)
7. Gérer les tampons/fenêtres
Vous pouvez gérer les tampons avec la commande "/buffer" et les fenêtres
avec la commande "/window".
Par exemple, pour découper verticalement l'écran en une petite fenêtre
(1/3 de la largeur) et une large (2/3 de la largeur), utilisez la commande
/window splitv 33
8. Gérer les raccourcis clavier
Selon votre clavier et vos besoins, vous pouvez associer n'importe quelle
touche à une commande avec la commande "/key".
Une touche utile est meta-k (alt-k) pour trouver le code des touches.
Par exemple, pour associer meta-y (alt-y) à la commande "/buffer close" :
/key (pressez meta-k) (pressez meta-y) /buffer close
Vous aurez une ligne de commande qui ressemble à ceci :
/key meta-y /buffer close
9. Extensions/scripts
Sur certaines distributions comme Debian, les extensions sont disponibles
via un paquet séparé (par exemple weechat-plugins).
Les extensions sont automatiquement chargées lorsqu'elles sont trouvées.
Plusieurs extensions/scripts sont disponibles pour WeeChat, voir ici :
http://weechat.flashtux.org/plugins.php
Merci de regarder la documentation WeeChat pour charger/décharger des
extensions ou des scripts.
10. Plus de documentation
Vous pouvez maintenant utiliser WeeChat et lire la FAQ/documentation pour
toute autre question :
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Bon WeeChat !
--
(c) 2006-05-31, écrit par FlashCode <flashcode@flashtux.org>
Ce document fait partie de WeeChat et est distribué sous license GPL.
+28
View File
@@ -0,0 +1,28 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = pl
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(QUICKSTART)
docdir = $(datadir)/doc/$(PACKAGE)
# install docs
install-data-hook:
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
+111
View File
@@ -0,0 +1,111 @@
Weechat szybki start (wersja polska)
1. Włączenie
Aby wybrać konkretny interfejs należy wpisać:
- weechat-curses dla interfejsu curses
- weechat-gtk dla interfejsu GTK (w fazie tworzenia)
- weechat-qt dla interfejsu QT (planowany)
- weechat-wxwidgets dla interfejsu WxWidgets (planowany)
2. Pomoc online / opcje
Weechat posiada polecenie pomocy, którego można użyć dla każdej dostępnej opcji, wystarczy wpisać /help
Aby otrzymać pomoc odnośnie komendy, wpisz /help <komenda>
Aby konfigurować opcje należy wpisać /set <opcja> = <wartość>
Możesz wpisać /set <opcja> z nie pełną nazwą opcji (pokaże to opcje zawierające wpisany ciąg znaków),
lub z całą nazwą opcji bez wartości (pokaże sie wtedy cała pomoc odnośnie opcji).
Uwaga: ustawienia są zapamiętywane podczas wyłączania WeeChata (albo po wpisaniu /save )
NIE EDYTUJ pliku konfiguracyjnego WeeChata podczas pracy programu, ponieważ WeeChat może nadpisać
ten plik w każdej chwili i nie będzie możliwości odzyskania ustawień.
Aby zmienić każde z ustawień, używaj komendy "/set", WeeChat po jej użyciu od razu zacznie korzystać z nowych
parametrów.
3. Dodawanie serwerów
Dla przykładu irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(wpisz /help server dla pełnej pomocy)
4. Ustawianie własnych ustawień dotyczących serwera
Niki:
/set quakenet.server_nick1 = "mój-nick"
/set quakenet.server_nick2 = "mój-nick2"
/set quakenet.server_nick3 = "mój-nick3"
Imię użytkownika:
/set quakenet.server_username = "My username"
/set quakenet.server_realname = "My real name"
Automatyczne łączenie do serwera przy starcie WeeChata:
/set quakenet.server_autoconnect = on
Automatyczne wchodzenie na wybrane kanały po połączeniu sie do serwera:
/set quakenet.server_autojoin = "#kanał1,#kanał2"
Inne opcje:
Możesz zobaczyć inne opcje i ich właściwości po wpisaniu /set quakenet
Aby ustawić konkretną opcję wpisz /set quakenet.server_opcja = wartość
5. Łączenie do serwera i automatyczne wchodzenie na wybrane kanały:
/connect quakenet
6. Wchodzenie/wychodzenie na/z kanały/-ów
Wchodzenie na kanał:
/join #kanał
Wychodzenie z kanału:
/part {wiadomość przy wychodzeniu}
Wyjście z kanału i zamknięcie zakładki:
/close {wiadomość przy wychodzeniu}
("/close" to alias od "/bufer close")
7. Zarządzanie bufory/okna
Możesz zarządzać buforami przy pomocy polecenia "/buffer" i oknami "/windows"
Przykład:
-aby rozdzielić ekran w pionie na małe okno (1/3 szerokości),
i na duże (2/3), wpisz:
/window splthv 33
8. Przypisywanie funkcji do klawiszy:
W celu łatwiejszej pracy można przypisać dowolnym klawiszom wybrane funkcje/polecenia
przy pomocy komendy "/key"
Użyteczną może być funkcja meta-k (alt+k) która pozwala znaleźć przypisane klawiszom kody.
Przykład: aby zbindować (przypisać) meta-y (alt-y) do polecenia "/buffer close":
/key (naciśnij meta-k) (naciśnij meta-y) /buffer close
Otrzymujesz:
/key meta-y /buffer close
9. Wtyczki/skrypty
Na niektórych systemach operacyjnych, takich jak Debian, wtyczki są dostępne jako oddzielne paczki
(np. weechat-plugins)
Wtyczki są automatycznie ładowane przy starcie.
Dodatkowe skrypty i wtyczki do WeeChata dostępne są na:
http://weechat.flashtux.org/plugins.php
Zajrzyj do dokumentacji WeeChata, aby dowiedzieć sie jak ladować i wyładować wtyczki i skrypty:
http://weechat.flashtux.org/doc.php
10. Dokumentacja szczegółowa
Wiesz juz jak w podstawowy sposób używać WeeChata, aby dowiedzieć sie więcej poczytaj dokumentację.
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Miłej pracy z WeeChatem!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
Translated by dzik (znajdziecie mnie na irc.freenode.net)
This document is part of WeeChat and is distributed under GPL licence.
+28
View File
@@ -0,0 +1,28 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = ru
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(QUICKSTART)
docdir = $(datadir)/doc/$(PACKAGE)
# install docs
install-data-hook:
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
+110
View File
@@ -0,0 +1,110 @@
Краткое руководство пользователя (русская версия)
================================
1. Запуск WeeChat
В зависимости от выбранного интерфейса вы должны запустить:
- weechat-curses для Curses интерфейса
- weechat-gtk для GTK интерфейса (в разработке)
- weechat-qt для Qt интерфейса (не разрабатывается)
- weechat-wxwidgets для WxWidgets интерфейса (не разрабатывается)
2. Справка / настройки
WeeChat содержит справку по всем командам, просто запустите /help
Для получения справки по команде наберите /help команда
Для настройки используйте /set параметр = значение
Вы можете использовать /set с частичным названием параметра
(выведет все параметры с указанной фразой) или с полным названием
(для получения подробной справки по параметру)
Внимание: настройки сохраняются при выходе из WeeChat (или командой
"/save"). НЕ РЕДАКТИРУЙТЕ файл конфигурации когда WeeChat запущен,
т.к. WeeChat может в любой момент перезаписать его. Возможности
перезагрузить файл конфигурации нет. Для изменения любых настроек
воспользуйтесь командой "/set", изменения вступят в силу
незамедлительно.
3. Создание сервера
Например, irc.quakenet.org, порт 6667:
/server quakenet irc.quakenet.org 6667
(/help server выведет подробную справку)
4. Настройка сервера
Ники:
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Имя пользователя / реальное имя:
/set quakenet.server_username = "Имя пользователя"
/set quakenet.server_realname = "Реальное имя"
Автоматическое подключение к серверу:
/set quakenet.server_autoconnect = on
Автоматический заход на некоторые каналы:
/set quakenet.server_autojoin = "#chan1,#chan2"
Другие настройки:
Чтобы вывести все настройки сервера наберите /set quakenet
Для настройки наберите /set quakenet.параметр_сервера = значение
5. Подключение к серверу и автоматический заход на каналы:
/connect quakenet
6. Заход/покидание каналов
Зайти на канал:
/join #канал
Покинуть канал:
/part [прощальное сообщение]
Покинуть канал и закрыть буфер:
/close [прощальное сообщение]
(/close - это сокращение для /buffer close)
7. Управление буферами/окнами
Вы можете управлять буферами командой "/buffer" и окнами
командой "/window".
Например, чтобы разбить экран по вертикали на маленькое (треть
экрана) и большое (2/3 экрана) окна наберите:
/window splitv 33
8. Привязки клавиш
Вы можете переназначить любую клавишу в соответствии с вашими
пожеланиями командой "/key".
Полезна привязка meta-k (alt-k) для поиска нужных кодов клавиш.
Например, чтобы привязать meta-y (alt-y) к команде "/buffer close":
/key (нажмите meta-k) (нажмите meta-y) /buffer close
Вы получите команду:
/key meta-y /buffer close
9. Plugins/скрипты
В некоторых дистрибутивах pluginы доступны отдельным пакетом
(например, weechat-plugins).
Pluginы загружаются автоматически.
Для WeeChat доступны многочисленные pluginы и скрипты:
http://weechat.flashtux.org/plugins.php
Процесс загрузки и выгрузки pluginов и скриптов подробно описан в
документации.
10. Другая документация
Теперь вы можете пользоваться WeeChat и почитать ЧаВо и документацию
для поиска ответов на оставшиеся вопросы:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Наслаждайтесь WeeChat!
--
(c) 2006-05-31, автор - FlashCode <flashcode@flashtux.org>
(с) 2006-06-04, переводчик - Stalwart <stlwrt@gmail.com>
Этот документ является частью WeeChat и распространяется по лицензии GPL.
+28
View File
@@ -0,0 +1,28 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
LANGCODE = sco
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(QUICKSTART)
docdir = $(datadir)/doc/$(PACKAGE)
# install docs
install-data-hook:
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
+108
View File
@@ -0,0 +1,108 @@
WeeChat quik stairt guide (Scots version)
=========================
1. Launch weechat
Accordin tae choosed GUI, ye hav tae launch:
- weechat-curses fer Curses GUI
- weechat-gtk fer Gtk GUI (under development)
- weechat-qt fer Qt GUI (no developed)
- weechat-wxwidgets fer WxWidgets GUI (no developed yit)
2. Online help / options
WeeChat hus help fer awl commands, jus issu /help
Tae get help on a command, issu /help command
Tae set options, use eh /set option = value
Ye can use /set option wi partial name (displ't awl options
contain leters), or wi ownly a full option nam wi'oot value
(tae see long help fer option).
Pure Important: settings are saved when WeeChat ends (or wi eh "/save"
command). Gonnae NO(!) edit eh setup file whyle WeeChat is running, cause WeeChat
may write eh file at 'ne time, and its nae possible tae reload it.
Tae chainge any settins, use "/set" command, WeeChat immediately uses new
settings.
3. Create a server
Fer example irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(/help server fer ful command help)
4. Set custom server options
Nicks:
/set quakenet.server_nick1 = "manick"
/set quakenet.server_nick2 = "manick2"
/set quakenet.server_nick3 = "manick3"
Username/realname:
/set quakenet.server_username = "Ma username"
/set quakenet.server_realname = "Ma real name"
Auto-connect tae server:
/set quakenet.server_autoconnect = on
Auto-join fer sum channels:
/set quakenet.server_autojoin = "#chan1,#chan2"
Other options:
Ye can see servers options and values wi /set quakenet
Tae set an option, use eh /set quakenet.server_option = value
5. Connect tae server n auto-join channels:
/connect quakenet
6. Join/part channels
Join a channel:
/join #channel
Part a channel:
/part [quit message]
Part a channel n close buffer:
/close [quit message]
(/close is an alias on /buffer close)
7. Buffer/window management
Ye can manage buffers wi "/buffer" command and windows
with "/window" command.
Fer example, tae split verticaly screen intae a wee windea (1/3 width),
n a big yin (2/3), use command:
/window splitv 33
8. Key bindings
According tae yer keyboard and/or ya needs, ye can rebind 'ne key
wi "/key" command.
A useful key is meta-k (alt-k) tae find key codes.
Fer example, tae bind meta-y (alt-y) tae command "/buffer close":
/key (press meta-k) (press meta-y) /buffer close
Ye wull huv a command line like:
/key meta-y /buffer close
9. Plugins/scripts
On som distros lyke Debian, plugins are available via a separate package
(like weechat-plugins).
Plugins are automatically loadet when found.
Many plugins/scripts are available fer WeeChat, please luk at:
http://weechat.flashtux.org/plugins.php
Please luk at WeeChat documentation tae load/unload plugins or scripts.
10. Mer documentation
Yae can noo use WeeChat and read FAQ/documentation fer any oths questins:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Enjoy WeeChat!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>, Translate't by AndrewB <andrewb@tuxhacker.org>
This document is part of WeeChat and is distributed under GPL licence.
+93
View File
@@ -0,0 +1,93 @@
.TH WEECHAT 1 "March 2007" "FlashCode"
.SH NAME
weechat-curses \- Wee Enhanced Environment for Chat (Curses version)
.SH SYNOPSIS
.B weechat-curses
.RI [ options... ]
or
.RI [ url... ]
.br
.SH DESCRIPTION
Fast, light and extensible IRC client for many operating systems.
.br
Everything can be done with a keyboard. It is customizable and extensible with scripts.
Many GUIs are available (Curses, Gtk, Qt, and text).
It is compliant with RFCs 1459, 2810, 2811, 2812, and 2813.
.SH OPTIONS
.TP
.B \-a, \-\-no\-connect
.br
disable auto-connect to servers at startup
.TP
.B \-c, \-\-config
.br
display config file help (list of options)
.TP
.B \-d, \-\-dir <dir>
.br
set WeeChat home dir
.TP
.B \-f, \-\-key\-functions
.br
display internal functions for keys
.TP
.B \-h, \-\-help
.br
display summary of options
.TP
.B \-i, \-\-irc\-commands
.br
display IRC commands
.TP
.B \-k, \-\-keys
.br
display default keys
.TP
.B \-l, \-\-license
.br
display program license
.TP
.B \-p, \-\-no\-plugin
.br
don't load any plugin at startup
.TP
.B \-v, \-\-version
.br
display WeeChat version
.TP
.B \-w, \-\-weechat\-commands
.br
display WeeChat commands
.SH URL
WeeChat can use an URL (Uniform Resource Locator) to automatically connect
to an IRC server. These are in the following form:
.TP
.B irc[6][s]://[[nickname][:password]@]server[:port][/[#&+!]channel[,channel...]]
.TP
Exemple to join WeeChat channel support with nick "FlashCode":
irc://FlashCode@irc.freenode.net/weechat
.SH FILES
.TP
.B $HOME/.weechat/weechat.rc
configuration file for WeeChat
.TP
.B $HOME/.weechat/weechat.log
WeeChat log file
.SH AUTHOR
WeeChat is written by FlashCode <flashcode@flashtux.org>
.br
WeeChat on the web:
.UR
http://weechat.flashtux.org
.br
Get support there:
.UR
http://weechat.flashtux.org/support.php
.UE
+92
View File
@@ -0,0 +1,92 @@
/*
* WeeChat doc CSS
* (c) 2006 by FlashCode <flashcode@flashtux.org>
*/
body {
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px;
}
table {
font-size: 12px;
}
a {
color: #000099;
}
a:visited {
color: #770077;
}
a:hover {
background-color: #FFCCCC;
}
.navheader {
background-color: #E0E0FF;
border: solid 1px #A7A7C4;
margin: -10px;
padding: 8px;
}
.navheader hr {
display: none;
}
.navfooter {
background-color: #E0E0FF;
border: solid 1px #A7A7C4;
margin: 20px -10px -10px -10px;
padding: 8px;
}
.navfooter hr {
display: none;
}
.title {
background-color: #EBEBEB;
border: solid 1px #CACACA;
margin-top: 25px;
padding: 6px;
letter-spacing: 1px;
}
.informaltable table {
font-size: 11px;
font-family: Verdana;
border-collapse: collapse;
}
.informaltable table th {
padding: 2px 5px 2px 5px;
border: solid 1px #AAAAAA;
background-color: #DDDDFF;
}
.informaltable table td {
padding: 2px 5px 2px 5px;
border: solid 1px #AAAAAA;
}
.oddrow {
background-color: #F0F0F0;
}
.synopsis {
font-size: 11px;
}
.programlisting {
font-size: 11px;
}
pre.screen {
font-size: 11px;
background-color: #FAFAFA;
border: dotted 1px #CCCCCC;
padding: 4px;
margin: 0 40px 0 40px;
}
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="@DOC_XSL_PREFIX@/html/docbook.xsl"/>
<xsl:output indent="yes"/>
<xsl:param name="chunk.section.depth" select="2"/>
<xsl:param name="chunk.quietly" select="1"/>
<xsl:param name="chunk.first.sections" select="1"/>
<xsl:param name="generate.section.toc.level" select="3"/>
<xsl:param name="html.stylesheet">weechat-doc.css</xsl:param>
<xsl:template name="tr.attributes">
<xsl:param name="row" select="."/>
<xsl:param name="rownum" select="0"/>
<xsl:if test="not(ancestor::table/@tabstyle = 'unstriped')">
<xsl:if test="$rownum mod 2 = 0">
<xsl:attribute name="class">oddrow</xsl:attribute>
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="@DOC_XSL_PREFIX@/html/chunk.xsl"/>
<xsl:output indent="yes"/>
<xsl:param name="chunk.section.depth" select="2"/>
<xsl:param name="chunk.quietly" select="1"/>
<xsl:param name="chunk.first.sections" select="1"/>
<xsl:param name="generate.section.toc.level" select="3"/>
<xsl:param name="html.stylesheet">weechat-doc.css</xsl:param>
<xsl:template name="tr.attributes">
<xsl:param name="row" select="."/>
<xsl:param name="rownum" select="0"/>
<xsl:if test="not(ancestor::table/@tabstyle = 'unstriped')">
<xsl:if test="$rownum mod 2 = 0">
<xsl:attribute name="class">oddrow</xsl:attribute>
</xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:param name="latex.hyperparam">colorlinks,linkcolor=blue</xsl:param>
</xsl:stylesheet>
+66 -10
View File
@@ -1,3 +1,4 @@
./src/irc/irc-mode.c
./src/irc/irc-nick.c
./src/irc/irc-server.c
./src/irc/irc-channel.c
@@ -5,20 +6,75 @@
./src/irc/irc-display.c
./src/irc/irc-send.c
./src/irc/irc-recv.c
./src/gui/curses/gui-input.c
./src/gui/curses/gui-display.c
./src/gui/gtk/gui-display.c
./src/gui/gtk/gui-input.c
./src/gui/gui-common.c
./src/common/command.c
./src/common/completion.c
./src/common/history.c
./src/common/weechat.c
./src/common/weeconfig.c
./src/irc/irc-dcc.c
./src/irc/irc-ignore.c
./src/irc/irc.h
./src/plugins/plugins.c
./src/plugins/plugins.h
./src/plugins/plugins-config.c
./src/plugins/plugins-config.h
./src/plugins/plugins-interface.c
./src/plugins/weechat-plugin.h
./src/gui/curses/gui-curses-chat.c
./src/gui/curses/gui-curses-color.c
./src/gui/curses/gui-curses-infobar.c
./src/gui/curses/gui-curses-input.c
./src/gui/curses/gui-curses-keyboard.c
./src/gui/curses/gui-curses-main.c
./src/gui/curses/gui-curses-nicklist.c
./src/gui/curses/gui-curses-panel.c
./src/gui/curses/gui-curses-status.c
./src/gui/curses/gui-curses-window.c
./src/gui/curses/gui-curses.h
./src/gui/gtk/gui-gtk-chat.c
./src/gui/gtk/gui-gtk-color.c
./src/gui/gtk/gui-gtk-infobar.c
./src/gui/gtk/gui-gtk-input.c
./src/gui/gtk/gui-gtk-keyboard.c
./src/gui/gtk/gui-gtk-main.c
./src/gui/gtk/gui-gtk-nicklist.c
./src/gui/gtk/gui-gtk-panel.c
./src/gui/gtk/gui-gtk-status.c
./src/gui/gtk/gui-gtk-window.c
./src/gui/gtk/gui-gtk.h
./src/gui/gui-action.c
./src/gui/gui-buffer.c
./src/gui/gui-common.c
./src/gui/gui-keyboard.c
./src/gui/gui-log.c
./src/gui/gui-panel.c
./src/gui/gui-window.c
./src/gui/gui.h
./src/gui/gui-buffer.h
./src/gui/gui-color.h
./src/gui/gui-keyboard.h
./src/gui/gui-panel.h
./src/gui/gui-window.h
./src/common/alias.c
./src/common/alias.h
./src/common/backtrace.c
./src/common/backtrace.h
./src/common/command.c
./src/common/command.h
./src/common/completion.c
./src/common/completion.h
./src/common/fifo.c
./src/common/fifo.h
./src/common/history.c
./src/common/history.h
./src/common/hotlist.c
./src/common/hotlist.h
./src/common/log.c
./src/common/log.h
./src/common/session.c
./src/common/session.h
./src/common/utf8.c
./src/common/utf8.h
./src/common/util.c
./src/common/util.h
./src/common/weechat.c
./src/common/weechat.h
./src/common/weeconfig.c
./src/common/weeconfig.h
./src/common/weelist.c
./src/common/weelist.h
+5580
View File
File diff suppressed because it is too large Load Diff
+5635
View File
File diff suppressed because it is too large Load Diff
+5669
View File
File diff suppressed because it is too large Load Diff
+4675 -1604
View File
File diff suppressed because it is too large Load Diff
+5594
View File
File diff suppressed because it is too large Load Diff
+5584
View File
File diff suppressed because it is too large Load Diff
+4845 -2207
View File
File diff suppressed because it is too large Load Diff
+27
View File
@@ -0,0 +1,27 @@
-- Author: Julien Louis <ptitlouis@sysif.net>
-- License: GPLv2
-- Description: This lua script prints in the infobar the machine load average
--
weechat.register("loadavg", "0.1", "unload", "Print the load average in infobar")
local refresh = weechat.get_config("loadavg_refresh")
if refresh == "" then
refresh = 5
weechat.set_config("loadavg_refresh", 5)
end
weechat.add_timer_handler(refresh, "loadavg")
function loadavg()
local load = io.open("/proc/loadavg"):read()
load = string.gsub(load, "^([%w.]+) ([%w.]+) ([%w.]+).*", "%1 %2 %3")
weechat.print_infobar(refresh, "load: "..load)
return weechat.PLUGIN_RC_OK;
end
function unload()
weechat.remove_timer_handler("loadavg")
return weechat.remove_infobar(1)
end
+45
View File
@@ -0,0 +1,45 @@
#
# Copyright (c) 2006 by DeltaS4 <deltas4@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Changelog:
# 0.1: first version
# 0.2: now you don't need the Song Change plugin enabled because
# it uses audtool --current-song to get the music name as nenolod
# suggested (http://boards.nenolod.net/index.php?showtopic=147). :)
#
#
# /setp perl.audacious.msg = "<msg that u want before the song>"
# example: "is playing" * YourNick is playing Artist - Title
# "now playing:" * YourNick now playing: Artist - Title
# "at" * YourNick at Artist - Title
#
weechat::register ("audacious", "0.2", "", "audacious-weechat current song script (usage: /music)");
weechat::add_command_handler ("music", audtool);
$msg = weechat::get_plugin_config("msg");
if ($msg eq $null) { weechat::set_plugin_config("msg", "is playing"); }
sub audtool {
$cs = `audtool --current-song`; chomp($cs);
$msg = weechat::get_plugin_config("msg");
weechat::command("/me $msg $cs");
}
+68
View File
@@ -0,0 +1,68 @@
##############################################################################
# #
# Away highlite loger #
# #
# Perl script for WeeChat. #
# #
# Log highlite/private msg when you are away #
# #
# #
# #
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
# MA 02110-1301, USA. #
# #
##############################################################################
weechat::register( "AwayLog", "0.4", "", "Log privmsg/highlite when you are away" );
weechat::add_message_handler( "PRIVMSG", "awaylog" );
sub test_highlight {
$str = shift;
$irc_highlight = weechat::get_config( "irc_highlight" );
@arr = split( ",", $irc_highlight );
$b = 0;
$str = lc( $str );
while( $item = pop( @arr ) ) {
$item = lc( $item );
if( substr( $item, 0, 1 ) eq '*' ) { $item = '.' . $item; }
if( substr( $item, length( $item ) - 1, 1 ) eq '*' ) { $item = substr( $item, , 0, length( $item ) - 1 ) . ".*"; }
if( $str =~ /$item/ ) { $b++; }
}
return $b;
}
sub awaylog {
if( weechat::get_info( "away", $_[0] ) == 1 ) {
$i = index( $_[1], " PRIVMSG " );
$hostmask = substr( $_[1], 0, $i );
$str = substr( $_[1], $i + 9 );
$i = index( $str, ":" );
$channel = substr( $str, 0, $i - 1 );
$message = substr( $str, $i + 1 );
if( substr( $hostmask, 0, 1 ) eq ":" ) {
$hostmask = substr( $hostmask, 1 );
}
($nick, $host) = split( "!", $hostmask );
$mynick = weechat::get_info( "nick", $_[0] );
if( ( index( $message, $mynick ) != -1 ) || ( $channel eq $mynick ) || ( test_highlight( $message ) > 0 ) ) {
weechat::print( "$channel -- $nick :: $message", "", $_[0] );
}
}
return 0;
}
+56
View File
@@ -0,0 +1,56 @@
#
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Speaker beep on highlight/private msg.
#
# History:
#
# 2006-09-02, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
my $version = "0.1";
my $beep_command = "echo -n \a";
# default values in setup file (~/.weechat/plugins.rc)
my $default_beep_highlight = "on";
my $default_beep_pv = "on";
weechat::register("Beep", $version, "", "Speaker beep on highlight/private msg");
weechat::set_plugin_config("beep_highlight", $default_beep_highlight) if (weechat::get_plugin_config("beep_highlight") eq "");
weechat::set_plugin_config("beep_pv", $default_beep_pv) if (weechat::get_plugin_config("beep_pv") eq "");
weechat::add_message_handler("weechat_highlight", "highlight");
weechat::add_message_handler("weechat_pv", "pv");
sub highlight
{
my $beep = weechat::get_plugin_config("beep_highlight");
system($beep_command) if ($beep eq "on");
return weechat::PLUGIN_RC_OK;
}
sub pv
{
my $beep = weechat::get_plugin_config("beep_pv");
system($beep_command) if ($beep eq "on");
return weechat::PLUGIN_RC_OK;
}
+79
View File
@@ -0,0 +1,79 @@
#
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Save current buffer to a file.
#
# History:
#
# 2006-10-27, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
my $version = "0.1";
weechat::register("bufsave", $version, "", "Save buffer content to a file");
weechat::add_command_handler("bufsave", "bufsave_cmd",
"save current buffer to a file",
"filename",
"filename: target file (must not exist)",
"");
sub bufsave_cmd
{
if ($#_ == 1)
{
my $server = shift;
my $filename = shift;
return weechat::PLUGIN_RC_OK if (! $filename);
if (-e $filename)
{
weechat::print("Error: target file already exists!");
return weechat::PLUGIN_RC_KO;
}
my $channel = weechat::get_info("channel");
my @bc = weechat::get_buffer_data($server, $channel);
if (@bc)
{
if (! open(FILE, ">$filename"))
{
weechat::print("Error writing to target file!");
return weechat::PLUGIN_RC_KO;
}
foreach my $line (reverse(@bc))
{
my %l = %$line;
print FILE "$l{date} " if ($l{date});
print FILE "\<$l{nick}\> " if ($l{nick});
print FILE "$l{data}\n";
}
close(FILE);
}
else
{
weechat::print("Error: no buffer data");
return weechat::PLUGIN_RC_KO;
}
}
return weechat::PLUGIN_RC_OK;
}
+129
View File
@@ -0,0 +1,129 @@
##############################################################################
# #
# Exec #
# #
# Perl script for WeeChat. #
# #
# Execute the command and print it to the actual buffer or server #
# #
# #
# #
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
# MA 02110-1301, USA. #
# #
##############################################################################
use Config;
$Config{usethreads} or die( "Recompile Perl with threads to run this script." );
use Thread;
my $registred = 0;
weechat::register( "Exec", "0.2", "", "Execute the command and print it to some buffer" );
weechat::add_command_handler(
"exec",
execute,
"Execute the command and print it to some buffer",
"[-o][ -win server:::channel] <cmd line>",
" -o print as msg\n".
" -win server:::channel print the output to the specific buffer",
""
);
sub execute {
if( !$registred ) { return; }
my $i = 0;
my $cmd = "";
my $msg = 0;
my $win = "";
my @arr = split( ' ', $_[1] );
my $cmdStart = 0;
if( $#arr < 0 ) { return; }
for( $i = 0; $i <= $#arr; $i++ ) {
if( @arr[$i] eq "-win" ) {
$i++;
$win = @arr[$i];
$cmdStart = $i + 1;
}
if( @arr[$i] eq "-o" ) {
$msg = 1;
$cmdStart = $i + 1;
}
}
for( $i = $cmdStart; $i <= $#arr; $i++ ) {
if( length( $cmd ) ) { $cmd = $cmd . ' '; }
$cmd = $cmd . @arr[$i];
}
my $thr = new Thread \&func_execute, $cmd, $msg, $win;
}
sub func_execute {
my $command = shift;
my $msg = shift;
my $win = shift;
my $c = 1;
my $char = '';
my $date = `date +%Y%m%d%H%M%S%N`;
my $out = "";
if( !length( $command ) ) {
weechat::print( "No command to execute (try -? for help)" );
return;
}
if( substr( $date, length( $date ) - 1, 1 ) eq "\n" ) { $date = substr( $date, 0, length( $date ) - 1 ); }
if( length( $command ) ) { system( $command . " > /tmp/weechat_" . $date . " 2>&1" ); }
open( FD, '<', "/tmp/weechat_" . $date ) or weechat::print( "/tmp/weechat_" . $date . ": $!" );
do {
$c = read( FD, $char, 1 );
$out = $out . $char;
} while( $c );
close( FD );
system( "rm -f /tmp/weechat_" . $date );
my $j = index( $win, ':::' );
if( length( $win ) && ( $j >= 0 ) ) {
if( $msg ) {
my $win1 = substr( $win, $j + 3 );
my $win2 = substr( $win, 0, $j );
my @its = split( "\n", $out );
for( $j = 0; $j <= $#its; $j++ ) {
weechat::command( $its[$j], $win1, $win2 );
}
} else {
weechat::print( $out, substr( $win, $j + 3 ), substr( $win, 0, $j ) );
}
} else {
if( $msg ) {
my $win1 = substr( $win, $j + 3 );
my $win2 = substr( $win, 0, $j );
my @its = split( "\n", $out );
for( $j = 0; $j <= $#its; $j++ ) {
weechat::command( $its[$j], $win1, $win2 );
}
} else {
weechat::print( $out );
}
}
}
$registred = 1;
+163
View File
@@ -0,0 +1,163 @@
# =============================================================================
# Copyright (c) 2003-2005 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# fete.pl (c) Décembre 2003 par FlashCode <flashcode@flashtux.org>
# Mis à jour le 04/06/2005, FlashCode <flashcode@flashtux.org>
#
# Gestion des fêtes du calendrier français avec la commande "/fete"
# Syntaxe: /fete - affiche la fête du jour et du lendemain
# /fete prenom - cherche un prénom dans le calendrier
# =============================================================================
use locale;
my $version = "0.4";
weechat::register ("Fete", $version, "", "Gestion des fêtes du calendrier français");
weechat::print ("Script 'Fete' $version chargé");
weechat::add_command_handler ("fete", fete);
@noms_jours = qw(Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi);
@noms_mois = qw(Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre);
@fetes = (
# janvier
[ '!Marie - JOUR de l\'AN', '&Basile', '!Geneviève', '&Odilon', '&Edouard',
'&Mélaine', '&Raymond', '&Lucien', '!Alix', '&Guillaume', '&Paulin',
'!Tatiana', '!Yvette', '!Nina', '&Rémi', '&Marcel', '!Roseline',
'!Prisca', '&Marius', '&Sébastien', '!Agnès', '&Vincent', '&Barnard',
'&François de Sales', '-Conversion de St Paul', '!Paule', '!Angèle',
'&Thomas d\'Aquin', '&Gildas', '!Martine', '!Marcelle' ],
# février
[ '!Ella', '-Présentation', '&Blaise', '!Véronique', '!Agathe',
'&Gaston', '!Eugénie', '!Jacqueline', '!Apolline', '&Arnaud',
'-Notre-Dame de Lourdes', '&Félix', '!Béatrice', '&Valentin', '&Claude',
'!Julienne', '&Alexis', '!Bernadette', '&Gabin', '!Aimée',
'&Pierre Damien', '!Isabelle', '&Lazare', '&Modeste', '&Roméo', '&Nestor',
'!Honorine', '&Romain', '&Auguste' ],
# mars
[ '&Aubin', '&Charles le Bon', '&Guénolé', '&Casimir', '&Olive', '&Colette',
'!Félicité', '&Jean de Dieu', '!Françoise', '&Vivien', '!Rosine',
'!Justine', '&Rodrigue', '!Mathilde', '!Louise de Marillac', '!Bénédicte',
'&Patrice', '&Cyrille', '&Joseph', '&Herbert', '!Clémence', '!Léa',
'&Victorien', '!Catherine de Suède', '-Annonciation', '!Larissa',
'&Habib', '&Gontran', '!Gwladys', '&Amédée', '&Benjamin' ],
# avril
[ '&Hugues', '!Sandrine', '&Richard', '&Isodore', '!Irène', '&Marcellin',
'&Jean-Baptiste de la Salle', '!Julie', '&Gautier', '&Fulbert',
'&Stanislas', '&Jules', '!Ida', '&Maxime', '&Paterne',
'&Benoît-Joseph Labre', '&Anicet', '&Parfait', '!Emma', '!Odette',
'&Anselme', '&Alexandre', '&Georges', '&Fidèle', '&Marc', '!Alida',
'!Zita', '!Valérie', '!Catherine de Sienne', '&Robert' ],
# mai
[ '&Jérémie - FETE du TRAVAIL', '&Boris', '&Philippe / Jacques', '&Sylvain',
'!Judith', '!Prudence', '!Gisèle', '&Désiré - ANNIVERSAIRE 1945',
'&Pacôme', '!Solange', '!Estelle', '&Achille', '!Rolande', '&Mathias',
'!Denise', '&Honoré', '&Pascal', '&Eric', '&Yves', '&Bernardin',
'&Constantin', '&Emile', '&Didier', '&Donatien', '!Sophie', '&Bérenger',
'&Augustin', '&Germain', '&Aymar', '&Ferdinand', '-Visitation' ],
# juin
[ '&Justin', '!Blandine', '&Kévin', '!Clotilde', '&Igor', '&Norbert',
'&Gilbert', '&Médard', '!Diane', '&Landry', '&Barnabé', '&Guy',
'&Antoine de Padoue', '&Elisée', '!Germaine', '&Jean-François Régis',
'&Hervé', '&Léonce', '&Romuald', '&Silvère', '&Rodolphe', '&Alban',
'!Audrey', '&Jean-Baptiste', '&Salomon', '&Anthelme', '&Fernand',
'&Irénée', '&Pierre / Paul', '&Martial' ],
# juillet
[ '&Thierry', '&Martinien', '&Thomas', '&Florent', '&Antoine', '!Mariette',
'&Raoul', '&Thibaut', '!Amandine', '&Ulrich', '&Benoît', '&Olivier',
'&Henri / Joël', '!Camille - FETE NATIONALE', '&Donald',
'-N.D. du Mont Carmel', '!Charlotte', '&Frédéric', '&Arsène', '!Marina',
'&Victor', '!Marie-Madeleine', '!Brigitte', '!Christine', '&Jacques',
'&Anne', '!Nathalie', '&Samson', '!Marthe', '!Juliette',
'&Ignace de Loyola' ],
# août
[ '&Alphonse', '&Julien', '!Lydie', '&Jean-Marie Vianney', '&Abel',
'-Transfiguration', '&Gaëtan', '&Dominique', '&Amour', '&Laurent',
'!Claire', '!Clarisse', '&Hippolyte', '&Evrard',
'!Marie - ASSOMPTION', '&Armel', '&Hyacinthe', '!Hélène', '&Jean Eudes',
'&Bernard', '&Christophe', '&Fabrice', '!Rose de Lima', '&Barthélémy',
'&Louis', '!Natacha', '!Monique', '&Augustin', '!Sabine', '&Fiacre',
'&Aristide' ],
# septembre
[ '&Gilles', '!Ingrid', '&Grégoire', '!Rosalie', '!Raïssa', '&Bertrand',
'!Reine', '-Nativité de Marie', '&Alain', '!Inès', '&Adelphe',
'&Apollinaire', '&Aimé', '-La Ste Croix', '&Roland', '!Edith', '&Renaud',
'!Nadège', '!Emilie', '&Davy', '&Matthieu', '&Maurice', '&Constant',
'!Thècle', '&Hermann', '&Côme / Damien', '&Vincent de Paul', '&Venceslas',
'&Michel / Gabriel', '&Jérôme' ],
# octobre
[ '!Thérèse de l\'Enfant Jésus', '&Léger', '&Gérard', '&François d\'Assise',
'!Fleur', '&Bruno', '&Serge', '!Pélagie', '&Denis', '&Ghislain', '&Firmin',
'&Wilfried', '&Géraud', '&Juste', '!Thérèse d\'Avila', '!Edwige',
'&Baudouin', '&Luc', '&René', '!Adeline', '!Céline', '!Elodie',
'&Jean de Capistran', '&Florentin', '&Crépin', '&Dimitri', '!Emeline',
'&Simon / Jude', '&Narcisse', '!Bienvenue', '&Quentin' ],
# novembre
[ '&Harold - TOUSSAINT', '-Défunts', '&Hubert', '&Charles', '!Sylvie',
'!Bertille', '!Carine', '&Geoffroy', '&Théodore', '&Léon',
'&Martin - ARMISTICE 1918', '&Christian', '&Brice', '&Sidoine', '&Albert',
'!Marguerite', '!Elisabeth', '!Aude', '&Tanguy', '&Edmond',
'-Présentation de Marie', '!Cécile', '&Clément', '!Flora', '!Catherine',
'!Delphine', '&Séverin', '&Jacques de la Marche', '&Saturnin', '&André' ],
# décembre
[ '!Florence', '!Viviane', '&Xavier', '!Barbara', '&Gérald', '&Nicolas',
'&Ambroise', '-Immaculée Conception', '&Pierre Fourier', '&Romaric',
'&Daniel', '!Jeanne de Chantal', '!Lucie', '!Odile', '!Ninon', '!Alice',
'&Gaël', '&Gatien', '&Urbain', '&Abraham', '&Pierre Canisius',
'!Françoise-Xavier', '&Armand', '!Adèle', '&Emmanuel - NOEL', '&Etienne',
'&Jean', '-Sts Innocents', '&David', '&Roger', '&Sylvestre' ],
);
sub fete_jour
{
my ($sec, $min, $heure, $mjour, $mois, $annee, $sjour, $ajour, $est_dst) = localtime ($_[0]);
my $fete = $fetes[$mois][$mjour-1];
$fete =~ s/^!/Ste /;
$fete =~ s/^&/St /;
$fete =~ s/^-//;
$fete;
}
sub fete
{
if ($#_ == 1)
{
my @params = split " ", @_[1];
for $arg (@params)
{
for (my $mois = 0; $mois <= $#fetes; $mois++)
{
for (my $jour = 0; $jour < 31; $jour++)
{
if (uc ($fetes[$mois][$jour]) =~ /\U$arg/)
{
weechat::print (($jour + 1)." ".$noms_mois[$mois].": ".substr ($fetes[$mois][$jour], 1));
}
}
}
}
}
else
{
my $time_now = time;
my ($fete1, $fete2) = (fete_jour ($time_now), fete_jour ($time_now + (3600 * 24)));
my ($mjour, $mois, $sjour) = (localtime ($time_now))[3, 4, 6];
weechat::print_infobar (0, "$fete1 (demain: $fete2)");
}
return weechat::PLUGIN_RC_OK;
}
fete ();
+57
View File
@@ -0,0 +1,57 @@
# This script is a port from the original fortune.pl irssi script written by
# Ivo Marino <eim@cpan.org>. This script is in the public domain
#
# Author: Julien Louis <ptitlouis@sysif.net>
weechat::register("fortune", "0.1", "", "Send a random fortune cookie to a specified nick");
weechat::add_command_handler ("fortune", fortune, "Send a random fortune cookie to a specified nick",
"<nick> [lang]",
"<nick> The nickname to send the fortune cookie\n" .
" [lang] The cookie language (Default: en)\n",
"%n %-");
sub fortune {
my ($server, $param) = @_;
my $return = weechat::PLUGIN_RC_OK;
my $cookie = '';
if ($param) {
if ($server) {
(my $nick, my $lang) = split (' ', $param);
$lang = 'en' unless ($lang eq 'de'|| $lang eq 'it' || $lang eq
'en' || $lang eq 'fr' );
weechat::print ("Nick: " . $nick . ", Lang: \"" . $lang . "\"");
if ($lang eq 'de') {
$cookie = `fortune -x`;
} elsif ($lang eq 'it') {
$cookie = `fortune -a italia`;
} else {
$cookie = `fortune -a fortunes literature riddles`;
}
$cookie =~ s/\s*\n\s*/ /g;
if ($cookie) {
$channel = weechat::get_info("channel");
if ($channel) {
weechat::command($nick . ": " . $cookie, $channel);
}
} else {
weechat::print ("No cookie.");
$return = weechat::PLUGIN_RC_KO;
}
} else {
weechat::print ("Not connected to server");
$return = weechat::PLUGIN_RC_KO;
}
} else {
weechat::print ("Usage: /fortune <nick> [language]");
$return = weechat::PLUGIN_RC_KO;
}
return $return;
}
+34
View File
@@ -0,0 +1,34 @@
# This script is a port from the hello.pl irssi script written by
# Cybertinus <cybertinus@cybertinus.nl>
#
# Licensed under the GPL v2
#
# Author: Julien Louis <ptitlouis@sysif.net>
weechat::register("hello" ,"0.1", "", "Display greetings depending the time");
weechat::add_command_handler("hello", hello, "", "Send greetings to the current buffer");
weechat::set_plugin_config("evening_message", "good evening");
weechat::set_plugin_config("afternoon_message", "good afternoon");
weechat::set_plugin_config("morning_message", "good morning");
weechat::set_plugin_config("night_message", "good night");
sub hello {
my ($server,$data) = @_;
$time = (localtime(time))[2];
if ($time >= 18) {
$text = weechat::get_plugin_config("evening_message");
} elsif ($time >= 12) {
$text = weechat::get_plugin_config("afternoon_message");
} elsif ($time >= 6) {
$text = weechat::get_plugin_config("morning_message");
} elsif ($time >= 0) {
$text = weechat::get_plugin_config("night_message");
}
weechat::command("$text $data");
return weechat::PLUGIN_RC_OK;
}
+74
View File
@@ -0,0 +1,74 @@
#
# This script is mostly a copy/paste from kernel.pl irssi script
# This script is in the public domain.
#
# Julien Louis <ptitlouis@sysif.net>
use IO::Socket;
weechat::register("kernel", "0.1", "", "Return latest kernel versions from kernel.org" );
weechat::add_command_handler("kernel_version", kernel_version);
sub finger($$) {
# Yes, Net::Finger is already done and i'm reinventing the wheel.
my ($user, $host) = @_;
my $buffer;
if (my $socket = IO::Socket::INET->new(
PeerHost => $host,
PeerPort => 'finger(79)',
Proto => 'tcp',
))
{
if (syswrite $socket, "$user\n") {
unless (sysread $socket, $buffer, 1024) {
# Should i use $! here?
weechat::print("Unable to read from the socket: $!");
}
} else {
# ..and here?
weechat::print("Unable to write to the socket: $!");
}
} else {
weechat::print("Connection to $host failed: $!");
}
return $buffer;
}
sub kernel_version {
my @version;
if (my $finger = finger("", "finger.kernel.org")) {
# The magic of the regexps :)
@version = $finger =~ /:\s*(\S+)\s*$/gm;
# Modify this to do whatever you want.
my %branches = (
26 => "",
24 => "",
22 => "",
20 => "",
);
foreach my $kernel (@version) {
if($kernel =~ /2\.6/) {
$branches{26} .= " $kernel";
} elsif($kernel =~ /2\.4/) {
$branches{24} .= " $kernel";
} elsif ($kernel =~ /2\.2/) {
$branches{22} .= " $kernel";
} elsif ($kernel =~ /2\.0/) {
$branches{20} .= " $kernel";
}
}
my @keys = sort(keys(%branches));
foreach my $key (@keys) {
weechat::print("branche " . join('.', split(//, $key)));
weechat::print("$branches{$key}");
}
# weechat::print("@version");
return weechat::PLUGIN_RC_OK;
}
}
+95
View File
@@ -0,0 +1,95 @@
#
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Search for text in WeeChat disk log files.
#
# History:
# 2006-04-17, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
# default values in setup file (~/.weechat/plugins.rc)
my $default_max = "8";
my $default_server = "off";
my $default_grep_options = "-i";
# init script
weechat::register("logsearch", "0.1", "", "Search for text in WeeChat disk log files");
weechat::set_plugin_config("max", $default_max) if (weechat::get_plugin_config("max") eq "");
weechat::set_plugin_config("server", $default_server) if (weechat::get_plugin_config("server") eq "");
weechat::set_plugin_config("grep_options", $default_grep_options) if (weechat::get_plugin_config("grep_options") eq "");
# add command handler /logsearch
weechat::add_command_handler("logsearch", "logsearch",
"search for text in WeeChat disk log files",
"[-n#] text",
"-n#: max number or lines to display\n"
."text: regular expression (used by grep)\n\n"
."Plugins options (set with /setp):\n"
." - perl.logsearch.max: max number of lines displayed by default\n"
." - perl.logsearch.server: display result on server "
."buffer (if on), otherwise on current buffer\n"
." - perl.logsearch.grep_options: options to give to grep program",
"");
# /logsearch command
sub logsearch
{
my $server = shift;
my $args = shift;
if ($args ne "")
{
# read settings
my $conf_max = weechat::get_plugin_config("max");
$conf_max = $default_max if ($conf_max eq "");
my $conf_server = weechat::get_plugin_config("server");
$conf_server = $default_server if ($conf_server eq "");
my $output_server = "";
$output_server = $server if (lc($conf_server) eq "on");
my $grep_options = weechat::get_plugin_config("grep_options");
# build log filename
my $buffer = weechat::get_info("channel", "");
$buffer = ".".$buffer if ($buffer ne "");
my $log_path = weechat::get_config("log_path");
$log_path =~ s/%h/~\/.weechat/g;
my $file = $log_path.$server.$buffer.".weechatlog";
# run grep in log file
if ($args =~ /-n([0-9]+) (.*)/)
{
$conf_max = $1;
$args = $2;
}
my $command = "grep ".$grep_options." '".$args."' ".$file." 2>/dev/null | tail -n".$conf_max;
my $result = `$command`;
# display result
if ($result eq "")
{
weechat::print("Text not found in $file", "", $output_server);
return weechat::PLUGIN_RC_OK;
}
my @result_array = split(/\n/, $result);
weechat::print($_, "", $output_server) foreach(@result_array);
}
return weechat::PLUGIN_RC_OK;
}
+72
View File
@@ -0,0 +1,72 @@
# perl
# Logs URLs to a p5-DBI-MySQL database.
# This script is BSD licensed.
# Hacked together by Karlis "Hagabard" Loen in Feb 2007
# hagabard AT gmail DOT com
# Table format: (ircurls is default table name in script)
#+-----------+---------------+------+-----+---------+-------+
#| Field | Type | Null | Key | Default | Extra |
#+-----------+---------------+------+-----+---------+-------+
#| timestamp | timestamp(14) | YES | | NULL | |
#| hostmask | text(255) | YES | | NULL | |
#| target | text(255) | YES | | NULL | |
#| url | text(255) | YES | | NULL | |
#+-----------+---------------+------+-----+---------+-------+
# In the future I hope to get around to adding stuff like:
#+-----------+---------------+------+-----+---------+-------+
#| httptitle | text(255) | YES | | NULL | |
#| httpdinfo | text(255) | YES | | NULL | |
#| tinyurl | text(255) | YES | | NULL | |
#+-----------+---------------+------+-----+---------+-------+
# Test other DBI types, maybe /setp perl.logurlsql.dbtype="Pg" works?
# Tested with p5-DBI-Mysql, others untested
use DBI;
weechat::register("logurlsql", "0.2", "", "WeeChat p5-DBI script to log URLs to a SQL Database.");
weechat::add_message_handler("*", "cmd_logurl");
# Setup Database connection, now with /setp for your configuration pleasure
weechat::set_plugin_config("dbtype", "mysql") if (weechat::get_plugin_config("dbtype") eq "");
weechat::set_plugin_config("dbhost", "localhost") if (weechat::get_plugin_config("dbhost") eq "");
weechat::set_plugin_config("dbname", "weechat") if (weechat::get_plugin_config("dbname") eq "");
weechat::set_plugin_config("dbtable", "ircurls") if (weechat::get_plugin_config("dbtable") eq "");
weechat::set_plugin_config("dbuser", "irc") if (weechat::get_plugin_config("dbuser") eq "");
weechat::set_plugin_config("dbpass", "forever") if (weechat::get_plugin_config("dbpass") eq "");
# Regexps
sub URL_SCHEME_REGEX() { '(http|ftp|https|news|irc)' }
sub URL_GUESS_REGEX() { '(www|ftp)' }
sub URL_BASE_REGEX() { '[a-z0-9_\-+\\/:?%.&!~;,=\#<]' }
# This sub borrowed from the BSD licensed urlplot.pl irssi script by bwolf.
sub scan_url {
my $rawtext = shift;
return $1 if $rawtext =~ m|(@{[ URL_SCHEME_REGEX ]}://@{[ URL_BASE_REGEX ]}+)|io;
# The URL misses a scheme, try to be smart
if ($rawtext =~ m|@{[ URL_GUESS_REGEX ]}\.@{[ URL_BASE_REGEX ]}+|io) {
my $preserve = $&;
return "http://$preserve" if $1 =~ /^www/;
return "ftp://$preserve" if $1 =~ /^ftp/;
}
return undef;
}
sub cmd_logurl {
($null, $target, $data) = split ":",$_[1],3;
($hostmask, $null, $target) = split " ", $target;
if (defined($url = scan_url($data))) {
#weechat::print("hostmask=$hostmask, target=$target, url=$url");
db_insert($hostmask, $target, $url);
}
return weechat::PLUGIN_RC_OK;
}
sub db_insert {
my ($hostmask, $target, $url)=@_;
my $dbh = DBI->connect( "DBI:". weechat::get_plugin_config(dbtype) .":". weechat::get_plugin_config(dbname) .":". weechat::get_plugin_config(dbhost), weechat::get_plugin_config(dbuser), weechat::get_plugin_config(dbpass));
my $sql="insert into ". weechat::get_plugin_config(dbtable) ." (timestamp, hostmask, target, url) values (NOW()".",". $dbh->quote($hostmask) ."," . $dbh->quote($target) ."," . $dbh->quote($url) .")";
my $sth = $dbh->do($sql);
$dbh->disconnect();
}
+166
View File
@@ -0,0 +1,166 @@
##############################################################################
# #
# MOC #
# #
# Perl script for WeeChat. #
# #
# Show info about current song in moc #
# #
# #
# #
# Copyright (C) 2006 Jiri Golembiovsky <golemj@gmail.com> #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
# MA 02110-1301, USA. #
# #
##############################################################################
weechat::register( "MOCP", "0.2", "", "Show info about current song in moc" );
weechat::add_command_handler(
"moc",
moc,
"Show info about current song in moc",
"[[-i][-o][-ot]]",
"-i show info about current song (default parameter if no other is given)\n" .
"-o print results to the current channel as /msg\n" .
"-ot print results to the current channel as /me, this parameter overide -o parameter\n" .
"To set output format use moc_set_format command.\n" .
"To set another default output type than -i use moc_set_output command.\n",
"-i|-o|-ot"
);
weechat::add_command_handler(
"moc_set_format",
mocSetFormat,
"Set output format for moc command",
"format_string",
"Following combinations will be replaced by apropriate text:\n".
" %A - artist\n" .
" %B - album\n" .
" %F - file name with path\n" .
" %H - file name without path\n" .
" %J - total time\n" .
" %K - current time\n" .
" %L - time left\n" .
" %M - total seconds\n" .
" %N - current seconds\n" .
" %S - state\n" .
" %T - title\n" .
" %U - song title\n" .
" %Y - biterate\n" .
" %Z - rate\n" .
"When no format string is setted then current format string is printed.",
""
);
weechat::add_command_handler(
"moc_set_output",
mocSetOutput,
"Set default output for moc command",
"i|o|ot",
"For more info see help of moc command",
"i|o|ot"
);
sub info {
my $i;
my $res = "";
my $sout = `mocp -i`;
my @out = split( "\n", $sout );
my $format = weechat::get_plugin_config( "outputFormat" );
if( length( $format ) == 0 ) { $format = "is listening to %T ::: %H"; }
if( $#out < 2 ) { return ""; }
for( $i = 0; $i <= $#out; $i++ ) {
if( ( index( @out[$i], ' ' ) == -1 ) ||
( index( @out[$i], ' ' ) == ( length( @out[$i] ) - 1 ) )
) {
@out[$i] = "";
} else {
@out[$i] = substr( @out[$i], index( @out[$i], ' ' ) + 1 );
}
}
$i = 0;
while( $i < length( $format ) ) {
if( substr( $format, $i, 1 ) eq '%' ) {
$i++;
if( substr( $format, $i, 1 ) eq 'A' ) { $res = $res . @out[3]; }
if( substr( $format, $i, 1 ) eq 'B' ) { $res = $res . @out[5]; }
if( substr( $format, $i, 1 ) eq 'F' ) { $res = $res . @out[1]; }
if( substr( $format, $i, 1 ) eq 'H' ) {
if( index( @out[1], "://" ) > 0 ) {
$res = $res . @out[1];
} else {
$res = $res . substr( @out[1], rindex( @out[1], '/' ) + 1 );
}
}
if( substr( $format, $i, 1 ) eq 'J' ) { $res = $res . @out[6]; }
if( substr( $format, $i, 1 ) eq 'K' ) { $res = $res . @out[9]; }
if( substr( $format, $i, 1 ) eq 'L' ) { $res = $res . @out[7]; }
if( substr( $format, $i, 1 ) eq 'M' ) { $res = $res . @out[8]; }
if( substr( $format, $i, 1 ) eq 'N' ) { $res = $res . @out[10]; }
if( substr( $format, $i, 1 ) eq 'S' ) { $res = $res . @out[0]; }
if( substr( $format, $i, 1 ) eq 'T' ) { $res = $res . @out[2]; }
if( substr( $format, $i, 1 ) eq 'U' ) { $res = $res . @out[4]; }
if( substr( $format, $i, 1 ) eq 'Y' ) { $res = $res . @out[11]; }
if( substr( $format, $i, 1 ) eq 'Z' ) { $res = $res . @out[12]; }
} else {
$res = $res . substr( $format, $i, 1 );
}
$i++;
}
return $res;
}
sub moc {
my $out;
my $outType = weechat::get_plugin_config( "outputType" );
if( length( $outType ) == 0 ) { $outType = 'i'; }
if( length( $_[1] ) ) { $outType = $_[1]; }
if( ( $outType ne 'i' ) && ( $outType ne 'o' ) && ( $outType ne 'ot' ) ) {
weechat::print( "Bad parameter or default output type" );
}
$out = info();
if( $outType eq 'i' ) { weechat::print( $out ); }
if( $outType eq 'o' ) { weechat::command( $out ); }
if( $outType eq 'ot' ) { weechat::command( "/me " . $out ); }
return weechat::PLUGIN_RC_OK;
}
sub mocSetFormat {
if( length( $_[1] ) ) {
weechat::set_plugin_config( "outputFormat", $_[1] );
} else {
my $format = weechat::get_plugin_config( "outputFormat" );
if( length( $format ) == 0 ) { $format = "is listening to %T ::: %H"; }
weechat::print( "Current format is \"$format\"" );
}
return weechat::PLUGIN_RC_OK;
}
sub mocSetOutput {
if( length( $_[1] ) ) {
if( ( $_[1] eq 'i' ) || ( $_[1] eq 'o' ) || ( $_[1] eq 'ot' ) ) {
weechat::set_plugin_config( "outputType", $_[1] );
} else {
weechat::print( "moc_set_command: bad parameter" );
}
} else {
my $out = weechat::get_plugin_config( "outputType" );
if( length( $out ) == 0 ) { $out = 'i'; }
weechat::print( "Default output: $out" );
}
return weechat::PLUGIN_RC_OK;
}
+241
View File
@@ -0,0 +1,241 @@
#
# Copyright (c) 2007 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Display old topics for a channel.
#
# History:
# 2007-03-29, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
my $version = "0.1";
my $plugin_help_options = "Plugins options (set with /setp):\n"
." - perl.oldtopic.log_server: if on, displays all topic changes on server buffer\n"
." - perl.oldtopic.max_topics: number of topics to keep for each channel "
."(0 = do not keep any topics)";
# default values in setup file (~/.weechat/plugins.rc)
my $default_log_server = "off";
my $default_max_topics = "10";
# init script
weechat::register("oldtopic", $version, "", "Display old topics for a channel");
weechat::set_plugin_config("log_server", $default_log_server) if (weechat::get_plugin_config("log_server") eq "");
weechat::set_plugin_config("max_topics", $default_max_topics) if (weechat::get_plugin_config("max_topics") eq "");
# message and command handlers
weechat::add_message_handler("topic", "topic_msg");
weechat::add_message_handler("332", "topic_332_msg");
weechat::add_message_handler("333", "topic_333_msg");
weechat::add_command_handler ("lasttopic", "lasttopic_cmd",
"Display last topic for a channel (topic before current one)",
"[channel]",
"channel: channel name (default: current channel)\n\n"
.$plugin_help_options,
"%C");
weechat::add_command_handler ("oldtopic", "oldtopic_cmd",
"Display old topics for a channel",
"[channel]",
"channel: channel name (default: current channel)\n\n"
.$plugin_help_options,
"%C");
my %oldtopic;
undef %oldtopic;
my %msg_332_topic;
undef %msg_332_topic;
sub get_config
{
my $conf_log_server = weechat::get_plugin_config("log_server");
$conf_log_server = $default_log_server if ($conf_log_server eq "");
my $conf_max = weechat::get_plugin_config("max_topics");
$conf_max = $default_max_topics if ($conf_max eq "");
$conf_max = 0 if ($conf_max < 0);
return ($conf_log_server, $conf_max);
}
sub add_topic
{
my ($server, $channel, $nick, $topic, $topicdate, $conf_max) =
($_[0], $_[1], $_[2], $_[3], $_[4], $_[5]);
my $time = $topicdate;
$time = time() if ($time eq "");
$oldtopic{$server}{$channel}{$time}{"nick"} = $nick;
$oldtopic{$server}{$channel}{$time}{"topic"} = $topic;
my $numchan = scalar(keys(%{$oldtopic{$server}{$channel}}));
if ($numchan > $conf_max)
{
my $diff = $numchan - $conf_max;
my $count = 0;
foreach my $date (sort keys %{$oldtopic{$server}{$channel}})
{
delete($oldtopic{$server}{$channel}{$date});
$count++;
last if ($count >= $diff);
}
}
}
# received when someone changes topic on a channel
sub topic_msg
{
my $server = $_[0];
my ($conf_log_server, $conf_max) = get_config();
if ($_[1] =~ /(.*) TOPIC (.*)/)
{
my $nick = $1;
my $args = $2;
my $nick = $1 if ($nick =~ /:?([^!]+)(!?.*)/);
if ($args =~ /([\#\&\+\!][^ ]*) (.*)/)
{
my $channel = $1;
my $topic = $2;
$topic = $1 if ($topic =~ /:(.*)/);
if ($conf_log_server eq "on")
{
weechat::print("Topic on $channel changed by ${nick} to: \"${topic}\x0F\"",
"", $server);
}
if ($conf_max > 0)
{
add_topic($server, $channel, $nick, $topic, "", $conf_max);
}
else
{
delete($oldtopic{$server}{$channel});
}
}
}
return weechat::PLUGIN_RC_OK;
}
# topic for a channel (when joining channel)
sub topic_332_msg
{
my $server = $_[0];
if ($_[1] =~ /(.*) 332 (.*)/)
{
my $args = $2;
if ($args =~ /([\#\&\+\!][^ ]*) (.*)/)
{
my $channel = $1;
my $topic = $2;
$topic = $1 if ($topic =~ /:(.*)/);
$msg_332_topic{$server}{$channel} = $topic;
}
}
return weechat::PLUGIN_RC_OK;
}
# nick/date for topic (when joining channel, received after 332)
sub topic_333_msg
{
my $server = $_[0];
if ($_[1] =~ /.* 333 .* ([\#\&\+\!][^ ]*) (.*) ([0-9]+)/)
{
my $channel = $1;
my $nick = $2;
my $date = $3;
my ($conf_log_server, $conf_max) = get_config();
add_topic($server, $channel, $nick,
$msg_332_topic{$server}{$channel},
$date, $conf_max);
}
return weechat::PLUGIN_RC_OK;
}
sub lasttopic_cmd
{
my $server = weechat::get_info("server");
my $channel = weechat::get_info("channel");
$channel = $_[1] if ($_[1] ne "");
if ($channel ne "")
{
my ($conf_log_server, $conf_max) = get_config();
delete($oldtopic{$server}{$channel}) if ($conf_max == 0);
my $count = 0;
my $found = 0;
foreach my $date (sort { $b <=> $a } keys %{$oldtopic{$server}{$channel}})
{
$count++;
if ($count > 1)
{
$found = 1;
weechat::print("Last topic for ${server}/${channel}: on ".localtime($date)." by ".
$oldtopic{$server}{$channel}{$date}{"nick"}.": \"".
$oldtopic{$server}{$channel}{$date}{"topic"}."\x0F\"");
last;
}
}
weechat::print("Last topic not found for channel ${server}/${channel}.") if ($found == 0);
}
else
{
weechat::print("Error: this buffer is not a channel.");
}
return weechat::PLUGIN_RC_OK;
}
sub oldtopic_cmd
{
my $server = weechat::get_info("server");
my $channel = weechat::get_info("channel");
$channel = $_[1] if ($_[1] ne "");
if ($channel ne "")
{
my ($conf_log_server, $conf_max) = get_config();
delete($oldtopic{$server}{$channel}) if ($conf_max == 0);
my $found = 0;
foreach my $date (sort keys %{$oldtopic{$server}{$channel}})
{
$found = 1;
weechat::print("Topic for ${server}/${channel} on ".localtime($date)." by ".
$oldtopic{$server}{$channel}{$date}{"nick"}.": \"".
$oldtopic{$server}{$channel}{$date}{"topic"}."\x0F\"");
}
weechat::print("No old topic for channel ${server}/${channel}.") if ($found == 0);
}
else
{
weechat::print("Error: this buffer is not a channel.");
}
return weechat::PLUGIN_RC_OK;
}
+95
View File
@@ -0,0 +1,95 @@
#
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Play a sound when highlighted/private msg, or for ctcp sound event.
#
# History:
#
# 2006-05-30, FlashCode <flashcode@flashtux.org>:
# added plugin options for commands
# 2004-10-01, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
my $version = "0.3";
my $command_suffix = " >/dev/null 2>&1 &";
# default values in setup file (~/.weechat/plugins.rc)
my $default_cmd_highlight = "alsaplay -i text ~/sound_highlight.wav";
my $default_cmd_pv = "alsaplay -i text ~/sound_pv.wav";
my $default_cmd_ctcp = "alsaplay -i text \$filename";
weechat::register("Sound", $version, "", "Sound for highlights/privates & CTCP sound events");
weechat::set_plugin_config("cmd_highlight", $default_cmd_highlight) if (weechat::get_plugin_config("cmd_highlight") eq "");
weechat::set_plugin_config("cmd_pv", $default_cmd_pv) if (weechat::get_plugin_config("cmd_pv") eq "");
weechat::set_plugin_config("cmd_ctcp", $default_cmd_ctcp) if (weechat::get_plugin_config("cmd_ctcp") eq "");
weechat::add_message_handler("PRIVMSG", "sound");
weechat::add_message_handler("weechat_highlight", "highlight");
weechat::add_message_handler("weechat_pv", "pv");
weechat::add_command_handler("sound", "sound_cmd");
sub sound
{
my $server = $_[0];
if ($_[1] =~ /(.*) PRIVMSG (.*)/)
{
my ($host, $msg) = ($1, $2);
if ($host ne "localhost")
{
if ($msg =~ /\001SOUND ([^ ]*)\001/)
{
my $filename = $1;
my $command = weechat::get_plugin_config("cmd_ctcp");
$command =~ s/(\$\w+)/$1/gee;
system($command.$command_suffix);
}
}
}
return weechat::PLUGIN_RC_OK;
}
sub highlight
{
my $command = weechat::get_plugin_config("cmd_highlight");
system($command.$command_suffix);
return weechat::PLUGIN_RC_OK;
}
sub pv
{
my $command = weechat::get_plugin_config("cmd_pv");
system($command.$command_suffix);
return weechat::PLUGIN_RC_OK;
}
sub sound_cmd
{
if ($#_ == 1)
{
my $filename = $_[1].".wav";
my $command = weechat::get_plugin_config("cmd_ctcp");
$command =~ s/(\$\w+)/$1/gee;
system($command.$command_suffix);
weechat::command("/quote PRIVMSG ".weechat::get_info("channel")." :\001SOUND $filename\001") if (@_);
}
return weechat::PLUGIN_RC_OK;
}
+128
View File
@@ -0,0 +1,128 @@
#
# Copyright (c) 2006 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
# Translate words and display result in infobar, local buffer or channel
#
# History:
# 2006-07-03, FlashCode <flashcode@flashtux.org>:
# initial release
#
use strict;
# default values in setup file (~/.weechat/plugins.rc)
my $default_output_infobar = "on";
my $default_timeout = "2";
# script internal settings
my $languages = "de|el|en|es|fr|it|ja|ko|nl|pt|ru|zh|zt";
# init script
weechat::register("translate", "0.1", "", "Translation script");
weechat::set_plugin_config("output_infobar", $default_output_infobar) if (weechat::get_plugin_config("output_infobar") eq "");
weechat::set_plugin_config("timeout", $default_timeout) if (weechat::get_plugin_config("timeout") eq "");
# add command handlers for all languages
weechat::add_command_handler("translate", "translate", "translate text to other language",
"lang1 lang2 text [-o]",
"lang1: base language\n"
."lang2: target language\n"
." text: text to translate\n"
." -o: result is written on channel (visible by all)",
$languages." ".$languages);
# translate text with babelfish (altavista)
sub babelfish
{
my $timeout = weechat::get_plugin_config("timeout");
$timeout = $default_timeout if ($timeout eq "");
if (`wget -q --timeout=$timeout --user-agent "Mozilla" --output-document=- "http://babelfish.altavista.com/babelfish/tr?lp=$_[0]_$_[1]&urltext=$_[2]"` =~ /.*<td bgcolor=white class=s><div style=padding:10px;>(.*)<\/div><\/td>/)
{
return $1;
}
return "";
}
# translate output
sub translate_output
{
if ($_[1] == 1)
{
if (substr($_[0],0,1) eq "/")
{
weechat::command("/".$_[0], "", "");
}
else
{
weechat::command($_[0], "", "");
}
}
else
{
my $output_infobar = weechat::get_plugin_config("output_infobar");
$output_infobar = $default_output_infobar if ($output_infobar eq "");
if ($output_infobar eq "on")
{
weechat::print_infobar(5, $_[0]);
}
else
{
weechat::print($_[0], "", "");
}
}
}
# /translate command
sub translate
{
my $server = shift;
my $args = shift;
if ($args =~ /([a-zA-Z][a-zA-Z]) ([a-zA-Z][a-zA-Z]) (.*)/)
{
my $lang1 = $1;
my $lang2 = $2;
my $text = $3;
# output on channel?
my $output_chan = 0;
if ($text =~ /(.*) -[oO]$/)
{
$output_chan = 1;
$text = $1;
}
my $result = babelfish($lang1, $lang2, $text);
if ($result eq "")
{
translate_output("Error: unable to translate (bad language or timeout)", 0);
}
else
{
translate_output($result, $output_chan);
}
}
else
{
translate_output("Error: bad arguments", 0);
}
return weechat::PLUGIN_RC_OK;
}
+64
View File
@@ -0,0 +1,64 @@
#####################################################################
# xmms perl script for weechat #
# #
# Displays some useless xmms-infopipe values #
# (c) 2006 by Cédric Chalier <ounaid AT gmail DOT com> #
# #
# This program is free software; you can redistribute it and/or #
# modify it under the terms of the GNU General Public License #
# as published by the Free Software Foundation; either version 2 #
# of the License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
# MA 02110-1301, USA. #
# #
#####################################################################
# db[x] variables are: #
# ----------------------------------------------------------- #
# | 0 | XMMS protocol version | 7 | uSecTime #
# | 1 | InfoPipe Plugin version | 8 | Time #
# | 2 | Status | 9 | Current bitrate #
# | 3 | Tunes in playlist | 10 | Samping Frequency #
# | 4 | Currently playing | 11 | Channels #
# | 5 | uSecPosition | 12 | Title #
# | 6 | Position | 13 | File #
# #
#####################################################################
weechat::register ("xmms", "1.1", "", "xmms info script (usage: /xmms)");
weechat::add_command_handler ("xmms", xmmsinfo);
sub xmmsinfo {
if (! -e "/tmp/xmms-info")
{}
else
{
open (fi, "/tmp/xmms-info");
@db2 = <fi>;
foreach $l (0 .. 14)
{
($c,$tmp) = split(": " ,$db2[$l]);
chomp($tmp);
push @db,$tmp;
}
}
if (($db[7]!=-1) && ($db[7]!=0))
{
weechat::command("/me np: $db[12]");
}
else
{
weechat::command("/me np: $db[12] ($db[13])");
}
@db = ();
@db2 = ();
close (fi);
}
# $id: xmms-weechat.pl,v 1.1 2006/05/23 00:50:10 linkz Exp $
+231
View File
@@ -0,0 +1,231 @@
#
# Copyright (c) 2006 by Eric Gach <eric.gach@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
import weechat
import os
import subprocess
import traceback
__desc__ = 'Amarok control and now playing script for Weechat.'
__version__ = '1.0.2'
__author__ = 'Eric Gach <eric.gach@gmail.com>'
# With changes by Leonid Evdokimov (weechat at darkk dot net another dot ru):
# http://darkk.net.ru/weechat/amarok.py
# v 1.0.1 - added %year%
# v 1.0.2 - fixed bug with dead zombie-childs
# fixed bug when loading second instance of the script
# added better default for dcop_user setting
dcop = {}
debug = {}
infobar = {}
output = {}
ssh = {}
class amarokException(Exception):
pass
def amarokCommand(server, args):
try:
args = args.split(' ')
if args[0] == 'infobar':
if infobar['enabled']:
infobar['enabled'] = False
weechat.set_plugin_config('infobar_enabled', '0')
weechat.remove_timer_handler('amarokInfobarUpdate')
weechat.remove_infobar(0)
weechat.prnt('Infobar disabled')
else:
infobar['enabled'] = True
weechat.set_plugin_config('infobar_enabled', '1')
amarokInfobarUpdate()
weechat.add_timer_handler(infobar['update'], 'amarokInfobarUpdate')
weechat.prnt('Infobar enabled')
return weechat.PLUGIN_RC_OK
elif args[0] == 'next':
__executeCommand('next')
weechat.prnt('Amarok: Playing next song.')
return weechat.PLUGIN_RC_OK
elif args[0] == 'np':
return amarokNowPlaying(server)
elif args[0] == 'pause':
__executeCommand('pause')
weechat.prnt('Amarok: Song paused.')
return weechat.PLUGIN_RC_OK
elif args[0] == 'play':
__executeCommand('play')
weechat.prnt('Amarok: Started playing.')
return weechat.PLUGIN_RC_OK
elif args[0] == 'prev':
__executeCommand('prev')
weechat.prnt('Amarok: Playing previous song.')
return weechat.PLUGIN_RC_OK
elif args[0] == 'stop':
__executeCommand('stop')
weechat.prnt('Amarok: Stop playing.')
return weechat.PLUGIN_RC_OK
elif args[0] == '':
return amarokDisplayHelp(server)
else:
weechat.prnt('Amarok: Unknown command %s' % (args[0]), '', server)
return weechat.PLUGIN_RC_OK
except amarokException, ex:
return weechat.PLUGIN_RC_KO
except:
file = open(debug['file'], 'w')
traceback.print_exc(None, file)
weechat.prnt('Unknown Exception encountered. Stack dumped to %s' % (debug['file']), '', server)
return weechat.PLUGIN_RC_KO
def amarokDisplayHelp(server):
weechat.prnt('%s - Version: %s' % (__desc__, __version__), '', server)
weechat.prnt('Author: %s' % (__author__), '', server)
weechat.prnt('', '', server)
weechat.prnt('Commands Available', '', server)
weechat.prnt(' /amarok next - Move to the next song in the playlist.', '', server)
weechat.prnt(' /amarok np - Display currently playing song.', '', server)
weechat.prnt(' /amarok play - Start playing music.', '', server)
weechat.prnt(' /amarok pause - Toggle between pause/playing.', '', server)
weechat.prnt(' /amarok prev - Move to the previous song in the playlist.', '', server)
weechat.prnt(' /amarok stop - Stop playing music.', '', server)
weechat.prnt(' /amarok infobar - Toggle the infobar display.', '', server)
weechat.prnt('', '', server)
weechat.prnt('Formatting', '', server)
weechat.prnt(' %artist% - Replaced with the song artist.', '', server)
weechat.prnt(' %title% - Replaced with the song title.', '', server)
weechat.prnt(' %album% - Replaced with the song album.', '', server)
weechat.prnt(' %year% - Replaced with the song year tag.', '', server)
weechat.prnt(' %cTime% - Replaced with how long the song has been playing.', '', server)
weechat.prnt(' %tTime% - Replaced with the length of the song.', '', server)
weechat.prnt(' %bitrate% - Replaced with the bitrate of the song.', '', server)
return weechat.PLUGIN_RC_OK
def amarokInfobarUpdate():
__loadSettings()
if infobar['enabled'] == False:
return weechat.PLUGIN_RC_OK
isPlaying = __executeCommands((__dcopCommand('isPlaying'),))
if isPlaying.strip() == 'false':
weechat.print_infobar(infobar['update'], 'Amarok is not currently playing')
return weechat.PLUGIN_RC_OK
else:
song = __getSongInfo()
format = __formatNP(infobar['format'], song)
weechat.print_infobar(infobar['update'], format)
return weechat.PLUGIN_RC_OK
def amarokNowPlaying(server):
__loadSettings()
isPlaying = __executeCommands((__dcopCommand('isPlaying'),))
if isPlaying.strip() == 'false':
weechat.prnt('Amarok is not playing.', '', server)
return weechat.PLUGIN_RC_KO
else:
song = __getSongInfo()
format = __formatNP(output['format'], song)
weechat.command(format)
return weechat.PLUGIN_RC_OK
def amarokUnload():
"""Unload the plugin from weechat"""
if infobar['enabled']:
weechat.remove_infobar(0)
weechat.remove_timer_handler('amarokInfobarUpdate')
return weechat.PLUGIN_RC_OK
def __formatNP(template, song):
np = template.replace('%artist%', song['artist'])
np = np.replace('%title%', song['title'])
np = np.replace('%album%', song['album'])
np = np.replace('%cTime%', song['cTime'])
np = np.replace('%tTime%', song['tTime'])
np = np.replace('%bitrate%', song['bitrate'])
np = np.replace('%year%', song['year'])
return np
def __dcopCommand(cmd):
if dcop['user'] == ':':
return 'dcop amarok player %s' % (cmd)
else:
return 'dcop --user %s amarok player %s' % (dcop['user'], cmd)
def __executeCommands(cmds):
from subprocess import PIPE
cmds = " && ".join(cmds)
if ssh['enabled']:
cmds = 'ssh -p %d %s@%s "%s"' % (ssh['port'], ssh['user'], ssh['host'], cmds)
proc = subprocess.Popen(cmds, shell = True, stderr = PIPE, stdout = PIPE, close_fds = True)
error = proc.stderr.read()
if error != '':
weechat.prnt(error)
output = proc.stdout.read()
proc.wait()
return output
def __getSongInfo():
"""Get the song information from amarok"""
song = {}
songs = __executeCommands(
(
__dcopCommand('artist'),
__dcopCommand('title'),
__dcopCommand('album'),
__dcopCommand('currentTime'),
__dcopCommand('totalTime'),
__dcopCommand('bitrate'),
__dcopCommand('year')
)
)
song['artist'], song['title'], song['album'], song['cTime'], song['tTime'], song['bitrate'], song['year'], empty = songs.split("\n")
return song
def __loadSettings():
dcop['user'] = __loadSetting('dcop_user', ':')
debug['file'] = os.path.expanduser(__loadSetting('debug_file', '~/amarok_debug.txt'))
infobar['enabled'] = __loadSetting('infobar_enabled', '0', 'bool')
infobar['format'] = __loadSetting('infobar_format', 'Now Playing: %title% by %artist%')
infobar['update'] = __loadSetting('infobar_update', '10', 'int')
output['format'] = __loadSetting('output_format', '/me is listening to %C04%title%%C by %C03%artist%%C from %C12%album%%C [%cTime% of %tTime% @ %bitrate%kbps]')
ssh['enabled'] = __loadSetting('ssh_enabled', '0', 'bool')
ssh['host'] = __loadSetting('ssh_host', 'localhost')
ssh['port'] = __loadSetting('ssh_port', '22', 'int')
ssh['user'] = __loadSetting('ssh_user', 'user')
def __loadSetting(setting, default=None, type=None):
value = weechat.get_plugin_config(setting)
if value == '' and default != None:
weechat.set_plugin_config(setting, default)
value = default
if type == 'int' or type == 'bool':
value = int(value)
if type == 'bool':
value = bool(value)
return value
if weechat.register('amarok', __version__, 'amarokUnload', __desc__):
__loadSettings()
if infobar['enabled']:
amarokInfobarUpdate()
weechat.add_timer_handler(infobar['update'], 'amarokInfobarUpdate')
weechat.add_command_handler('amarok', 'amarokCommand', 'Manage amarok or display now playing information.', 'next|np|play|pause|prev|stop|infobar')
+86
View File
@@ -0,0 +1,86 @@
# --------------------------------------------------------------------
#
# Copyright (c) 2006 by Jean-Marie Favreau <jm@jmtrivial.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# --------------------------------------------------------------------
# This script automatically op and voice some nicks
# --------------------------------------------------------------------
#
# 2006-12-14, FlashCode <flashcode@flashtux.org>:
# fixed message split (for servers like quakenet with no ":" after "JOIN")
import weechat
import re
# regexp list for /op
U_OP = { "server": { "#chan" : [ "nick1@domain.com", "nick2.*@.*"] } }
# chan list where all nicks are /voice
C_VOICE = { "server": [ "#chan1", "#chan2" ] }
def auto_op(server, args):
'''Handle connect'''
result = weechat.PLUGIN_RC_OK
# first, watch if need /op
if U_OP.has_key(server):
chans = U_OP[server]
try:
# find nick and channel
user, channel = args.split(" JOIN ")
nick, next = user.split("!")
if channel.startswith(':'):
channel = channel[1:]
except ValueError:
result = weechat.PLUGIN_RC_KO
else:
if chans.has_key(channel):
users = chans[channel]
for userExpr in users:
if re.search("^n=" + userExpr, next):
weechat.command("/op "+nick, channel, server) # op nick
weechat.prnt("[op] "+nick+" on "+channel+"("+server+")") # print
return result # exit
# then watch if need /voice
if C_VOICE.has_key(server):
chans = C_VOICE[server]
try:
# find nick and channel
user, channel = args.split(" JOIN ")
nick, next = user.split("!")
if channel.startswith(':'):
channel = channel[1:]
except ValueError:
result = weechat.PLUGIN_RC_KO
else:
if channel in chans:
weechat.command("/voice "+nick, channel, server) # voice nick
weechat.prnt("[voice] "+nick+" on "+channel+"("+server+")") # print info
return result # exit
# otherwise: nothing to do
return result
# register and add function to weechat
weechat.register("auto_op", "0.3", "", "auto op plug-in for weechat")
weechat.add_message_handler ("join", "auto_op")
+245
View File
@@ -0,0 +1,245 @@
# -*- coding: iso-8859-1 -*-
# =============================================================================
# autoauth.py (c) October 2005 by kolter <kolter+dev@openics.org>
# Python script for WeeChat.
#
# Licence : GPL v2
# Description : Permits to auto-authenticate when changing nick
# Syntax : try /auth help to get help on this script
#
#
# ### changelog ###
#
# * version 0.5
# - fix bug when script script is run for first time
# - rewrite half script to improve access to settings
# - add a feature to permit to run command(s) when identified
# - add completion for commands
# * version 0.4
# - use set_plugin_config and get_plugin_config to read ans save settings
# - remove deprecated import
# * version 0.3
# - add return codes
# * version 0.2
# - correct weechatdir with weechat_dir while using weechat.get_info
# * version 0.1 :
# - first release
#
# =============================================================================
VERSION="0.5"
NAME="autoauth"
import weechat
weechat.register (NAME, VERSION, "", "Auto authentification while changing nick")
weechat.add_message_handler("NOTICE", "auth_notice_check")
weechat.add_command_handler(
"auth",
"auth_command",
"Auto authentification while changing nick",
"{ add $nick $pass [$server=current] | del $nick [$server=current] | list | cmd [$command [$server=current]] }",
" add : add authorization for $nick with password $pass for $server\n"
" del : del authorization for $nick for $server\n"
" list : list all authorization settings\n"
" cmd : command(s) (separated by '|') to run when identified for $server\n"
" %n will be replaced by current nick in each command",
"add|del|list|cmd %- %S %S"
)
def auth_cmdlist():
cmd = ''
cmds = weechat.get_plugin_config("commands")
if cmds == '':
weechat.prnt("[%s] commands (empty)" % (NAME))
else:
weechat.prnt("[%s] commands (list)" % (NAME))
for c in cmds.split("####"):
weechat.prnt(" --> %s : '%s' " % (c.split(":::")[0], c.split(":::")[1]))
def auth_cmdget(server):
cmd = ''
cmds = weechat.get_plugin_config("commands")
if cmds != '':
for c in cmds.split("####"):
if c.find(":::") != -1:
if c.split(":::")[0] == server:
cmd = ":::".join(c.split(":::")[1:])
break
return cmd
def auth_cmdset(server, command):
cmds = weechat.get_plugin_config("commands")
found = False
conf = []
if cmds != '':
for c in cmds.split("####"):
if c.find(":::") != -1:
if c.split(":::")[0] == server:
found = True
conf.append("%s:::%s" % (server, command))
else:
conf.append(c)
if not found:
conf.append("%s:::%s" % (server, command))
weechat.set_plugin_config("commands", "####".join(conf))
weechat.prnt("[%s] command '%s' successfully added for server %s" % (NAME, command, server))
def auth_cmdunset(server):
cmds = weechat.get_plugin_config("commands")
found = False
conf = []
if cmds != '':
for c in cmds.split("####"):
if c.find(":::") != -1:
if c.split(":::")[0] != server:
conf.append(c)
else:
found = True
if found:
weechat.prnt("[%s] command for server '%s' successfully removed" % (NAME, server))
weechat.set_plugin_config("commands", "####".join(conf))
def auth_cmd(args, server):
if server == '':
if args == '':
auth_cmdlist()
else:
weechat.prnt("[%s] error while setting command, can't find a server" % (NAME))
else:
if args == '':
auth_cmdunset(server)
else:
auth_cmdset(server, args)
def auth_list():
data = weechat.get_plugin_config("data")
if data == "":
weechat.prnt("[%s] accounts (empty)" % (NAME))
else:
weechat.prnt("[%s] accounts (list)" % (NAME))
for e in data.split(","):
if e.find("=") == -1:
continue
(serv_nick, passwd) = e.split("=")
(server, nick) = serv_nick.split(".")
weechat.prnt(" --> %s@%s " % (nick, server))
def auth_notice_check(server, args):
if args.find("If this is your nickname, type /msg NickServ") != -1 or args.find("This nickname is registered and protected.") != -1 :
passwd = auth_get(weechat.get_info("nick"), server)
if passwd != None:
weechat.command("/quote nickserv identify %s" % (passwd), "", server)
commands = auth_cmdget(server)
if commands != '':
for c in commands.split("|"):
weechat.command(c.strip().replace("%n", weechat.get_info('nick')))
return weechat.PLUGIN_RC_OK
def auth_del(the_nick, the_server):
data = weechat.get_plugin_config("data")
found = False
conf = []
for e in data.split(","):
if e.find("=") == -1:
continue
(serv_nick, passwd) = e.split("=")
(server, nick) = serv_nick.split(".")
if the_nick == nick and the_server == server:
found = True
else:
conf.append("%s.%s=%s" % (server, nick, passwd))
if found:
weechat.set_plugin_config("data", ",".join(conf))
weechat.prnt("[%s] nick '%s@%s' successfully remove" % (NAME, the_nick, the_server))
else:
weechat.prnt("[%s] an error occured while removing nick '%s@%s' (not found)" % (NAME, the_nick, the_server))
def auth_add(the_nick, the_passwd, the_server):
data = weechat.get_plugin_config("data")
found = False
conf = []
for e in data.split(","):
if e.find("=") == -1:
continue
(serv_nick, passwd) = e.split("=")
(server, nick) = serv_nick.split(".")
if the_nick == nick and the_server == server:
passwd = the_passwd
found = True
conf.append("%s.%s=%s" % (server, nick, passwd))
if not found:
conf.append("%s.%s=%s" % (the_server, the_nick, the_passwd))
weechat.set_plugin_config("data", ",".join(conf))
weechat.prnt("[%s] nick '%s@%s' successfully added" % (NAME, the_nick, the_server))
def auth_get(the_nick, the_server):
data = weechat.get_plugin_config("data")
for e in data.split(","):
if e.find("=") == -1:
continue
(serv_nick, passwd) = e.split("=")
(server, nick) = serv_nick.split(".")
if the_nick == nick and the_server == server:
return passwd
return None
def auth_command(server, args):
list_args = args.split(" ")
#strip spaces
while '' in list_args:
list_args.remove('')
while ' ' in list_args:
list_args.remove(' ')
if len(list_args) == 0:
weechat.command("/help auth")
elif list_args[0] not in ["add", "del", "list", "cmd"]:
weechat.prnt("[%s] bad option while using /auth command, try '/help auth' for more info" % (NAME))
elif list_args[0] == "cmd":
if len(list_args[1:]) == 1 and list_args[1] in weechat.get_server_info().keys():
auth_cmd("", list_args[1])
elif len(list_args[1:]) == 1:
auth_cmd(list_args[1], weechat.get_info('server'))
elif len(list_args[1:]) >= 2:
if list_args[-1] in weechat.get_server_info().keys():
auth_cmd(" ".join(list_args[1:-1]), list_args[-1])
else:
auth_cmd(" ".join(list_args[1:]), weechat.get_info('server'))
else:
auth_cmd(" ".join(list_args[1:]), weechat.get_info(server))
elif list_args[0] == "list":
auth_list()
elif list_args[0] == "add":
if len(list_args) < 3 or (len(list_args) == 3 and weechat.get_info("server") == ''):
weechat.prnt("[%s] bad option while using /auth command, try '/help auth' for more info" % (NAME))
else:
if len(list_args) == 3:
auth_add(list_args[1], list_args[2], weechat.get_info("server"))
else:
auth_add(list_args[1], list_args[2], list_args[3])
elif list_args[0] == "del":
if len(list_args) < 2:
weechat.prnt("[%s] bad option while using /auth command, try '/help auth' for more info" % (NAME))
else:
if len(list_args) == 2:
auth_del(list_args[1], weechat.get_info("server"))
else:
auth_del(list_args[1], list_args[2])
else:
pass
return weechat.PLUGIN_RC_OK
+153
View File
@@ -0,0 +1,153 @@
# --------------------------------------------------------------------
#
# Copyright (c) 2006 by Gwenn Gueguen <weechat@grumly.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# --------------------------------------------------------------------
# This script automatically sets away after a period of inactivity
# --------------------------------------------------------------------
import weechat
"""
/autoaway [time [message]]
/autoaway whithout any parameter disables autoaway
Script config:
time:
number of minutes of inactivity after which a user will be marked as away
message:
message that will be passed to the /away command
enabled:
is autoaway enabled ?
"""
SCRIPT_NAME="autoaway"
SCRIPT_VERSION="0.2"
SCRIPT_DESC="autoaway script for weechat"
# Names of the settings
CONFIG_TIME="time"
CONFIG_MESSAGE="message"
CONFIG_ENABLED="enabled"
# Name of the command
CMD_AUTOAWAY="autoaway"
# Default settings
DEFAULT_TIME="15"
DEFAULT_MESSAGE="idle"
# Interval (in seconds) between checks
TIMER_VALUE=15
def print_settings():
weechat.prnt("AutoAway settings:")
weechat.prnt(" time: %s minute(s)" % weechat.get_plugin_config(CONFIG_TIME))
weechat.prnt(" message: %s" % weechat.get_plugin_config(CONFIG_MESSAGE))
if weechat.get_plugin_config(CONFIG_ENABLED) == "true":
weechat.prnt(" enabled")
else:
weechat.prnt(" disabled")
def autoaway(server, args):
weechat.remove_timer_handler("timer_handler")
params = args.split(None, 1)
if len(params) == 0:
weechat.set_plugin_config(CONFIG_ENABLED, "false")
else:
weechat.set_plugin_config(CONFIG_ENABLED, "true")
weechat.set_plugin_config(CONFIG_TIME, params[0])
if len(params) > 1:
weechat.set_plugin_config(CONFIG_MESSAGE, params[1])
previous_inactivity = int(weechat.get_info("inactivity"))
weechat.add_timer_handler(TIMER_VALUE, "timer_handler")
print_settings()
return weechat.PLUGIN_RC_OK
def timer_handler():
global previous_inactivity, previous_state
# Get current away status
away_flag = int(weechat.get_info("away"))
# Get number of seconds of inactivity
idle_time = int(weechat.get_info("inactivity"))
if away_flag == previous_state:
# away flag was not changed outside this script
if away_flag and idle_time < previous_inactivity:
# Inactivity was reset (or overflowed ?)
weechat.command("/away -all")
elif not away_flag and idle_time >= (60 * int(weechat.get_plugin_config(CONFIG_TIME))):
# Time to go away
weechat.command("/away -all %s" % weechat.get_plugin_config(CONFIG_MESSAGE))
previous_state = int(weechat.get_info("away"))
previous_inactivity = idle_time
return weechat.PLUGIN_RC_OK
if weechat.register(SCRIPT_NAME, SCRIPT_VERSION, "", SCRIPT_DESC):
try:
previous_state = int(weechat.get_info("away"))
except ValueError:
previous_state = 0
# Set config to default values if undefined
try:
idle_time = int(weechat.get_plugin_config(CONFIG_TIME))
except ValueError:
weechat.set_plugin_config(CONFIG_TIME, DEFAULT_TIME)
if weechat.get_plugin_config(CONFIG_MESSAGE) == None:
weechat.set_plugin_config(CONFIG_MESSAGE, DEFAULT_MESSAGE)
if weechat.get_plugin_config(CONFIG_ENABLED) == None:
weechat.set_plugin_config(CONFIG_ENABLED, "false")
# Display a summary of the settings
print_settings()
# Start the timer if necessary
if weechat.get_plugin_config(CONFIG_ENABLED) == "true":
previous_inactivity = int(weechat.get_info("inactivity"))
weechat.add_timer_handler(TIMER_VALUE, "timer_handler")
weechat.add_command_handler(CMD_AUTOAWAY, "autoaway", "Set autoaway",
"[time [message]]",
"time: number of minutes before being marked as away\n"
+ "message: away message\n"
+ "\n"
+ "whithout any argument, autoaway will be disabled\n")
+47
View File
@@ -0,0 +1,47 @@
"""
This script shows buffer list in infobar. Nothing more.
It's inspired by `awl.pl` irssi script, but is less advanced. :)
The script is in the public domain.
Leonid Evdokimov (weechat at darkk dot net dot ru)
http://darkk.net.ru/weechat/awl.py
"""
#######################################################################
import weechat
version = "0.1"
# how often to refresh infobar
timer_interval = 1
def cleanup():
weechat.remove_infobar(-1)
return weechat.PLUGIN_RC_OK
def update_channels():
the_string = [];
buffers = weechat.get_buffer_info()
if buffers != None:
for index, buffer in buffers.iteritems():
#**** info for buffer no 8 ****
# > log_filename, notify_level, server, num_displayed, type, channel
if len(buffer['channel']):
name = buffer['channel']
elif len(buffer['server']):
name = "[" + buffer['server'] + "]"
else:
name = "?"
the_string.append("%i:%s" % (index, name))
the_string = " ".join(the_string)
weechat.remove_infobar(-1)
weechat.print_infobar(0, the_string);
def on_timer():
update_channels()
return weechat.PLUGIN_RC_OK
if weechat.register("awl", version, "cleanup", "bufferlist in infobar"):
#message handlers are called __before__ buflist is changed, so we don't use them
weechat.add_timer_handler(timer_interval, "on_timer")
update_channels()
+912
View File
@@ -0,0 +1,912 @@
#!/usr/bin/env python
# Catapult v0.2 - less ordinary abuse generator
# Copyright (C) 2007 Pavel Shevchuk <stlwrt@gmail.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import weechat
import random
weechat.register("Catapult", "0.2", "", "Less ordinary abuse generator.")
weechat.add_command_handler("slap", "slapper", "Creative slapper", "<target>", "", "%n")
weechat.add_command_handler("give", "giver", "Creative giver", "<target>", "", "%n")
weechat.add_command_handler("hate", "hater", "Creative hater", "<target>", "", "%n")
weechat.add_command_handler("love", "lover", "Creative lover", "<target>", "", "%n")
weechat.add_command_handler("dance", "dancer", "Creative dancer", "<target>", "", "%n")
weechat.add_command_handler("excuse", "excuser", "BOFH excuses")
weechat.add_command_handler("fortune", "fortune", "Fortune cookies!")
weechat.add_command_handler("winjoke", "winjoke", "Windoze jokes")
weechat.add_command_handler("linjoke", "linjoke", "Linux jokes")
# slapper
def slapper(server, args):
objects = [
"a rather large squid",
"a hydraulic pump",
"a book by Stephen King",
"a 10mbit network card",
"a ladies handbag",
"some girl scouts",
"a football team",
"a bottle",
"a yellow marshmellow",
"a match",
"the queen of England",
"a taxi",
"100 feet of wire",
"a bag of Cheerios",
"a hat",
"a fist",
"the back hand",
"with the forehead",
"a computer moniter",
"a coconut",
"a microfone",
"a cellphone",
"a snowplough",
"a doggy",
"Bill Clinton",
"a stone",
"a club. With a nail in it",
"a small asteroid, rich in iron",
"a small interstellar spaceship",
"a fresh zuccini",
"a laptop",
"a big dictionary",
"a baseball bat",
"NeverNet",
"some porn",
"a mIRC script",
"a canoe",
"a tortoise",
"a horse",
"the book of Kells",
"a whale",
"a rubber dildo",
"a well groomed poodle",
"a channel operator",
"a news paper (New York Times Sunday Edition)",
"a gnarly werewolf",
"a vampire. They really suck",
"a perl script",
"a bag of doggie chow",
"a fat walrus",
"an IP adress",
"a catholic priest",
"James Dean",
"Ronald MacDonald (he *IS* good for something)",
"Autoconf version 2.13",
"a PRIVMSG",
"an email adress",
"some ANSI color codes",
"a thermonuclear weapon. Yehaw",
"the hitch hikers guide to the galaxy, revised edition",
"Nessie, the Loch Ness monster",
"a tuna. Still in the can! *BONK* That will leave a mark",
"a few fluffy pillows",
"a red chinese dragon",
"a linux-manual (signed by L. Torvalds)",
"Stage1",
"Bill Gates underpants",
"GM Abraham and the whole OW-Staff",
"Sphere 1.0",
"a Linuxkernel",
"Lenin's Collected Works",
"Stalin's Collected Works",
"a iron Tux",
"a glowing 23",
"your mum (CLEAN YOUR ROOM!)",
"a complete GNOME-Documentation",
"a Portagetree",
"thand[Z]'s transparent Tanga",
"a Kernelpanic",
"Windoze XP",
"an AK-47 (die, you imperialist dog!)",
"a bag full with Michael Jacksons droped noses",
"an NBP-Manifesto (Hail Limonew! Hail our Leader! Hail!)",
"an NBP-Flag (Lead us to freedom, Leader Limonew!)",
"Mein Kampf (Doppelausgabe, Hardcover)",
"Invader Zim's iron fist",
"some ASCII-Arts",
"The Family Learning Channel",
"GOD",
"Dorian Grey's picture",
"some unlocked Grenades *BOOM*",
"the Win2k Buglist",
"a widescreen TV (it can damage your brain!)",
"a chain saw",
"a huge tree",
"a 50'' CRT monitor",
"a warehouse (Quadratisch. Praktisch. Gut.)"
]
if args <> "":
weechat.command("/me slaps %s with %s." % (args, random.choice(objects)))
return weechat.PLUGIN_RC_OK
else:
weechat.prnt("You must specify target")
return weechat.PLUGIN_RC_KO
# giver
def giver(server, args):
objects = [
"a binary four",
"a nice cup of SHUT THE FUCK UP",
"an asskick",
"a sign: 'Please kill yourself'",
"a sign: 'Please go home now'",
"an unlocked Grenade *tick tick BOOM*",
"a gun - do it for mankind!"
]
if args <> "":
weechat.command("/me gives %s %s." % (args, random.choice(objects)))
return weechat.PLUGIN_RC_OK
else:
weechat.prnt("You must specify target")
return weechat.PLUGIN_RC_KO
# hater
def hater(server, args):
objects = [
"so much, that he spits hellfire",
"so much, that he want's to shoot someone",
"SOOOO MUUUUCH!!!"
]
if args <> "":
weechat.command("/me hates %s %s." % (args, random.choice(objects)))
return weechat.PLUGIN_RC_OK
else:
weechat.prnt("You must specify target")
return weechat.PLUGIN_RC_KO
# lover
def lover(server, args):
actions = [
"a *mwah*",
"a wet kiss",
"a tight and long hug",
"an ass-squeeze",
"a tight hug",
"a wet kiss",
"a nice, tight hug",
"a kiss on the cheek",
"a wet, french kiss",
"a kiss",
"a hug",
"sex",
"sweet romance",
"some groping",
"bed actions",
"oral sex",
"a porn-tape",
"anal love",
]
if args <> "":
weechat.command("/me cheers %s with %s.." % (args, random.choice(actions)))
return weechat.PLUGIN_RC_OK
else:
weechat.prnt("You must specify target")
return weechat.PLUGIN_RC_KO
# dancer
def dancer(server, args):
objects = [
"used condoms",
"condoms",
"used tampons",
"tampons",
"roses",
"rosebuds",
"rice",
"uncooked rice",
"bananas",
"little pieces of paper with the text *YAY!* on",
"little pieces of paper with the text *w00t!* on",
"little pieces of paper with the text *WOOHOO!* on",
"little pieces of paper with the text *Kiss my cheek!* on",
"coconuts with faces on",
"little pieces of paper with the text *LOVE ROCKS!* on",
"little pieces of paper with the text *LETS HAVE SEX!* on",
"little pieces of paper with the text *GOD BLESS AMERICA!* on",
"balloons with faces on",
"balloons",
"chocolate cakes",
"english teachers",
"pr0n magazines",
"vietnamese kids",
"snowballs",
"rocks",
"Michael Jackson (naked)",
"unlocked Grenades *BOOM*",
"Nine Inch Nails",
"Bodyparts (bloody, wet & sexy)",
]
if args <> "":
weechat.command("/me dances around %s throwing %s.." % (args, random.choice(objects)))
return weechat.PLUGIN_RC_OK
else:
weechat.prnt("You must specify target")
return weechat.PLUGIN_RC_KO
# BOFH excuser
def excuser(server, args):
excuses = [
"clock speed",
"solar flares",
"electromagnetic radiation from satellite debris",
"static from nylon underwear",
"static from plastic slide rules",
"global warming",
"poor power conditioning",
"static buildup",
"doppler effect",
"hardware stress fractures",
"magnetic interference from money/credit cards",
"dry joints on cable plug",
"we're waiting for [the phone company] to fix that line",
"sounds like a Windows problem, try calling Microsoft support",
"temporary routing anomaly",
"somebody was calculating pi on the server",
"fat electrons in the lines",
"excess surge protection",
"floating point processor overflow",
"divide-by-zero error",
"POSIX compliance problem",
"monitor resolution too high",
"improperly oriented keyboard",
"network packets travelling uphill (use a carrier pigeon)",
"Decreasing electron flux",
"first Saturday after first full moon in Winter",
"radiosity depletion",
"CPU radiator broken",
"It works the way the Wang did, what's the problem",
"positron router malfunction",
"cellular telephone interference",
"techtonic stress",
"piezo-electric interference",
"(l)user error",
"working as designed",
"dynamic software linking table corrupted",
"heavy gravity fluctuation, move computer to floor rapidly",
"secretary plugged hairdryer into UPS",
"terrorist activities",
"not enough memory, go get system upgrade",
"interrupt configuration error",
"spaghetti cable cause packet failure",
"boss forgot system password",
"bank holiday - system operating credits not recharged",
"virus attack, luser responsible",
"waste water tank overflowed onto computer",
"Complete Transient Lockout",
"bad ether in the cables",
"Bogon emissions",
"Change in Earth's rotational speed",
"Cosmic ray particles crashed through the hard disk platter",
"Smell from unhygienic janitorial staff wrecked the tape heads",
"Little hamster in running wheel had coronary; waiting for replacement to be Fedexed from Wyoming",
"Evil dogs hypnotised the night shift",
"Plumber mistook routing panel for decorative wall fixture",
"Electricians made popcorn in the power supply",
"Groundskeepers stole the root password",
"high pressure system failure",
"failed trials, system needs redesigned",
"system has been recalled",
"not approved by the FCC",
"need to wrap system in aluminum foil to fix problem",
"not properly grounded, please bury computer",
"CPU needs recalibration",
"system needs to be rebooted",
"bit bucket overflow",
"descramble code needed from software company",
"only available on a need to know basis",
"knot in cables caused data stream to become twisted and kinked",
"nesting roaches shorted out the ether cable",
"The file system is full of it",
"Satan did it",
"Daemons did it",
"You're out of memory",
"There isn't any problem",
"Unoptimized hard drive",
"Typo in the code",
"Yes, yes, its called a design limitation",
"Look, buddy: Windows 3.1 IS A General Protection Fault.",
"That's a great computer you have there; have you considered how it would work as a BSD machine?",
"Please excuse me, I have to circuit an AC line through my head to get this database working.",
"Yeah, yo mama dresses you funny and you need a mouse to delete files.",
"Support staff hung over, send aspirin and come back LATER.",
"Someone is standing on the ethernet cable, causing a kink in the cable",
"Windows 95 undocumented \"feature\"",
"Runt packets",
"Password is too complex to decrypt",
"Boss' kid fucked up the machine",
"Electromagnetic energy loss",
"Budget cuts",
"Mouse chewed through power cable",
"Stale file handle (next time use Tupperware(tm)!)",
"Feature not yet implemented",
"Internet outage",
"Pentium FDIV bug",
"Vendor no longer supports the product",
"Small animal kamikaze attack on power supplies",
"The vendor put the bug there.",
"SIMM crosstalk.",
"IRQ dropout",
"Collapsed Backbone",
"Power company testing new voltage spike (creation) equipment",
"operators on strike due to broken coffee machine",
"backup tape overwritten with copy of system manager's favourite CD",
"UPS interrupted the server's power",
"The electrician didn't know what the yellow cable was so he yanked the ethernet out.",
"The keyboard isn't plugged in",
"The air conditioning water supply pipe ruptured over the machine room",
"The electricity substation in the car park blew up.",
"The rolling stones concert down the road caused a brown out",
"The salesman drove over the CPU board.",
"The monitor is plugged into the serial port",
"Root nameservers are out of sync",
"electro-magnetic pulses from French above ground nuke testing.",
"your keyboard's space bar is generating spurious keycodes.",
"the real ttys became pseudo ttys and vice-versa.",
"the printer thinks its a router.",
"the router thinks its a printer.",
"evil hackers from Serbia.",
"we just switched to FDDI.",
"halon system went off and killed the operators.",
"because Bill Gates is a Jehovah's witness and so nothing can work on St. Swithin's day.",
"user to computer ratio too high.",
"user to computer ration too low.",
"we just switched to Sprint.",
"it has Intel Inside",
"Sticky bits on disk.",
"Power Company having EMP problems with their reactor",
"The ring needs another token",
"new management",
"telnet: Unable to connect to remote host: Connection refused",
"SCSI Chain overterminated",
"It's not plugged in.",
"because of network lag due to too many people playing deathmatch",
"You put the disk in upside down.",
"Daemons loose in system.",
"User was distributing pornography on server; system seized by FBI.",
"BNC (brain not connected)",
"UBNC (user brain not connected)",
"LBNC (luser brain not connected)",
"disks spinning backwards - toggle the hemisphere jumper.",
"new guy cross-connected phone lines with ac power bus.",
"had to use hammer to free stuck disk drive heads.",
"Too few computrons available.",
"Flat tire on station wagon with tapes. (\"Never underestimate the bandwidth of a station wagon full of tapes hurling down the highway\" Andrew S. Tannenbaum) ",
"Communications satellite used by the military for star wars.",
"Party-bug in the Aloha protocol.",
"Insert coin for new game",
"Dew on the telephone lines.",
"Arcserve crashed the server again.",
"Some one needed the powerstrip, so they pulled the switch plug.",
"My pony-tail hit the on/off switch on the power strip.",
"Big to little endian conversion error",
"You can tune a file system, but you can't tune a fish (from most tunefs man pages)",
"Dumb terminal",
"Zombie processes haunting the computer",
"Incorrect time synchronization",
"Defunct processes",
"Stubborn processes",
"non-redundant fan failure ",
"monitor VLF leakage",
"bugs in the RAID",
"no \"any\" key on keyboard",
"root rot",
"Backbone Scoliosis",
"/pub/lunch",
"excessive collisions & not enough packet ambulances",
"le0: no carrier: transceiver cable problem?",
"broadcast packets on wrong frequency",
"popper unable to process jumbo kernel",
"NOTICE: alloc: /dev/null: filesystem full",
"pseudo-user on a pseudo-terminal",
"Recursive traversal of loopback mount points",
"Backbone adjustment",
"OS swapped to disk",
"vapors from evaporating sticky-note adhesives",
"sticktion",
"short leg on process table",
"multicasts on broken packets",
"ether leak",
"Atilla the Hub",
"endothermal recalibration",
"filesystem not big enough for Jumbo Kernel Patch",
"loop found in loop in redundant loopback",
"system consumed all the paper for paging",
"permission denied",
"Reformatting Page. Wait...",
"..disk or the processor is on fire.",
"SCSI's too wide.",
"Proprietary Information.",
"Just type 'mv * /dev/null'.",
"runaway cat on system.",
"Did you pay the new Support Fee?",
"We only support a 1200 bps connection.",
"We only support a 28000 bps connection.",
"Me no internet, only janitor, me just wax floors.",
"I'm sorry a pentium won't do, you need an SGI to connect with us.",
"Post-it Note Sludge leaked into the monitor.",
"the curls in your keyboard cord are losing electricity.",
"The monitor needs another box of pixels.",
"RPC_PMAP_FAILURE",
"kernel panic: write-only-memory (/dev/wom0) capacity exceeded.",
"Write-only-memory subsystem too slow for this machine. Contact your local dealer.",
"Just pick up the phone and give modem connect sounds. \"Well you said we should get more lines so we don't have voice lines.\"",
"Quantum dynamics are affecting the transistors",
"Police are examining all internet packets in the search for a narco-net-trafficker",
"We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us.",
"Your mail is being routed through Germany ... and they're censoring us.",
"Only people with names beginning with 'A' are getting mail this week (a la Microsoft)",
"We didn't pay the Internet bill and it's been cut off.",
"Lightning strikes.",
"Of course it doesn't work. We've performed a software upgrade.",
"Change your language to Finnish.",
"Fluorescent lights are generating negative ions. If turning them off doesn't work, take them out and put tin foil on the ends.",
"High nuclear activity in your area.",
"What office are you in? Oh, that one. Did you know that your building was built over the universities first nuclear research site? And wow, aren't you the lucky one, your office is right over where the core is buried!",
"The MGs ran out of gas.",
"The UPS doesn't have a battery backup.",
"Recursivity. Call back if it happens again.",
"Someone thought The Big Red Button was a light switch.",
"The mainframe needs to rest. It's getting old, you know.",
"I'm not sure. Try calling the Internet's head office -- it's in the book.",
"The lines are all busy (busied out, that is -- why let them in to begin with?).",
"Jan 9 16:41:27 huber su: 'su root' succeeded for .... on /dev/pts/1",
"It's those computer people in X {city of world}. They keep stuffing things up.",
"A star wars satellite accidently blew up the WAN.",
"Fatal error right in front of screen",
"That function is not currently supported, but Bill Gates assures us it will be featured in the next upgrade.",
"wrong polarity of neutron flow",
"Lusers learning curve appears to be fractal",
"We had to turn off that service to comply with the CDA Bill.",
"Ionization from the air-conditioning",
"TCP/IP UDP alarm threshold is set too low.",
"Someone is broadcasting pygmy packets and the router doesn't know how to deal with them.",
"The new frame relay network hasn't bedded down the software loop transmitter yet. ",
"Fanout dropping voltage too much, try cutting some of those little traces",
"Plate voltage too low on demodulator tube",
"You did wha... oh _dear_....",
"CPU needs bearings repacked",
"Too many little pins on CPU confusing it, bend back and forth until 10-20% are neatly removed. Do _not_ leave metal bits visible!",
"_Rosin_ core solder? But...",
"Software uses US measurements, but the OS is in metric...",
"The computer fleetly, mouse and all.",
"Your cat tried to eat the mouse.",
"The Borg tried to assimilate your system. Resistance is futile.",
"It must have been the lightning storm we had (yesterday) (last week) (last month)",
"Due to Federal Budget problems we have been forced to cut back on the number of users able to access the system at one time. (namely none allowed....)",
"Too much radiation coming from the soil.",
"Unfortunately we have run out of bits/bytes/whatever. Don't worry, the next supply will be coming next week.",
"Program load too heavy for processor to lift.",
"Processes running slowly due to weak power supply",
"Our ISP is having {switching,routing,SMDS,frame relay} problems",
"We've run out of licenses",
"Interference from lunar radiation",
"Standing room only on the bus.",
"You need to install an RTFM interface.",
"That would be because the software doesn't work.",
"That's easy to fix, but I can't be bothered.",
"Someone's tie is caught in the printer, and if anything else gets printed, he'll be in it too.",
"We're upgrading /dev/null",
"The Usenet news is out of date",
"Our POP server was kidnapped by a weasel.",
"It's stuck in the Web.",
"Your modem doesn't speak English.",
"The mouse escaped.",
"All of the packets are empty.",
"The UPS is on strike.",
"Neutrino overload on the nameserver",
"Melting hard drives",
"Someone has messed up the kernel pointers",
"The kernel license has expired",
"Netscape has crashed",
"The cord jumped over and hit the power switch.",
"It was OK before you touched it.",
"Bit rot",
"U.S. Postal Service",
"Your Flux Capacitor has gone bad.",
"The Dilithium Crystals need to be rotated.",
"The static electricity routing is acting up...",
"Traceroute says that there is a routing problem in the backbone. It's not our problem.",
"The co-locator cannot verify the frame-relay gateway to the ISDN server.",
"High altitude condensation from U.S.A.F prototype aircraft has contaminated the primary subnet mask. Turn off your computer for 9 days to avoid damaging it.",
"Lawn mower blade in your fan need sharpening",
"Electrons on a bender",
"Telecommunications is upgrading. ",
"Telecommunications is downgrading.",
"Telecommunications is downshifting.",
"Hard drive sleeping. Let it wake up on it's own...",
"Interference between the keyboard and the chair.",
"The CPU has shifted, and become decentralized.",
"Due to the CDA, we no longer have a root account.",
"We ran out of dial tone and we're and waiting for the phone company to deliver another bottle.",
"You must've hit the wrong any key.",
"PCMCIA slave driver",
"The Token fell out of the ring. Call us when you find it.",
"The hardware bus needs a new token.",
"Too many interrupts",
"Not enough interrupts",
"The data on your hard drive is out of balance.",
"Digital Manipulator exceeding velocity parameters",
"appears to be a Slow/Narrow SCSI-0 Interface problem",
"microelectronic Riemannian curved-space fault in write-only file system",
"fractal radiation jamming the backbone",
"routing problems on the neural net",
"IRQ-problems with the Un-Interruptible-Power-Supply",
"CPU-angle has to be adjusted because of vibrations coming from the nearby road",
"emissions from GSM-phones",
"CD-ROM server needs recalibration",
"firewall needs cooling",
"asynchronous inode failure",
"transient bus protocol violation",
"incompatible bit-registration operators",
"your process is not ISO 9000 compliant",
"You need to upgrade your VESA local bus to a MasterCard local bus.",
"The recent proliferation of Nuclear Testing",
"Elves on strike. (Why do they call EMAG Elf Magic)",
"Internet exceeded Luser level, please wait until a luser logs off before attempting to log back on.",
"Your EMAIL is now being delivered by the USPS.",
"Your computer hasn't been returning all the bits it gets from the Internet.",
"You've been infected by the Telescoping Hubble virus.",
"Scheduled global CPU outage",
"Your Pentium has a heating problem - try cooling it with ice cold water.(Do not turn off your computer, you do not want to cool down the Pentium Chip while he isn't working, do you?)",
"Your processor has processed too many instructions. Turn it off immediately, do not type any commands!!",
"Your packets were eaten by the terminator",
"Your processor does not develop enough heat.",
"We need a licensed electrician to replace the light bulbs in the computer room.",
"The POP server is out of Coke",
"Fiber optics caused gas main leak",
"Server depressed, needs Prozac",
"quantum decoherence",
"those damn raccoons!",
"suboptimal routing experience",
"A plumber is needed, the network drain is clogged",
"50% of the manual is in .pdf readme files",
"the AA battery in the wallclock sends magnetic interference",
"the xy axis in the trackball is coordinated with the summer solstice",
"the butane lighter causes the pincushioning",
"old inkjet cartridges emanate barium-based fumes",
"manager in the cable duct",
"We'll fix that in the next (upgrade, update, patch release, service pack).",
"HTTPD Error 666 : BOFH was here",
"HTTPD Error 4004 : very old Intel cpu - insufficient processing power",
"The ATM board has run out of 10 pound notes. We are having a whip round to refill it, care to contribute ?",
"Network failure - call NBC",
"Having to manually track the satellite.",
"Your/our computer(s) had suffered a memory leak, and we are waiting for them to be topped up.",
"The rubber band broke",
"We're on Token Ring, and it looks like the token got loose.",
"Stray Alpha Particles from memory packaging caused Hard Memory Error on Server.",
"paradigm shift...without a clutch",
"PEBKAC (Problem Exists Between Keyboard And Chair)",
"The cables are not the same length.",
"Second-system effect.",
"Chewing gum on /dev/sd3c",
"Boredom in the Kernel.",
"the daemons! the daemons! the terrible daemons!",
"I'd love to help you -- it's just that the Boss won't let me near the computer. ",
"struck by the Good Times virus",
"YOU HAVE AN I/O ERROR -> Incompetent Operator error",
"Your parity check is overdrawn and you're out of cache.",
"Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.",
"Plasma conduit breach",
"Out of cards on drive D:",
"Sand fleas eating the Internet cables",
"parallel processors running perpendicular today",
"ATM cell has no roaming feature turned on, notebooks can't connect",
"Webmasters kidnapped by evil cult.",
"Failure to adjust for daylight savings time.",
"Virus transmitted from computer to sysadmins.",
"Virus due to computers having unsafe sex.",
"Incorrectly configured static routes on the corerouters.",
"Forced to support NT servers; sysadmins quit.",
"Suspicious pointer corrupted virtual machine",
"It's the InterNIC's fault.",
"Root name servers corrupted.",
"Budget cuts forced us to sell all the power cords for the servers.",
"Someone hooked the twisted pair wires into the answering machine.",
"Operators killed by year 2000 bug bite.",
"We've picked COBOL as the language of choice.",
"Operators killed when huge stack of backup tapes fell over.",
"Robotic tape changer mistook operator's tie for a backup tape.",
"Someone was smoking in the computer room and set off the halon systems.",
"Your processor has taken a ride to Heaven's Gate on the UFO behind Hale-Bopp's comet.",
"it's an ID-10-T error",
"Dyslexics retyping hosts file on servers",
"The Internet is being scanned for viruses.",
"Your computer's union contract is set to expire at midnight.",
"Bad user karma.",
"/dev/clue was linked to /dev/null",
"Increased sunspot activity.",
"We already sent around a notice about that.",
"It's union rules. There's nothing we can do about it. Sorry.",
"Interference from the Van Allen Belt.",
"Jupiter is aligned with Mars.",
"Redundant ACLs. ",
"Mail server hit by UniSpammer.",
"T-1's congested due to porn traffic to the news server.",
"Data for intranet got routed through the extranet and landed on the internet.",
"We are a 100% Microsoft Shop.",
"We are Microsoft. What you are experiencing is not a problem; it is an undocumented feature.",
"Sales staff sold a product we don't offer.",
"Secretary sent chain letter to all 5000 employees.",
"Sysadmin didn't hear pager go off due to loud music from bar-room speakers.",
"Sysadmin accidentally destroyed pager with a large hammer.",
"Sysadmins unavailable because they are in a meeting talking about why they are unavailable so much.",
"Bad cafeteria food landed all the sysadmins in the hospital.",
"Route flapping at the NAP.",
"Computers under water due to SYN flooding.",
"The vulcan-death-grip ping has been applied.",
"Electrical conduits in machine room are melting.",
"Traffic jam on the Information Superhighway.",
"Radial Telemetry Infiltration",
"Cow-tippers tipped a cow onto the server.",
"tachyon emissions overloading the system",
"Maintenance window broken",
"We're out of slots on the server",
"Computer room being moved. Our systems are down for the weekend.",
"Sysadmins busy fighting SPAM.",
"Repeated reboots of the system failed to solve problem",
"Feature was not beta tested",
"Domain controller not responding",
"Someone else stole your IP address, call the Internet detectives!",
"It's not RFC-822 compliant.",
"operation failed because: there is no message for this error (#1014)",
"stop bit received",
"internet is needed to catch the etherbunny",
"network down, IP packets delivered via UPS",
"Firmware update in the coffee machine",
"Temporal anomaly",
"Mouse has out-of-cheese-error",
"Borg implants are failing",
"Borg nanites have infested the server",
"error: one bad user found in front of screen",
"Please state the nature of the technical emergency",
"Internet shut down due to maintenance",
"Daemon escaped from pentagram",
"crop circles in the corn shell",
"sticky bit has come loose",
"Hot Java has gone cold",
"Cache miss - please take better aim next time",
"Hash table has woodworm",
"Trojan horse ran out of hay",
"Zombie processes detected, machine is haunted.",
"overflow error in /dev/null",
"Browser's cookie is corrupted -- someone's been nibbling on it.",
"Mailer-daemon is busy burning your message in hell.",
"According to Microsoft, it's by design",
"vi needs to be upgraded to vii",
"greenpeace free'd the mallocs",
"Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)",
"astropneumatic oscillations in the water-cooling",
"Somebody ran the operating system through a spelling checker.",
"Rhythmic variations in the voltage reaching the power supply.",
"Keyboard Actuator Failure. Order and Replace.",
"Packet held up at customs.",
"Propagation delay.",
"High line impedance.",
"Someone set us up the bomb.",
"Power surges on the Underground."
]
weechat.command(random.choice(excuses))
return weechat.PLUGIN_RC_OK
# fortune cookies
def fortune(server, args):
fortunes = [
"There are three kinds of people: men, women, and unix.",
"BOFH Excuse #118: the router thinks its a printer.",
"CHUBBY CHECKER just had a CHICKEN SANDWICH in downtown DULUTH!",
"Think big. Pollute the Mississippi.",
"An optimist is a man who looks forward to marriage. A pessimist is a married optimist.",
"There are never any bugs you haven't found yet.",
"It don't mean a THING if you ain't got that SWING!!",
"Atomic batteries to power, turbines to speed. -- Robin, The Boy Wonder",
"Two wrongs don't make a right, but three lefts do.",
"A log may float in a river, but that does not make it a crocodile.",
"Art is Nature speeded up and God slowed down. -- Chazal",
"Texas law forbids anyone to have a pair of pliers in his possession.",
"UFOs are for real: the Air Force doesn't exist.",
"Expansion means complexity; and complexity decay.",
"I came, I saw, I deleted all your files.",
"The Magic of Windows: Turns a 486 back into a PC/XT.",
"Our vision is to speed up time, eventually eliminating it. -- Alex Schure",
"Breaking Windows isn't just for kids anymore...",
"Neckties strangle clear thinking. -- Lin Yutang",
"I'm prepared for all emergencies but totally unprepared for everyday life.",
"Yow! I just went below the poverty line!",
"Break into jail and claim police brutality.",
"BOFH Excuse #290: The CPU has shifted, and become decentralized.",
"Did you hear about the model who sat on a broken bottle and cut a nice figure?",
"We have a equal opportunity Calculus class -- it's fully integrated.",
"BOFH Excuse #170: popper unable to process jumbo kernel",
"It's later than you think.",
"My Aunt MAUREEN was a military advisor to IKE & TINA TURNER!!",
"Everyone hates me because I'm paranoid.",
"When you are in it up to your ears, keep your mouth shut.",
"Theory is gray, but the golden tree of life is green. -- Goethe",
"Most Texans think Hanukkah is some sort of duck call. -- Richard Lewis",
"grasshopotomaus: A creature that can leap to tremendous heights... once.",
"It takes both a weapon, and two people, to commit a murder.",
"Facts are the enemy of truth. -- Don Quixote",
"Forty two.",
"BOFH Excuse #424: operation failed because: there is no message for this error (#1014)",
"Never leave anything to chance; make sure all your crimes are premeditated.",
"BOFH Excuse #60: system has been recalled",
"Science and religion are in full accord but science and faith are in complete discord.",
"A likely impossibility is always preferable to an unconvincing possibility. -- Aristotle",
"The angry man always thinks he can do more than he can. -- Albertano of Brescia",
"Hello again, Peabody here... -- Mister Peabody",
"Nobody ever died from oven crude poisoning.",
"Dogs crawl under fences... software crawls under Windows 95.",
"Say something you'll be sorry for, I love receiving apologies.",
"NOTICE: -- THE ELEVATORS WILL BE OUT OF ORDER TODAY -- (The nearest working elevator is in the building across the street.)",
"THERE ARE PLENTY OF BUSINESSES LIKE SHOW BUSINESS -- Bart Simpson on chalkboard in episode 1F19",
"Life is what happens to you while you're busy making other plans. -- John Lennon, Beautiful Boy",
"While having never invented a sin, I'm trying to perfect several.",
"Emacs, n.: A slow-moving parody of a text editor.",
" ... with liberty and justice for all ... who can afford it.",
"Princess Leia: Aren't you a little short for a stormtrooper?",
"The Official Colorado State Vegetable is now the 'state legislator'",
"Abandon the search for Truth; settle for a good fantasy.",
"There's nothing to writing. All you do is sit at a typewriter and open a vein. -- Red Smith",
"Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!",
"All hope abandon, ye who enter here! -- Dante Alighieri",
"The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.",
"Professor: 'If a dog craps anywhere in the universe, you can bet I won't be out of loop.'",
"I WILL NOT MAKE FLATUENT NOISES IN CLASS -- Bart Simpson on chalkboard in episode 7F13",
"Listen you donkey raping shit eater.",
"In specifications, Murphy's Law supersedes Ohm's.",
"One of Bender's kids: Our dad is a giant toy!",
"I am a jelly donut. I am a jelly donut.",
"We are all in the gutter, but some of us are looking at the stars. -- Oscar Wilde",
"Bender to Zoidberg: 'You're looking less nuts, crabby.'",
"Things will be bright in P.M. A cop will shine a light in your face.",
"A journey of a thousand miles begins with a cash advance.",
"Everything that can be invented has been invented. -- Charles Duell, Director of U.S. Patent Office, 1899",
"Vote anarchist.",
"paranoia, n.: A healthy understanding of the way the universe works.",
"BOFH Excuse #401: Sales staff sold a product we don't offer.",
"BOFH Excuse #200: The monitor needs another box of pixels.",
"The important thing is not to stop questioning.",
"Not all men who drink are poets. Some of us drink because we aren't poets.",
"Oh my god, dude!",
"BOFH Excuse #441: Hash table has woodworm",
"BOFH Excuse #112: The monitor is plugged into the serial port",
"There's so much to say but your eyes keep interrupting me.",
"For the next hour, WE will control all that you see and hear.",
"Reality continues to ruin my life. -- Calvin",
"The shortest distance between two points is under construction. -- Noelie Alito",
"BOFH Excuse #192: runaway cat on system.",
"My haircut is totally traditional!",
"You! What PLANET is this! -- McCoy, 'The City on the Edge of Forever', stardate 3134.0",
"BOFH Excuse #433: error: one bad user found in front of screen",
"Dyslexics have more fnu.",
"I'm not stupid, I'm not expendable, and I'M NOT GOING!",
"It's clever, but is it art?",
"His life was formal; his actions seemed ruled with a ruler.",
"Yeah. Except for being entirely different, they're pretty much the same.",
"Oh, I get it!! 'The BEACH goes on', huh, SONNY??",
"Ban the bomb. Save the world for conventional warfare.",
"Everything that you know is wrong, but you can be straightened out.",
"If I pull this SWITCH I'll be RITA HAYWORTH!! Or a SCIENTOLOGIST!",
"Tex SEX! The HOME of WHEELS! The dripping of COFFEE!! Take me to Minnesota but don't EMBARRASS me!!",
"clovek, ktory si ako prvy kupil fax musel byt strasny kokot.",
"Are you a turtle?",
"You will be the last person to buy a Chrysler.",
"If in doubt, mumble.",
"Nice guys don't finish nice.",
"You cannot use your friends and have them too.",
"Microsoft is to Software as McDonalds is to Cuisine.",
"panic: can't find /",
"I used to be an agnostic, but now I'm not so sure.",
"May your SO always know when you need a hug.",
"We are MicroSoft. You will be assimilated. Resistance is futile. (Attributed to B.G., Gill Bates)",
"Life is a whim of several billion cells to be you for a while.",
"BOFH Excuse #347: The rubber band broke",
"Death has been proven to be 99% fatal in laboratory rats.",
"There are only two kinds of tequila. Good and better.",
"C for yourself.",
"Tact, n.: The unsaid part of what you're thinking.",
"Shit Happens."
]
weechat.command(("Wanda the Fish says: %s") % random.choice(fortunes))
return weechat.PLUGIN_RC_OK
# winjoke
def winjoke(server, args):
winjokes = [
"Windows NT, from the people who invented EDLIN!",
"Windows: Microsoft's tax on computer illiterates.",
"The nice thing about Windows is - It does not just crash, it displays a dialog box and lets you press 'OK' first.",
"Why use Windows, since there is a door?",
"In a world without fences who needs Gates?",
"Another name for a Windows tutorial is crash course!",
"Failure is not an option -- it comes bundled with Windows.",
"NT... the last two letters of bowel movement",
"Some software money can't buy. For everything else there's Micros~1.",
"Sticks and Stones may break my bones but FUD will never concern me.",
"Every program expands until it can send mail. ...Except Exchange. ",
"Microsoft: 'You've got questions. We've got dancing paperclips.'",
".vbs = Virus Bearing Script?",
"Technology is positive when the creators put the interests of their users before their bottom line.",
"Have you ever noticed that at trade shows Microsoft is always the one giving away stress balls?",
"Do you remember when you only had to pay for windows when *you* broke them? (Submitted by Noel Maddy)",
"National Weather Service advice for those threatened by severe thunderstorms: 'Go inside a sturdy building and stay away from WINDOWS!' (Submitted by Ben Bullock)",
"Microsoft is to Software as McDonalds is to Cuisine.",
"Microsoft should switch to the vacuum cleaner business where people actually want products that suck. (Submitted by Bruno Bratti)",
"Everyone seems so impatient and angry these days. I think it's because so many people use Windows at work -- do you think you'd be Politeness Man after working on Windows 8 hrs. or more? (Submitted by Chip Atkinson)",
"NT 5.0 so vaporous it's in danger of being added to the periodic table as a noble gas. (Spotted in a Slashdot discussion)",
"My Beowulf cluster will beat your Windows NT network any day. (Submitted by wbogardt[at]gte.net)",
"It's no wonder they call it WinNT; WNT = VMS++; (Submitted by Chris Abbey)",
"Double your disk space - delete Windows! (Submitted by Albert Dorofeev)",
"The Edsel. New Coke. Windows 2000. All mandatory case studies for bizschool students in 2020. (From a LinuxToday post by Bear Giles)",
"I will never trust someone called GATES that sells WINDOWS. (Submitted by Federico Roman)",
"'Microsoft technology' -- isn't that an oxymoron?",
"MCSE == Mentally Challenged Slave of the Empire.",
"Windows NT -- it'll drive you buggy!",
"Where do you want to go today? Don't ask Microsoft for directions.",
"MS and Y2K: Windows 95, 98, ... and back again to 01",
"There's the light at the end of the the Windows.",
"People use dummies for crash-tests. Windows is so difficult they had to educate the dummies first -- by giving them 'Windows for Dummies' books!",
"Windows: The first user interface where you click Start to turn it off.",
"NT == No Thanks",
"With Windows Millennium, Microsoft was able to get the boot time down to 25 seconds. That's almost as short as it's uptime.",
"Windows 2000: Designed for the Internet. The Internet: Designed for UNIX.",
"MCSE = Minesweeper Consultant, Solitaire Expert",
"MCSE = Meaningless Certificate, Software Expired",
"I'm not a programmer, but I play one at Microsoft.",
"Microsoft Zen - Become one with the blue screen.",
"The next hot technology from Microsoft will be object-oriented assembly."
]
weechat.command(("Wanda the Fish says: %s") % random.choice(winjokes))
return weechat.PLUGIN_RC_OK
# linjoke
def linjoke(server, args):
linjokes = [
"Got Linux?",
"Microsoft gives you Windows... Linux gives you the whole house.",
"Linux, DOS, Windows NT -- The Good, the Bad, and the Ugly",
"Linux: the operating system with a CLUE... Command Line User Environment",
"If Bill Gates is the Devil then Linus Torvalds must be the Messiah.",
"Linux. Where do you want to go tomorrow?",
"Linux: The choice of a GNU generation",
"When you say I wrote a program that crashed Windows, people just stare at you blankly and say Hey, I got those with the system, *for free*. -- Linus Torvalds",
"We all know Linux is great...it does infinite loops in 5 seconds. -- Linus Torvalds",
"Some people have told me they dont think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. Theyd be a lot more careful about what they say if they had. -- Linus Torvalds",
"Veni, vidi, Linux!",
"Type cat vmlinuz > /dev/audio to hear the Voice of God.",
"Linux: Because a PC is a terrible thing to waste.",
"Linux: Because rebooting is for adding new hardware",
"We are Linux. Resistance is measured in Ohms.",
"Free Software: the Software by the People, of the People and for the People. Develop! Share! Enhance! and Enjoy! (Submitted by Andy Tai)",
"Get it up, keep it up... LINUX: Viagra for the PC. (Submitted by Chris Abbey)",
"Peace, Love and Compile the kernel.... (Submitted by Justin L. Herreman)",
"Free your software, and your ass will follow",
"Reset button? Which reset button? - Linux, the OS that never sleeps.",
"Linux: Where do you want to GO... Oh, Im already there!",
"Windows contains FAT. Use Linux -- you wont ever have to worry about your weight.",
"Oh My God! They Killed init! You Bastards!",
"Unix: Where /sbin/init is still Job 1."
]
weechat.command(("Wanda the Fish says: %s") % random.choice(linjokes))
return weechat.PLUGIN_RC_OK
+168
View File
@@ -0,0 +1,168 @@
#
# Copyright (c) 2006 by SpideR <spider312@free.fr> http://spiderou.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# WeeChat clone scanner
# Scans clones on a chan when you ask it to do (/clones)
# Able to scan for a nick's clones on each join, if you ask it to do (/autoclones)
import weechat
SCRIPT_NAME="clonescan"
SCRIPT_VERSION="0.1"
SCRIPT_DESC="clonescan script for weechat"
SCRIPT_DISP=SCRIPT_NAME+" v"+SCRIPT_VERSION
# Register, Handlers, config check/creation
if weechat.register(SCRIPT_NAME, SCRIPT_VERSION, "unload", SCRIPT_DESC):
weechat.add_command_handler("clones","scanchan",
"Scans clones on specified or current chan",
"[#chan]")
weechat.add_command_handler("autoclones","toggleauto",
"Manage auto clone-scanning",
"[enable|disable|show]")
weechat.add_message_handler ("join", "scanjoin")
autoscan = weechat.get_plugin_config("autoscan")
if ( ( autoscan != "true" ) and ( autoscan != "false" ) ):
weechat.set_plugin_config("autoscan","false")
weechat.prnt("Unconfigured autoscan set to 'disabled', to enable : /autoclones enable")
weechat.prnt(SCRIPT_DISP+" loaded")
else:
weechat.prnt(SCRIPT_DISP+" not loaded")
# Unload handler
def unload():
weechat.prnt("starting "+SCRIPT_DISP+" unload ...")
return 0
# Auto scan on JOIN
def scanjoin(server,args):
result = weechat.PLUGIN_RC_OK
if ( weechat.get_plugin_config("autoscan") == "true" ):
try: # Cut args because it contains nick, host and chan
nothing, user, chan = args.split(":") # :Mag!Magali@RS2I-35243B84.ipt.aol.com JOIN :#bringue
nick, next = user.split("!") # Mag!Magali@RS2I-35243B84.ipt.aol.com JOIN
userathost, nothing = next.split(" JOIN ") # Magali@RS2I-35243B84.ipt.aol.com JOIN
host = removeuser(userathost) # Magali@RS2I-35243B84.ipt.aol.com
# Problems with IPv6 hosts' ":" :
# [:higuita!n=higuita@2001:b18:400f:0:211:d8ff:fe82:b10e JOIN :#weechat]
except ValueError:
result = weechat.PLUGIN_RC_KO
weechat.prnt("Eror parsing args : ["+args+"]",server,server)
else:
clones = scannick(server,chan,nick,host) # Scan for that user's clones
if ( len(clones) > 0):
disp = "Clone sur "+chan+"@"+server+" : "+dispclones(nick,clones,host)
weechat.print_infobar(5,disp) # Display on infobar
weechat.prnt(disp) # Display on current buffer
weechat.prnt(disp,server,server) # Display on server buffer
return result
# Config auto scan
def toggleauto(server,args):
# Get current value
autoscan = weechat.get_plugin_config("autoscan")
# Testing / repairing
if ( autoscan == "true" ):
auto = True
elif ( autoscan == "false" ):
auto = False
else:
weechat.prnt("Unknown value ["+autoscan+"], disabling")
weechat.set_plugin_config("autoscan","false")
auto = False
# managing arg
if ( args == "enable" ):
if auto:
weechat.prnt("Auto clone scanning remain enabled")
else:
weechat.set_plugin_config("autoscan","true")
weechat.prnt("Auto clone scanning is now enabled")
elif ( args == "disable" ):
if auto:
weechat.set_plugin_config("autoscan","false")
weechat.prnt("Auto clone scanning is now disabled")
else:
weechat.prnt("Auto clone scanning remain disabled")
elif ( args == "break" ):
weechat.set_plugin_config("autoscan","blah")
else:
if auto:
weechat.prnt("Auto clone scanning enabled")
else:
weechat.prnt("Auto clone scanning disabled")
return weechat.PLUGIN_RC_OK
# Manual channel scan
def scanchan(server,args):
# Defining chan to scan (contained in args, current chan otherwise)
if ( args == "" ):
chan = weechat.get_info("channel",server)
else:
chan = args
# Scan
if ( chan != "" ):
nicks = weechat.get_nick_info(server,chan)
allclones = [] # List containing all detected clones, for not to re-scan them
nbclones = 0 # number of clones
if nicks != None:
if nicks != {}:
weechat.prnt("Scanning "+chan+" ...")
for nick in nicks:
if nick not in allclones:
host = removeuser(nicks[nick]["host"])
clones = scannick(server,chan,nick,host)
if ( len(clones) > 0 ):
allclones = allclones + clones
nbclones = nbclones+1
weechat.prnt(" - "+dispclones(nick,clones,host))
weechat.prnt(str(nbclones)+" clones found")
else:
weechat.prnt("Nobody on "+chan+", are you sure it's a chan and you are present on it ?")
else:
weechat.prnt("Eror reading nick list")
else:
weechat.prnt("Not on a chan")
return weechat.PLUGIN_RC_OK
# Scan of a nick
# Returns list of nick clones (not containing nick himself)
def scannick(server,chan,nick,host):
cloneof = []
compares = weechat.get_nick_info(server,chan)
if compares != None:
if compares != {}:
for compare in compares:
if ( ( nick != compare ) and ( host == removeuser(compares[compare]["host"])) ):
cloneof.append(compare)
else:
weechat.prnt("pas de pseudo")
else:
weechat.prnt("erreur de lecture des pseudos")
return cloneof
# Display of one clone line
def dispclones(nick,clones,host):
clones.append(nick)
clones.sort()
return str(clones)+" ("+host+")"
# Return host by user@host
def removeuser(userathost):
splitted = userathost.split("@")
return splitted[1]
+169
View File
@@ -0,0 +1,169 @@
"""
:Author: Henning Hasemann <hhasemann [at] web [dot] de>
:Updated: Daga <daga [at] daga [dot] dyndns [dot] org>
:What it does:
With this script you can configure weechat
to give custom responses to CTCP-Requests.
:Usage:
Load this file somehow.
You can configure replies to CTCP-requests
with the /set_ctcp - command. (examples below)
Released under GPL license.
Hope you enjoy it :-)
-- Henning aka asmanian
-- Leonid Evdokimov (weechat at darkk dot net one more dot ru)
"""
version = "0.9"
history = """
0.1 initial
0.2
- now displays a "CTCP FOOBAR received from ..."
0.3
- now /help set_ctcp is available
0.4
- corrected a few typos
- made special variables (e.g. version) easier to use
0.5
- removed debugging messages
0.6
- bugfix (sometimes /set_ctcp did not work)
0.7 (Daga)
- added multi-server support
0.8
- fixed on_msg (occasionally caused a minor fault)
0.9
- added dump_to_servchan and dump_to_current setting
"""
short_syntax = """[REQUEST ANSWER]"""
syntax = """ Examples:
/set_ctcp
show settings for common CTCP-Requests.
where "OFF" means "use weechat default behaviour.
/set_ctcp VERSION I prefer using weechat $version
Reply with a fancy message.
$version is substituted with weechats version.
Other variables are: $away, $nick and $server.
(If you find something else that could make sense
here, let me know!)
/set_ctcp HOW_ARE_YOU Good.
Set answer to a rather unusual CTCP-request.
/set_ctcp VERSION OFF
Disable special behavior when CTCP VERSION comes in.
atm this leaves an entry in plugins.rc which
can be safely removed.
"""
import weechat as wc
import re
if wc.register("ctcp", version, "", "Customize CTCP replies"):
wc.add_command_handler("set_ctcp", "set", "", short_syntax, syntax)
wc.add_message_handler("privmsg", "on_msg")
if not wc.get_plugin_config("requests"):
wc.set_plugin_config("requests", " ".join(["VERSION", "USERINFO", "FINGER", "TIME", "PING"]))
for key, default in {'dump_to_servchan': 'OFF', 'dump_to_current': 'ON'}.iteritems():
value = wc.get_plugin_config(key)
if not value in ['ON', 'OFF']:
if value:
wc.prnt("[ctcp]: invalid %s value, resetting to %s" % (key, default))
wc.set_plugin_config(key, default)
def get_answers():
# Strangely, get_plugin_config sometimes returns
# the integer 0
requests = wc.get_plugin_config("requests")
if requests:
requests = requests.split()
else:
requests = ["VERSION", "USERINFO", "FINGER", "TIME", "PING"]
d = {}
for r in requests:
d[r] = wc.get_plugin_config("CTCP_" + r)
return d
def set_answer(k, v):
wc.set_plugin_config("CTCP_" + k, v)
requests = wc.get_plugin_config("requests").split()
if k.upper() not in requests:
requests.append(k.upper())
wc.set_plugin_config("requests", " ".join(requests))
def show_syntax():
wc.prnt("usage: /set_ctcp %s" % short_syntax)
wc.prnt("(For more information type /help set_ctcp)")
def on_msg(server, args):
nothing, info, message = args.split(":", 2)
hostmask = info.split(None, 2)[0]
source = hostmask.split("!")[0]
answers = get_answers()
try:
if message.startswith("\x01") and message.endswith("\x01"):
req = message[1:-1]
ans = answers[req]
if not ans or ans == "OFF":
raise ValueError
info = {
"version": wc.get_info("version"),
"nick": wc.get_info("nick"),
"away": wc.get_info("away") and "away" or "there",
"server": server,
}
while True:
match = re.search(r'[^\\]\$([a-z]+)\b', ans) #, r'--\1--', ans)
if match is None: break
else:
l, r = match.span()
ans = ans[:l+1] + info.get(match.group(1), "$" + match.group(1)) + ans[r:]
if wc.get_plugin_config("dump_to_servchan") == 'ON':
wc.prnt("CTCP %s received from %s (on %s)" % (req, source, server), server)
if wc.get_plugin_config("dump_to_current") == 'ON':
wc.prnt("CTCP %s received from %s (on %s)" % (req, source, server))
wc.command("/quote NOTICE %s :\x01%s %s\x01" % (
source, req, ans), "", server)
return wc.PLUGIN_RC_OK_IGNORE_ALL
except Exception, e:
pass
return wc.PLUGIN_RC_OK
def set(server, args):
try:
argv = args.split(None, 1)
answers = get_answers()
if not len(argv):
for k, v in answers.items():
wc.prnt("%10s: %s" % (k, v or "OFF"))
elif len(argv) == 2:
set_answer(argv[0], argv[1])
else:
show_syntax()
except Exception, e:
pass
return wc.PLUGIN_RC_OK
+99
View File
@@ -0,0 +1,99 @@
# -*- coding: iso-8859-15 -*-
"""
:Author: Henning Hasemann <hhasemann [at] web [dot] de>
Usage:
- Load this plugin
- In a channel or query type "/flip foo something" to
send the reversed text "gnihtemos oof"
- In a channel or query type "/leet something else" to
send the h4x02-5r!pT - Version of your text.
(Please use with caution such crap is discouraged in most channels)
Released under GPL licence.
"""
__version__ = "0.1"
__history__ = """
0.1 initial
"""
short_syntax = """TEXT"""
syntax_flip = """ Example:
/flip foo bar
sends "rab oof" to the channel
"""
syntax_leet = """ Example:
/leet eleet
sends "31337" (or similar) to the channel
"""
import weechat as wc
import string, random
wc.register("gimmicks", __version__, "", "string gimmicks")
wc.add_command_handler("flip", "flip", "", short_syntax, syntax_flip)
wc.add_command_handler("leet", "leet", "", short_syntax, syntax_leet)
leet_dict = {
"e": ["3"],
"l": ["1", "!", "|"],
"r": ["|2"],
"b": ["8"],
"v": [r'\/'],
"t": ["7"],
"i": ["!"],
"w": [r'\/\/', 'vv'],
"a": ["/\\", "<|", "4"],
"k": ["x"],
"n": [r'|\|'],
"s": ["5","$"],
"q": ["O."],
"z": ["zZz", "7_"],
"u": ["(_)"],
"p": ["", "|*"],
"d": ["|)", "I>", "ol"],
"f": ["i="],
"g": ["@"],
"h": ["|-|"],
"j": ["_I"],
"y": ["`/"],
"x": ["><"],
"c": ["[", "(", "{"],
"m": ["|v|", "nn"],
"o": ["0", "()"],
}
def leet(server, args):
casechange = True
strange = True
stay = False
r = ""
luflag = 0
for x in list(args):
if stay:
alt = [x]
else:
alt = []
if casechange:
alt.append(luflag and x.lower() or x.upper())
luflag = not luflag
if strange:
alt += leet_dict.get(x.lower(), [])
r += random.choice(alt)
wc.command(r)
return 0
def flip(server, args):
l = list(args)
l.reverse()
wc.command("".join(l))
return 0

Some files were not shown because too many files have changed in this diff Show More