1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Compare commits

...

63 Commits

Author SHA1 Message Date
Sebastien Helleu 762c96d85a Version 0.4.0 2013-01-20 09:21:06 +01:00
Elián Hanisch 2087a19bbe core: update spanish translations 2013-01-20 08:45:39 +01:00
Ryuunosuke Ayanokouzi 7cdabf79be core: update japanese translations 2013-01-19 20:03:50 +01:00
Krzysztof Koroscik 1364fe8a0e core: update polish translations 2013-01-19 19:55:05 +01:00
Sebastien Helleu a9c4534e3c core: update translations 2013-01-19 11:08:03 +01:00
Sebastien Helleu 9ebea835dd core: add rule to clean file config-git.h
The "make distcheck" was failing because the file config-git.h was left in build
directory after distclean.
2013-01-19 10:50:12 +01:00
Sebastien Helleu 0ad8866d6b core: fix infinite loop when a regex gives an empty match (bug #38112) 2013-01-18 09:03:57 +01:00
Sebastien Helleu df2867ac27 core: add git version in backtrace and log file 2013-01-17 20:25:00 +01:00
Sebastien Helleu 68bbe7ca0a core: update ChangeLog 2013-01-17 10:07:21 +01:00
Sebastien Helleu 280e9bd0b1 core: fix detection of guile in configure 2013-01-16 22:25:11 +01:00
Sebastien Helleu 8e587f7093 core: fix typo in comment 2013-01-14 16:26:56 +01:00
Sebastien Helleu 08d27eb81c Version 0.4.0-rc3 2013-01-14 12:21:19 +01:00
Sebastien Helleu e0deceb366 core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080)
Argument "*" is now silently ignored in command /window.

When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu f14f34e9af core: fix display bugs with non-printable chars like tabs (part of messages not displayed) (bug #38076)
This bug was introduced by commit 70ce7fe3b6.
2013-01-14 11:35:52 +01:00
Sebastien Helleu d39bb4d6ab core: update version in gettext files 2013-01-12 20:24:09 +01:00
Nils Görs f1540115d0 core: update german translations 2013-01-12 20:21:56 +01:00
Krzysztof Koroscik 1af6148067 doc: update polish FAQ, quickstart and scripting guide 2013-01-12 19:56:19 +01:00
Sebastien Helleu 6fdee3aa9f core: fix crash in display of chat area when the ncurses chat window is not initialized
This can happen when a window becomes too small for display: then we set the
ncurses chat window to NULL.
So when displaying buffer, we'll skip it if the ncurses chat window is NULL.

Steps to reproduce crash:
  1. /window splith
  2. /window resize -1 (many times, until chat area is less than one line)
  3. /window balance
2013-01-12 19:40:04 +01:00
Sebastien Helleu 4123263b8c guile: fix bad conversion of shared strings (replace calls to scm_i_string_chars by scm_to_locale_string) (bug #38067) 2013-01-12 19:27:00 +01:00
Sebastien Helleu 1b56e084dc core: fix typo in comment 2013-01-12 09:35:21 +01:00
Sebastien Helleu 1e20dd16e5 core: fix line returned when clicking on a bar (according to position and filling) (bug #38069) 2013-01-12 09:31:57 +01:00
Sebastien Helleu a6bc15e69d aspell: fix spellers used when switching buffer
The bug happened when two buffers have different number of dictionaries and start
with same dictionaries. For example buffer #1 with [en,fr] and buffer #2 with [en].
When switching from buffer #1 to buffer #2, aspell does not use only [en], but [en,fr].
2013-01-11 17:25:53 +01:00
Sebastien Helleu db62b272b5 Revert "aspell: store dictionaries in buffer local variable "aspell_dict""
This reverts commit 8b61a55764.

The local variable in buffers introduced new display bugs and would need
some extra code and optimizations to fix.
This will be reintroduced after the release of version 0.4.0.
2013-01-11 16:07:45 +01:00
Sebastien Helleu 57024ab1e4 relay: fix duplicated messages sent to irc clients (when messages are redirected) (bug #37870) 2013-01-11 10:30:44 +01:00
Sebastien Helleu ca205ccb8c relay: fix typo in comment 2013-01-11 10:28:28 +01:00
Sebastien Helleu f1580f5276 relay: add debug message for signal "irc_disconnected" 2013-01-11 10:27:26 +01:00
Sebastien Helleu 3c782bd905 relay: fix name of signal in debug message (replace "irc_out" by "irc_outtags") 2013-01-11 09:28:58 +01:00
Sebastien Helleu 8b61a55764 aspell: store dictionaries in buffer local variable "aspell_dict" 2013-01-10 23:30:14 +01:00
Sebastien Helleu 53c6b62ae3 core: fix some copyright dates 2013-01-10 23:14:33 +01:00
Sebastien Helleu d5a5af88ca core: replace "behaviour" by "behavior" 2013-01-10 19:20:07 +01:00
Sebastien Helleu 87df83a1fb doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057) 2013-01-10 19:13:19 +01:00
Sebastien Helleu aaa0cf1954 core: add bug #31572 (fixed) in ChangeLog 2013-01-10 15:12:02 +01:00
Sebastien Helleu 6d636b6118 Revert "perl: simplify code to load scripts"
This reverts commit 793a3cb1ba.

This commit was causing crash on Linux when loading scripts like buffers.pl.
2013-01-10 09:32:19 +01:00
Nei 793a3cb1ba perl: simplify code to load scripts 2013-01-09 18:15:51 +01:00
Nei 224a0f0afa perl: display script filename in error messages 2013-01-08 22:09:03 +01:00
Nei 2ca30ed7a9 perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044) 2013-01-08 22:02:30 +01:00
Sebastien Helleu 7d1ad59dde relay: add message when address family is not supported by protocol (on socket creation) 2013-01-08 08:14:07 +01:00
Sebastien Helleu 1a646d5dbf relay: add error number and string when socket creation fails 2013-01-07 21:34:05 +01:00
Sebastien Helleu c34ae99b9a doc: fix typos 2013-01-07 10:31:32 +01:00
Sebastien Helleu 125068f101 doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) 2013-01-07 10:00:02 +01:00
Sebastien Helleu ae618bcf6a doc: remove comment for autogen.sh in tester's guide (command required even for tarball) 2013-01-07 09:50:29 +01:00
Sebastien Helleu cd37f12059 core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found 2013-01-07 08:24:40 +01:00
Sebastien Helleu bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu faccb87a10 irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027) 2013-01-06 12:25:34 +01:00
Sebastien Helleu 323801f869 core: add cmake option ENABLE_PYTHON3 and configure option --enable-python3
With this option, the python plugin will be built and linked with Python 3
(if found, or Python 2 as fallback).

This option it not (yet) recommended, because many scripts are working only
with Python 2.x. It should be used only to tests scripts with Python 3.x
in WeeChat.
2013-01-05 20:46:22 +01:00
Sebastien Helleu 680486b1d3 Version 0.4.0-rc2 2013-01-05 11:33:22 +01:00
Sebastien Helleu a421d330bf core: fix refresh of bars when applying layout (bug #37944, bug #37952) 2013-01-05 11:00:30 +01:00
Sebastien Helleu cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu a543404428 core: add buffer pointer in arguments for signals "input_search", "input_text_changed" and "input_text_cursor_moved" 2013-01-04 23:22:27 +01:00
Sebastien Helleu fec8a1d122 aspell: ignore self and remote nicks in private buffers 2013-01-04 18:41:27 +01:00
Simon Kuhnle 1c17274178 core: fix compilation on OpenBSD (bug #38022)
File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD.

Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
2013-01-04 17:52:35 +01:00
Sebastien Helleu da56eb6978 core: fix help of option weechat.color.separator 2013-01-04 17:46:13 +01:00
Sebastien Helleu e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu 27195e22d6 doc: use github repository for script msgcheck.py in developer's guide 2013-01-02 22:49:35 +01:00
Ryuunosuke Ayanokouzi 94ba7e07ce doc: update japanese docs 2013-01-02 15:34:00 +01:00
Ryuunosuke Ayanokouzi bf610aa603 doc: update japanese translations and docs 2013-01-01 20:57:54 +01:00
Sebastien Helleu 72f760cd48 aspell: fix compilation warning 2013-01-01 17:28:42 +01:00
Sebastien Helleu 3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu 4ebd300340 relay: send UTC time in irc backlog (when server capability "server-time" is enabled) 2013-01-01 15:13:05 +01:00
Nils Görs e2bf63cca1 doc: update german translations, FAQ, scripting and user guide 2013-01-01 13:44:23 +01:00
Sebastien Helleu 77afab57ed core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area 2013-01-01 13:29:29 +01:00
Sebastien Helleu 632e2c1eae core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885) 2013-01-01 13:24:19 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
464 changed files with 3518 additions and 2588 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007-2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "0-rc1")
SET(VERSION_PATCH "0")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -81,6 +81,7 @@ OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
+34 -8
View File
@@ -1,12 +1,25 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.0-rc1, 2012-12-26
v0.4.0, 2013-01-20
Version 0.4.0 (under dev!)
Version 0.4.0 (2013-01-20)
--------------------------
* core: fix infinite loop when a regex gives an empty match (bug #38112)
* core: fix detection of guile in configure
* core: fix click in item "buffer_nicklist" when nicklist is a root bar
(bug #38080)
* core: fix line returned when clicking on a bar (according to position and
filling) (bug #38069)
* core: fix refresh of bars when applying layout (bug #37944, bug #37952)
* core: add buffer pointer in arguments for signals "input_search",
"input_text_changed" and "input_text_cursor_moved"
* core: fix scroll to bottom of window (default key: alt+end) when line
displayed is bigger than chat area
* core: fix scroll in buffer after enabling/disabling some filters (if scroll
is on a hidden line) (bug #37885)
* core: fix memory leak in case of error when building content of bar item for
display
* core: fix detection of command in input: a single command char is considered
@@ -44,6 +57,8 @@ Version 0.4.0 (under dev!)
(problem with nick displayed in first line of screen) (bug #37556)
* core: fix wrapping of words with wide chars (the break was made before the
correct position)
* api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and
hook_hsignal (stop sending the signal immediately)
* api: allow creation of structure with hdata_update (allowed for hdata
"history")
* api: use hashtable "options" for command arguments in function
@@ -57,11 +72,17 @@ Version 0.4.0 (under dev!)
hook_connect (task #11205)
* alias: give higher priority to aliases (2000) so that they take precedence
over an existing command
* aspell: ignore self and remote nicks in private buffers
* aspell: add signal "aspell_suggest" (sent when new suggestions are displayed)
* aspell: add bar items "aspell_dict" (dictionary used on current buffer) and
"aspell_suggest" (suggestions for misspelled word at cursor), add option
aspell.check.suggestions (task #12061)
* aspell: fix creation of spellers when number of dictionaries is different
between two buffers
* guile: fix bad conversion of shared strings (replace calls to
scm_i_string_chars by scm_to_locale_string) (bug #38067)
* irc: fix display of actions (/me) when they are received from a relay client
(in channel and private buffers) (bug #38027)
* irc: fix memory leak when updating modes of channel
* irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for
command "NICK"
@@ -89,6 +110,11 @@ Version 0.4.0 (under dev!)
* irc: fix crash when message 352 has too few arguments (bug #37513)
* irc: remove unneeded server disconnect when server buffer is closed and server
is already disconnected
* perl: display script filename in error messages
* perl: fix calls to callbacks during load of script when multiplicity is
disabled (bug #38044)
* relay: fix duplicated messages sent to irc clients (when messages are
redirected) (bug #37870)
* relay: fix memory leak when adding hdata to a message (weechat protocol)
* relay: add backlog and server capability "server-time" for irc protocol, add
new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number,
@@ -156,7 +182,7 @@ Version 0.3.9 (2012-09-29)
* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
script plugins), display subplugin in /help on commands (task #12049)
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
buffer after reaching end of hotlist, on by default, which is old behaviour)
buffer after reaching end of hotlist, on by default, which is old behavior)
* core: add default key alt+"s" (toggle aspell)
* core: add cmake option "MANDIR" (bug #36776)
* core: add callback "nickcmp" in buffers
@@ -204,7 +230,7 @@ Version 0.3.9 (2012-09-29)
* irc: add bar item "buffer_modes", remove option irc.look.item_channel_modes
(task #12022)
* irc: fix parsing of user modes (ignore everything after first space)
(bug #36756)
(bug #36756, bug #31572)
* irc: add option irc.look.ctcp_time_format to customize reply to CTCP TIME
(task #12150)
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
@@ -349,7 +375,7 @@ Version 0.3.7 (2012-02-26)
gnome-terminal
* core: add option "hooks" for command /debug
* core: add option "weechat.look.scroll_bottom_after_switch" (if enabled,
restore old behaviour before fix of bug #25555 in version 0.3.5)
restore old behavior before fix of bug #25555 in version 0.3.5)
* core: apply filters after full reload of configuration files (with /reload)
(bug #31182)
* core: allow list for option weechat.plugin.extension (makes weechat.conf
@@ -692,7 +718,7 @@ Version 0.3.4 (2011-01-16)
when chars are added to a text not found (bug #31167)
* core: fix memory leaks when removing item in hashtable and when setting
highlight words in buffer
* core: use similar behaviour for keys bound to local or global history
* core: use similar behavior for keys bound to local or global history
(bug #30759)
* api: add priority for hooks (task #10550)
* api: add new functions: list_search_pos, list_casesearch_pos,
@@ -859,7 +885,7 @@ Version 0.3.2 (2010-04-18)
* alias: add custom completion for aliases (task #9479)
* scripts: allow script commands to reload only one script
* scripts: fix bug with callbacks when loading a script already loaded
* perl: fix crash when MULTIPLICITY is disabled
* perl: fix crash when multiplicity is disabled
* perl: fix crash when callbacks are called during script initialization
(bug #29018)
* perl: fix crash on /quit or unload of plugin under FreeBSD and Cygwin
@@ -1404,7 +1430,7 @@ Version 0.1.8 (2006-03-18)
* add 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
* new behavior 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
+4 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2006-2009 Emmanuel Bouthenot <kolter@openics.org>
#
@@ -65,3 +65,6 @@ ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
clean-local:
$(RM) config-git.h
+4 -4
View File
@@ -1,10 +1,10 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.0-rc1, 2012-12-26
v0.4.0, 2013-01-20
Version 0.4.0 (under dev!)
Version 0.4.0 (2013-01-20)
--------------------------
Important release notes:
@@ -132,11 +132,11 @@ Important release notes:
'irc.color.nick_prefix_op', 'irc.color.nick_prefix_halfop',
'irc.color.nick_prefix_voice', 'irc.color.nick_prefix_user'
* count of messages have been added to hotlist by default, if you want to come
back to old behaviour, do that:
back to old behavior, do that:
** `/set weechat.look.hotlist_count_max 0`
** `/set weechat.look.hotlist_buffer_separator ","`
* when you are away, all buffers are now added to hotlist by default (even if
they are displayed in a window), if you want to come back to old behaviour, do
they are displayed in a window), if you want to come back to old behavior, do
that:
** `/set weechat.look.hotlist_add_buffer_if_away off`
* new keys were added, use command `/key missing` to add them or `/key listdiff`
+1 -1
View File
@@ -22,7 +22,7 @@ Features
Copyright
---------
Copyright (C) 2003-2012 Sébastien Helleu <flashcode@flashtux.org>
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2006 Emmanuel Bouthenot <kolter@openics.org>
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2007 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2011-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+23 -10
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
@@ -33,10 +33,17 @@ IF(PYTHON_FOUND)
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ELSE(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
@@ -58,11 +65,17 @@ IF(PYTHON_EXECUTABLE)
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
IF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ELSE(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
ENDIF(ENABLE_PYTHON3)
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
EXECUTE_PROCESS(
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,6 +1,6 @@
#
# Copyright (C) 2008 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2008-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+12 -7
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2005 Benoit Papillault <benoit.papillault@free.fr>
# Copyright (C) 2005-2006 Julien Louis <ptitlouis@sysif.net>
# Copyright (C) 2005-2009 Emmanuel Bouthenot <kolter@openics.org>
@@ -24,7 +24,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.4.0-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.4.0, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.in])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
@@ -140,6 +140,7 @@ AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (d
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=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(python3, [ --enable-python3 use Python 3.x if found (NOT recommended) (default=off)],enable_python3=$enableval,enable_python3=no)
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_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
@@ -465,7 +466,11 @@ fi
PYTHON_VERSION=
if test "x$enable_python" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
if test "x$enable_python3" = "xyes" ; then
AC_PATH_PROGS(PYTHON, python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python2 python)
else
AC_PATH_PROGS(PYTHON, python2.7 python2.6 python2.5 python2 python)
fi
if test -z $PYTHON ; then
AC_MSG_WARN([
*** Python must be installed on your system but python interpreter couldn't be found in path.
@@ -489,8 +494,8 @@ if test "x$enable_python" = "xyes" ; then
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')"`
PYTHON_LIB=`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_config_var('LIBPL'))"`
PYTHON_LFLAGS="-lpython$PYTHON_VERSION "`$PYTHON -c "import sys, distutils.sysconfig; sys.stdout.write(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"
@@ -757,10 +762,10 @@ if test "x$enable_guile" = "xyes" ; then
GUILE_CFLAGS=`$GUILECONFIG compile`
GUILE_LFLAGS=`$GUILECONFIG link`
GUILE_VERSION=`$GUILECONFIG info guileversion`
tcl_found="yes"
guile_found="yes"
fi
if test "x$tcl_found" = "xno" ; then
if test "x$guile_found" = "xno" ; then
AC_MSG_WARN([
*** Script guile-config couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
+1 -1
View File
@@ -4,7 +4,7 @@ Upstream-Contact: Sebastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
Files: *
Copyright: 2003-2012, Sebastien Helleu <flashcode@flashtux.org>
Copyright: 2003-2013, Sebastien Helleu <flashcode@flashtux.org>
2005-2009, Emmanuel Bouthenot <kolter@openics.org>
2008-2009, Dmitry Kobylin <fnfal@academ.tsc.ru>
License: GPL-3+
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2009 Emmanuel Bouthenot <kolter@openics.org>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+1
View File
@@ -367,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
+1 -1
View File
@@ -42,7 +42,7 @@
| weechat | version | WeeChat Version | -
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
| weechat | version_git | WeeChat Git Version (Ausgabe des Befehls "git describe", ausschließlich für eine Entwicklerversion. Eine stabile Version gibt keine Information zurück) | -
| weechat | version_number | WeeChat Version (als Nummer) | -
@@ -2,7 +2,7 @@
|========================================
| Erweiterung | Name | Beschreibung | Hashtable (Eingabe) | Hashtable (Ausgabe)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht, "server": Servername (optional) | "tags": Tags, "message_without_tags": Nachrichten ohne Tags, "nick": Nick, "host": Host, "command": Befehl, "channel": Channel, "arguments": Argumente (schließt Channel ein)
| irc | irc_message_split | dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes große Nachrichten) | "message": IRC Nachricht, "server": Servername (optional) | "msg1" ... "msgN": Nachrichten die versendet werden sollen (ohne abschließendes "\r\n"), "args1" ... "argsN": Argumente für Nachrichten, "count": Anzahl der Nachrichten
+1 -1
View File
@@ -24,7 +24,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** Beschreibung: `bestimmt die Anzahl an Vorschlägen, für die Rechtschreibkorrektur bei einem falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle eingestellten Sprachen)`
** Beschreibung: `legt die Anzahl an Vorschlägen fest, für ein falsch geschriebenes Wort. Die Vorschläge werden in der Bar-Item "aspell_suggest", für die jeweilige(n) Sprache(n), im Buffer, angezeigt (-1 = deaktiviert die Funktion, 0 = zeigt alle verfügbaren Vorschläge an, für alle betreffenden Sprachen)`
** Typ: integer
** Werte: -1 .. 2147483647 (Standardwert: `-1`)
+14 -14
View File
@@ -58,19 +58,19 @@ Ohne Angabe von Argumenten wird die Ban-Liste für den aktuellen Channel angezei
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
- internal server name (created by /server add, recommended usage)
- hostname/port or IP/port (this will create a TEMPORARY server), port is 6667 by default
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
-all: connect to all servers defined in configuration
-auto: connect to servers with autoconnect enabled
-open: connect to all opened servers that are not currently connected
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
server: Name des Servers (folgende Möglichkeiten bestehen):
- intern genutzter Servername, zu dem eine Verbindung aufgebaut werden soll (Der Server sollte zuerst mittels "/server add" angelegt werden)
- Hostname/Port oder IP/Port (damit wird lediglich ein TEMPORÄRER Server erstellt), Port 6667 wird standardmäßig verwendet
- URL mit folgendem Format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: legt Option für den Server fest (die Boolean-Optionen können weggelassen werden)
nooption: deaktiviert eine Boolean Option (Beispiel: -nossl)
-all: Verbindung wird zu den Servern hergestellt, für die eine Konfiguration vorhanden ist
-auto: Verbindung zu den Servern herstellen, für die die Option "autoconnect" aktiviert ist
-open: stellt eine Verbindung zu allen geöffneten Servern her, zu denen aktuell aber keine Verbindung besteht
-nojoin: Channel(s) werden nicht betreten (auch falls die Funktion "autojoin" aktiviert sein sollte)
-switch: wechselt zur nächsten Server-Adresse
Examples:
Beispiele:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
@@ -469,11 +469,11 @@ server: an diesen Server senden (interner Name)
........................................
[[command_irc_quiet]]
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können nicht in den Channel schreiben, solange sich nicht +v oder höher haben)::
[command]*`quiet`* Nicks oder Hosts das Wort entziehen (User können im Channel erst schreiben, wenn sie "+v" oder höher besitzen)::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: Channel in dem der Quiet-Bann ausgeführt werden soll
channel: Channel in dem jemanden das Wort entzogen werden soll
nick: User oder Host dem das Wort entzogen werden soll
Ohne Angabe von Argumenten wird, für den aktuellen Channel, eine Liste ausgegeben mit den User/Hosts denen das Wort entzogen worden ist.
+1 -1
View File
@@ -419,7 +419,7 @@
** Werte: 1 .. 65535 (Standardwert: `10`)
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
** Beschreibung: `automatically rejoin channels after kick; you can define a buffer local variable on a channel to override this value (name of variable: "autorejoin", value: "on" or "off")`
** Beschreibung: `Channels automatisch betreten, falls man rausgeworfen wurde. Es kann eine lokale Buffer Variable für einen Channel erstellt werden, diese lokale Variable wird vorrangig behandelt (Name der lokalen Variable: "autorejoin", Wert: "on" oder "off")`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
+2 -2
View File
@@ -1,10 +1,10 @@
* [[option_logger.color.backlog_end]] *logger.color.backlog_end*
** Beschreibung: `Farbe für die letzte Zeile der Rückverfolgung`
** Beschreibung: `Farbe für die letzte Zeile im Verlaufsspeicher`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
* [[option_logger.color.backlog_line]] *logger.color.backlog_line*
** Beschreibung: `Farbe in der der Text der Rückverfolgung dargestellt werden soll`
** Beschreibung: `Textfarbe in der der Verlaufsspeicher dargestellt werden soll`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
+5 -5
View File
@@ -44,27 +44,27 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** Beschreibung: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher für jeden IRC Channel gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** Beschreibung: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
** Beschreibung: `maximale Anzahl an Zeilen im Verlaufsspeicher. Dies gilt für jeden IRC Channel (0: keine Zeilenbegrenzung)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** Beschreibung: `display backlog starting from last client disconnect`
** Beschreibung: `Verlaufsspeicher anzeigen, beginnend mit dem Client der zuletzt beendet wurde`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
** Beschreibung: `tags of messages which are displayed in backlog per IRC channel (supported tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = all supported tags`
** Beschreibung: `Nachrichten-Tags welche im Verlaufsspeicher, für IRC Channels, angezeigt werden (unterstützte Tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = alle unterstützten Tags`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg"`)
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
** Beschreibung: `format for time in backlog messages (see man strftime for format) (not used if server capability "server-time" was enabled by client, because time is sent as irc tag); empty string = disable time in backlog messages`
** Beschreibung: `Format für die Zeitanzeige im Verlaufsspeicher (siehe man strftime für gültige Formate) (findet keine Anwendung wenn die Serverfunktion, "server-time", durch den Client aktiviert wurde, da die Zeitanzeige als irc-Tag gesendet wird); keine Zeichenkette = deaktiviert die Zeitanzeige im Verlaufsspeicher`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"[%H:%M] "`)
+2 -2
View File
@@ -57,8 +57,8 @@ Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
Mausbefehle innerhalb des Skripten-Buffer:
Mausrad in der Liste scrollen
linker Mausknopf Skript anwählen
rechter Mausknopf Skript installieren/entfernen
linke Maustaste Skript anwählen
rechte Maustaste Skript installieren/entfernen
Beispiele:
/script search url
+16 -16
View File
@@ -300,7 +300,7 @@ Beispiele:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
filtert alle IRC join/part/quit Nachrichten:
/filter add joinquit * irc_join,irc_part,irc_quit *
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names:" angezeigt werden:
filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden:
/filter add nicks * irc_366 *
filtert Nick "toto" im IRC Channel #weechat:
/filter add toto irc.freenode.#weechat nick_toto *
@@ -439,7 +439,7 @@ Beispiele:
/key reset meta-r
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
/key bindctxt search ctrl-I /input search_stop
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
Auswahl eines Nicknamens mittels mittlerer Maustaste zeigt zusätzliche Informationen zu dem Nick an:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
........................................
@@ -607,26 +607,26 @@ Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweite
/set [<option> [<value>]]
diff [<option> [<option>...]]
option: name of an option (can start or end with '*' to list many options)
value: new value for option
diff: display only changed options
option: Name der zu ändernden Option (um mehrere Optionen anzuzeigen, darf der Name mit einem Joker '*' beginnen oder enden)
value: neuer Wert, den die Option erhalten soll
diff: es werden nur Optionen angezeigt, die geändert wurden
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string: any string ("" for empty string)
color: color name, ++number or --number
Abhängig von der ausgewählten Option, kann die Variable folgenden Inhalt haben:
boolean: on, off oder toggle
integer: Anzahl, ++Anzahl oder --Anzahl
string : jede Zeichenkette ("" für eine leere Zeichenkette)
color : Name einer Farbe, ++Anzahl oder --Anzahl
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
Für alle Typen von Variablen kann die Zeichenkette "null" (ohne "") genutzt werden, um den Wert der Option zu löschen (undefinierter Wert). Dies kann nur auf einige besondere Variablen (Erweiterungen) angewendet werden.
Examples:
display options about highlight:
Beispiele:
Zeigt alle Optionen an, die etwas mit highlight zu tun haben:
/set *highlight*
add a word to highlight:
Fügt ein highlight-Wort hinzu:
/set weechat.look.highlight "word"
display changed options:
zeigt geänderte Optionen an:
/set diff
display changed options in irc plugin:
zeigt geänderte Optionen, der IRC Erweiterung, an:
/set diff irc.*
........................................
+9 -9
View File
@@ -204,7 +204,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** Beschreibung: `Hintergrundfarbe der Fenster-Separatoren im Chatfenster (bei geteiltem Bildschirm)`
** Beschreibung: `Farbe der Trennlinie von Fenstern (bei Fenster geteilt sind) und Bars (wie z.B. Nicklist)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `blue`)
@@ -279,7 +279,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
* [[option_weechat.completion.base_word_until_cursor]] *weechat.completion.base_word_until_cursor*
** Beschreibung: `ist diese Option aktiviert, dann kann ein zu vervollständigendes Wort einem anderen Wort vorangestellt werden und es wird ein Leerzeichen zur Trennung hinzugefügt. Ist diese Funktion deaktiviert, muss man selber erst ein Leerzeichen einfügen um eine Vervollständigung vor einem anderen Wort ausführen zu können (zum Beispiel um einen Nick vor einen schon geschriebenen Text einzusetzen)`
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -339,7 +339,7 @@
** Werte: 0 .. 2147483647 (Standardwert: `5`)
* [[option_weechat.history.max_buffer_lines_minutes]] *weechat.history.max_buffer_lines_minutes*
** Beschreibung: `maximale Anzahl, in Minuten, wie Lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Beschreibung: `Zeitangabe, in Minuten, wie lange die Zeilen im Verlaufsspeicher, pro Buffer, gehalten werden sollen (0 = unbegrenzt, Beispiele: 1440 = einen Tag, 10080 = eine Woche, 43200 = einen Monat, 525600 = ein Jahr)`
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `0`)
@@ -564,7 +564,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
** Beschreibung: `Format für die Zeitanzeige, "time", in der Bar-Item (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
@@ -609,7 +609,7 @@
** Werte: -1 .. 2147483647 (Standardwert: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** Beschreibung: `prefix for action messages, colors are allowed with format "${color}"`
** Beschreibung: `Präfix, dass bei einer Action-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
@@ -649,22 +649,22 @@
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** Beschreibung: `prefix for error messages, colors are allowed with format "${color}"`
** Beschreibung: `Präfix, dass bei einer Fehler-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** Beschreibung: `prefix for join messages, colors are allowed with format "${color}"`
** Beschreibung: `Präfix, dass bei einer Join-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** Beschreibung: `prefix for network messages, colors are allowed with format "${color}"`
** Beschreibung: `Präfix, dass bei einer Netzwerk-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** Beschreibung: `prefix for quit messages, colors are allowed with format "${color}"`
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
+2 -2
View File
@@ -99,7 +99,7 @@
** Werte: 1024 .. 102400 (Standardwert: `65536`)
* [[option_xfer.network.fast_send]] *xfer.network.fast_send*
** Beschreibung: `wartet beim Versenden von Dateien nicht auf ein Bestätigungssignal (ACK)`
** Beschreibung: `beim Versenden von Daten wird nicht auf ein Bestätigungssignal (ACK) gewartet`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -109,7 +109,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_xfer.network.port_range]] *xfer.network.port_range*
** Beschreibung: `schränkt den ausgehenden Datenversand bzw. die Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen Ports zu nutzen welche Größer als 1024 sind. Denn nur der User "root" kann auf den Port-Bereich <1024 zugreifen)`
** Beschreibung: `schränkt den ausgehenden Datenversand/Chats auf die ausschließliche Nutzung von Ports in einem vorgegebenen Bereich ein (hilfreich bei NAT) (Syntax: ein einzelner Port, z.B. 5000 oder ein Port-Bereich, z.B. 5000-5015. Es wird empfohlen nur Ports zu nutzen die über 1024 liegen. Denn nur der User "root" kann auf den Port-Bereich unter 1024 zugreifen)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+2 -2
View File
@@ -774,8 +774,8 @@ Damit WeeChat weniger Speicher benötigt, solltest Du folgende Tipps umsetzen:
* lade keine Erweiterungen die Du nicht benötigst. Zum Beispiel: ASpell, Fifo,
Logger, Perl, Python, Ruby, Lua, Tcl, Guile, Xfer (wird für DCC benötigst)
* installiere ausschließlich Skripten die Du auch nutzt
// TRANSLATION MISSING
* do not load certificates if SSL is *NOT* used: set empty string in option
* falls man SSL *NICHT* nutzt, sollte kein Zertifikat geladen werden. In diesem
Fall, einfach den Eintrag in folgender Option leer lassen:
'weechat.network.gnutls_ca_file'
* der Wert der Option 'weechat.history.max_buffer_lines_number' sollte möglichst
niedrig eingestellt werden oder die Option 'weechat.history.max_buffer_lines_minutes'
+3 -4
View File
@@ -99,10 +99,9 @@ Argumente:
* 'version': Version des Skripts (String)
* 'license': Lizenz für das Skripts (String)
* 'description': kurze Beschreibung des Skripts (String)
// TRANSLATION MISSING
* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll
(String, can be empty string)
* 'charset': Skript Zeichensatz (liegt das Skript im UTF-8 Format vor kann dieser Wert
(String, kann auch eine leere Zeichenkette sein)
* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert
leer bleiben. UTF-8 ist der Standardzeichensatz) (String)
Beispielskripten, für jede Sprache:
@@ -702,7 +701,7 @@ skript_optionen = {
"Option2" : "Wert2",
"Option3" : "Wert3",
}
for option, standardwert in skript_optionen.iteritems():
for option, standardwert in skript_optionen.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, standardwert)
----------------------------------------
+1 -1
View File
@@ -100,7 +100,7 @@ $ make install
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
----------------------------------------------------------
$ ./autogen.sh # (nur bei geklontem git Repository)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+15 -17
View File
@@ -142,11 +142,11 @@ $ make install
Kompilieren mit autotools
^^^^^^^^^^^^^^^^^^^^^^^^^
// TRANSLATION MISSING
[WARNING]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
Ausschließlich das Kompilieren mittels cmake wird offiziell unterstützt. Autotools
sollte nur verwendet werden, falls man keine Möglichkeit hat, cmake zu nutzen. +
Das Erstellen mittels autotools benötigt zusätzliche Pakete und es ist langsamer
als cmake.
* Installation in das Systemverzeichnis (benötigt 'root' Privilegien):
@@ -170,10 +170,10 @@ $ make install
Git Quellen
~~~~~~~~~~~
Warnung: git Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
Warnung: Git Quellen sollten nur von erfahrenen Nutzern verwendet werden. Eventuell lassen
sich die Quellen nicht kompilieren oder der Code ist nicht stabil. Sie sind gewarnt!
Um die git Quellen zu beziehen nutzen Sie folgende Befehle:
Um die Git Quellen zu beziehen nutzen Sie folgende Befehle:
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
@@ -1993,31 +1993,29 @@ dann müssen Sie lediglich die Option löschen:
Folgende Platzhalter können in den CTCP-Antworten genutzt werden. Diese werden dann
mit dem entsprechenden Wert ersetzt:
// TRANSLATION MISSING ($versiongit + $git + $username (name))
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat Version | 0.4.0-dev
| $versiongit | WeeChat version + git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | git version | v0.3.9-104-g7eb5cc4
| $versiongit | WeeChat Version + Git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | Git Version | v0.3.9-104-g7eb5cc4
| $compilation | Datum der Kompilierung | Dec 16 2012
| $osinfo | Info über das genutzte OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat Seite | http://www.weechat.org/
| $download | WeeChat, download Seite | http://www.weechat.org/download
| $download | WeeChat, Download Seite | http://www.weechat.org/download
| $time | aktuelle Uhrzeit/Datum | Sun, 16 Dec 2012 10:40:48 +0100
| $username | Username beim IRC Server | name
| $username | Username beim IRC Server | Name
| $realname | Realname beim IRC Server | John Doe
|========================================
// TRANSLATION MISSING
[NOTE]
The git version is the output of command `git describe`. It is known only if
WeeChat has been compiled inside the git repository and if git was installed.
Die Git Version wird durch die Ausgabe des Befehls `git describe` ermittelt.
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
und das Git überhaupt installiert ist.
Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
// TRANSLATION MISSING ($username (name))
[width="100%",cols="^2,4l,8l",options="header"]
|========================================
| CTCP | Antwortformat | Beispiel
@@ -2025,7 +2023,7 @@ Falls CTCP Optionen nicht festgelegt sind, lauten die CTCP Antworten:
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| SOURCE | $download | http://www.weechat.org/download
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
| USERINFO | $username ($realname) | name (John Doe)
| USERINFO | $username ($realname) | Name (John Doe)
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|========================================
@@ -2567,6 +2565,6 @@ Wie erhalte ich Unterstützung:
* IRC: Server 'irc.freenode.net', Channels '#weechat' (englisch) und
'#weechat-fr' (französisch)
* Mailing Liste:
** eintragen: http://mail.nongnu.org/mailman/listinfo/weechat-support
** Bestellen: http://mail.nongnu.org/mailman/listinfo/weechat-support
** sende email an: weechat-support@nongnu.org
** Archiv: http://mail.nongnu.org/archive/html/weechat-support
+1 -1
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008-2012 Sébastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2008-2013 Sébastien Helleu <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
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+1
View File
@@ -367,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
+1 -1
View File
@@ -204,7 +204,7 @@
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** description: `background color for window separators (when split)`
** description: `color for window separators (when split) and separators beside bars (like nicklist)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `blue`)
+11 -18
View File
@@ -319,7 +319,7 @@ Translations for WeeChat and plugins are done with gettext, files are in 'po/' d
|========================================
| Path/file | Description
| po/ | Translation files (gettext)
| XX.po | Translations for language XX (fr, de, it, ...), base language is english
| XX.po | Translations for language XX (fr, de, it, ...), base language is English
| weechat.pot | Template for translations (auto-built)
|========================================
@@ -339,7 +339,7 @@ General rules
[source,C]
----------------------------------------
/*
* Copyright (C) 2012 Your Name <your@email.com>
* Copyright (C) 2013 Your Name <your@email.com>
*
* This file is part of WeeChat, the extensible chat client.
*
@@ -405,7 +405,7 @@ foo ()
----------------------------------------
* Use explicit variable names, for example "nicks_count" instead of "n" or "nc".
Exception: in `for` loops, where variables like "i" or "n" are ok.
Exception: in `for` loops, where variables like "i" or "n" are OK.
* Initialize local variables after declaration, in body of function, example:
[source,C]
@@ -421,7 +421,7 @@ foo ()
}
----------------------------------------
* Use parentheses to explicitely show how expression is evaluated, even if
* Use parentheses to explicitly show how expression is evaluated, even if
they are not required, for example: write `x + (y * z)` instead of `x + y * z`
* Place curly brackets `{ }` alone on lines, and indent them with number of
spaces used for line above opening curly bracket (the `if` in example):
@@ -945,7 +945,7 @@ Where 'component' is one of following:
Some rules to follow:
* use only english
* use only English
* use infinitive form of verb
* if commit is related to something in tracker (bug, task, patch), write it
in parenthesis after the message (format: bug #12345, task #12345, patch #12345)
@@ -957,7 +957,7 @@ core: add callback "nickcmp" for nick comparison in buffers
irc: fix freeze when reading on socket with SSL enabled (bug #35097)
ruby: add detection of ruby version 1.9.3 in cmake
python: fix crash when unloading a script without pointer to interpreter
core: update japanese translations (patch #7783)
core: update Japanese translations (patch #7783)
----------------------------------------
[[translations]]
@@ -977,23 +977,16 @@ $ cd po
$ msginit -i weechat.pot -l nl_NL -o nl.po
----------------------------------------
Base language for WeeChat is english, so you must of course understand english
Base language for WeeChat is English, so you must of course understand English
in order to translate to your language.
When done, you *have* to check your file with two commands:
When done, you *have* to check your file with script 'msgcheck.py'
(https://github.com/flashcode/msgcheck):
----------------------------------------
$ msgfmt -o /dev/null -c xx.po
$ msg_check_lines.py xx.po
$ msgcheck.py xx.po
----------------------------------------
The `msgfmt` will perform checks on message catalog and display errors, like bad
use of format specifiers in strings.
The script msg_check_lines.py (http://www.weechat.org/files/temp/po/msg_check_lines.py)
will check number of lines in translated strings (which must be the same as
string in english).
[[build_autogen_files]]
Build auto-generated files
++++++++++++++++++++++++++
@@ -1026,7 +1019,7 @@ Asciidoc
Asciidoc files are in directory 'doc/XX/' where 'XX' is language (en, fr, de, it, ...)
First make a copy of an english asciidoc file (in directory 'doc/en/'), then work on it.
First make a copy of an English asciidoc file (in directory 'doc/en/'), then work on it.
The translations missing in files are indicated by this string:
+4 -4
View File
@@ -142,7 +142,7 @@ This may be caused by bad value of the TERM variable in your shell (look at
output of `echo $TERM` in your terminal, *outside screen/tmux*).
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
which is ok (like many other values).
which is OK (like many other values).
If needed, fix your TERM variable: `export TERM="xxx"`.
@@ -263,7 +263,7 @@ How can I click on long URLs (more than one line)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default, WeeChat displays time and prefix for each line and optional bars
around chat area. To make easier url click, you can move nicklist to top and
around chat area. To make easier URL click, you can move nicklist to top and
remove alignment on nick:
----------------------------------------
@@ -274,7 +274,7 @@ remove alignment on nick:
With WeeChat ≥ 0.3.6, you can enable option "eat_newline_glitch", so that
new line char is not added at the end of each line displayed (it will not break
url selection):
URL selection):
----------------------------------------
/set weechat.look.eat_newline_glitch on
@@ -314,7 +314,7 @@ and issue these commands when script is loaded:
/upgrade
----------------------------------------
To have english messages with UTF-8 encoding for terminal, for ISO users, you
To have English messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[256_colors]]
+22 -5
View File
@@ -6303,6 +6303,10 @@ If your message has some tabs and if you don't want prefix, then use a space,
a tab, then message (see example below): this will disable prefix (the space
before tab will not be displayed).
[NOTE]
With two tabs ("\t") at beginning of message, time will not be displayed and
message will have no alignment at all (like the message "Day changed to").
C example:
[source,C]
@@ -6311,6 +6315,8 @@ weechat_printf (NULL, "Hello on WeeChat buffer");
weechat_printf (buffer, "Hello on this buffer");
weechat_printf (buffer, "%sThis is an error!", weechat_prefix ("error"));
weechat_printf (buffer, " \tMessage without prefix but with \t some \t tabs");
weechat_printf (buffer, "\t\tMessage without time/alignment");
weechat_printf (buffer, "\t\t"); /* empty line (without time) */
----------------------------------------
Script (Python):
@@ -6325,6 +6331,8 @@ weechat.prnt("", "Hello on WeeChat buffer")
weechat.prnt(buffer, "Hello on this buffer")
weechat.prnt(buffer, "%sThis is an error!" % weechat.prefix("error"))
weechat.prnt(buffer, " \tMessage without prefix but with \t some \t tabs")
weechat.prnt(buffer, "\t\tMessage without time/alignment")
weechat.prnt(buffer, "\t\t") # empty line (without time)
----------------------------------------
[NOTE]
@@ -7513,6 +7521,11 @@ Arguments:
|========================================
| Plugin | Signal | Arguments | Description
| aspell | aspell_suggest +
(_new in version 0.4.0_) |
pointer: buffer |
new suggestions for a misspelled word
| guile | guile_script_loaded +
(_new in version 0.3.9_) |
string: path to script |
@@ -7842,15 +7855,15 @@ Arguments:
paste pending
| weechat | input_search |
- |
pointer: buffer |
text search in buffer
| weechat | input_text_changed |
- |
pointer: buffer |
input text changed
| weechat | input_text_cursor_moved |
- |
pointer: buffer |
input text cursor moved
| weechat | key_pressed |
@@ -7981,6 +7994,8 @@ Arguments:
** 'void *signal_data': data sent with signal
** return value:
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_new in version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': pointer given to callback when it is called by WeeChat
@@ -8249,6 +8264,8 @@ pattern.
** 'struct t_hashtable *hashtable': hashtable
** return value:
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_new in version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': pointer given to callback when it is called by WeeChat
@@ -10152,7 +10169,7 @@ Arguments:
set cursor position in buffer input
| input_get_unknown_commands | "0" or "1" |
"0" to disable unknown commands on this buffer (default behaviour), "1" to
"0" to disable unknown commands on this buffer (default behavior), "1" to
get unknown commands, for example if user type "/unknowncmd", buffer will
receive it (no error about unknown command)
@@ -11876,7 +11893,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
Arguments:
* 'buffer': buffer pointer (command is executed on this buffer, use NULL for
WeeChat core buffer)
current buffer)
* 'command': command to execute (if beginning with a "/"), or text to send to
buffer
+3 -3
View File
@@ -416,7 +416,7 @@ There are two different identifiers ('id'):
* 'id' sent by 'client': 'relay' will answer with same 'id' in its answer
* 'id' of an event: on some events, 'relay' will send message to 'client' using
a speficic 'id', beginning with underscore (see table below)
a specific 'id', beginning with underscore (see table below)
WeeChat reserved identifiers:
@@ -466,7 +466,7 @@ WeeChat reserved identifiers:
| _buffer_localvar_changed | Local variable changed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
Change local variable inbuffer
Change local variable in buffer
| _buffer_localvar_removed | Local variable removed | buffer |
'number' (integer), 'full_name' (string), 'local_variables' (hashtable) |
@@ -782,7 +782,7 @@ A 'info' contains a name and a value (both are strings).
* 'name' (string): name of info
* 'value' (string): value
Exemple of info 'version':
Example of info 'version':
.......................................
┌─────────┬───────────────────┐
+2 -2
View File
@@ -687,7 +687,7 @@ script_options = {
"option2" : "value2",
"option3" : "value3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
@@ -791,7 +791,7 @@ message received, so that you can modify it.
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# add server name to all messages received
# (ok that's not very useful, but that's just an example!)
# (OK that's not very useful, but that's just an example!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
+1 -1
View File
@@ -94,7 +94,7 @@ $ make install
If you don't have cmake, it's still possible to use autotools:
----------------------------------------------------------
$ ./autogen.sh # (only if you cloned git repository)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+10 -10
View File
@@ -93,7 +93,7 @@ compile WeeChat.
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | SASL authentication with IRC server using DH-BLOWFISH mechanism, script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | internationalization (translation of messages; base language is english)
| gettext | | | internationalization (translation of messages; base language is English)
| ca-certificates | | | certificates for SSL connections
| libaspell-dev | | | aspell plugin
| python-dev | ≥ 2.5 ^(3)^ | | python plugin
@@ -590,7 +590,7 @@ List of bar options:
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/tobbom. A size of `0` means automatic, so the size
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
@@ -1510,7 +1510,7 @@ suggestions is set in option 'aspell.check.suggestions'.
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
Example of suggestions with english dictionary (`en`):
Example of suggestions with English dictionary (`en`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
@@ -1518,7 +1518,7 @@ Example of suggestions with english dictionary (`en`):
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with english and french dictionaries (`en,fr`):
Example of suggestions with English and French dictionaries (`en,fr`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
@@ -1753,7 +1753,7 @@ irc.server.xxx.ssl_verify::
[NOTE]
Option "ssl_verify" is on by default, so verification is strict and may fail,
even if it was ok with versions prior to 0.3.1.
even if it was OK with versions prior to 0.3.1.
[[irc_connect_oftc_with_certificate]]
First example: connect to oftc and check certificate
@@ -1801,8 +1801,8 @@ SASL authentication
^^^^^^^^^^^^^^^^^^^
WeeChat supports SASL authentication, using three mechanisms: "plain" (plain
text password), "dh-blowfish" (crypted password) or "external" (client side SSL
cert).
text password), "dh-blowfish" (encrypted password) or "external" (client side
SSL cert).
Options in servers are:
@@ -1833,7 +1833,7 @@ First, make sure to have WeeChat compiled with <<dependencies,libgcrypt11-dev>>
(if built from sources); it's not mandatory, but "dh-blowfish" ensures stronger
security compared to "plain" authentication system with SASL.
In first place, install TOR. For Debian (and derivated):
In first place, install TOR. For Debian (and derived):
----------------------------------------
$ sudo apt-get install tor
@@ -2509,8 +2509,8 @@ until this sentence, you can start again!).
Ways to get support:
* IRC: server 'irc.freenode.net', channels '#weechat' (english) and
'#weechat-fr' (french)
* IRC: server 'irc.freenode.net', channels '#weechat' (English) and
'#weechat-fr' (French)
* Mailing list:
** subscribe: http://mail.nongnu.org/mailman/listinfo/weechat-support
** send mail to weechat-support@nongnu.org
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2012-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+1
View File
@@ -367,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
+1 -1
View File
@@ -204,7 +204,7 @@
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** description: `couleur du fond pour les séparateurs de fenêtres (quand divisé)`
** description: `couleur pour les séparateurs de fenêtres (quand divisé) et les séparateurs à côté des barres (comme la liste de pseudos)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `blue`)
+6 -6
View File
@@ -197,7 +197,7 @@ Pour déplacer la barre en bas :
Comment puis-je réduire la longueur des pseudos ou supprimer l'alignement des pseudos dans la zone de discussion ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pour réduire la longueur maxi des pseudos dans la zone de discussion :
Pour réduire la longueur maximum des pseudos dans la zone de discussion :
----------------------------------------
/set weechat.look.prefix_align_max 15
@@ -215,7 +215,7 @@ Comment utiliser une ligne de commande sur plusieurs lignes ?
L'option 'size' dans la barre input peut être définie à une valeur supérieure
à 1 (pour une taille fixe, la taille par défaut est 1) ou 0 pour une taille
dynamique, et alors l'option 'size_max' définira la taille maxi (0 = pas de
dynamique, et alors l'option 'size_max' définira la taille maximum (0 = pas de
limite).
Exemple avec une taille dynamique :
@@ -224,7 +224,7 @@ Exemple avec une taille dynamique :
/set weechat.bar.input.size 0
----------------------------------------
Taille maxi de 2 :
Taille maximum de 2 :
----------------------------------------
/set weechat.bar.input.size_max 2
@@ -562,7 +562,7 @@ Comment puis-je être identifié avant de rejoindre les canaux ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Si le serveur supporte SASL, vous devriez l'utiliser au lieu d'envoyer une
command pour l'authentification avec nickserv, par exemple :
commande pour l'authentification avec nickserv, par exemple :
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
@@ -597,8 +597,8 @@ de les voir en désactivant les filtres (par défaut, la touche @k(A-)@k(=)
active/désactive les filtres).
[[filter_irc_join_part_quit]]
Comment puis-je filter les messages join/part/quit sur les canaux IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment puis-je filtrer les messages join/part/quit sur les canaux IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avec le filtre intelligent (pour garder les join/part/quit des utilisateurs qui
ont parlé récemment) :
+21 -4
View File
@@ -6380,6 +6380,10 @@ Si votre message contient des tabulations et si vous ne voulez pas de préfixe,
utilisez un espace, une tabulation, puis le message : cela désactivera le
préfixe (l'espace avant la tabulation ne sera pas affiché).
[NOTE]
Avec deux tabulations ("\t") au début du message, l'heure ne sera pas affichée
et le message n'aura pas d'alignement (comme le message "Jour changé").
Exemple en C :
[source,C]
@@ -6388,6 +6392,8 @@ weechat_printf (NULL, "Bonjour sur le tampon WeeChat");
weechat_printf (buffer, "Bonjour sur ce tampon");
weechat_printf (buffer, "%sCeci est une erreur !", weechat_prefix ("error"));
weechat_printf (buffer, " \tMessage sans préfixe mais avec \t quelques \t tabulations");
weechat_printf (buffer, "\t\tMessage sans heure/alignement");
weechat_printf (buffer, "\t\t"); /* ligne vide (sans heure) */
----------------------------------------
Script (Python) :
@@ -6402,6 +6408,8 @@ weechat.prnt("", "Bonjour sur le tampon WeeChat")
weechat.prnt(buffer, "Bonjour sur ce tampon")
weechat.prnt(buffer, "%sCeci est une erreur !" % weechat.prefix("error"))
weechat.prnt(buffer, " \tMessage sans préfixe mais avec \t quelques \t tabulations")
weechat.prnt(buffer, "\t\tMessage sans heure/alignement")
weechat.prnt(buffer, "\t\t") # ligne vide (sans heure)
----------------------------------------
[NOTE]
@@ -7626,6 +7634,11 @@ Paramètres :
|========================================
| Extension | Signal | Paramètres | Description
| aspell | aspell_suggest +
(_nouveau dans la version 0.4.0_) |
pointeur : tampon |
nouvelles suggestions pour un mot mal orthographié
| guile | guile_script_loaded +
(_nouveau dans la version 0.3.9_) |
chaîne: chemin vers le script |
@@ -7955,15 +7968,15 @@ Paramètres :
coller de lignes en cours
| weechat | input_search |
- |
pointeur : tampon |
recherche de texte dans le tampon
| weechat | input_text_changed |
- |
pointeur : tampon |
texte modifié dans la barre "input"
| weechat | input_text_cursor_moved |
- |
pointeur : tampon |
curseur déplacé dans la barre "input"
| weechat | key_pressed |
@@ -8094,6 +8107,8 @@ Paramètres :
** 'void *signal_data' : données envoyées avec le signal
** valeur de retour :
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (arrêter l'envoi du signal immédiatement)
(_nouveau dans la version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data' : pointeur donné au "callback" lorsqu'il est appelé par
WeeChat
@@ -8371,6 +8386,8 @@ modèle de redirection ("pattern").
** 'struct t_hashtable *hashtable' : hashtable
** valeur de retour :
*** 'WEECHAT_RC_OK'
*** 'WEECHAT_RC_OK_EAT' (arrêter l'envoi du signal immédiatement)
(_nouveau dans la version 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data' : pointeur donné au "callback" lorsqu'il est appelé par
WeeChat
@@ -12079,7 +12096,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
Paramètres :
* 'buffer' : pointeur vers le tampon (la commande est exécutée sur ce tampon,
NULL pour le tampon "core")
NULL pour le tampon courant)
* 'command' : commande à exécuter (si elle commence par "/"), ou texte à
envoyer au tampon
+2 -2
View File
@@ -147,7 +147,7 @@ Se connecter au serveur IRC et rejoindre les canaux
[NOTE]
Cette commande peut aussi être utilisée pour créer et se connecter au serveur
sans utiliser la commande `/server` (devrais-je répéter que vous pouvez voir
sans utiliser la commande `/server` (dois-je répéter que vous pouvez voir
l'aide pour cette commande avec `/help connect` ?).
Par défaut, les tampons des serveurs sont mélangés avec le tampon 'core'
@@ -247,7 +247,7 @@ De nombreux scripts externes (de contributeurs) sont disponibles pour WeeChat :
http://www.weechat.org/scripts
Vous pouvez gérer les scripts dans WeeChat avec la commande `/script` (voir
`/help script` pour plus d'info).
`/help script` pour plus d'infos).
[[more_doc]]
+2 -2
View File
@@ -704,7 +704,7 @@ script_options = {
"option2" : "valeur2",
"option3" : "valeur3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
@@ -733,7 +733,7 @@ def config_cb(data, option, value):
# ...
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
# pour les autres languages, remplacez "python" par le language ("perl", "ruby", "lua" ou "tcl")
# pour les autres langages, remplacez "python" par le langage ("perl", "ruby", "lua" ou "tcl")
----------------------------------------
[[config_options_weechat]]
+1 -1
View File
@@ -98,7 +98,7 @@ $ make install
Si vous n'avez pas cmake, il est toujours possible d'utiliser les autotools :
-----------------------------------------------------------------
$ ./autogen.sh # (seulement si vous avez cloné la base git)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+9 -9
View File
@@ -103,7 +103,7 @@ compiler WeeChat.
| ruby1.9.1-dev | ≥ 1.8 | | extension ruby
| liblua5.1-0-dev | | | extension lua
| tcl-dev | ≥ 8.5 | | extension tcl
| guile-1.8-dev | | | extention guile (scheme)
| guile-1.8-dev | | | extension guile (scheme)
| asciidoc | ≥ 8.5.0 | | construction de la documentation (fichiers HTML)
| source-highlight | | | coloration des sources dans la documentation HTML
|========================================
@@ -434,7 +434,7 @@ La barre 'status' contient les objets (items) suivants par défaut :
| buffer_nicklist_count | {4} | nombre de pseudos dans la liste des pseudos
| buffer_filter | * | indicateur de filtrage : `*` signifie que des lignes sont filtrées (cachées), une valeur vide signifie que toutes les lignes sont affichées
| lag | [Lag: 2.5] | indicateur de "lag" (ralentissements réseau), en secondes (caché si le lag est faible)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le buffer numéro 6)
| hotlist | [Act: 4:#abc(2,5), 6] | liste des tampons où il y a de l'activité (messages non lus) (dans cet exemple, 2 highlights et 5 messages non lus sur '#abc', un message non lu sur le tampon numéro 6)
| completion | abc(2) def(5) | liste des mots pour la complétion, avec le nombre de complétions possibles pour chaque mot
| scroll | -PLUS(50)- | indicateur de scroll, avec le nombre de lignes sous la dernière ligne affichée
|========================================
@@ -751,7 +751,7 @@ Quelques exemples de remplissage pour la barre 'nicklist' :
Conditions
^^^^^^^^^^
L'option 'conditions' est uen chaîne évaluée pour savoir si la barre doit être
L'option 'conditions' est une chaîne évaluée pour savoir si la barre doit être
affichée ou non dans la fenêtre (elle est utilisée seulement pour les barres
avec type 'window').
@@ -782,7 +782,7 @@ liste de pseudos, et seulement si la largeur de fenêtre est supérieurs à 100
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
Même condition, mais affichier toujours la liste de pseudos sur le tampon
Même condition, mais afficher toujours la liste de pseudos sur le tampon
'&bitlbee' (même si la fenêtre est petite) :
----------------------------------------
@@ -865,7 +865,7 @@ Touches pour la ligne de commande
| @k(C-)@k(c) , @k(b) | Insérer le code pour mettre le texte en gras | /input insert \x02
| @k(C-)@k(c) , @k(c) | Insérer le code pour écrire en couleur | /input insert \x03
| @k(C-)@k(c) , @k(i) | Insérer le code pour mettre le texte en italique | /input insert \x1D
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitaliser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(o) | Insérer le code pour réinitialiser la couleur | /input insert \x0F
| @k(C-)@k(c) , @k(r) | Insérer le code pour écrire en couleur inversée | /input insert \x12
| @k(C-)@k(c) , @k(u) | Insérer le code pour écrire en souligné | /input insert \x15
| @k(Del) .2+| Effacer le caractère suivant sur la ligne de commande .2+| /input delete_next_char
@@ -996,7 +996,7 @@ Ces touches sont utilisées dans le contexte "cursor" (mouvement libre du curseu
| @k(K) | liste des pseudos | Retirer par la force et bannir le pseudo | /window ${_window_number};/kickban ${nick}
| @k(q) | liste des pseudos | Ouvrir une discussion avec le pseudo | /window ${_window_number};/query ${nick};/cursor stop
| @k(w) | liste des pseudos | Effectuer un whois sur le pseudo | /window ${_window_number};/whois ${nick}
| @k(Enter) .3+| - .3+| Stop cursor mode .3+| /cursor stop
| @k(Enter) .3+| - .3+| Arrêter le mode curseur ("cursor") .3+| /cursor stop
| @k(C-)@k(j)
| @k(C-)@k(m)
|========================================
@@ -1022,8 +1022,8 @@ Ces touches sont utilisées dans le contexte "mouse", c'est-à-dire lorsqu'un
| ⇓ | - | chat | Descendre de quelques lignes dans l'historique du tampon | /window scroll_down -window ${_window_number}
| ⇑ | - | chat (tampon script) | Monter de 5 lignes dans le tampon script | /script up 5
| ⇓ | - | chat (tampon script) | Descendre de 5 lignes dans le tampon script | /script down 5
| @k(C-)⇑ | - | chat | Faire défiler horizontallement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontallement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| @k(C-)⇑ | - | chat | Faire défiler horizontalement vers la gauche | /window scroll_horiz -window ${_window_number} -10%
| @k(C-)⇓ | - | chat | Faire défiler horizontalement vers la droite | /window scroll_horiz -window ${_window_number} +10%
| ◾◽◽ | up | liste des pseudos | Monter d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} -100%
| ◾◽◽ | down | liste des pseudos | Descendre d'une page dans la liste des pseudos | /bar scroll nicklist ${_window_number} +100%
| ◾◽◽ | up (long) | liste des pseudos | Aller au début de la liste des pseudos | /bar scroll nicklist ${_window_number} b
@@ -1164,7 +1164,7 @@ avec le bouton gauche.
[TIP]
Vous pouvez trouver le nom de l'évènement avec la commande `/input grab_mouse`
puis en faisant l'action avec la souris. Cela insèrera le nom de l'évènement
puis en faisant l'action avec la souris. Cela insérera le nom de l'évènement
sur la ligne de commande.
[[command_line]]
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1
View File
@@ -367,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
+1 -1
View File
@@ -204,7 +204,7 @@
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** descrizione: `colore di sfondo per i separatori delle finestre (quando divise)`
** descrizione: `color for window separators (when split) and separators beside bars (like nicklist)`
** tipo: colore
** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `blue`)
+27 -4
View File
@@ -6320,18 +6320,27 @@ bisogna utilizzare uno spazio, una tabulazione, poi il messaggio (consultare
l'esempio successivo): ciò disabilita il prefisso (lo spazio prima della
tabulazione non verrà mostrato).
// TRANSLATION MISSING
[NOTE]
With two tabs ("\t") at beginning of message, time will not be displayed and
message will have no alignment at all (like the message "Day changed to").
Esempio in C:
// TRANSLATION MISSING
[source,C]
----------------------------------------
weechat_printf (NULL, "Benvenuto sul buffer di WeeChat");
weechat_printf (buffer, "Benvenuto su questo buffer");
weechat_printf (buffer, "%sQuesto è un errore!", weechat_prefix ("error"));
weechat_printf (buffer, " \tMessaggio senza prefisso ma con \t alcune \t tabulazioni");
weechat_printf (buffer, "\t\tMessage without time/alignment");
weechat_printf (buffer, "\t\t"); /* empty line (without time) */
----------------------------------------
Script (Python):
// TRANSLATION MISSING
[source,python]
----------------------------------------
# prototipo
@@ -6342,6 +6351,8 @@ weechat.prnt("", "Benvenuto sul buffer di WeeChat")
weechat.prnt(buffer, "Benvenuto su questo buffer")
weechat.prnt(buffer, "%sQuesto è un errore!" % weechat.prefix("error"))
weechat.prnt(buffer, " \tMessaggio senza prefisso ma con \t alcune \t tabulazioni")
weechat.prnt(buffer, "\t\tMessage without time/alignment")
weechat.prnt(buffer, "\t\t") # empty line (without time)
----------------------------------------
[NOTE]
@@ -7554,6 +7565,12 @@ Argomenti:
|========================================
| Plugin | Segnale | Argomenti | Descrizione
// TRANSLATION MISSING
| aspell | aspell_suggest +
(_novità nella versione 0.4.0_) |
pointer: buffer |
new suggestions for a misspelled word
// TRANSLATION MISSING
| guile | guile_script_loaded +
(_novità nella versione 0.3.9_) |
@@ -7911,15 +7928,15 @@ Argomenti:
incolla testo in attesa
| weechat | input_search |
- |
puntatore: buffer |
ricerca testo nel buffer
| weechat | input_text_changed |
- |
puntatore: buffer |
testo in input modificato
| weechat | input_text_cursor_moved |
- |
puntatore: buffer |
cursore del testo di input spostato
| weechat | key_pressed |
@@ -8055,6 +8072,9 @@ Argomenti:
** 'void *signal_data': dati inviati con il segnale
** valore restituito:
*** 'WEECHAT_RC_OK'
// TRANSLATION MISSING
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_novità nella versione 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': puntatore fornito alla callback quando chiamata da WeeChat
@@ -8331,6 +8351,9 @@ di redirezione.
** 'struct t_hashtable *hashtable': tabella hash
** valore restituito:
*** 'WEECHAT_RC_OK'
// TRANSLATION MISSING
*** 'WEECHAT_RC_OK_EAT' (stop sending the signal immediately)
(_novità nella versione 0.4.0_)
*** 'WEECHAT_RC_ERROR'
* 'callback_data': puntatore fornito alla callback quando chiamata da WeeChat
@@ -12012,7 +12035,7 @@ void weechat_command (struct t_gui_buffer *buffer, const char *command);
Argomenti:
* 'buffer': puntatore al buffer (il comando viene eseguito su questo buffer,
utilizzare NULL per il buffer core di WeeChat)
utilizzare NULL per il buffer corrente)
* 'command': comando da eseguire (se preceduto da "/"), oppure il testo
viene inviato sul buffer
+1 -1
View File
@@ -703,7 +703,7 @@ script_options = {
"option2" : "value2",
"option3" : "value3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
+1 -1
View File
@@ -97,7 +97,7 @@ $ make install
Se cmake non è installato, è ancora possibile usare gli autotools:
----------------------------------------------------------
$ ./autogen.sh # (solo se clonato il deposito git)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+3 -3
View File
@@ -606,7 +606,7 @@ List of bar options:
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/tobbom. A size of `0` means automatic, so the size
of lines for position top/bottom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size_max | integer ≥ 0 |
@@ -1544,7 +1544,7 @@ suggestions is set in option 'aspell.check.suggestions'.
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
Example of suggestions with english dictionary (`en`):
Example of suggestions with English dictionary (`en`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
@@ -1552,7 +1552,7 @@ Example of suggestions with english dictionary (`en`):
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with english and french dictionaries (`en,fr`):
Example of suggestions with English and French dictionaries (`en,fr`):
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1
View File
@@ -367,6 +367,7 @@
'items_num_lines' (pointer) +
'items_refresh_needed' (pointer) +
'screen_col_size' (integer) +
'screen_lines' (integer) +
'coords_count' (integer) +
'coords' (pointer) +
'gui_objects' (pointer) +
+1 -1
View File
@@ -42,7 +42,7 @@
| weechat | version | WeeChat のバージョン | -
| weechat | version_git | WeeChat git version (output of command "git describe" for a development version only, empty for a stable release) | -
| weechat | version_git | WeeChat git バージョン (開発バージョンではコマンド "git describe" の出力。安定版リリースでは空文字が出力されます。) | -
| weechat | version_number | WeeChat のバージョン (数字) | -
@@ -2,7 +2,7 @@
|========================================
| プラグイン | 名前 | 説明 | ハッシュテーブル (入力) | ハッシュテーブル (出力)
| irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (オプション) | "tags": tags, "message_without_tags": message without the tags, "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (includes channel)
| irc | irc_message_parse | IRC メッセージを解析 | "message": IRC メッセージ、"server": サーバ名 (オプション) | "tags": タグ、"message_without_tags": タグを含まないメッセージ、"nick": ニックネーム、"host": ホスト名、"command": コマンド、"channel": チャンネル、"arguments": 引数 (チャンネルを含む)
| irc | irc_message_split | IRC メッセージを分割 (512バイトに収める) | "message": IRC メッセージ、"server": サーバ名 (オプション) | "msg1" ... "msgN": 送信メッセージ (最後の "\r\n" は無し), "args1" ... "argsN": メッセージの引数、"count": メッセージの数
+1 -1
View File
@@ -24,7 +24,7 @@
** 値: on, off (デフォルト値: `off`)
* [[option_aspell.check.suggestions]] *aspell.check.suggestions*
** 説明: `number of suggestions to display in bar item "aspell_suggest" for each dictionary set in buffer (-1 = disable suggestions, 0 = display all possible suggestions in all languages)`
** 説明: `バッファ内の各辞書セットに対してバーアイテム "aspell_suggest" に表示する提案の数 (-1 = サジェスト機能を無効、0 = 全ての言語を使って全てのサジェスト結果を表示)`
** タイプ: 整数
** 値: -1 .. 2147483647 (デフォルト値: `-1`)
+26 -26
View File
@@ -58,19 +58,19 @@ channel: バン対象チャンネル
/connect <server> [<server>...] [-<option>[=<value>]] [-no<option>] [-nojoin] [-switch]
-all|-auto|-open [-nojoin] [-switch]
server: server name, which can be:
- internal server name (created by /server add, recommended usage)
- hostname/port or IP/port (this will create a TEMPORARY server), port is 6667 by default
- URL with format: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: set option for server (for boolean option, value can be omitted)
nooption: set boolean option to 'off' (for example: -nossl)
-all: connect to all servers defined in configuration
-auto: connect to servers with autoconnect enabled
-open: connect to all opened servers that are not currently connected
-nojoin: do not join any channel (even if autojoin is enabled on server)
-switch: switch to next server address
server: サーバ名、これは:
- 内部サーバ名 (/server add で作成されたもの、利用推奨)
- ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的サーバを作る)、デフォルトのポート番号は 6667
- 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]irc.example.org[:port][/#channel1][,#channel2[...]]
option: サーバに関するオプション (ブール型オプションでは、value は無視される)
nooption: ブール型オプションを 'off' にする (例: -nossl)
-all: 設定された全てのサーバに接続
-auto: 自動接続を有効化してサーバに接続
-open: 現在接続されていないがオープンされているサーバに接続
-nojoin: チャンネルに入らない (autojoin が有効化されていても)
-switch: 次のサーバアドレスに移動
Examples:
:
/connect freenode
/connect irc.oftc.net/6667
/connect irc6.oftc.net/6667 -ipv6
@@ -215,12 +215,12 @@ nick: nick
........................................
/join [-noswitch] [-server <server>] [<channel1>[,<channel2>...]] [<key1>[,<key2>...]]
-noswitch: do not switch to new buffer
server: send to this server (internal name)
channel: channel name to join
key: key to join the channel (channels with a key must be the first in list)
-noswitch: 新しいバッファに移動しない
server: 送信先サーバ (内部サーバ名)
channel: 参加するチャンネルの名前
key: チャンネルに参加するためのキー (キーが必要なチャンネルは最初に置くこと)
Examples:
:
/join #weechat
/join #protectedchan,#weechat key
/join -server freenode #weechat
@@ -469,14 +469,14 @@ server: 送信先サーバ (内部サーバ名)
........................................
[[command_irc_quiet]]
[command]*`quiet`* quiet nicks or hosts::
[command]*`quiet`* ニックネームかホストを発言禁止に::
........................................
/quiet [<channel>] [<nick> [<nick>...]]
channel: channel for quiet
nick: user or host to quiet
channel: 発言禁止にするチャンネル
nick: 発言禁止にするユーザ名かホスト名
Without argument, this command display quiet list for current channel.
引数無しの場合は、現在のチャンネルの発言禁止リストを表示。
........................................
[[command_irc_quote]]
@@ -750,12 +750,12 @@ mask: マスクにマッチする情報
........................................
/whois [<server>] [<nick>[,<nick>...]]
server: server name
nick: nick (may be a mask)
server: サーバ名
nick: ニックネーム (マスクも可)
Without argument, this command will do a whois on:
- your own nick if buffer is a server/channel
- remote nick if buffer is a private.
引数が無い場合、このコマンドは以下のユーザに対する whois を行います:
- バッファがサーバ/チャンネルの場合、自分自身のニックネーム
- バッファがプライベートの場合、相手のニックネーム
........................................
[[command_irc_whowas]]
+5 -5
View File
@@ -319,7 +319,7 @@
** 値: on, off (デフォルト値: `off`)
* [[option_irc.network.alternate_nick]] *irc.network.alternate_nick*
** 説明: `get an alternate nick when the nick is already used on server: add some "_" until the nick has a length of 9, and then replace last char (or the two last chars) by a number from 1 to 99, until we find a nick not used on server`
** 説明: `サーバでニックネームが既に利用されている場合、他のニックネームを生成します: 利用されていないニックネームが見つかるまで、ニックネームの長さが 9 以下なら数個の "_" を追加、その後最後の 1 文字 (または最後の 2 文字) を 1 から 99 で置き換えます。`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
@@ -379,7 +379,7 @@
** 値: on, off (デフォルト値: `off`)
* [[option_irc.network.whois_double_nick]] *irc.network.whois_double_nick*
** 説明: `double the nick in /whois command (if only one nick is given), to get idle time in answer; for example: "/whois nick" will send "whois nick nick"`
** 説明: `/whois コマンドの引数に 2 重のニックネームを付ける (ニックネームが 1 つだけ指定された場合)。これによりアイドル時間が返されます; 例: "/whois nick" "whois nick nick" が送信されます。`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
@@ -419,7 +419,7 @@
** 値: 1 .. 65535 (デフォルト値: `10`)
* [[option_irc.server_default.autorejoin]] *irc.server_default.autorejoin*
** 説明: `automatically rejoin channels after kick; you can define a buffer local variable on a channel to override this value (name of variable: "autorejoin", value: "on" or "off")`
** 説明: `キックされた後のチャンネルへの最参加を自動的に行う; あるチャンネルに対して設定を上書きするにはバッファローカル変数を定義してください (変数の名前: "autorejoin"、値: "on" 又は "off")`
** タイプ: ブール
** 値: on, off (デフォルト値: `off`)
@@ -439,7 +439,7 @@
** 値: 0 .. 1000000 (デフォルト値: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
** 説明: `サーバで利用可能ならば有効化する、クライアント能のコンマ区切りリスト (例: "multi-prefix,extended-join")`
** 説明: `サーバで利用可能ならば有効化する、クライアントの機能のコンマ区切りリスト (例: "multi-prefix,extended-join")`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `""`)
@@ -469,7 +469,7 @@
** 値: 未制約文字列 (デフォルト値: `"WeeChat %v"`)
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
** 説明: `use IPv6 protocol for server communication (try IPv6 then fallback to IPv4); if disabled, only IPv4 is used`
** 説明: `サーバ接続に IPv6 プロトコルを利用 (IPv6 の利用に失敗したら IPv4 を利用); 無効の場合には IPv4 を利用`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
+23 -23
View File
@@ -7,37 +7,37 @@
raw
sslcertkey
list: list relay clients (only active relays)
listfull: list relay clients (verbose, all relays)
listrelay: list relays (name and port)
add: add relay for a protocol + name
del: remove relay for a protocol + name
ipv4: force use of IPv4
ipv6: force use of IPv6
ssl: enable SSL
protocol.name: protocol and name to relay:
- protocol "irc": name is the server to share
- protocol "weechat" (name is not used)
port: port used for relay
raw: open buffer with raw Relay data
sslcertkey: set SSL certificate/key using path in option relay.network.ssl_cert_key
list: リレーするクライアントをリストアップ (アクティブなもののみ)
listfull: リレーするクライアントをリストアップ (詳細、全てのリレー)
listrelay: リレーをリストアップ (名前とポート番号)
add: プロトコル + 名前のリレーを追加
del: プロトコル + 名前のリレーを削除
ipv4: IPv4 を強制的に利用
ipv6: IPv6 を強制的に利用
ssl: SSL を有効化
protocol.name: リレーするプロトコルと名前:
- プロトコル "irc": 名前は共有するサーバ
- プロトコル "weechat" (名前は使われていない)
port: リレーに使うポート番号
raw: 生 Relay データバッファを開く
sslcertkey: オプション relay.network.ssl_cert_key のパスを使って SSL 証明書/鍵を設定
Without argument, this command opens buffer with list of relay clients.
引数無しの場合、リレークライアントのリストを含むバッファを開く
Examples:
irc proxy, for server "freenode":
:
サーバ "freenode" に対する irc プロキシを設定:
/relay add irc.freenode 8000
irc proxy, for server "freenode", with SSL:
サーバ "freenode" に対する SSL を有効化した irc プロキシを設定:
/relay add ssl.irc.freenode 8001
weechat protocol:
weechat プロトコル:
/relay add weechat 9000
weechat protocol with SSL:
SSL を有効化した weechat プロトコル:
/relay add ssl.weechat 9001
weechat protocol with SSL, using only IPv4:
SSL を有効にした weechat プロトコル、IPv4 だけを利用:
/relay add ipv4.ssl.weechat 9001
weechat protocol with SSL, using only IPv6:
SSL を有効にした weechat プロトコル、IPv6 だけを利用:
/relay add ipv6.ssl.weechat 9001
weechat protocol with SSL, using IPv4 + IPv6:
SSL を有効にした weechat プロトコル、IPv4 IPv6 を利用:
/relay add ipv4.ipv6.ssl.weechat 9001
........................................
+7 -7
View File
@@ -44,27 +44,27 @@
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `white`)
* [[option_relay.irc.backlog_max_minutes]] *relay.irc.backlog_max_minutes*
** 説明: `maximum number of minutes in backlog per IRC channel (0 = unlimited, examples: 1440 = one day, 10080 = one week, 43200 = one month, 525600 = one year)`
** 説明: `IRC チャンネルごとのバックログの最大時間 (分) (0 = 制限無し、例: 1440 = 1 日、10080 = 1 週間、43200 = 1 ヶ月、525600 = 1 年間)`
** タイプ: 整数
** 値: 0 .. 2147483647 (デフォルト値: `1440`)
* [[option_relay.irc.backlog_max_number]] *relay.irc.backlog_max_number*
** 説明: `maximum number of lines in backlog per IRC channel (0 = unlimited)`
** 説明: `IRC チャンネルごとのバックログの最大行数 (0 = 制限無し)`
** タイプ: 整数
** 値: 0 .. 2147483647 (デフォルト値: `256`)
* [[option_relay.irc.backlog_since_last_disconnect]] *relay.irc.backlog_since_last_disconnect*
** 説明: `display backlog starting from last client disconnect`
** 説明: `最後にクライアントを切断した以降のバックログを表示`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
* [[option_relay.irc.backlog_tags]] *relay.irc.backlog_tags*
** 説明: `tags of messages which are displayed in backlog per IRC channel (supported tags: "irc_join", "irc_part", "irc_quit", "irc_nick", "irc_privmsg"), "*" = all supported tags`
** 説明: `IRC チャンネルごとのバックログに表示するメッセージのタグ (利用可能なタグ: "irc_join""irc_part""irc_quit""irc_nick""irc_privmsg")"*" = 利用可能な全てのタグ`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"irc_privmsg"`)
* [[option_relay.irc.backlog_time_format]] *relay.irc.backlog_time_format*
** 説明: `format for time in backlog messages (see man strftime for format) (not used if server capability "server-time" was enabled by client, because time is sent as irc tag); empty string = disable time in backlog messages`
** 説明: `バックログメッセージの時間フォーマット (フォーマットは man strftime を参照) (メッセージの irc タグ内に時間の情報が含まれるため、クライアントがサーバの "server-time" 機能を利用可能にした場合、これは利用されません。); 空文字列 = バックログメッセージで時間を表示しない`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"[%H:%M] "`)
@@ -79,7 +79,7 @@
** 値: 0 .. 65535 (デフォルト値: `256`)
* [[option_relay.network.allowed_ips]] *relay.network.allowed_ips*
** 説明: `regular expression with IPs allowed to use relay (case insensitive, use "(?-i)" at beginning to make it case sensitive); if IPv6 is enabled and that connection is made using IPv4, it will be IPv4-mapped IPv6 address (like: "::ffff:127.0.0.1"), example: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** 説明: `リレーの利用をを許可する IP アドレスの正規表現 (大文字小文字の区別無し、最初に "(?-i)" をつければ区別有り); IPv6 が有効で IPv4 を使って接続している場合、IPv6 アドレスを IPv4 にマッピングしたもの (例: "::ffff:127.0.0.1") が使われます。例: "^((::ffff:)?123.45.67.89|192.160.*)$"`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `""`)
@@ -94,7 +94,7 @@
** 値: 0 .. 9 (デフォルト値: `6`)
* [[option_relay.network.ipv6]] *relay.network.ipv6*
** 説明: `listen on IPv6 socket by default (in addition to IPv4 which is default); protocols IPv4 and IPv6 can be forced (individually or together) in the protocol name (see /help relay)`
** 説明: `デフォルトで IPv6 ソケットをリッスン (デフォルトの IPv4 に加えて); 特定のプロトコル (/help relay を参照) でプロトコルに IPv4 IPv6 (個別または両方) を強制`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
+95 -95
View File
@@ -18,43 +18,43 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
add: add a new bar
name: name of bar (must be unique)
type: root: outside windows,
window: inside windows, with optional conditions (see below)
condition: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
other condition: see /help weechat.bar.xxx.conditions and /help eval
without condition, the bar is always displayed
position: bottom, top, left or right
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create a default bar (all default bars if no bar name is given)
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar
window: window number (use '*' for current window or for root bars)
scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
list: 全てのバーをリストアップ
listfull: 全てのバーをリストアップ (詳細)
listitems: 全てのバーアイテムをリストアップ
add: 新しいバーを追加
name: バーの名称 (ユニークな)
type: root: 外側のウィンドウ、
window: 内側のウィンドウ、任意の状態を取れる (以下を参照)
condition: バーの表示状態 (タイプが "window" のバー以外は無効):
active: アクティブウィンドウに表示
inactive: 非アクティブウィンドウに表示
nicklist: ニックネームリストを持つウィンドウに表示
その他の状態: /help weechat.bar.xxx.conditions /help eval を参照してください
表示状態の指定が無ければ、バーは常に表示されます。
position: bottomtopleftright
size: バーのサイズ (文字数で指定)
separator: 1 はセパレータ (線) を使用、0 または指定無しはセパレータ無し
item1,...: バーのアイテム (アイテムはコンマ (アイテム間にスペース) または "+" (アイテム間にスペース無し) で区切ります)
default: デフォルトバーを作成 (バーの名前が無ければ全てのデフォルトバーが作成されます)
del: バーを削除 (-all を付ければ全てのバーを削除)
set: バー属性に値を設定
option: 変更するオプション (オプション一覧は /set weechat.bar.<barname>.* を参照)
value: オプションの新しい値
hide: バーを隠す
show: 隠されたバーを表示
toggle: バーの非表示/表示を切り替え
scroll: バーをスクロール
window: ウィンドウ番号 (現在のウィンドウかルートバーを指定するには '*' を使う)
scroll_value: スクロールする量: 'x' または 'y' (任意)の後に、'+' '-' 'b' (最初) か 'e' (最後)の後に、値 (+/- を付けて)、任意で % (スクロールする幅/高さの割合、% が無ければ値は文字数と解釈されます)
Examples:
create a bar with time, buffer number + name, and completion:
:
時間、バー番号 + 名前、補完候補からなるバーを作成:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
バーを隠す:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
現在のバッファに対応したニックネームリストを10行分、下方向にスクロール:
/bar scroll nicklist * y+10
scroll to end of nicklist on current buffer:
現在のバッファに対応したニックネームリストを最後までスクロール:
/bar scroll nicklist * ye
........................................
@@ -201,45 +201,45 @@ infolists: infolist に関する情報を表示
........................................
[[command_weechat_eval]]
[command]*`eval`* evaluate expression and send result to buffer::
[command]*`eval`* 式を評価して結果をバッファに送信::
........................................
/eval [-n] <expression>
[-n] <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
expression: expression to evaluate, variables with format ${variable} are replaced (see below)
operator: a logical or comparison operator:
- logical operators:
&& boolean "and"
|| boolean "or"
- comparison operators:
== equal
!= not equal
<= less or equal
< less
>= greater or equal
> greater
=~ is matching regex
!~ is NOT matching regex
-n: 結果をバッファに送信せずに表示 (デバッグモード)
expression: 評価する式、フォーマット、${variable} 型のフォーマットの変数は置換されます (以下を参照)
operator: 論理演算子や比較演算子:
- 論理演算子:
&& ブール演算の "and"
|| ブール演算の "or"
- 比較演算子:
== 等しい
!= 等しくない
<= 以下
< より少ない
>= 以上
> より大きい
=~ 正規表現にマッチ
!~ 正規表現にマッチしない
An expression is considered as "true" if it is not NULL, not empty, and different from "0".
The comparison is made using integers if the two expressions are valid integers.
To force a string comparison, add double quotes around each expression, for example:
式が NULL でない場合、空でない場合、"0" でない場合、式は "真" と評価されます。
両方の式が有効な整数である場合、比較は整数を使って行われます。
文字列比較を強制するには、それぞれの式をダブルクォートで囲みます、例えば:
50 > 100 ==> 0
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of prioity :
1. the name of an option (file.section.option)
2. the name of a local variable in buffer
3. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata(list).var1.var2...: start with a hdata using a list, for example:
${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
式中の ${variable} 型のフォーマットの変数は置換さます。変数は以下の優先順位に従います。
1. オプションの名前 (file.section.option)
2. バッファのローカル変数の名前
3. hdata の名前/変数 (値は自動的に文字列に変換されます)、デフォルトでは "window" "buffer" は現在のウィンドウ/バッファを指します。
hdata のフォーマットは以下の 1 つです:
hdata.var1.var2...: hdata (ポインタは既知) で始まり、1 個ずつ変数を続ける (他の hdata を続けることも可能)
hdata(list).var1.var2...: リストを使って hdata を始める、例:
${buffer[gui_buffers].full_name}: バッファリストにリンクされた最初のバッファのフルネーム
${plugin[weechat_plugins].name}: プラグインリストにリンクされた最初のプラグインの名前
hdata と変数の名前については、"プラグイン API リファレンス" の "weechat_hdata_get" 関数を参照してください。
Examples:
:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
@@ -607,26 +607,26 @@ file: 保存する設定ファイル (拡張子 ".conf" は不要)
/set [<option> [<value>]]
diff [<option> [<option>...]]
option: name of an option (can start or end with '*' to list many options)
value: new value for option
diff: display only changed options
option: オプションの名前 (多くのオプションをリストアップするには、'*' で始めるか終わるかしてください)
value: オプションに対する新しい値
diff: 変更されたオプションのみを表示
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string: any string ("" for empty string)
color: color name, ++number or --number
新しいオプションは以下の変数型に従います:
boolean: onofftoggle
integer: 番号、++番号、--番号
string: 任意の文字列 (空文字列は "")
color: 色の名前、++色番号、--色番号
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
どんな型であっても、オプションの値を削除する (未定義値にする) には null が使えます。これはいくつかの特別なプラグイン変数でのみ有効です。
Examples:
display options about highlight:
:
ハイライトに関するオプションを表示:
/set *highlight*
add a word to highlight:
highlight に単語を追加:
/set weechat.look.highlight "word"
display changed options:
変更されたオプションを表示:
/set diff
display changed options in irc plugin:
irc プラグインのオプションの内、変更されたオプションを表示
/set diff irc.*
........................................
@@ -651,28 +651,28 @@ option: オプションの名前 ("*" で始めるか終わるかすれば大量
........................................
/upgrade [<path_to_binary>|-quit]
path_to_binary: path to WeeChat binary (default is current binary)
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
path_to_binary: WeeChat バイナリへのパス (デフォルトは現在のバイナリ)
-quit: *すべての*接続を閉じ、セッションを保存して WeeChat を終了。遅延復帰 (詳しくは後述) が可能になります。
This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command.
このコマンドは起動中の WeeChat セッションのアップグレードと再読み込みを行います。このコマンドを実行する前に、新しい WeeChat バイナリをコンパイルするか、パッケージマネージャでインストールしなければいけません。
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
注意: SSL 接続はアップグレード中に破棄されます、これは今のところ GnuTLS では SSL セッションのリロードができないからです。アップグレードの後に自動的に再接続されます。
Upgrade process has 4 steps:
1. save session into files for core and plugins (buffers, history, ..)
2. unload all plugins (configuration files (*.conf) are written on disk)
3. save WeeChat configuration (weechat.conf)
4. execute new WeeChat binary and reload session.
アップグレードは 4 つの手順を踏みます:
1. コアとプラグイン (バッファ、履歴、...) のセッションをファイルに保存
2. 全てのプラグインをアンロード (設定ファイル (*.conf) はディスクに書き込まれます)
3. WeeChat 設定を保存 (weechat.conf)
4. 新しい WeeChat バイナリを実行してセッションをリロード。<
With option "-quit", the process is slightly different:
1. close *ALL* connections (irc, xfer, relay, ...)
2. save session into files (*.upgrade)
3. unload all plugins
4. save WeeChat configuration
5. quit WeeChat
Then later you can restore session with command: weechat-curses --upgrade
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat"
オプション "-quit" を使うと、上の挙動が少し変わります:
1. *すべての*接続を閉じる (ircxferrelay...)
2. すべてのセッションをファイルに保存 (*.upgrade)
3. すべてのプラグインをアンロード
4. WeeChat 設定を保存
5. WeeChat を終了
この後、セッションを回復させるには weechat-curses --upgrade を使ってください。
重要: 完全に同一の設定で (*.conf ファイルで) セッションを回復させてください。
"~/.weechat" ディレクトリの内容をコピーすれば異なるマシンで WeeChat のセッションを回復することも可能です。
........................................
[[command_weechat_uptime]]
+6 -6
View File
@@ -204,7 +204,7 @@
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `blue`)
* [[option_weechat.color.separator]] *weechat.color.separator*
** 説明: `ウィンドウセパレータの背景色 (分割時)`
** 説明: `ウィンドウセパレータ (分割時) とバーセパレータ (ニックネームリスト等) の色`
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `blue`)
@@ -609,7 +609,7 @@
** 値: -1 .. 2147483647 (デフォルト値: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** 説明: `prefix for action messages, colors are allowed with format "${color}"`
** 説明: `アクションメッセージのプレフィックス、フォーマット "${color}" を使えば色を使うことも可能`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `" *"`)
@@ -649,22 +649,22 @@
** 値: 未制約文字列 (デフォルト値: `"+"`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** 説明: `prefix for error messages, colors are allowed with format "${color}"`
** 説明: `エラーメッセージのプレフィックス、フォーマット "${color}" を使えば色を使うことも可能`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** 説明: `prefix for join messages, colors are allowed with format "${color}"`
** 説明: `参加メッセージのプレフィックス、フォーマット "${color}" を使えば色を使うことも可能`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** 説明: `prefix for network messages, colors are allowed with format "${color}"`
** 説明: `ネットワークメッセージのプレフィックス、フォーマット "${color}" を使えば色を使うことも可能`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** 説明: `prefix for quit messages, colors are allowed with format "${color}"`
** 説明: `終了メッセージのプレフィックス、フォーマット "${color}" を使えば色を使うことも可能`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"<--"`)
+6 -9
View File
@@ -497,13 +497,11 @@ gnutls ハンドシェイクに関するエラーの場合、Diffie-Hellman キ
/connect freenode
----------------------------------------
// TRANSLATION MISSING
[[irc_sasl]]
How can I be identified before joining channels?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=== どうすればチャンネル参加前にニックネーム認証を行うことができますか。 ===
If server supports SASL, you should use that instead of sending command for
nickserv authentication, for example:
サーバで SASL を利用可能なら、nickserv 認証のコマンドを送信するよりも
SASL を利用する方が良いです。例えば:
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
@@ -687,11 +685,10 @@ OpenBSD では、プラグインファイル名の末尾が ".so.0.0" です (Li
* 最新の安定版を使う
(古いバージョンよりもメモリリークの可能性が減ると思われます)
* 使わないプラグインのロードを禁止する、例えば: aspell、fifo、
logger、perl、python、ruby、lua、tcl、guile, xfer (DCC で使用)
logger、perl、python、ruby、lua、tcl、guilexfer (DCC で使用)
* 本当に必要なスクリプトだけをロード
// TRANSLATION MISSING
* do not load certificates if SSL is *NOT* used: set empty string in option
'weechat.network.gnutls_ca_file'
* SSL を*使わない*なら、証明書を読み込まないでください: オプション
'weechat.network.gnutls_ca_file' に空文字列を設定してください。
* 'weechat.history.max_buffer_lines_number' オプションの値を減らすか、
'weechat.history.max_buffer_lines_minutes' オプションに値を設定してください。
* 'weechat.history.max_commands' オプションの値を減らしてください。
+4 -6
View File
@@ -95,17 +95,15 @@ IRC 等全てのネットワークプロトコルはそれぞれ異なるプラ
/set irc.server.oftc.autoconnect on
// TRANSLATION MISSING
If SASL is available on server, you can use it for authentication (you will be
identified before you join channels):
サーバで SASL を利用可能な場合、SASL を利用してニックネーム認証することができます
(チャンネル参加前にニックネーム認証が行われるでしょう):
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mynick"
/set irc.server.oftc.sasl_password "xxxxxxx"
// TRANSLATION MISSING
To run a command after connection to server, for example to authenticate
with nickserv (only if you don't use SASL for authentication):
例えば nickserv との認証などを行うためにサーバ接続後にコマンドを実行するには
(SASL を利用して認証を行わない場合):
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
+6 -6
View File
@@ -88,11 +88,11 @@ weechat.register(name, author, version, license, description, shutdown_function,
* 'version': 文字列型、スクリプトのバージョン
* 'license': 文字列型、スクリプトのライセンス
* 'description': 文字列型、スクリプトの短い説明
// TRANSLATION MISSING
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前 (can be empty string)
// TRANSLATION MISSING
* 'charset': 文字列型、スクリプトの文字コード (if your script is UTF-8, you can use blank
value here, because UTF-8 is default charset)
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前
(空文字列でも可)
* 'charset': 文字列型、スクリプトの文字コード
(UTF-8 はデフォルトの文字コードなので、スクリプトが UTF-8
で書かれている場合、空文字列を指定してください)
各言語で書かれたスクリプトの例:
@@ -657,7 +657,7 @@ script_options = {
"option2" : "value2",
"option3" : "value3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
+1 -1
View File
@@ -89,7 +89,7 @@ $ make install
cmake が無い場合は autotools を使うことも可能です:
----------------------------------------------------------
$ ./autogen.sh # (git リポジトリから clone した場合のみ)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+118 -132
View File
@@ -100,9 +100,9 @@ WeeChat は cmake または autotools を使ってコンパイルできます (c
[NOTE]
^(1)^ Debian GNU/Linux ディストリビューションにおけるパッケージ名です。
他のディストリビューションではバージョンとパッケージ名が異なるかもしれません。+
他のディストリビューションではバージョンとパッケージ名が異なるかもしれません。 +
^(2)^ WeeChat は libncurses5-dev でもコンパイル可能ですが、これは推奨*されません*
(ワイドキャラクタの表示にバグを生じるでしょう)。+
(ワイドキャラクタの表示にバグを生じるでしょう)。 +
^(3)^ Python はバージョン 2.7 をお勧めします (全てのスクリプトはバージョン 2.7
で正しく動きますが、バージョン 2.6 以下または 3.0 以上では正しく動きません)。
@@ -132,11 +132,10 @@ $ make install
[[compile_with_autotools]]
==== autotools によるコンパイル ====
// TRANSLATION MISSING
[WARNING]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
cmake 以外を用いた WeeChat のビルドは公式にサポートされません。cmake
を利用できない場合のみ autotools を使ってください。 +
autotools を用いてビルドする場合、cmake よりも多くの依存パッケージとより長い時間が必要です。
* システムディレクトリにインストールする場合 ('root' 特権が必要です):
@@ -534,95 +533,92 @@ WeeChat を起動したターミナルの例:
(バッファ #3)
........................................
// TRANSLATION MISSING
[[bars]]
Bars
~~~~
=== バー ===
A 'bar' is an area beside the chat that can contain any type of text.
'バー' とは任意のテキストを含めることができるチャットエリア以外の場所です。
The bar options can be set with options `weechat.bar.name.option` where `name`
is the name of the bar and `option` the option for this bar.
バーオプションは `weechat.bar.name.option` オプションで設定します。ここで
`name` はバーの名前、`option` はこのバーのオプション名です。
List of bar options:
バーオプションのリスト:
[width="100%",cols="2m,2,10",options="header"]
|========================================
| Option | Values | Description
| オプション名 | 値 | 説明
| type | `root`, `window` |
A bar with type `root` is displayed exactly one time on screen, outside all
windows. There is no root bar by default, but an example is the bar 'buffers'
created by script 'buffers.pl' (sidebar with list of buffers). +
A bar with type `window` is displayed in each window, for example if you
split one time the screen (with `/window splith` or `/window splitv`), you
will have one bar in each window. The four default bars ('title', 'status',
'input', 'nicklist') have type `window`.
| type | `root``window` |
`root` 型のバーは画面に (全てのウィンドウの外に) 1 回だけ表示されます。デフォルトでは
root バーはありませんが、'buffers.pl' スクリプトが作成する 'buffers' バー
(バッファのリストを含むサイドバー) が例の 1 つです。 +
`window` 型のバーは各ウィンドウに対して表示されます。例えば (`/window splith`
`/window splitv` で) 画面を 1 回分割する場合、それぞれのウィンドウにバーが
1 つ表示されます。4 つのデフォルトバー ('title''status'、'input'、'nicklist')
`window` 型のバーです。
| position | `top`, `bottom`, `left`, `right` |
Position of the bar: above/below chat, on the left/right.
| position | `top``bottom``left``right` |
バーの位置: チャットエリアの上、下、左、右。
| priority | integer ≥ 0 |
Priority for display of bar: this is used for ordering the bars on screen when
many bars have same type and position. +
The bars are displayed from the edge of the screen to the center. A higher
priority will display bar at the beginning, so closer to the edge. +
Example: 'input' bar has priority 1000, so it is displayed before the 'status'
bar, which has priority 500.
| priority | 0 以上の整数 |
バーの表示優先度:
型と位置が同じ複数のバーを画面に表示する順番に利用される。 +
バーは画面の端から中心に向かって表示される。高い優先度を持つバーが先に
(画面の端に近い側に) 表示される。 +
例: 優先度 1000 の 'input' バーは優先度 500 の 'status'
バーよりも先に表示される。
| size | integer ≥ 0 |
The size of the bar: number of columns for position left/right, number
of lines for position top/tobbom. A size of `0` means automatic, so the size
will be computed according to content displayed in bar.
| size | 0 以上の整数 |
バーのサイズ:
位置が右/左の場合は列数、位置が上/下の場合は行数。値が `0`
の場合は自動 (バーのサイズはバーの内容を基に計算される)。
| size_max | integer ≥ 0 |
The maximum size for a bar, `0` = no limit (this option is used only if
`size` = `0`).
| size_max | 0 以上の整数 |
バーの最大サイズ、`0` = 制限無し (このオプションは
`size` = `0` の場合のみ使われる)。
| color_bg | color |
The default background color for the bar.
| color_bg | |
バーのデフォルトの背景色
| color_fg | color |
The default text color for the bar.
| color_fg | |
バーのデフォルトのテキスト色
| color_delim | color |
The color for delimiters in bar.
| color_delim | |
バーの区切り文字の色
| hidden | `on`, `off` |
When option is `on`, the bar is hidden. +
Note: instead of changing this option, the command `/bar` is preferred, for
example: `/bar toggle nicklist` (see command <<command_weechat_bar,/bar>>).
| hidden | `on``off` |
このオプションが `on` の場合、バーは表示されません。 +
注意: このオプションを変更する代わりに、`/bar` コマンドを使うと便利です。例:
`/bar toggle nicklist` (<<command_weechat_bar,/bar>> コマンドを参照)。
| separator | `on`, `off` |
When option is `on`, a separator (line) is displayed between this bar and
other bars (or chat).
| separator | `on``off` |
このオプションが `on` の場合、セパレータ (区切り線)
がバー同士またはバーとチャットエリアの間に表示されます。
| items | string |
A list of 'items' (see <<bar_items,items>> for more info).
| items | 文字列 |
'items' のリスト (詳細は<<bar_items,アイテム>>を参照)。
| filling_left_right | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Type of filling for a bar which has position `left` or `right` (see
<<bar_filling,filling>> for more info).
| filling_left_right | `horizontal``vertical``columns_horizontal``columns_vertical` |
位置が `left` または `right` のバーに対するフィリングタイプ
(詳細は<<bar_filling,フィリング>>を参照)。
| filling_top_bottom | `horizontal`, `vertical`, `columns_horizontal`, `columns_vertical` |
Type of filling for a bar which has position `top` or `bottom` (see
<<bar_filling,filling>> for more info).
| filling_top_bottom | `horizontal``vertical``columns_horizontal``columns_vertical` |
位置が `top` または `bottom` のバーに対するフィリングタイプ
(詳細は<<bar_filling,フィリング>>を参照)。
| conditions | string |
The conditions to display the bar (see <<bar_conditions,conditions>> for more
info).
| conditions | 文字列 |
バーを表示する状態
(詳細は<<bar_conditions,状態>>を参照)。
|========================================
[[bar_items]]
Items
^^^^^
==== アイテム ====
The option 'items' is a string with a list of bar items, separated by a comma
(space between items on screen) or "+" (glued items).
'items' オプションはバーアイテムをコンマ (画面上のアイテム同士に間隔を空ける)
または "+" (間隔を空けない) で区切った文字列。
The list of bar items is displayed with command `/bar listitems`.
バーアイテムのリストは `/bar listitems` コマンドで表示されます。
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
アイテムを含むバーの例 "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
┌─────────────────────────────────────────────────────────────────────────────────────────┐
@@ -631,25 +627,24 @@ Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
[[bar_filling]]
Filling
^^^^^^^
==== フィリング ====
There are four types of filling:
フィリングタイプには 4 つの種類があります:
* `horizontal`: the items are displayed horizontally, from left to right. If
there are new lines in items, a space is used to separate lines.
* `vertical`: the items are displayed from top to bottom. If there are new
lines in items, a new line is used to separate lines.
* `columns_horizontal`: items are displayed using columns, where text is
aligned on the left. The first item is on top left, the second is on same
line, on the right.
* `columns_vertical`: items are displayed using columns, where text is aligned
on the left. The first item is on top left, the second is one line below.
* `horizontal`:
左から右に向かってアイテムを水平に表示。アイテム内に改行がある場合、空白を行区切りに利用します。
* `vertical`:
上から下に向かってアイテムを表示。アイテム内に改行がある場合、改行を行区切りに利用します。
* `columns_horizontal`:
テキストを左寄せして、列形式でアイテムを表示。最初のアイテムは左上、2
番目は同じ行の 1 列右側。
* `columns_vertical`: テキストを左寄せして、列形式でアイテムを表示。最初のアイテムは左上、2
番目は同じ列の 1 行下側。
Default bars 'title', 'status' and 'input' have 'horizontal' filling, and
default bar 'nicklist' has 'vertical' filling.
デフォルトバーである 'title''status''input'
'horizontal' フィリング、'nicklist' 'vertical' フィリング。
Some examples of filling for bar 'nicklist':
'nicklist' バーに対するフィリングの例:
........................................
┌──────────────────────────────────────────────────┐
@@ -708,40 +703,39 @@ Some examples of filling for bar 'nicklist':
........................................
[[bar_conditions]]
Conditions
^^^^^^^^^^
==== 状態 ====
The option 'conditions' is a string evaluated to know if the bar is displayed
or not in the window (it is used only for bars with type 'window').
'conditions' オプションはバーをウィンドウ内に表示するか否かを評価する文字列です
(このオプションは 'window' 型のバーだけに有効です)。
The string can be:
文字列は以下のいずれか:
* 'active': the window must be active
* 'inactive': the window must be inactive
* 'nicklist': the buffer displayed in window must have a nicklist
* an expression: it is evaluated as boolean (see command
<<command_weechat_eval,/eval>>)
* 'active': 非アクティブ状態のウィンドウ
* 'inactive': 非アクティブ状態のウィンドウ
* 'nicklist': ニックネームリストが含まれるバッファのウィンドウ
* 式: ブール値として評価
(<<command_weechat_eval,/eval>> コマンドを参照)
For the expression, following variables are available:
式に使える変数は以下:
* `${active}`: true if window is active
* `${inactive}`: true if window is inactive
* `$[nicklist}`: true if buffer displayed in window has a nicklist
* `${active}`: ウィンドウがアクティブ状態の時に真
* `${inactive}`: ウィンドウが非アクティブ状態の時に真
* `$[nicklist}`: ウィンドウに表示されるバッファがニックネームリストの場合に真。
Following pointers are available:
式に使えるポインタは以下:
* `${window}`: the window where condition is evaluated
* `${buffer}`: the buffer of window where condition is evaluated
* `${window}`: 状態が評価されたウィンドウ
* `${buffer}`: 状態が評価されたウィンドウのバッファ
Example to display nicklist bar in all buffers with a nicklist, and only if
width of window is > 100 :
ニックネームリストを持ち、ウィンドウ幅が 100
より大きい全てのバッファにニックネームリストバーを表示する例:
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"
----------------------------------------
Same condition, but always display nicklist on buffer '&bitlbee' (even if window
is small):
上と同じだが、'&bitlbee' バッファでは常にニックネームリストを表示
(ウィンドウ幅が狭くても):
----------------------------------------
/set weechat.bar.nicklist.conditions "${nicklist} && (${window.win_width} > 100 || ${buffer.full_name} == irc.bitlbee.&bitlbee)"
@@ -1074,14 +1068,13 @@ WeeChat はデフォルトマウスイベントの多くを定義しています
| gesture-right-long | ≥ 40
|========================================
// TRANSLATION MISSING
List of incomplete events (only for buttons, useful for plugins/scripts):
未完了イベントのリスト (ボタンのみ、プラグイン/スクリプトで便利):
[width="50%",cols="3m,4",options="header"]
|========================================
| Event | Description
| event-down | button was pressed but not released yet
| event-drag | mouse was moved with button pressed down
| イベント | 説明
| event-down | マウスボタンが押され、離されていない状態
| event-drag | マウスボタンが押された状態でマウスが動かされた
|========================================
イベントの表記例:
@@ -1455,18 +1448,16 @@ $ aspell config
/set aspell.option.ignore-case "true"
----------------------------------------
// TRANSLATION MISSING
[[aspell_suggestions]]
Suggestions
^^^^^^^^^^^
==== 修正候補 ====
Suggestions are displayed in a bar item called "aspell_suggest". The number of
suggestions is set in option 'aspell.check.suggestions'.
"aspell_suggest" バーアイテム内に修正候補が表示されます。修正候補の数は
'aspell.check.suggestions' オプションで設定します。
To enable suggestions you must set option 'aspell.check.suggestions' to an
integer ≥ 0 and add the bar item "aspell_suggest" to a bar, like 'status'.
修正候補を利用するには、'aspell.check.suggestions' オプションをゼロ以上の整数に設定し、'status'
バーなどに "aspell_suggest" バーアイテムを追加してください。
Example of suggestions with english dictionary (`en`):
英語辞書 (`en`) を用いた修正候補の例:
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune] │
@@ -1474,7 +1465,7 @@ Example of suggestions with english dictionary (`en`):
└─────────────────────────────────────────────────────────────────────────────────┘
........................................
Example of suggestions with english and french dictionaries (`en,fr`):
英語とフランス語辞書 (`en,fr`) を用いた修正候補の例:
........................................
│[12:55] [6] [irc/freenode] 3:#test(+n){4} [print,prone,prune/prime,primer,primé] │
@@ -1894,31 +1885,28 @@ CTCP "BLABLA" 要求に対する応答を以下のように設定できます:
以下のコードを設定値に含めることが可能です。これらのコードは
CTCP 応答時に自動的に WeeChat によって展開されます:
// TRANSLATION MISSING ($versiongit + $git + $username (name))
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| コード | 説明 | 値/例
| $clientinfo | サポートしている CTCP オプションのリスト | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat バージョン | 0.4.0-dev
| $versiongit | WeeChat version + git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | git version | v0.3.9-104-g7eb5cc4
| $versiongit | WeeChat バージョン + git バージョン | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | git バージョン | v0.3.9-104-g7eb5cc4
| $compilation | WeeChat コンパイル日時 | Dec 16 2012
| $osinfo | info about OS に関する情報 | Linux 2.6.32-5-amd64 / x86_64
| $osinfo | OS に関する情報 | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat ウェブサイト | http://www.weechat.org/
| $download | WeeChat ウェブサイトのダウンロードページ | http://www.weechat.org/download
| $time | 現在の日時 | Sun, 16 Dec 2012 10:40:48 +0100
| $username | IRC サーバのユーザネーム | name
| $username | IRC サーバのユーザネーム | ログイン名
| $realname | IRC サーバのリアルネーム | John Doe
|========================================
// TRANSLATION MISSING
[NOTE]
The git version is the output of command `git describe`. It is known only if
WeeChat has been compiled inside the git repository and if git was installed.
git バージョンとは `git describe` コマンドの出力です。git リポジトリで
WeeChat をコンパイルし、git がインストールされている場合のみ値が設定されます。
CTCP オプションが設定されていない (デフォルトの) 場合、CTCP 応答は以下のようになります:
// TRANSLATION MISSING ($username (name))
[width="100%",cols="^2,4l,8l",options="header"]
|========================================
| CTCP | 応答フォーマット | 例
@@ -1926,7 +1914,7 @@ CTCP オプションが設定されていない (デフォルトの) 場合、CT
| FINGER | WeeChat $versiongit | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| SOURCE | $download | http://www.weechat.org/download
| TIME | $time | Sun, 16 Dec 2012 10:40:48 +0100
| USERINFO | $username ($realname) | name (My name)
| USERINFO | $username ($realname) | ログイン名 (John Doe)
| VERSION | WeeChat $versiongit ($compilation) | WeeChat 0.4.0-dev (git: v0.3.9-104-g7eb5cc4) (Dec 16 2012)
|========================================
@@ -2022,10 +2010,8 @@ weechat::
| 433 | | ニックネームが使用されています
| 438 | | ニックネームを変更する権限がありません
| 671 | whois | whois (セキュアな接続)
// TRANSLATION MISSING
| 728 | quietlist | quiet list
// TRANSLATION MISSING
| 729 | quietlist | end of quiet list
| 728 | quietlist | 発言禁止リスト
| 729 | quietlist | 発言禁止リストの終了
| 901 | | ログインに成功
|========================================
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2006 Julien Louis <ptitlouis@sysif.net>
#
# This file is part of WeeChat, the extensible chat client.
+25 -31
View File
@@ -3,10 +3,9 @@ WeeChat FAQ (Często zadawane pytania)
Sébastien Helleu <flashcode@flashtux.org>
// TRANSLATION MISSING
[NOTE]
This document is written for WeeChat versions ≥ 0.3.0 but should preferably be
used with latest stable version of WeeChat.
Ten dokument jest napisany dla WeeChat w wersji ≥ 0.3.0, ale powinien być używany
dla najnowszej stabilnej wersji.
[[general]]
@@ -205,22 +204,21 @@ W celu ograniczenia długości nicków w oknie rozmowy:
/set weechat.look.prefix_align none
----------------------------------------
// TRANSLATION MISSING
[[input_bar_size]]
How to use command line with more than one line?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jak używać linii poleceń z więcej niż jednym wierszem?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The option 'size' in input bar can be set to a value higher than 1 (for fixed
size, default size is 1) or 0 for dynamic size, and then option 'size_max' will
set the max size (0 = no limit).
Opcja 'size' paska wprowadzania może zostać ustawiona na wartość wyższą niż 1
(dla ustalonej wartości, domyślny rozmiar to 1) lub 0 dla dynamicznego rozmiaru,
następnie opcja 'size_max' ustali maksymalny rozmiar (0 = brak limitu).
Example with dynamic size:
Przykład dynamicznego rozmiaru:
----------------------------------------
/set weechat.bar.input.size 0
----------------------------------------
Max size of 2:
Maksymalny rozmiar równy 2:
----------------------------------------
/set weechat.bar.input.size_max 2
@@ -475,14 +473,13 @@ działa to dla X/Y większych dla 94.
Powinieneś użyć terminala wspierającego położenia UTF-8 dla myszy, jak
rxvt-unicode.
// TRANSLATION MISSING
[[mouse_select_paste]]
How can I select or paste text in terminal when mouse is enabled in WeeChat?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jak mogę zaznaczyć lub wkleić tekst w terminalu z włączoną obsługa myszy w WeeChat?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When mouse is enabled in WeeChat, you can use @k(-S-) modifier to select or
click in terminal, as if the mouse was disabled (on some terminals like iTerm,
you have to use @k(-A-) instead of @k(-S-)).
Kiedy obsługa myszy jest włączona w WeeChat, można użyć modyfikatora @k(-S-) do zaznaczania
lub kliknać w terminalu, tak jak w przypadku wyłączonej obsługi myszy (w niektórych
terminalach jak iTerm należy użyć @k(-A-) zamiast @k(-S-)).
[[irc]]
IRC
@@ -539,22 +536,21 @@ Ustaw port serwera, SSL, dhkey_size, następnie się połącz:
/connect freenode
----------------------------------------
// TRANSLATION MISSING
[[irc_sasl]]
How can I be identified before joining channels?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jak mogę się zidentyfikować przed wejściem na kanały?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If server supports SASL, you should use that instead of sending command for
nickserv authentication, for example:
Jeśli serwer wspiera SASL, możesz użyć tego zamiast wysyłać komendę do nickserva,
na przykład:
----------------------------------------
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.freenode.sasl_username "mynick"
/set irc.server.freenode.sasl_username "nick"
/set irc.server.freenode.sasl_password "xxxxxxx"
----------------------------------------
If server does not support SASL, you can add a delay (between command and join
of channels):
Jeśli serwer nie wspiera SASL, możesz dodać odstęp pomiędzy komendą a wejściem
na kanały):
----------------------------------------
/set irc.server.freenode.command_delay 5
@@ -741,15 +737,13 @@ W celu zmniejszenia używanej pamięci możesz zastosować się do poniższych r
* używać najnowsze stabilnej wersji (powinna mieć mniej wycieków pamięci
niż starsze wersje)
* nie ładować nieużywanych pluginów, np: aspell, fifo, logger, perl, python,
* nie ładuj nieużywanych pluginów, np: aspell, fifo, logger, perl, python,
ruby, lua, tcl, guile, xfer (używana do DCC)
* ładować tylko naprawdę używane skrypty
// TRANSLATION MISSING
* do not load certificates if SSL is *NOT* used: set empty string in option
* nie ładuj certyfikatów jeśli SSL *NIE* jest używany: ustaw pusty ciąg w opcji
'weechat.network.gnutls_ca_file'
// TRANSLATION MISSING
* reduce value of option 'weechat.history.max_buffer_lines_number' or set value
of option 'weechat.history.max_buffer_lines_minutes'
* zmniejsz wartość dla opcji 'weechat.history.max_buffer_lines_number' lub ustaw
wartość opcji 'weechat.history.max_buffer_lines_minutes'
* zmniejszyć wartość opcji 'weechat.history.max_commands'
[[development]]
+6 -9
View File
@@ -101,17 +101,15 @@ Aby włączyć automatyczne łączenie się z serwerem przy starcie:
/set irc.server.oftc.autoconnect on
// TRANSLATION MISSING
If SASL is available on server, you can use it for authentication (you will be
identified before you join channels):
Jeśli SASL jest dostępny na serwerze, można użyć go do uwierzytelnienia (zostaniesz
zidentyfikowany przed wejściem na kanał):
/set irc.server_default.sasl_mechanism dh-blowfish
/set irc.server.oftc.sasl_username "mójnick"
/set irc.server.oftc.sasl_password "xxxxxxx"
// TRANSLATION MISSING
To run a command after connection to server, for example to authenticate
with nickserv (only if you don't use SASL for authentication):
Żeby wykonać komendę po połączeniu z serwerem, na przykład uwierzytelnienie
przez nickserv (tylko jeśli nie uwierzytelniasz się przez SASL):
/set irc.server.oftc.command "/msg nickserv identify xxxxxxx"
@@ -235,9 +233,8 @@ skrypty).
Wiele zewnętrznych skryptów (od społeczności) jest dostępnych dla WeeChat:
http://www.weechat.org/scripts
// TRANSLATION MISSING
You can manage scripts in WeeChat with command `/script` (see `/help script`
for more info).
Możesz zarządzac skryptami w WeeChat dzięki komendzie `/script` (zobacz `/help script`
po więcej informacji).
[[more_doc]]
+2 -3
View File
@@ -99,9 +99,8 @@ Argumenty:
* 'wersja': string, wersja
* 'licencja': string, licencja
* 'opis': string, krótki opis skryptu
// TRANSLATION MISSING
* 'funkcja_wyłączająca': string, nazwa funkcji wywoływanej podczas wyładowania skryptu
(can be empty string)
(może być pusty ciąg)
* 'kodowanie': string, kodowane skryptu (jeśli skrypt jest napisany
w UTF-8 można nie podawać tej wartości - UTF-8 to domyślne kodowanie)
@@ -686,7 +685,7 @@ script_options = {
"opcja2" : "wartość2",
"opcja3" : "wartość3",
}
for option, default_value in script_options.iteritems():
for option, default_value in script_options.items():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
+1 -1
View File
@@ -94,7 +94,7 @@ $ make install
Jeśli nie posiadasz cmake, nadal jest możliwe użycie autotools:
----------------------------------------------------------
$ ./autogen.sh # (only if you cloned git repository)
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ make
$ make install
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2003-2012 Sebastien Helleu <flashcode@flashtux.org>
# Copyright (C) 2003-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#

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