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

Compare commits

..

34 Commits

Author SHA1 Message Date
Sebastien Helleu 6d103c62f9 Version 0.3.6 2011-10-22 10:12:19 +02:00
Marco Paolone 64a38756b6 doc: update italian translations and docs 2011-10-21 12:18:48 +02:00
Elián Hanisch 484900adfd doc: update spanish translations 2011-10-21 08:03:36 +02:00
Sebastien Helleu 590668013e core: fix typo in ChangeLog 2011-10-20 18:28:07 +02:00
Sebastien Helleu 661f651048 Version 0.3.6-rc3 2011-10-20 09:57:47 +02:00
Sebastien Helleu 90ab543ce2 doc: add missing description of argument "case_sensitive" for function "weechat_string_match" in plugin API reference 2011-10-19 16:23:19 +02:00
Sebastien Helleu 0a2c938dae core: fix freeze when calling function util_file_get_content with a directory instead of a filename 2011-10-19 13:41:34 +02:00
Marco Paolone e26553fd9b doc: update italian user guide and plugin API reference 2011-10-17 17:52:26 +02:00
Sebastien Helleu 395674c724 irc: fix split of outgoing message when there are only spaces
This fix error "No text to send" when sending message with one space (the space
was lost during split of string).
2011-10-16 20:15:22 +02:00
Sebastien Helleu c161d704f7 core: use value 2 of keep_eol in function string_split to keep separators at end of string 2011-10-16 20:12:55 +02:00
Sebastien Helleu 2ed8974d2f core: fix status of mouse displayed by command /mouse 2011-10-16 18:23:54 +02:00
Sebastien Helleu 40d8e61118 irc: fix uninitialized key_type in struct gnutls_retr2_st (for gnutls >= 2.11.0)
This was causing connection problem with following messages:
irc: TLS handshake failed
irc: error: Insufficient credentials for that request.
2011-10-15 15:50:40 +02:00
Sebastien Helleu ac7c27949b core: add color attribute "|" and value "resetcolor" for function weechat_color in plugin API (bug #34550) 2011-10-15 13:54:53 +02:00
Sebastien Helleu 0bbddad6a6 doc: update polish translations and docs, add polish scripting guide 2011-10-12 14:41:33 +02:00
Sebastien Helleu 5c694363e8 doc: update italian FAQ and plugin API reference 2011-10-12 13:45:13 +02:00
Sebastien Helleu dabcf293c9 doc: add note about hsignal name for irc redirections in plugin API reference 2011-10-11 18:36:40 +02:00
Sebastien Helleu 452382db26 Version 0.3.6-rc2 2011-10-10 18:44:53 +02:00
Sebastien Helleu 3f5d865d64 core: uninstall docs and weechat-plugin.h on "make uninstall", fix compilation of doc in standalone package 2011-10-10 18:41:25 +02:00
Sebastien Helleu 430d1643cc core: fix compilation error (INSTALLPREFIX undeclared) on OS X and when compiling with included gettext (bug #26690) 2011-10-10 18:40:03 +02:00
Sebastien Helleu 2af9c4ba92 core: display timeout for hook_process command only if debug for core is enabled (task #11401) 2011-10-09 10:33:05 +02:00
Sebastien Helleu 298fde23fe doc: update german user guide and FAQ 2011-10-07 21:53:17 +02:00
Sebastien Helleu 53b339fb35 core: bufferize lines displayed before core buffer is created, to display them in buffer when it is created 2011-10-07 15:30:54 +02:00
Sebastien Helleu 2c87a641e7 doc: update italian translations 2011-10-06 17:03:03 +02:00
Sebastien Helleu ddbdb3e657 doc: update italian docs 2011-10-06 13:11:44 +02:00
Sebastien Helleu b2b585de69 doc: add keys to jump to highlights in FAQ (question about search of text in buffers) 2011-10-06 10:03:07 +02:00
Sebastien Helleu b9dd668d90 core: add modifiers control/alt ("ctrl" and "alt") for mouse events 2011-10-05 18:15:28 +02:00
Sebastien Helleu 971e464e86 doc: replace "line date" by "line date/time" for hashtable of hook_focus in plugin API reference 2011-10-05 18:14:30 +02:00
Sebastien Helleu 875112756c core: ignore mouse code '@' (coordinates) when it is received as first event (bug of urxvt sending only this code on shift-selection in terminal) 2011-10-05 11:55:58 +02:00
Sebastien Helleu ecba10eab2 doc: add "nick" for sasl_username option (irc plugin) in user guide 2011-10-05 09:46:51 +02:00
Sebastien Helleu 67726a9451 doc: add note about prefix for function weechat_printf in plugin API reference 2011-10-04 17:26:16 +02:00
Sebastien Helleu 58c32e4249 irc: fix display of items "away" and "lag" in root bars, refresh all irc bar items on signal "buffer_switch" (bug #34466) 2011-10-04 10:32:56 +02:00
Sebastien Helleu 9206036233 core: update text in command history when pressing (ctrl-)up 2011-10-03 23:21:07 +02:00
Sebastien Helleu e93647db95 irc: fix crash on malformed irc notice received (without message after target) 2011-10-03 15:37:35 +02:00
Sebastien Helleu f2879b0572 doc: update german translations, user guide and FAQ 2011-10-02 15:20:57 +02:00
82 changed files with 3288 additions and 2234 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "6-rc1")
SET(VERSION_PATCH "6")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
+17 -3
View File
@@ -1,12 +1,23 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.6-rc1, 2011-10-02
v0.3.6, 2011-10-22
Version 0.3.6 (under dev!)
Version 0.3.6 (2011-10-22)
--------------------------
* core: fix freeze when calling function util_file_get_content with a directory
instead of a filename
* core: add color attribute "|" (keep attributes) and value "resetcolor" for
function weechat_color in plugin API (used by irc plugin to keep
bold/reverse/underlined in message when changing color) (bug #34550)
* core: fix compilation error (INSTALLPREFIX undeclared) on OS X and when
compiling with included gettext (bug #26690)
* core: display timeout for hook_process command only if debug for core is
enabled (task #11401)
* core: bufferize lines displayed before core buffer is created, to display them
in buffer when it is created
* core: fix display of background color in chat area after line feed
* core: fix paste detection (problem with end of lines)
* core: add new option weechat.look.color_basic_force_bold, off by default: bold
@@ -52,7 +63,7 @@ Version 0.3.6 (under dev!)
* core: add support of mouse: new command /mouse, new key context "mouse",
new options weechat.look.mouse and weechat.look.mouse_timer_delay (task #5435)
* core: add command /cursor (free movement of cursor on screen), with key
context "search"
context "cursor"
* core: automatic scroll direction in /bar scroll (x/y is now optional)
* core: add optional delay for key grab (commands /input grab_key and
/input grab_key_command, default is 500 milliseconds)
@@ -87,6 +98,9 @@ Version 0.3.6 (under dev!)
description for option when function is called)
* scripts: fix crash with scripts not auto-loaded having a buffer opened after
/upgrade (input/close callbacks for buffer not set properly)
* irc: fix display of items "away" and "lag" in root bars, refresh all irc bar
items on signal "buffer_switch" (bug #34466)
* irc: fix crash on malformed irc notice received (without message after target)
* irc: add missing messages for whois: 223, 264, 343
* irc: use high priority queue for sending modes and wallchops messages
* irc: allow reason for command /disconnect
+2 -2
View File
@@ -1,10 +1,10 @@
WeeChat News
============
Sébastien Helleu <flashcode@flashtux.org>
v0.3.6-rc1, 2011-10-02
v0.3.6, 2011-10-22
Version 0.3.6 (under dev!)
Version 0.3.6 (2011-10-22)
--------------------------
Important release notes:
+3 -3
View File
@@ -24,10 +24,10 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.3.6-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 0.3.6, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([src/core/weechat.c])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([weechat], [0.3.6-rc1])
AM_INIT_AUTOMAKE([weechat], [0.3.6])
LICENSE="GPL3"
# Checks for programs
@@ -59,7 +59,7 @@ esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl it pt_BR"
AM_GNU_GETTEXT([use-libtool])
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.15])
# Checks for libraries
+3
View File
@@ -23,3 +23,6 @@ SUBDIRS = . en fr pl de ru ja it
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
+3
View File
@@ -1,7 +1,10 @@
[replacements]
@k\(C-\)=<span class="key ctrl">Ctrl</span><span class="keyplus">+</span>
@k\(-C-\)=<span class="key ctrl">Ctrl</span>
@k\(A-\)=<span class="key alt">Alt</span><span class="keyplus">+</span>
@k\(-A-\)=<span class="key alt">Alt</span>
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
@k\(-S-\)=<span class="key shift">Shift</span>
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
@k\(([A-Za-z0-9_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9_&\=][^)]*)\)=<span class="key">\1</span>
+11 -5
View File
@@ -36,23 +36,23 @@ all-local: weechat_user.de.html \
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html weechat_user.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html weechat_scripting.de.txt
$(ASCIIDOC) -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html weechat_faq.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html weechat_quickstart.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
# tester's guide
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html weechat_tester.de.txt
$(ASCIIDOC) -a lang=de -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt
# install docs
@@ -60,6 +60,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.de.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
@@ -4,6 +4,6 @@
| irc | irc_message_parse | Parse eine IRC Nachricht | "message": IRC Nachricht | "nick": nick, "host": host, "command": command, "channel": channel, "arguments": arguments (beinhaltet Channel)
| irc | irc_message_split | split an IRC message (to fit in 512 bytes) | "message": IRC message, "server": server name (optional) | "msg1" ... "msgN": messages to send (without final "\r\n"), "args1" ... "argsN": arguments of messages, "count": number of messages
| 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
|========================================
+4 -4
View File
@@ -139,13 +139,13 @@ Ziel: Servername
........................................
[[command_irc_disconnect]]
[command]*`disconnect`* disconnect from one or all IRC servers::
[command]*`disconnect`* Verbindung zu einem oder mehreren IRC-Server(n) trennen::
........................................
/disconnect [<server>|-all [<reason>]]
server: server name to disconnect
-all: disconnect from all servers
reason: reason for quit
server: Name des Servers zu dem die Verbindung getrennt werden soll
-all: Verbindung zu allen Servern trennen
reason: Begründung der Trennung
........................................
[[command_irc_halfop]]
+39 -39
View File
@@ -37,7 +37,7 @@ message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand
default: erstellt standardisierte Infobars
del: entfernt eine Infobar (alle Infobars können mit der Option "-all" entfernt werden).
set: setzt einen Wert für Infobar
option: Optionen die geändert werden (für eine List der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
option: Option die verändert werden soll (für eine Liste aller möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
value: neuer Wert für Option
hide: Infobar wird ausgeblendet
show: zeigt eine ausgeblendete Infobar an
@@ -341,43 +341,43 @@ Dieser Befehl wird durch Tastenbelegungen oder Erweiterungen genutzt.
resetall -yes [<context>]
missing [<context>]
list: list all current keys (without argument, this list is displayed)
listdefault: list default keys
listdiff: list differences between current and default keys (keys added, redefined or deleted)
context: name of context ("default" or "search")
bind: bind a command to a key or display command bound to key (for context "default")
bindctxt: bind a command to a key or display command bound to key, for given context
unbind: remove a key binding (for context "default")
unbindctxt: remove a key binding for given context
reset: reset a key to default binding (for context "default")
resetctxt: reset a key to default binding, for given context
resetall: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings), useful after installing new WeeChat version
list: zeigt die aktuelle Tastenbelegungen an (Standardaufruf)
listdefault: zeigt die Standardeinstellung der Tastenbelegung an
listdiff: zeigt die Unterschiede zwischen der aktuell genutzten Tastaturbelegung und der Standardbelegung an (hinzugefügte/verändert/gelöschte Tastenbelegungen)
context: Name des Kontextes ("default" oder "search")
bind: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde (für Kontext "default")
bindctxt: belegt eine Taste mit einem Befehl oder zeigt an welcher Befehl auf eine Taste gelegt wurde, dies trifft für Kontext definierte Tasten zu
unbind: hebt eine Tastenbelegung auf (für Kontext "default")
unbindctxt: hebt eine Tastenbelegung für den angegebenen Kontext auf
reset: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt (für Kontext "default")
resetctxt: die Tastenbelegung wird für die ausgewählte Taste auf die Standardeinstellung zurück gesetzt, dies trifft für den ausgewählten Kontext zu
resetall: die Tastenbelegung wird auf die Standardeinstellungen zurück gesetzt. Dies löscht ALLE persönlichen Tastenbelegungen (Vorsicht!)
missing: fügt fehlende Tastenbelegungen hinzu (dazu wird die Standardbelegung genutzt). Dies kann sinnvoll sein wenn man auf eine neue WeeChat Version umgestiegen ist
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
Falls einer Taste ein Befehl zugeordnet werden soll ist es ratsam zuerst mit der Tastenkombination alt+k (oder Esc + k) einen Fangmodus zu aktivieren um damit die neu zu belegende Taste zu greifen. Durch diesen Schritt wird der entsprechende Tasten-Code in die Befehlszeile übernommen.
For context "mouse" (possible in context "cursor" too), key has format: "@area:key" or "@area1>area2:key" where area can be:
*: any area on screen
chat: chat area (any buffer)
chat(xxx): char area for buffer with name "xxx" (full name including plugin)
bar(*): any bar
bar(xxx): bar "xxx"
item(*): any bar item
item(xxx): bar item "xxx"
The key can start or end with '*' to match many mouse events.
A special value for command with format "hsignal:name" can be used for context mouse, this will send the hsignal "name" with the focus hashtable as argument.
Another special value "-" can be used to disable key (it will be ignored when looking for keys).
Für Kontext "mouse" (Kontext "cursor" ist auch möglich), hat der zu verwendende Schlüssel folgendes Format: "@area:Schlüssel" oder "@area1>area2:Schlussel". "area" kann folgende Werte habe:
*: jedweder Bereich des Bildschirms
chat: Chatbereich (für jeden Buffer)
chat(xxx): Chatbereich für einen Buffer mit dem Namen "xxx" (vollständiger Name mit Erweiterung. Beispiel: chat(perl.iset):)
bar(*): beliebige Bar
bar(xxx): Bar mit dem Namen "xxx"
item(*): beliebiges Bar-Item
item(xxx): Bar-Item mit Namen "xxx"
Der zu nutzende Schlüssel kann mit '*' beginnen oder enden um mehrere unterschiedliche Mausereignisse auszuwählen.
Für den Kontext "mouse" kann ein besonderer Übergabewert für den zu nutzenden Befehl verwendet werden, "hsignal:name". Dieses sendet das hsignal "name" und als Inhalt ein Hashtable als Argument.
Ein weiterer Übergabewert ist "-" und kann genutzt werden um einen Schlüssel zu deaktivieren (der Schlüssel wird bei der Durchführung übersprungen).
Examples:
key alt-x to toggle nicklist bar:
Beispiele:
Mit der Tastenkombination "alt-x" wird die Nicklist-Bar an-und aus geschaltet:
/key bind meta-x /bar toggle nicklist
key alt-r to jump to #weechat IRC channel:
Mit der Tastenkombination "alt-r" wird direkt zum IRC #weechat Buffer gewechselt:
/key bind meta-r /buffer #weechat
restore default binding for key alt-r:
Die Tastenkombination "alt-r" wird auf die Standardfunktion zurückgesetzt:
/key reset meta-r
key "tab" to stop search in buffer:
"Tab"-Taste nutzen um im Kontext "search" die Suche innerhalb eines Buffers zu beenden:
/key bindctxt search ctrl-I /input search_stop
middle button of mouse on a nick to retrieve info on nick:
Auswahl eines Nicknamens mittels mittlerem Mausknopf zeigt zusätzliche Informationen zu dem Nick an:
/key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info ${nick}
........................................
@@ -582,17 +582,17 @@ Beispiele:
........................................
/upgrade [<path_to_binary>]
path_to_binary: path to WeeChat binary (default is current binary)
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
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.
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt werden kann.
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt.
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.
Der Upgrade Vorgang besteht aus vier Schritten:
1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..)
2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert)
3. Speicherung der WeeChat Konfiguration (weechat.conf)
4. ausführen einer neuen WeeChat Session.
........................................
[[command_weechat_uptime]]
+16 -16
View File
@@ -44,12 +44,12 @@
** 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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* *weechat.color.chat_inactive_buffer*
** Beschreibung: `text color for chat when line is inactive (buffer is merged with other buffers and is not selected)`
** Beschreibung: `Textfarbe für inaktive Zeilen im Chatfenster (Buffer wurde mit anderen Buffern zusammengefügt und der Buffer ist nicht aktiv)`
** 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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
* *weechat.color.chat_inactive_window*
** Beschreibung: `text color for chat when window is inactive (not current selected window)`
** Beschreibung: `Textfarbe für Chat wenn das Fenster inaktiv ist (betrifft nicht das aktuell ausgewählte Fenster)`
** 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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
@@ -84,7 +84,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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `brown`)
* *weechat.color.chat_prefix_buffer_inactive_buffer*
** Beschreibung: `text color for inactive buffer name (before prefix, when many buffers are merged with same number and if buffer is not selected)`
** Beschreibung: `Textfarbe für den inaktiven Namen des Buffer (vor dem Präfix, falls mehrere Buffer zu einem zusammengefügt worden sind und der Buffer nicht ausgewählt ist)`
** 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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `darkgray`)
@@ -164,7 +164,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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* *weechat.color.input_actions*
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität`
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)`
** 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 werden vor einer Farbe gesetzt (ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `lightgreen`)
@@ -339,22 +339,22 @@
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
* *weechat.look.bar_more_down*
** Beschreibung: `string displayed when bar can be scrolled down (for bars with filling different from "horizontal")`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach unten gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"++"`)
* *weechat.look.bar_more_left*
** Beschreibung: `string displayed when bar can be scrolled to the left (for bars with filling "horizontal")`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach links gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<<"`)
* *weechat.look.bar_more_right*
** Beschreibung: `string displayed when bar can be scrolled to the right (for bars with filling "horizontal")`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach rechts gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `">>"`)
* *weechat.look.bar_more_up*
** Beschreibung: `string displayed when bar can be scrolled up (for bars with filling different from "horizontal")`
** Beschreibung: `Zeichen welches anzeigt, dass die Bar nach oben gescrollt werden kann (dies trifft nur auf Bars zu bei denen die Option "/set *.filling_*" nicht auf "horizontal" eingestellt ist).`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
@@ -369,37 +369,37 @@
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
* *weechat.look.color_basic_force_bold*
** Beschreibung: `force "bold" attribute for light colors and "darkgray" in basic colors (this option is disabled by default: bold is used only if terminal has less than 16 colors)`
** Beschreibung: `erzwingt das Textattribut "fett" für helle Farben und "darkgray" um diese Farben stärker hervorzuheben (diese Option ist standardmäßig deaktiviert: "fett" findet ausschließlich dann Verwendung falls das Terminal weniger als 16 Farben zur Verfügung stellt)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.color_inactive_buffer*
** Beschreibung: `use a different color for lines in inactive buffer (when line is from a merged buffer not selected)`
** Beschreibung: `Textfarbe der Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem zusammengefügt Buffer, welcher nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.color_inactive_message*
** Beschreibung: `use a different color for inactive message (when window is not current window, or if line is from a merged buffer not selected)`
** Beschreibung: `nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.color_inactive_prefix*
** Beschreibung: `use a different color for inactive prefix (when window is not current window, or if line is from a merged buffer not selected)`
** Beschreibung: `nutzt eine andere Farbe um den inaktiven Prefix darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.color_inactive_prefix_buffer*
** Beschreibung: `use a different color for inactive buffer name in prefix (when window is not current window, or if line is from a merged buffer not selected)`
** Beschreibung: `nutzt eine andere Farbe um den inaktiven BUffernamen im Prefix (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* *weechat.look.color_inactive_time*
** Beschreibung: `use a different color for inactive time (when window is not current window, or if line is from a merged buffer not selected)`
** Beschreibung: `nutzt eine andere Farbe um die inaktive Zeitangabe darzustellen (Fenster ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist nicht aktiv)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* *weechat.look.color_inactive_window*
** Beschreibung: `use a different color for lines in inactive window (when window is not current window)`
** Beschreibung: `Textfarbe der Zeilen in einem inaktiven Fenster (betrifft das Fenster, welches nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
@@ -529,7 +529,7 @@
** Werte: 0 .. 65535 (Standardwert: `32`)
* *weechat.look.item_buffer_filter*
** Beschreibung: `string used to show that some lines are filtered in current buffer (bar item "buffer_filter")`
** Beschreibung: `Zeichen mit welchem in der Bar-Item ("buffer_filter") signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist.`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+10 -13
View File
@@ -366,12 +366,13 @@ Weiterführende Informationen zum Farbmanagement erhält man in der Benutzeranle
[[search_text]]
Wie kann ich in einem Buffer nach einem Text suchen (ähnlich /lastlog in irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wie kann ich in einem Buffer nach einem Text suchen (vergleichbar /lastlog in irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Die Standardtastenbelegung lautet @k(C-)@k(r) (der dazugehörige Befehl: `/input search_text`).
und um zu Highlight-Nachrichten zu springen: @k(A-)@k(p)/@k(n).
Siehe die Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
Siehe Benutzeranleitung für weitere Informationen zu dieser Funktion (Standardtastenbelegung).
[[key_bindings]]
@@ -579,21 +580,19 @@ werden um den Abwesenheitsstatus anderer User anzuzeigen (und man nicht von dies
Mitteilungen überflutet werden möchte), kann man WeeChat anweisen abwesende Nicks
in einer anderen Farbe darzustellen.
// TRANSLATION MISSING
For Bitlbee ≥ 3, do that on channel '&bitlbee':
Nutzt man Bitlbee ≥ 3, sollte man im '&bitlbee' Channel folgendes eingeben:
----------------------------------------
channel set show_users online,away
----------------------------------------
// TRANSLATION MISSING
For older version of Bitlbee, do that on channel '&bitlbee':
für ältere Versionen von Bitlbee gibt man im '&bitlbee' Channel ein:
----------------------------------------
set away_devoice false
----------------------------------------
Um in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
Um sich in WeeChat anzeigen zu lassen welche Nicks abwesend sind siehe:
<<color_away_nicks,abwesende Nicks>>.
Wenn man wirklich Voice-Nachrichten filtern möchte kann folgender Befehl angewandt
@@ -672,17 +671,15 @@ Fall weniger sicher):
Wie kann ich eine SSL gesicherte Verbindung zum freenode Server herstellen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TRANSLATION MISSING
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
Die Option 'weechat.network.gnutls_ca_file' sollte auf die Zertifikationsdatei zeigen:
----------------------------------------
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
----------------------------------------
[NOTE]
// TRANSLATION MISSING
Check that you have this file on your system (commonly brought by package
"ca-certificates").
Überprüfe, ob die Zertifikationsdatei auf Deinem System installiert wurde (üblicherweise wird
diese Datei durch das Paket "ca-certificates" bereitgestellt)
Konfiguration des Servers, Port, SSL, dhkey_size und dann einen
Connect durchführen:
+70 -38
View File
@@ -94,8 +94,7 @@ welche Pakete optional genutzt werden können.
| gettext | nein | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
| libgcrypt11-dev | nein | SASL Authentifikation am IRC Server mittels DH-BLOWFISH Methode
| libgnutls-dev (≥ 2.2.0) | nein | SSL Verbindung zu einem IRC Server
// TRANSLATION MISSING
| ca-certificates | nein | certificates for SSL connections
| ca-certificates | nein | Zertifikate für SSL Verbindungen
| libaspell-dev | nein | aspell Erweiterung
| libperl-dev | nein | perl Erweiterung
| python-dev | nein | python Erweiterung
@@ -270,19 +269,19 @@ Diese Fehlermeldung senden Sie bitte an den Entwickler und beschreiben was den F
Danke für Ihre Mithilfe!
// TRANSLATION MISSING
[[debug_running_weechat]]
Debug a running WeeChat
^^^^^^^^^^^^^^^^^^^^^^^
Eine laufende Session von WeeChat debuggen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
To debug a running WeeChat (for example if WeeChat seems blocked), you can use
gdb with process id (replace '12345' with PID of weechat-curses process):
Um eine laufende Session von WeeChat zu debuggen (zum Beispiel wenn WeeChat nicht
mehr reagieren sollte) sollte man gdb mit der Prozess-ID starten ('12345' muss durch
die PID des laufenden weechat-curses Prozesses ersetzt werden):
----------------------------------------
gdb /usr/bin/weechat-curses 12345
----------------------------------------
Then like for a crash, use command `bt full`:
Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
----------------------------------------
(gdb) bt full
@@ -651,8 +650,8 @@ einigen Terminals muss die "Alt"-Taste anstelle der "Shift"-Taste gedrückt werd
Sollten Probleme bei der Mausunterstützung auftreten, dann sollte Bitte die 'WeeChat FAQ' gelesen werden.
[[mouse_bind_events]]
Maus-Events Befehle zuweisen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Einem Maus-Event, Befehle zuweisen
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Es gibt eine Anzahl von Maus-Events die schon standardmäßig durch
WeeChat definiert sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-Kontext>>).
@@ -660,34 +659,65 @@ WeeChat definiert sind (siehe <<key_bindings_mouse_context,Tasten für "mouse"-K
Man kann mit dem Befehl `/key` im Kontext "mouse" aber auch eigene Befehle zuweisen
und löschen (für die Syntax, siehe <<command_weechat_key,/key Befehl>>).
Auflistung von Events die unterstützt werden:
Der Name eines Events besteht aus einem Modifier (optional), einer Maustaste/Mausrad
und der Mausgeste (optional). Die unterschiedlichen Elemente werden durch ein "-" getrennt.
[width="80%",cols="3m,4",options="header"]
Liste der Modifiers:
[width="50%",cols="3m,4",options="header"]
|========================================
| Event | Beschreibung
| button1 | linker Mausknopf wird gedrückt
| button2 | rechter Mausknopf wird gedrückt
| button3 | mittlerer Mausknopf wird gedrückt (häufig der Druck auf das Mausrad)
| button4 ... button9 | ein zusätzlicher Mausknopf wird gedrückt
| wheelup | Mausrad wird nach oben gescrollt
| wheeldown | Mausrad wird nach unten gescrollt
| buttonX-gesture-up ^(1)^ | Mausgeste mit einer Länge von 3 bis 19 Zeichen
| buttonX-gesture-up-long ^(1)^ | Mausgeste mit einer Länge von 20 und mehr Zeichen
| buttonX-gesture-down ^(1)^ | Mausgeste mit einer Länge von 3 bis 19 Zeichen
| buttonX-gesture-down-long ^(1)^ | Mausgeste mit einer Länge von 20 und mehr Zeichen
| buttonX-gesture-left ^(1)^ | Mausgeste mit einer Länge von 3 bis 39 Zeichen
| buttonX-gesture-left-long ^(1)^ | Mausgeste mit einer Länge von 40 und mehr Zeichen
| buttonX-gesture-right ^(1)^ | Mausgeste mit einer Länge von 3 bis 39 Zeichen
| buttonX-gesture-right-long ^(1)^ | Mausgeste mit einer Länge von 40 und mehr Zeichen
| Modifier | Beschreibung
| ctrl | Taste @k(-C-)
| alt | Taste @k(-A-)
| ctrl-alt | Taste @k(-C-) und @k(-A-)
|========================================
[NOTE]
^(1)^ "X" muss durch die Nummer des Mausknopfes ersetzt werden (1 bis 9) die für die Mausgeste genutzt werden soll.
Liste der Maustasten/Mausrad:
[width="50%",cols="3m,4",options="header"]
|========================================
| Maustaste/-rad | Beschreibung
| button1 | linker Mausknopf wird gedrückt
| button2 | rechter Mausknopf wird gedrückt
| button3 | mittlerer Mausknopf wird gedrückt (häufig der Druck auf das Mausrad)
| button4 ... button9 | ein zusätzlicher Mausknopf wird gedrückt
| wheelup | Mausrad wird nach oben gescrollt
| wheeldown | Mausrad wird nach unten gescrollt
|========================================
Liste der Mausgesten (nur für Maustasten, nicht für das Mausrad, anwendbar):
[width="50%",cols="3m,4",options="header"]
|========================================
| Mausgeste | Distanz
| Bewegung hoch | 3 ... 19
| Bewegung hoch (lang) | ≥ 20
| Bewegung runter | 3 ... 19
| Bewegung runter (lang) | ≥ 20
| Bewegung links | 3 ... 39
| Bewegung links (lang) | ≥ 40
| Bewegung rechts | 3 ... 39
| Bewegung rechts (lang) | ≥ 40
|========================================
Bespiele von Ereignissen:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
[TIP]
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich mehrere Events mittels
`*` abzufangen. Zum Beispiel: `button1-gesture-*` fängt alle Mausgesten ab, die mit
der linken Maustaste eingeleitet werden.
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich mehrere Mausereignisse
mittels `*` abzufangen. Zum Beispiel fängt `button1-gesture-*` alle Mausgesten ab, die
mit der linken Maustaste eingeleitet werden.
[TIP]
Den Namen eines Mausereignisses kann man mittels des Befehls `/input grab_mouse` erfragen.
Man führt den Befehl in der Eingabezeile aus und startet das Ereignis. Als Ergebnis erhält
man in der Eingabezeile den Namen des ausgeführten Mausereignisses.
[[command_line]]
Befehlszeile
@@ -910,9 +940,12 @@ Attribute
Er ist möglich einer Farbe ein Attribut hinzuzufügen. Dazu wird dem
Farbnamen oder der Farbnummer ein- oder mehrere Attribute vorangestellt.
* `*`: fett
* `!`: invertierte Darstellung
* `_`: unterstrichen
* `*` : fett
* `!` : invertierte Darstellung
* `_` : unterstrichen
// TRANSLATION MISSING
* `|` : keep attributes: do not reset bold/reverse/underlined when changing
color
Um zum Beispiel dem eigenen Nick die Farbe weiß und unterstrichen
zuzuordnen:
@@ -1349,7 +1382,7 @@ Optionen für Server sind:
* 'sasl_mechanism': Mechanismus welcher genutzt werden soll ("plain" oder "dh-blowfish")
* 'sasl_timeout': Zeitüberschreitung (in Sekunden) für Authentifizierung
* 'sasl_username': Username
* 'sasl_username': Username (Nickname)
* 'sasl_password': Passwort
Soll "dh-blowfish" standardmäßig auf allen Servern genutzt werden:
@@ -1598,8 +1631,7 @@ Unvollständige Liste der IRC Nachrichten bzw. Alias die angepasst werden könne
| 335 | whois | whois (ist ein Bot auf)
| 338 | whois | whois (Host)
| 341 | | inviting
// TRANSLATION MISSING
| 343 | whois | whois (is opered as)
| 343 | whois | whois (ist opered als)
| 344 | reop | channel reop
| 345 | reop | channel reop (Ende)
| 346 | invitelist | Einladung list
+12 -6
View File
@@ -39,27 +39,27 @@ all-local: weechat_user.en.html \
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html weechat_user.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.txt
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
$(ASCIIDOC) -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.en.html $(abs_top_srcdir)/doc/en/weechat_plugin_api.en.txt
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.en.html $(abs_top_srcdir)/doc/en/weechat_scripting.en.txt
# FAQ
weechat_faq.en.html: weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.en.html $(abs_top_srcdir)/doc/en/weechat_faq.en.txt
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.en.html $(abs_top_srcdir)/doc/en/weechat_quickstart.en.txt
# tester's guide
weechat_tester.en.html: weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.en.html $(abs_top_srcdir)/doc/en/weechat_tester.en.txt
# install docs
@@ -67,6 +67,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.en.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+1
View File
@@ -354,6 +354,7 @@ How can I search text in buffer (like /lastlog in irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The default key is @k(C-)@k(r) (command is: `/input search_text`).
And jump to highlights: @k(A-)@k(p)/@k(n).
See user's guide for more info about this feature (default key bindings).
+43 -5
View File
@@ -719,6 +719,7 @@ Arguments:
* 'string': string
* 'mask': mask, can begin or end with "`*`" (no other "`*`" are allowed inside
mask)
* 'case_sensitive': 1 for case sensitive comparison, otherwise 0
Return value:
@@ -1036,8 +1037,11 @@ Arguments:
* 'string': string to split
* 'separators': delimiters used for split
* 'keep_eol': if different from 0, then each argument will contain all string
until end of line (see example below)
* 'keep_eol':
** 0: each string will contain one word
** 1: each string will contain all string until end of line (see example below)
** 2: same as 1, but do not remove separators at end of string before split
(_new in version 0.3.6_)
* 'num_items_max': maximum number of items created (0 = no limit)
* 'num_items': pointer to int which will contain number of items created
@@ -5878,7 +5882,7 @@ Arguments:
* 'color_name': name of color, one of:
** WeeChat option name (from weechat.color.xxx), for example 'chat_delimiters'
** color with optional background, for example 'yellow' or 'yellow,red'
** color with optional attributes/background (see below)
** attribute:
*** 'bold': set bold
*** '-bold': remove bold
@@ -5892,6 +5896,26 @@ Arguments:
*** 'bar_fg': foreground color for bar
*** 'bar_delim': delimiters color for bar
*** 'bar_bg': background color for bar
** reset:
*** 'reset': reset color and attributes
*** 'resetcolor': reset color (keep attributes) (_new in version 0.3.6_)
Format of color is: attributes (optional) + color name + ",background"
(optional). Possible attributes are:
* `*` : bold text
* `!` : reverse video
* `_` : underlined text
* `|` : keep attributes: do not reset bold/reverse/underlined when changing
color (_new in version 0.3.6_)
Examples:
* `yellow` : yellow
* `_green` : underlined green
* `*214` : bold orange
* `yellow,red` : yellow on red
* `|cyan` : cyan (and keep any attribute which was set previously)
Return value:
@@ -5936,12 +5960,20 @@ Arguments:
* 'buffer': buffer pointer, if NULL, message is displayed on WeeChat buffer
* 'message': message to display
[NOTE]
The first tabulation in message ("\t") is used to separate prefix from message. +
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).
C example:
[source,C]
----------------------------------------
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");
----------------------------------------
Script (Python):
@@ -5954,6 +5986,8 @@ weechat.prnt(buffer, message)
# example
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")
----------------------------------------
[NOTE]
@@ -7510,6 +7544,10 @@ Argument is a hashtable with following entries (keys and values are string):
Immediately after sending this hsignal, you must send command to irc server,
and redirection will be used for this command.
When complete answer to your command has been be received, a hsignal will be
send. This hsignal has name 'irc_redirection_xxx_yyy' where 'xxx' is the
'signal' and 'yyy' the 'pattern' used.
C example:
[source,C]
@@ -8413,8 +8451,8 @@ Content of hashtable sent to callback (keys and values are of type "string"):
| _chat | chat area indicator | "0" or "1" | "0"
| _chat_line_x | column in line ^(3)^ | "0" ... "n" | "-1"
| _chat_line_y | line number ^(3)^ | "0" ... "n" | "-1"
| _chat_line_date | line date | "1313237175" | "0"
| _chat_line_date_printed | line date ^(4)^ | "1313237175" | "0"
| _chat_line_date | line date/time | "1313237175" | "0"
| _chat_line_date_printed | line date/time ^(4)^ | "1313237175" | "0"
| _chat_line_time | time displayed | "14:06:15" | ""
| _chat_line_tags | tags of line | "irc_privmsg,notify_message,nick_FlashCode,log1" | ""
| _chat_line_nick | nick of line | "FlashCode" | ""
+56 -23
View File
@@ -658,35 +658,66 @@ Many default mouse events are already defined by WeeChat (see
You can change or add bindings with the command `/key` using context "mouse"
(for syntax, see <<command_weechat_key,command /key>>).
List of events supported:
Event name consists of a modifier (optional), a button/wheel name and a gesture
(optional). Different elements are separated by "-".
[width="80%",cols="3m,4",options="header"]
List of modifiers:
[width="50%",cols="3m,4",options="header"]
|========================================
| Event | Description
| button1 | click on left button
| button2 | click on right button
| button3 | click on middle button (often click on wheel)
| button4 ... button9 | click on extra buttons
| wheelup | wheel (up)
| wheeldown | wheel (down)
| buttonX-gesture-up ^(1)^ | gesture with distance between 3 and 19
| buttonX-gesture-up-long ^(1)^ | gesture with distance greater than or equal to 20
| buttonX-gesture-down ^(1)^ | gesture with distance between 3 and 19
| buttonX-gesture-down-long ^(1)^ | gesture with distance greater than or equal to 20
| buttonX-gesture-left ^(1)^ | gesture with distance between 3 and 39
| buttonX-gesture-left-long ^(1)^ | gesture with distance greater than or equal to 40
| buttonX-gesture-right ^(1)^ | gesture with distance between 3 and 39
| buttonX-gesture-right-long ^(1)^ | gesture with distance greater than or equal to 40
| Modifier | Description
| ctrl | key @k(-C-)
| alt | key @k(-A-)
| ctrl-alt | keys @k(-C-) and @k(-A-)
|========================================
[NOTE]
^(1)^ "X" is number of button used in gesture (1 to 9).
List of buttons/wheel:
[width="50%",cols="3m,4",options="header"]
|========================================
| Button/wheel | Description
| button1 | click on left button
| button2 | click on right button
| button3 | click on middle button (often click on wheel)
| button4 ... button9 | click on extra buttons
| wheelup | wheel (up)
| wheeldown | wheel (down)
|========================================
List of gestures (only for buttons, not wheel):
[width="50%",cols="3m,4",options="header"]
|========================================
| Gesture | Distance
| gesture-up | 3 ... 19
| gesture-up-long | ≥ 20
| gesture-down | 3 ... 19
| gesture-down-long | ≥ 20
| gesture-left | 3 ... 39
| gesture-left-long | ≥ 40
| gesture-right | 3 ... 39
| gesture-right-long | ≥ 40
|========================================
Example of events:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
* ...
[TIP]
When binding a key in context "mouse", it's possible to match many events using
`*` at beginning or end of name, for example `button1-gesture-*` will match any
gesture made using left button.
[TIP]
You can find an event name with command `/input grab_mouse` then doing event
with mouse. This will insert event name on command line.
[[command_line]]
Command line
~~~~~~~~~~~~
@@ -901,9 +932,11 @@ Attributes
It is possible to use some attributes for colors. One or more attributes can be
added before color name or number:
* `*`: bold text
* `!`: reverse video
* `_`: underlined text
* `*` : bold text
* `!` : reverse video
* `_` : underlined text
* `|` : keep attributes: do not reset bold/reverse/underlined when changing
color
For example if you want self nick as white underlined, do:
@@ -1330,7 +1363,7 @@ Options in servers are:
* 'sasl_mechanism': mechanism to use ("plain" or "dh-blowfish")
* 'sasl_timeout': timeout (in seconds) for authentication
* 'sasl_username': username
* 'sasl_username': username (nick)
* 'sasl_password': password
If you want to use "dh-blowfish" by default for all servers:
+12 -6
View File
@@ -39,27 +39,27 @@ all-local: weechat_user.fr.html \
# user's guide
weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html weechat_user.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.txt
# plugin API reference
weechat_plugin_api.fr.html: weechat_plugin_api.fr.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html weechat_plugin_api.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.fr.html $(abs_top_srcdir)/doc/fr/weechat_plugin_api.fr.txt
# scripting guide
weechat_scripting.fr.html: weechat_scripting.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html weechat_scripting.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.fr.html $(abs_top_srcdir)/doc/fr/weechat_scripting.fr.txt
# FAQ
weechat_faq.fr.html: weechat_faq.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html weechat_faq.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.fr.html $(abs_top_srcdir)/doc/fr/weechat_faq.fr.txt
# quickstart
weechat_quickstart.fr.html: weechat_quickstart.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html weechat_quickstart.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.fr.html $(abs_top_srcdir)/doc/fr/weechat_quickstart.fr.txt
# tester's guide
weechat_tester.fr.html: weechat_tester.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html weechat_tester.fr.txt
$(ASCIIDOC) -a lang=fr -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.fr.html $(abs_top_srcdir)/doc/fr/weechat_tester.fr.txt
# install docs
@@ -67,6 +67,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.fr.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+1
View File
@@ -367,6 +367,7 @@ Comment puis-je chercher du texte dans le tampon (comme /lastlog dans irssi) ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
La touche par défaut est @k(C-)@k(r) (la commande est : `/input search_text`).
Et sauter aux highlights : @k(A-)@k(p)/@k(n).
Voir le guide utilisateur pour plus d'information sur cette fonctionnalité
(raccourcis clavier par défaut).
+45 -3
View File
@@ -727,6 +727,7 @@ Paramètres :
* 'string' : chaîne
* 'mask' : masque, peut commencer ou se terminer par "`*`" (aucune autre "`*`"
n'est autorisée dans le masque)
* 'case_sensitive' : 1 pour une comparaison tenant compte de la casse, sinon 0
Valeur de retour :
@@ -1051,6 +1052,11 @@ Paramètres :
* 'separators' : délimiteurs utilisés pour le découpage
* 'keep_eol' : si différent de 0, alors chaque paramètre contiendra toutes les
chaînes jusqu'à la fin de la ligne (voir exemple ci-dessous)
** 0: chaque chaîne contiendra un mot
** 1: chaque chaîne contiendra toute la chaîne jusqu'à la fin de la ligne (voir
exemple ci-dessous)
** 2: comme 1, mais ne supprime pas les séparateurs en fin de chaîne avant le
découpage (_nouveau dans la version 0.3.6_)
* 'num_items_max' : nombre maximum de chaînes à créer (0 = pas de limite)
* 'num_items' : pointeur vers un entier qui contiendra le nombre de chaînes
créées
@@ -5941,7 +5947,7 @@ Paramètres :
* 'color_name' : nom de la couleur, parmi :
** une option WeeChat (de weechat.color.xxx), par exemple 'chat_delimiters'
** une couleur avec un fond optionnel, par exemple 'yellow' ou 'yellow,red'
** une couleur avec des attributs/fond optionnels (voir ci-dessous)
** un attribut :
*** 'bold' : activer le gras
*** '-bold' : désactiver le gras
@@ -5955,6 +5961,27 @@ Paramètres :
*** 'bar_fg' : couleur de texte pour la barre
*** 'bar_delim' : couleur des délimiteurs pour la barre
*** 'bar_bg' : couleur de fond pour la barre
** réinitialisation :
*** 'reset' : réinitialiser la couleur et les attributs
*** 'resetcolor' : réinitialiser la couleur (garder les attributs)
(_nouveau dans la version 0.3.6_)
Le format de la couleur est : attributs (optionnel) + nom de couleur + ",fond"
(optionnel). Les attributs possibles sont :
* `*` : texte gras
* `!` : mode vidéo inverse
* `_` : texte souligné
* `|` : garder les attributs : ne pas réinitialiser gras/inverse/souligné lors
du changement de couleur (_nouveau dans la version 0.3.6_)
Exemples :
* `yellow` : jaune
* `_green` : vert souligné
* `*214` : orange gras
* `yellow,red` : jaune sur rouge
* `|cyan` : cyan (et garder tout attribut définit précédemment)
Valeur de retour :
@@ -6001,12 +6028,21 @@ Paramètres :
tampon WeeChat
* 'message' : message à afficher
[NOTE]
La première tabulation dans le message ("\t") est utilisée pour séparer le
préfixe du message. +
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é).
Exemple en C :
[source,C]
----------------------------------------
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");
----------------------------------------
Script (Python) :
@@ -6019,6 +6055,8 @@ weechat.prnt(buffer, message)
# exemple
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")
----------------------------------------
[NOTE]
@@ -7619,6 +7657,10 @@ sont des chaînes) :
Immédiatement après l'envoi de ce hsignal, vous devez envoyer la commande au
serveur irc, et la redirection sera utilisée pour cette commande.
Lorsque la réponse complète à votre commande a été reçue, un hsignal est envoyé.
Ce hsignal a le nom 'irc_redirection_xxx_yyy' où 'xxx' est le 'signal' et 'yyy'
le 'pattern' utilisé.
Exemple en C :
[source,C]
@@ -8553,8 +8595,8 @@ Contenu de la hashtable envoyée au "callback" (les clés et valeurs sont de typ
| _chat | indicateur zone "chat" | "0" ou "1" | "0"
| _chat_line_x | colonne de la ligne ^(3)^ | "0" ... "n" | "-1"
| _chat_line_y | numéro de ligne ^(3)^ | "0" ... "n" | "-1"
| _chat_line_date | date de la ligne | "1313237175" | "0"
| _chat_line_date_printed | date de la ligne ^(4)^ | "1313237175" | "0"
| _chat_line_date | date/heure de la ligne | "1313237175" | "0"
| _chat_line_date_printed | date/heure de la ligne ^(4)^ | "1313237175" | "0"
| _chat_line_time | heure affichée | "14:06:15" | ""
| _chat_line_tags | étiquettes de la ligne | "irc_privmsg,notify_message,nick_FlashCode,log1" | ""
| _chat_line_nick | pseudo de la ligne | "FlashCode" | ""
+54 -20
View File
@@ -674,29 +674,56 @@ Vous pouvez modifier ou ajouter des associations avec la commande `/key` en
utilisant le contexte "mouse" (pour la syntaxe voir
<<command_weechat_key,la commande /key>>).
Liste des évènements supportés :
Un nom d'évènement consiste en un modifieur (facultatif), un bouton/roulette et
un geste (facultatif). Les différents éléments sont séparés par "-".
[width="80%",cols="3m,4",options="header"]
Liste des modifieurs :
[width="50%",cols="3m,4",options="header"]
|========================================
| Evènement | Description
| button1 | clic sur le bouton gauche
| button2 | clic sur le bouton droit
| button3 | clic sur le bouton du milieu (souvent clic sur la roulette)
| button4 ... button9 | clic sur un bouton additionnel
| wheelup | roulette (haut)
| wheeldown | roulette (bas)
| buttonX-gesture-up ^(1)^ | geste avec distance entre 3 et 19
| buttonX-gesture-up-long ^(1)^ | geste avec distance supérieure ou égale à 20
| buttonX-gesture-down ^(1)^ | geste avec distance entre 3 et 19
| buttonX-gesture-down-long ^(1)^ | geste avec distance supérieure ou égale à 20
| buttonX-gesture-left ^(1)^ | geste avec distance entre 3 et 39
| buttonX-gesture-left-long ^(1)^ | geste avec distance supérieure ou égale à 40
| buttonX-gesture-right ^(1)^ | geste avec distance entre 3 et 39
| buttonX-gesture-right-long ^(1)^ | geste avec distance supérieure ou égale à 40
| Modifieur | Description
| ctrl | touche @k(-C-)
| alt | touche @k(-A-)
| ctrl-alt | touches @k(-C-) et @k(-A-)
|========================================
[NOTE]
^(1)^ "X" est le numéro du bouton utilisé pour le geste (1 à 9).
Liste des boutons/roulette :
[width="50%",cols="3m,4",options="header"]
|========================================
| Bouton/roulette | Description
| button1 | clic sur le bouton gauche
| button2 | clic sur le bouton droit
| button3 | clic sur le bouton du milieu (souvent clic sur la roulette)
| button4 ... button9 | clic sur un bouton additionnel
| wheelup | roulette (haut)
| wheeldown | roulette (bas)
|========================================
Liste des gestes (seulement pour les boutons, pas la roulette) :
[width="50%",cols="3m,4",options="header"]
|========================================
| Geste | Distance
| gesture-up | 3 ... 19
| gesture-up-long | ≥ 20
| gesture-down | 3 ... 19
| gesture-down-long | ≥ 20
| gesture-left | 3 ... 39
| gesture-left-long | ≥ 40
| gesture-right | 3 ... 39
| gesture-right-long | ≥ 40
|========================================
Exemple d'évènements :
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
* ...
[TIP]
Lors de l'association d'une touche dans le contexte "mouse", il est possible
@@ -704,6 +731,11 @@ d'adresser plusieurs évènements en utilisant `*` au début ou la fin du nom,
par exemple `button1-gesture-*` qui correspond à n'importe quel geste effectué
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
sur la ligne de commande.
[[command_line]]
Ligne de commande
~~~~~~~~~~~~~~~~~
@@ -927,6 +959,8 @@ attributs peuvent être ajoutés avant le nom ou le numéro de la couleur :
* `*` : texte gras
* `!` : mode vidéo inverse
* `_` : texte souligné
* `|` : garder les attributs : ne pas réinitialiser gras/inverse/souligné lors
du changement de couleur
Par exemple si vous voulez votre pseudo en blanc souligné, faites :
@@ -1373,7 +1407,7 @@ Les options dans le serveur sont :
* 'sasl_mechanism' : mécanisme à utiliser ("plain" ou "dh-blowfish")
* 'sasl_timeout' : délai d'attente maximum (en secondes) pour l'authentification
* 'sasl_username' : nom d'utilisateur
* 'sasl_username' : nom d'utilisateur (pseudo)
* 'sasl_password' : mot de passe
Si vous voulez utiliser "dh-blowfish" par défaut pour tous les serveurs :
+12 -6
View File
@@ -38,27 +38,27 @@ all-local: weechat_user.it.html \
# user's guide
weechat_user.it.html: weechat_user.it.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.it.html weechat_user.it.txt
$(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.txt
# plugin API reference
weechat_plugin_api.it.html: weechat_plugin_api.it.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.it.html weechat_plugin_api.it.txt
$(ASCIIDOC) -a lang=it -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_plugin_api.it.html $(abs_top_srcdir)/doc/it/weechat_plugin_api.it.txt
# scripting guide
weechat_scripting.it.html: weechat_scripting.it.txt
$(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.it.html weechat_scripting.it.txt
$(ASCIIDOC) -a lang=it -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.it.html $(abs_top_srcdir)/doc/it/weechat_scripting.it.txt
# FAQ
weechat_faq.it.html: weechat_faq.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html weechat_faq.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.it.html $(abs_top_srcdir)/doc/it/weechat_faq.it.txt
# quickstart
weechat_quickstart.it.html: weechat_quickstart.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.it.html weechat_quickstart.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.it.html $(abs_top_srcdir)/doc/it/weechat_quickstart.it.txt
# tester's guide
weechat_tester.it.html: weechat_tester.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.it.html weechat_tester.it.txt
$(ASCIIDOC) -a lang=it -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.it.html $(abs_top_srcdir)/doc/it/weechat_tester.it.txt
# install docs
@@ -66,6 +66,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.it.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+1 -1
View File
@@ -68,7 +68,7 @@
| weechat | buffers_numbers | numeri dei buffer
| weechat | buffers_plugins_names | nomi dei buffer (inclusi i nomi plugin)
| weechat | buffers_plugins_names | nomi dei buffer (inclusi i nomi dei plugin)
| weechat | commands | comandi (weechat e plugin)
+2 -2
View File
@@ -4,7 +4,7 @@
** valori: qualsiasi stringa (valore predefinito: `"ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic"`)
* *aspell.check.default_dict*
** descrizione: `dizionario predefinito (o elenco separato da virgole di dizionari) da utilizzare quando il buffer non ha alcun dizionario definito (vuoto per disabilitare il controllo ortografico sui buffer in cui non è stato esplicitamente abilitato)`
** descrizione: `dizionario predefinito (o elenco separato da virgole di dizionari) da usare quando il buffer non ha alcun dizionario definito (vuoto per disabilitare il controllo ortografico sui buffer in cui non è stato esplicitamente abilitato)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -24,7 +24,7 @@
** valori: 0 .. 2147483647 (valore predefinito: `2`)
* *aspell.look.color*
** descrizione: `colore utilizzato per le parole non corrette`
** descrizione: `colore usato per le parole non corrette`
** 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: `lightred`)
+2 -2
View File
@@ -270,7 +270,7 @@ mask_server: elenco dei server che devono corrispondere a questa mask
canale: canale da elencare
server: nome del server
regex: espressione regolare utilizzata per filtrare i risultati
regex: espressione regolare usata per filtrare i risultati
Esempi:
elenca tutti i canali sul server (può essere molto lento su grandi network):
@@ -585,7 +585,7 @@ Esempi:
/service <nick> <riservato> <distribuzione> <tipo> <riservato> <info>
distrubuzione: visibilità del servizio
tipo: riservato per un utilizzo futuro
tipo: riservato per un uso futuro
........................................
[[command_irc_servlist]]
+11 -11
View File
@@ -89,7 +89,7 @@
** valori: on, off (valore predefinito: `off`)
* *irc.look.color_nicks_in_server_messages*
** descrizione: `utilizza i colori dei nick nei messaggi dal server`
** descrizione: `usa i colori dei nick nei messaggi dal server`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -229,7 +229,7 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.look.notice_as_pv*
** descrizione: `visualizza notifiche come messaggi privati (se automatico, utilizza il buffer privato se viene trovato)`
** descrizione: `visualizza notifiche come messaggi privati (se automatico, usa il buffer privato se viene trovato)`
** tipo: intero
** valori: auto, never, always (valore predefinito: `auto`)
@@ -399,7 +399,7 @@
** valori: 0 .. 1000000 (valore predefinito: `25`)
* *irc.server_default.command*
** descrizione: `comando(i) da eseguire quando si è connessi al server (più comandi vanno separati da ":", utilizzare ";" per un punto e virgola, le variabili speciali $nick, $canale e $server vengono sostituite dai loro valori)`
** descrizione: `comando(i) da eseguire quando si è connessi al server (più comandi vanno separati da ":", usare ";" per un punto e virgola, le variabili speciali $nick, $canale e $server vengono sostituite dai loro valori)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -424,17 +424,17 @@
** valori: qualsiasi stringa (valore predefinito: `"WeeChat %v"`)
* *irc.server_default.ipv6*
** descrizione: `utilizza il protocollo IPv6 per le comunicazioni col server`
** descrizione: `usa il protocollo IPv6 per le comunicazioni col server`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* *irc.server_default.local_hostname*
** descrizione: `nome host/IP locale definito per il server (opzionale, se vuoto viene utilizzato il nome host locale)`
** descrizione: `nome host/IP locale definito per il server (opzionale, se vuoto viene usato il nome host locale)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.server_default.nicks*
** descrizione: `nick da utilizzare sul server (separati da virgole)`
** descrizione: `nick da usare sul server (separati da virgole)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -449,12 +449,12 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.server_default.proxy*
** descrizione: `proxy utilizzato per il server (opzionale)`
** descrizione: `proxy usato per il server (opzionale)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.server_default.realname*
** descrizione: `nome reale da utilizzare sul server`
** descrizione: `nome reale da usare sul server`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
@@ -479,7 +479,7 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.server_default.ssl*
** descrizione: `utilizza SSL per le comunicazioni col server`
** descrizione: `usa SSL per le comunicazioni col server`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
@@ -489,7 +489,7 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* *irc.server_default.ssl_dhkey_size*
** descrizione: `dimensione della chiave utilizzata durante lo Scambio Chiavi Diffie-Hellman`
** descrizione: `dimensione della chiave usata durante lo Scambio Chiavi Diffie-Hellman`
** tipo: intero
** valori: 0 .. 2147483647 (valore predefinito: `2048`)
@@ -504,7 +504,7 @@
** valori: on, off (valore predefinito: `on`)
* *irc.server_default.username*
** descrizione: `nome utente da utilizzare sul server`
** descrizione: `nome utente da usare sul server`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
+3 -3
View File
@@ -10,9 +10,9 @@
level: livello per i messaggi da loggare (0 = disabilitato, 1 = alcuni messaggi (più importanti) .. 9 = tutti i messaggi)
disable: disabilita il logging sul buffer corrente (imposta livello a 0)
Le opzioni "logger.level.*" e "logger.mask.*" possono essere utilizzate per impostare un livello o una mask per un buffer, o per i buffer che cominciano per nome.
Le opzioni "logger.level.*" e "logger.mask.*" possono essere usate per impostare un livello o una mask per un buffer, o per i buffer che cominciano per nome.
Livelli di log utilizzati dal plugin IRC:
Livelli di log usati dal plugin IRC:
1: messaggio utente, notifica, privato
2: cambio di nick
3: messaggio del server
@@ -28,7 +28,7 @@ Esempi:
/set logger.level.irc 3
disabilita logging per il buffer principale di WeeChat:
/set logger.level.core.weechat 0
utilizza una cartella per il server IRC e un file per ogni canale al suo interno:
usa una cartella per il server IRC e un file per ogni canale al suo interno:
/set logger.mask.irc "$server/$channel.weechatlog"
........................................
+3 -3
View File
@@ -14,12 +14,12 @@
** valori: on, off (valore predefinito: `off`)
* *logger.file.mask*
** descrizione: `mask del nome file predefinito per i file di log (il formato è "cartella/per/file" oppure "file", senza la prima "/" perché l'opzione "path" è utilizzata per costruire il percorso completo del file); sono ammesse le variabili del buffer locale; sono ammessi gli specificatori di data (consultare man strftime)`
** descrizione: `mask del nome file predefinito per i file di log (il formato è "cartella/per/file" oppure "file", senza la prima "/" perché l'opzione "path" è usata per costruire il percorso completo del file); sono ammesse le variabili del buffer locale; sono ammessi gli specificatori di data (consultare man strftime)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"$plugin.$name.weechatlog"`)
* *logger.file.name_lower_case*
** descrizione: `utilizzare solo lettere minuscole per i nomi dei file di log`
** descrizione: `usare solo lettere minuscole per i nomi dei file di log`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -34,7 +34,7 @@
** valori: qualsiasi stringa (valore predefinito: `"_"`)
* *logger.file.time_format*
** descrizione: `data e ora utilizzati nei file di log (consultare man strftime per gli specificatori di data/ora)`
** descrizione: `data e ora usati nei file di log (consultare man strftime per gli specificatori di data/ora)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"%Y-%m-%d %H:%M:%S"`)
+8 -8
View File
@@ -1,20 +1,20 @@
[[command_lua_lua]]
[command]*`lua`* elenca/attiva/disattiva script::
[command]*`lua`* elenca/carica/scarica script::
........................................
/lua list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e li riattiva automaticamente)
unload: disattiva uno o tutti i plugin
nome_file: (file) script da attivare
autoload: carica automaticamente i plugin nella cartella utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
Senza argomento, questo comando elenca tutti i plugin attivati.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+8 -8
View File
@@ -1,20 +1,20 @@
[[command_perl_perl]]
[command]*`perl`* elenca/attiva/disattiva script::
[command]*`perl`* elenca/carica/scarica script::
........................................
/perl list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e li riattiva automaticamente)
unload: disattiva uno o tutti i plugin
nome_file: (file) script da attivare
autoload: carica automaticamente i plugin nella cartella utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
Senza argomento, questo comando elenca tutti i plugin attivati.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+8 -8
View File
@@ -1,20 +1,20 @@
[[command_python_python]]
[command]*`python`* elenca/attiva/disattiva script::
[command]*`python`* elenca/carica/scarica script::
........................................
/python list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e li riattiva automaticamente)
unload: disattiva uno o tutti i plugin
nome_file: (file) script da attivare
autoload: carica automaticamente i plugin nella cartella utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
Senza argomento, questo comando elenca tutti i plugin attivati.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+1 -1
View File
@@ -14,7 +14,7 @@
protocollo.nome: protocollo e nome con cui effettuare il relay
al momento, è supportato solo il protocollo "irc"
ad esempio: irc.freenode
porta: porta utilizzata per il relay
porta: porta usata per il relay
raw: apre il buffer con dati Relay
Senza argomento, il comando apre i buffer con l'elenco dei client relay.
+8 -8
View File
@@ -1,20 +1,20 @@
[[command_ruby_ruby]]
[command]*`ruby`* elenca/attiva/disattiva script::
[command]*`ruby`* elenca/carica/scarica script::
........................................
/ruby list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e li riattiva automaticamente)
unload: disattiva uno o tutti i plugin
nome_file: (file) script da attivare
autoload: carica automaticamente i plugin nella cartella utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
Senza argomento, questo comando elenca tutti i plugin attivati.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+8 -8
View File
@@ -1,20 +1,20 @@
[[command_tcl_tcl]]
[command]*`tcl`* elenca/attiva/disattiva script::
[command]*`tcl`* elenca/carica/scarica script::
........................................
/tcl list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivi
listfull: elenca i plugin attivi (dettagliato)
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: attiva automaticamente i plugin nella cartella utente o di sistema
reload: riattiva un plugin (se non specificato, disattiva i plugin e li riattiva automaticamente)
unload: disattiva uno o tutti i plugin
nome_file: (file) script da attivare
autoload: carica automaticamente i plugin nella cartella utente o di sistema
reload: ricarica un plugin (se non specificato, scarica i plugin e li ricarica automaticamente)
unload: scarica uno o tutti i plugin
nome_file: (file) script da caricare
nome: il nome di uno script (usato nella chiamata alla funzione "register")
Senza argomento, questo comando elenca tutti i plugin attivati.
Senza argomento, questo comando elenca tutti i plugin caricati.
........................................
+27 -27
View File
@@ -32,7 +32,7 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r
senza condizione, viene sempre mostrata
posizione: bottom (basso), top (alto), left (sinistra) o right (destra)
dimensione: dimensione della barra (in caratteri)
separatore: 1 per utilizzarlo (riga), 0 o nulla equivale a nessun separatore
separatore: 1 per usarlo (riga), 0 o nulla equivale a nessun separatore
item1,...: elementi per questa barra (possono essere separati da virgole (spazio tra gli elementi) o "+" (elementi incollati))
default: crea una barra predefinita (saranno tutte predefinite se non viene dato un nome per la barra)
del: elimina una barra (o tutte le barre con -all)
@@ -224,7 +224,7 @@ infolists: mostra informazioni sulle liste info
Il tasto predefinito alt+'=' abilita/disabilita il filtro.
Tag utilizzati di frequente:
Tag usati di frequente:
no_filter, no_highlight, no_log, log0..log9 (livello di log),
notify_none, notify_message, notify_private, notify_highlight,
nick_xxx (xxx è il nick nel messaggio),
@@ -325,7 +325,7 @@ elenco di azioni:
switch_active_buffer_previous: passa al precedente buffer incollato
insert: inserisci testo nella riga di comando
Questo comando viene usato dall'associazione tasti o dai plugin.
Questo comando viene usato dalla combinazioni tasti o dai plugin.
........................................
[[command_weechat_key]]
@@ -347,14 +347,14 @@ listdefault: elenca i tasti predefiniti
contesto: nome del contesto ("default" oppure "search")
bind: associa un comando ad un tasto o visualizza il comando associato al tasto (per il contesto "default")
bindctxt: associa un comando ad un tasto o mostra il comando associato al tasto, per il contesto fornito
unbind: rimuove una associazione di tasti (per il contesto "default")
unbindctxt: rimuove l'associazione tasti per il contesto fornito
unbind: rimuove una combinazione di tasti (per il contesto "default")
unbindctxt: rimuove la combinazione tasti per il contesto fornito
reset: ripristina un tasto all'assegnazione predefinita
resetctxt: ripristina un tasto all'associazione predefinita per il contesto fornito
resetall: ripristina le associazioni ai valori predefiniti ed elimina TUTTE le associazioni personalizzate (usare con cautela!)
missing: aggiunge tasti mancanti (utilizzando le associazioni predefinite), utile dopo l'installazione di una nuova versione di WeeChat
resetctxt: ripristina un tasto alla combinazione predefinita per il contesto fornito
resetall: ripristina le combinazioni ai valori predefiniti ed elimina TUTTE le combinazioni personalizzate (usare con cautela!)
missing: aggiunge tasti mancanti (usando le combinazioni predefinite), utile dopo l'installazione di una nuova versione di WeeChat
Al momento di associare un comando ad un tasto si raccomanda di utilizzare il tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice tasto verrà inserito nella riga di comando.
Al momento di associare un comando ad un tasto si raccomanda di usare il tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice tasto verrà inserito nella riga di comando.
Per il contesto "mouse" (possibile anche nel contesto "cursor"), il formato del tasto è: "@area:tasto" oppure "@area1>area2:tasto" dove area può essere:
*: qualunque area sullo schermo
@@ -373,7 +373,7 @@ Esempi:
/key bind meta-x /bar toggle nicklist
il tasto alt-r per passare al canale IRC #weechat:
/key bind meta-r /buffer #weechat
ripristinare l'associazione predefinita per il tasto alt-r:
ripristinare la combinazione predefinita per il tasto alt-r:
/key reset meta-r
il tasto "tab" per fermare la ricerca nel buffer:
/key bindctxt search ctrl-I /input search_stop
@@ -440,23 +440,23 @@ Esempi:
........................................
[[command_weechat_plugin]]
[command]*`plugin`* elenca/attiva/disattiva plugin::
[command]*`plugin`* elenca/carica/scarica plugin::
........................................
/plugin list|listfull [<nome>]
load <nomefile>
autoload
reload|unload [<nome>]
list: elenca i plugin attivati
listfull: elenca i plugin attivati (dettagliato)
load: attiva un plugin
autoload: attiva automaticamente un plugin nella cartella di sistema o utente
reload: riattiva un plugin (se non specificato, disattiva e poi riattiva tutti i plugin)
unload: disattiva un plugin (se non specificato, disattiva tutti i plugin
nomefile: plugin (file) da attivare
list: elenca i plugin caricati
listfull: elenca i plugin caricati (dettagliato)
load: carica un plugin
autoload: carica automaticamente un plugin nella cartella di sistema o utente
reload: ricarica un plugin (se non specificato, scarica e poi ricarica tutti i plugin)
unload: scarica un plugin (se non specificato, scarica tutti i plugin
nomefile: plugin (file) da caricare
nome: nome di un plugin
Senza argomento, questo comando elenca i plugin attivati.
Senza argomento, questo comando elenca i plugin caricati.
........................................
[[command_weechat_proxy]]
@@ -582,17 +582,17 @@ Esempi:
........................................
/upgrade [<percorso_del_binario>]
path_to_binary: path to WeeChat binary (default is current binary)
percorso_del_binario: percorso del binario di WeeChat (di default è il corrente)
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.
Questo comando aggiorna e ricarica una sessione di WeeChat in esecuzione. Il nuovo binario di WeeChat deve essere stato compilato o installato con un gestore pacchetti prima di eseguire questo comando.
Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade.
Nota: le connessioni SSL vengono perdute durante l'aggiornamento, poiché il nuovo caricamento delle sessioni SSL non è ancora possibile con GnuTLS. La riconnessione automatica avviene dopo l'aggiornamento.
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.
Il processo di aggiornamento è diviso in 4 fasi:
1. salva la sessione in file per il core e i plugin (buffer, cronologia, ..)
2. scarica tutti i plugin (i file di configurazione (*.conf) vengono scritti su disco)
3. salva la configurazione di WeeChat (weechat.conf)
4. esegui il nuovo binario di WeeChat e carica la sessione.
........................................
[[command_weechat_uptime]]
+17 -17
View File
@@ -44,12 +44,12 @@
** 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: `cyan`)
* *weechat.color.chat_inactive_buffer*
** descrizione: `text color for chat when line is inactive (buffer is merged with other buffers and is not selected)`
** descrizione: `colore del testo per la chat quando la riga è inattiva (il buffer è unito con altri buffer e non è selezionato)`
** 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: `darkgray`)
* *weechat.color.chat_inactive_window*
** descrizione: `text color for chat when window is inactive (not current selected window)`
** descrizione: `colore del testo per la chat quando la finestra è inattiva (nessuna finestra attiva selezionata)`
** 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: `darkgray`)
@@ -84,7 +84,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: `brown`)
* *weechat.color.chat_prefix_buffer_inactive_buffer*
** descrizione: `text color for inactive buffer name (before prefix, when many buffers are merged with same number and if buffer is not selected)`
** descrizione: `colore del testo per il nome del buffer inattivo (prima del prefisso, quando più buffer sono uniti con lo stesso numero e il buffer non è selezionato)`
** 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: `darkgray`)
@@ -94,7 +94,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: `yellow`)
* *weechat.color.chat_prefix_join*
** descrizione: `colore del testo per il prefisso di entrata<`
** descrizione: `colore del testo per il prefisso di entrata`
** 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: `lightgreen`)
@@ -359,7 +359,7 @@
** valori: qualsiasi stringa (valore predefinito: `"--"`)
* *weechat.look.buffer_notify_default*
** descrizione: `livello predefinito di notifica per i buffer (utilizzato per comunicare a WeeChat se il buffer deve essere visualizzato nella hotlist oppure no, a seconda dell'importanza del messaggio): all: tutti i messaggi (predefinito), message=messaggi+eventi, highlight=solo eventi, none=non viene mai visualizzato nella hotlist`
** descrizione: `livello predefinito di notifica per i buffer (usato per comunicare a WeeChat se il buffer deve essere visualizzato nella hotlist oppure no, a seconda dell'importanza del messaggio): all: tutti i messaggi (predefinito), message=messaggi+eventi, highlight=solo eventi, none=non viene mai visualizzato nella hotlist`
** tipo: intero
** valori: none, highlight, message, all (valore predefinito: `all`)
@@ -369,37 +369,37 @@
** valori: qualsiasi stringa (valore predefinito: `"%H:%M:%S"`)
* *weechat.look.color_basic_force_bold*
** descrizione: `force "bold" attribute for light colors and "darkgray" in basic colors (this option is disabled by default: bold is used only if terminal has less than 16 colors)`
** descrizione: `forza l'attributo "bold" per i colori chiari e "darkgray" nei colori di base (questa opzione è disabilitata per default: il grassetto è usato solo se il terminale ha meno di 16 colori)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* *weechat.look.color_inactive_buffer*
** descrizione: `use a different color for lines in inactive buffer (when line is from a merged buffer not selected)`
** descrizione: `usa un colore diverso per le righe nel buffer inattivo (quando la riga viene da un buffer unito non selezionato)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* *weechat.look.color_inactive_message*
** descrizione: `use a different color for inactive message (when window is not current window, or if line is from a merged buffer not selected)`
** descrizione: `usa un colore diverso per un messaggio inattivo (quando la finestra non è quella corrente, o se la riga viene da un buffer unito non selezionato)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* *weechat.look.color_inactive_prefix*
** descrizione: `use a different color for inactive prefix (when window is not current window, or if line is from a merged buffer not selected)`
** descrizione: `usa un colore diverso per il prefisso inattivo (quando la finestra non è quella corrente, o se la riga viene da un buffer unito non selezionato)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* *weechat.look.color_inactive_prefix_buffer*
** descrizione: `use a different color for inactive buffer name in prefix (when window is not current window, or if line is from a merged buffer not selected)`
** descrizione: `usa un colore diverso per il nome del buffer inattivo nel prefisso (quando la finestra non è quella corrente, o se la riga viene da un buffer unito non selezionato)`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* *weechat.look.color_inactive_time*
** descrizione: `use a different color for inactive time (when window is not current window, or if line is from a merged buffer not selected)`
** descrizione: `usa un colore diverso per il tempo di inattività (quando la finestra non è quella corrente, o se la riga viene da un buffer unito non selezionato)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
* *weechat.look.color_inactive_window*
** descrizione: `use a different color for lines in inactive window (when window is not current window)`
** descrizione: `usa un colore diverso per le righe nella finestra inattiva (quando la finestra non è quella corrente)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
@@ -409,7 +409,7 @@
** valori: -1 .. 256 (valore predefinito: `5`)
* *weechat.look.color_real_white*
** descrizione: `se impostato, utilizza il colore bianco reale, disabilitato sui terminali con lo sfondo bianco (se non utilizzato, l'opzione dovrebbe essere attivata per visualizzare il bianco reale invece del colore di primo piano predefinito del terminale)`
** descrizione: `se impostato, usa il colore bianco reale, disabilitato sui terminali con lo sfondo bianco (se non usato, l'opzione dovrebbe essere attivata per visualizzare il bianco reale invece del colore di primo piano predefinito del terminale)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
@@ -714,7 +714,7 @@
** valori: qualsiasi stringa (valore predefinito: `"*"`)
* *weechat.plugin.debug*
** descrizione: `abilita come predefinito il debug per tutti i plugin (opzione disabilita di predefinito, caldamente raccomandato)`
** descrizione: `abilita come predefinito il debug per tutti i plugin (opzione disabilita di default, caldamente raccomandato)`
** tipo: bool
** valori: on, off (valore predefinito: `off`)
@@ -729,7 +729,7 @@
** valori: qualsiasi stringa (valore predefinito: `"%h/plugins"`)
* *weechat.plugin.save_config_on_unload*
** descrizione: `salva i file di configurazione alla disattivazione dei plugin`
** descrizione: `salva i file di configurazione allo scaricamento dei plugin`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
@@ -744,12 +744,12 @@
** valori: qualsiasi stringa (valore predefinito: `""`)
* *weechat.startup.display_logo*
** descrizione: `visualizza il logo di WeeChat all'avvio`
** descrizione: `mostra il logo di WeeChat all'avvio`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* *weechat.startup.display_version*
** descrizione: `visualizza la versione di WeeChat all'avvio`
** descrizione: `mostra la versione di WeeChat all'avvio`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
+2 -2
View File
@@ -104,12 +104,12 @@
** valori: on, off (valore predefinito: `on`)
* *xfer.network.own_ip*
** descrizione: `Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà utilizzata l'interfaccia IP locale)`
** descrizione: `Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà usata l'interfaccia IP locale)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
* *xfer.network.port_range*
** descrizione: `forza i file in uscita/chat ad utilizzare solo le porte in una data serie (utile per il NAT) (sintassi: una singola porta, es. 5000 o un range di porte, es. 5000-5015. Un valore nullo significa qualsiasi porta, consigliato utilizzare porte maggiori di 1024, perché l'uso di porte inferiori possibile solo per root)`
** descrizione: `forza i file in uscita/chat ad usare solo le porte in una data serie (utile per il NAT) (sintassi: una singola porta, es. 5000 o un range di porte, es. 5000-5015. Un valore nullo significa qualsiasi porta, consigliato usare porte maggiori di 1024, perché l'uso di porte inferiori è possibile solo per root)`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)
+6 -8
View File
@@ -363,6 +363,7 @@ Come posso cercare testo nel buffer (come /lastlog con irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Il tasto predefinito è @k(C-)@k(r) (il comando è: `/input search-text`).
E per passare agli eventi: @k(A-)@k(p)/@k(n).
Consultare la guida per l'utente per maggiori informazioni su questa funzione
(combinazioni tasti predefiniti).
@@ -461,7 +462,7 @@ Se il mouse ancora non funziona, verificare la variabile TERM nella propria
shell (consultare l'output di `echo $TERM` nel terminale).
In base al terminale usato, il mouse potrebbe non essere supportato.
E' possibile testare il supporto al mouse nel terminale:
È possibile testare il supporto al mouse nel terminale:
----------------------------------------
$ printf '\033[?1002h'
@@ -571,15 +572,13 @@ utenti assenti, e si viene tempestati di messaggi voice. Perciò, è possibile
modificare questo comportamento e consentire a WeeChat di utilizzare un
colore speciale per i nick assenti nella lista nick.
// TRANSLATION MISSING
For Bitlbee ≥ 3, do that on channel '&bitlbee':
Per versioni di Bitlbee ≥ 3, sul canale '&bitlbee' digitare:
----------------------------------------
channel set show_users online,away
----------------------------------------
// TRANSLATION MISSING
For older version of Bitlbee, do that on channel '&bitlbee':
Per versioni precedenti di Bitlbee, sul canale '&bitlbee' digitare:
----------------------------------------
set away_devoice false
@@ -624,7 +623,7 @@ Per WeeChat ≤ 0.3.3, le opzioni sono 'irc.network.away_check' e
Come posso essere avvisato quando qualcuno mi cerca in un canale?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E' possibile usare script come 'beep.pl" o 'launcher.pl'.
È possibile usare script come 'beep.pl" o 'launcher.pl'.
Per 'launcher.pl', bisogna impostare il comando:
@@ -658,8 +657,7 @@ Se si verificano errori con i certificati, è possibile disabilitare "ssl_verify
Come ci si può connettere al server freenode via SSL?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TRANSLATION MISSING
Set option 'weechat.network.gnutls_ca_file' to file with certificates:
Impostare l'opzione 'weechat.network.gnutls_ca_file' con il file dei certificati:
----------------------------------------
/set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -233,7 +233,7 @@ Plugin/script
Su alcune distribuzioni come Debian, i plugin sono disponibili tramite un
pacchetto separato (come weechat-plugins).
I plugin vengono caricati automaticamente quando trovati
(per favore consultare la documentazione per attivare/disattivare plugin
(per favore consultare la documentazione per caricare/scaricare plugin
o script).
Alcuni plugin consentono di usare gli script in WeeChat (in molti linguaggi
+3 -3
View File
@@ -70,7 +70,7 @@ Argomenti:
* 'license': stringa, licenza dello script
* 'description': stringa, breve descrizione dello script
* 'shutdown_function': stringa, nome della funzione chiamata quando lo script
viene disattivato
viene scaricato
* 'charset': stringa, set caratteri dello script (opzionale, se il proprio script è in UTF-8,
è possibile utilizzare un valore nullo qui, dato che UTF-8 è il set caratteri predefinito)
@@ -135,7 +135,7 @@ Il comando da utilizzare, in base al linguaggio:
/tcl load tcl/script.tcl
----------------------------------------
È possibile creare un link nella cartella 'linguaggio/autoload' per attivare
È possibile creare un link nella cartella 'linguaggio/autoload' per caricare
automaticamente gli script all'avvio di WeeChat.
Ad esempio con Python:
@@ -154,7 +154,7 @@ Le API per gli script sono quasi identiche di quelle per i plugin C.
prototipo, argomenti, valori restituiti, esempi.
È importante fare la differenza tra un 'plugin' ed uno 'script':
un plugin è un file binario compilato ed attivato con il comando
un plugin è un file binario compilato e caricato con il comando
`plugin`, mentre uno 'script' è un file di testo caricato tramite
un plugin come 'python' con il comando `python`.
+67 -34
View File
@@ -669,35 +669,67 @@ Molti eventi del mouse predefiniti sono già definiti da WeeChat (consultare
È possibile cambiare o aggiungere combinazioni con il comando `/key` usando il
contesto "mouse" (per la sintassi, consultare <<command_weechat_key,comando /key>>).
List of events supported:
Il nome dell'evento consiste di un modificatore (opzionale), il nome di un
pulsante/rotellina e un'azione (opzionale). Elementi diversi sono separati da "-".
[width="80%",cols="3m,4",options="header"]
Elenco di modificatori
[width="50%",cols="3m,4",options="header"]
|========================================
| Evento | Descrizione
| button1 | click sul tasto sinistro
| button2 | click sul tasto destro
| button3 | click sul tasto centrale (spesso click sulla rotellina)
| button4 ... button9 | click sui pulsanti extra
| wheelup | rotellina (su)
| wheeldown | rotellina (giù)
| buttonX-gesture-up ^(1)^ | azione con distanza tra 3 and 19
| buttonX-gesture-up-long ^(1)^ | azione con distanza maggiore o uguale a 20
| buttonX-gesture-down ^(1)^ | azione con distanza tra 3 e 19
| buttonX-gesture-down-long ^(1)^ | azione con distanza maggiore o uguale a 20
| buttonX-gesture-left ^(1)^ | azione con distanza tra 3 e 39
| buttonX-gesture-left-long ^(1)^ | azione con distanza maggiore o uguale a 40
| buttonX-gesture-right ^(1)^ | azione con distanza tra 3 e 39
| buttonX-gesture-right-long ^(1)^ | azione con distanza maggiore o uguale a 40
| Modificatore | Descrizione
| ctrl | tasto @k(-C-)
| alt | tasto @k(-A-)
| ctrl-alt | tasto @k(-C-) e @k(-A-)
|========================================
[NOTE]
^(1)^ "X" è il numero del pulsante usato nell'azione (da 1 a 9).
Elenco di pulsanti/rotellina:
[width="50%",cols="3m,4",options="header"]
|========================================
| Pulsante/rotellina | Descrizione
| button1 | click sul tasto sinistro
| button2 | click sul tasto destro
| button3 | click sul tasto centrale (spesso click sulla rotellina)
| button4 ... button9 | click sui pulsanti extra
| wheelup | rotellina (su)
| wheeldown | rotellina (giù)
|========================================
Elenco di azioni (solo per i pulsanti, non la rotellina):
[width="50%",cols="3m,4",options="header"]
|========================================
| Azione | Distanza
| gesture-up | 3 ... 19
| gesture-up-long | ≥ 20
| gesture-down | 3 ... 19
| gesture-down-long | ≥ 20
| gesture-left | 3 ... 39
| gesture-left-long | ≥ 40
| gesture-right | 3 ... 39
| gesture-right-long | ≥ 40
|========================================
Esempio di eventi:
* `button1`
* `ctrl-button1`
* `button1-gesture-right`
* `alt-button2-gesture-down-long`
* `wheelup`
* `ctrl-alt-wheeldown`
* ...
[TIP]
Quando si associa un tasto nel contesto "mouse", è possibile far corrispondere
più eventi usando '*' all'inizio o alla fine del nome, ad esempio
più eventi usando `*` all'inizio o alla fine del nome, ad esempio
`button1-gesture-*` corrisponderà ad ogni azione compiuta col tasto sinistro.
[TIP]
È possibile trovare il nome di un evento con il comando `/input grab_mouse`
poi eseguire l'evento col mouse. Il comando inserisce il nome dell'evento
nella riga di comando.
[[command_line]]
Riga di comando
~~~~~~~~~~~~~~~
@@ -916,9 +948,11 @@ Attributi
Esistono alcuni attributi per i colori. Uno o più attributi vanno aggiunti prima
del nome o del numero del colore:
* `*`: testo in grassetto
* `!`: video inverso
* `_`: testo sottolineato
* `*` : testo in grassetto
* `!` : video inverso
* `_` : testo sottolineato
* `|` : mantiene attributi: non ripristina grassetto/inverso/sottolineato
al cambio di colore
Ad esempio se si vuole il proprio nick bianco e sottolineato:
@@ -973,19 +1007,19 @@ da WeeChat.
In GNU/Linux, il file ha estensione ".so", ".dll" in Windows.
I plugin trovati vengono caricati automaticamente all'avvio di WeeChat, ed
è possibile attivare o disattivare i plugin durante l'esecuzione del programma.
è possibile caricare o scaricare i plugin durante l'esecuzione del programma.
È importante evidenziare la differenza tra un 'plugin' ed uno 'script': un
'plugin' è un file binario compilato e caricato con il comando `/plugin`,
mentre uno 'script' è un file di testo caricato con un plugin come 'perl'
con il comando `/perl`.
È possibile utilizzare il comando `/plugin` per attivare/disattivare un plugin,
oppure elencare tutti i plugin attivi.
Quando un plugin viene disattivato, tutti i buffer creati da questo plugin
È possibile utilizzare il comando `/plugin` per caricare/scaricare un plugin,
oppure elencare tutti i plugin caricati.
Quando un plugin viene scaricato, tutti i buffer creati da questo plugin
sono chiusi automaticamente.
Esempi per attivare, disattivare oppure elencare i plugin:
Esempi per caricare, scaricare oppure elencare i plugin:
----------------------------------------
/plugin load irc
@@ -1077,7 +1111,7 @@ i set caratteri.
Esiste un set caratteri predefinito per la codifica/decodifica, e set caratteri
specifici per i buffer (o gruppi di buffer).
Questo plugin è opzionale, ma raccomandato: se non attivato, WeeChat
Questo plugin è opzionale, ma raccomandato: se non caricato, WeeChat
può leggere/scrivere soltanto dati UTF-8.
Il plugin Charset dovrebbe essere caricato automaticamente da WeeChat.
@@ -1210,7 +1244,7 @@ $ echo 'irc.freenode.#weechat *hello!' >~/.weechat/weechat_fifo_12345
$ echo '*hello!' >~/.weechat/weechat_fifo_12345
----------------------------------------
* inviare due comandi per disattivare/caricare gli script Perl (è necessario
* inviare due comandi per scaricare/caricare gli script Perl (è necessario
separarli con "\n"):
----------------------------------------
@@ -1356,7 +1390,7 @@ Le opzioni nel server sono:
* 'sasl_mechanism': meccanismo da usare ("plain" o "dh-blowfish")
* 'sasl_timeout': timeout (in secondi) per l'autenticazione
* 'sasl_username': nome utente
* 'sasl_username': nome utente (nick)
* 'sasl_password': password
Se si desidera usare "dh-blowfish" in tutti i server:
@@ -1612,8 +1646,7 @@ personalizzare:
| 335 | whois | whois (è un bot su)
| 338 | whois | whois (host)
| 341 | | invito
// TRANSLATION MISSING
| 343 | whois | whois (is opered as)
| 343 | whois | whois (è opered come)
| 344 | reop | reop sul canale
| 345 | reop | reop sul canale (fine)
| 346 | invitelist | lista di inviti
@@ -1924,7 +1957,7 @@ Plugin per gli script
~~~~~~~~~~~~~~~~~~~~~
WeeChat fornisce 5 plugin per lo scripting: Perl, Python, Ruby, Lua, Tcl.
Questi plugin possono attivare, eseguire e disattivare gli script per questi
Questi plugin possono caricare, eseguire e scaricare gli script per questi
linguaggi.
Per maggiori informazioni su come scrivere gli script, o le API WeeChat
+7 -1
View File
@@ -26,7 +26,7 @@ all-local: weechat_quickstart.ja.html
# quickstart
weechat_quickstart.ja.html: weechat_quickstart.ja.txt
$(ASCIIDOC) -a toc -a toc-title='目次' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ja.html weechat_quickstart.ja.txt
$(ASCIIDOC) -a toc -a toc-title='目次' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ja.html $(abs_top_srcdir)/doc/ja/weechat_quickstart.ja.txt
# install docs
@@ -34,6 +34,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.ja.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+11
View File
@@ -17,6 +17,17 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.pl.txt
COMMENT "Building weechat_scripting.pl.html"
)
ADD_CUSTOM_TARGET(doc-scripting-pl ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.pl.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.pl.html
+16 -4
View File
@@ -21,25 +21,31 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_scripting.pl.txt \
weechat_faq.pl.txt \
weechat_quickstart.pl.txt \
weechat_tester.pl.txt
all-local: weechat_faq.pl.html \
all-local: weechat_scripting.pl.html \
weechat_faq.pl.html \
weechat_quickstart.pl.html \
weechat_tester.pl.html
# scripting guide
weechat_scripting.pl.html: weechat_scripting.pl.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_scripting.pl.html $(abs_top_srcdir)/doc/pl/weechat_scripting.pl.txt
# FAQ
weechat_faq.pl.html: weechat_faq.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html weechat_faq.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.pl.html $(abs_top_srcdir)/doc/pl/weechat_faq.pl.txt
# quickstart
weechat_quickstart.pl.html: weechat_quickstart.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.pl.html weechat_quickstart.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.pl.html $(abs_top_srcdir)/doc/pl/weechat_quickstart.pl.txt
# tester's guide
weechat_tester.pl.html: weechat_tester.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.pl.html weechat_tester.pl.txt
$(ASCIIDOC) -a toc -a toc-title='Spis treści' -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_tester.pl.html $(abs_top_srcdir)/doc/pl/weechat_tester.pl.txt
# install docs
@@ -47,6 +53,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.pl.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+78 -91
View File
@@ -3,9 +3,8 @@ 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.
Ten dokument został napisany dla WeeChat w wersji ≥ 0.3.0.
[[general]]
@@ -41,10 +40,8 @@ Niektóre cechy (wersja ≥ 0.3.x):
* filtrowanie po tagach i wyrażeniach regularnych
* poziome i pionowe dzielenie okien
* paski które możemy tworzyć i dostosowywać do własnych potrzeb
// TRANSLATION MISSING
* native nicklist
// TRANSLATION MISSING
* list of buffers (script buffers.pl)
* natywna lista nicków
* lista buforów (skrypt buffers.pl)
* proxy IRC
* przekierowanie części komęd IRC
* przyrostowe wyszukiwanie tekstu w buforach, przeskakiwanie do podświetleń
@@ -52,7 +49,7 @@ Niektóre cechy (wersja ≥ 0.3.x):
* wsparcie dla aspell
* podwójny zestaw znaków (kodowanie/dekodowanie)
* tworzony od podstaw (nie bazuje na żadnym innym kliencie)
* wielo platformowy
* multi platformowy
* 100% GPL i wolny
Więcej informacji na stronie: http://www.weechat.org/features
@@ -64,7 +61,7 @@ Kompilacja / instalacja
[[gui]]
Słyszałem o wielu GUI dla WeeChat. Jak moge je skompilować/użyć?
Słyszałem o wielu GUI dla WeeChat. Jak mogę je skompilować/użyć?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Obecnie dostępne jest tylko GUI Courses.
@@ -94,7 +91,7 @@ Uruchomiłem WeeChat, ale czuję się zagubiony, co robić?
Dla pomocy wpisz `/help`. Aby uzyskać pomoc dla komendy wpisz `/help komenda`.
Klawisze i komendy są wypisane w dokumentacji.
Nowym użytkowniką zaleca się przeczytanie quickstart (szybki start)
Nowym użytkownikom zaleca się przeczytanie quickstart (szybki start)
(zobacz stronę z dokumentacją na stronie www).
@@ -110,22 +107,22 @@ Nie widzę niektórych znaków diakrytycznych, co mogę zrobić?
Jest to częsty problem, przeczytaj i sprawdź *WSZYSTKIE* poniższe rozwiązania:
* sprawdź czy weechat-curses jest zlinkowany z libncursesw (uwaga: wymagane na
więkrzości dystrybucji ale nie wszystkich): `ldd /ścieżka/do/weechat-curses`
większości dystrybucji ale nie wszystkich): `ldd /ścieżka/do/weechat-curses`
* sprawdź czy wtyczka "Charset" jest załadowana za pomocą komendy `/plugin`
(jeśli nie jest, to najprawdopodbniej potrzebujesz pakietu "weechat-plugins")
(jeśli nie jest, to najprawdopodobniej potrzebujesz pakietu "weechat-plugins")
* sprawdź ustawienia kodowania (w buforze serwera). Powinieneś ujrzeć 'ISO-XXXXXX'
lub 'UTF-8' dla kodowania terminala. Jeśli zobaczysz 'ANSI_X3.4-1968' lub inna
wartość to twoje locale są prawdopodobnie złe.
* ustaw globalną wartość dekodowania, na przykład:
`/set charset.default.decode "ISO-8859-2"`
* jeśli kożystasz z UTF-8:
* jeśli korzystasz z UTF-8:
** sprawdź czy twój terminal jest przystosowany dla UTF-8 (zalecanym terminalem
dla UTF-8 jest rxvt-unicode)
** jeśli kożystasz ze screena, sprawdź czy jest uruchomiony z trybem UTF-8
** jeśli korzystasz ze screena, sprawdź czy jest uruchomiony z trybem UTF-8
("`defutf8 on`" w ~/.screenrc lub `screen -U` uruchamiając screena)
[NOTE]
UTF-8 jest zalecany dla WeeChat. Jeśli kożystasz z locali ISO lub innych,
UTF-8 jest zalecany dla WeeChat. Jeśli korzystasz z locali ISO lub innych,
sprawdź czy *wszystkie* twoje ustawienia (terminal, screen, ..) są ISO,
a *nie* UTF-8.
@@ -134,7 +131,7 @@ a *nie* UTF-8.
Paski jak tytuł i status nie są filtrowane, kolor tła zatrzymuje się po tekście, czemu?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Może to być spowodowane złą wartośćią zmiennej środowiskowej TERM (spójrz na
Może to być spowodowane złą wartością zmiennej środowiskowej TERM (spójrz na
wynik `echo $TERM` w terminalu).
W zależności, gdzie uruchamiasz WeeChat, powinieneś uzyskać:
@@ -142,20 +139,17 @@ W zależności, gdzie uruchamiasz WeeChat, powinieneś uzyskać:
* jeśli WeeChat jest uruchomiony lokalnie lub na zdalnej maszynie bez screena,
zależy od używanego terminala: 'xterm', 'xterm-256color', 'rxvt-unicode',
'rxvt-256color', ...
// TRANSLATION MISSING
* if WeeChat runs under screen, you should have 'screen' or 'screen-256color'.
* jeśli WeeChat działa w screenie, należy uzyć 'screen' lub 'screen-256color'.
W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
// TRANSLATION MISSING
[[screen_weird_chars]]
When I'm using weechat under screen/tmux, I have weird random chars, how do I fix that?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Podczas używania WeeChat pod screenem/tmuxem pojawiają mi się dziwne, losowe znaki, jak to naprawić?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TRANSLATION MISSING
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*).
Może to być spowodowane przez złą wartość zmiennej TERM w swojej powłoce (spójrz
na wynik `echo $TERM` w swoim terminalu, *poza screenem/tmuxem*).
Na przykład, 'xterm-color' może wyświetlać takie dziwne znaki, możesz użyc 'xterm',
który działa dobrze (jak wiele innych wartości).
@@ -167,10 +161,10 @@ W razie potrzeby, popraw zmienna TERM: `export TERM="xxx"`.
Skompilowałem WeeChat pod OS X i wszędzie na ekranie widzę "(null)", co jest nie tak?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeśli samodzielnie skopilowałeś ncursesw, spróbuj użyć domyślnej wersji (dostarcznej
Jeśli samodzielnie skopilowałeś ncursesw, spróbuj użyć domyślnej wersji (dostarczanej
z systemem).
Ponadto, pod OS X, zaleca się instalowanie WeeChat za pomocą menagera pakietów
Ponadto, pod OS X, zaleca się instalowanie WeeChat za pomocą managera pakietów
Homebrew.
@@ -188,38 +182,36 @@ Każde okno wyświetla jeden bufor. Bufor może być ukryty (nie wyświetlany pr
okno) lub wyświetlany w jednym lub więcej oknach.
// TRANSLATION MISSING
[[buffers_list]]
How to display the buffers list on the left side?
Jak wyświetlić listę z buforami po lewej stronie?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use script 'buffers.pl'.
Użyj skryptu 'buffers.pl'.
To limit size of bar:
W celu ograniczenia rozmiaru paska:
----------------------------------------
/set weechat.bar.buffers.size_max 15
----------------------------------------
To move bar to bottom:
Żeby przenieść pasek na dół:
----------------------------------------
/set weechat.bar.buffers.position bottom
----------------------------------------
// TRANSLATION MISSING
[[customize_prefix]]
How can I reduce length of nicks or remove nick alignment in chat area?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jak mogę ograniczyć długość wyświetlanych nicków lub usunąć wyrównanie w oknie rozmowy?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To reduce max length of nicks in chat area:
W celu ograniczenia długości nicków w oknie rozmowy:
----------------------------------------
/set weechat.look.prefix_align_max 15
----------------------------------------
To remove nick alignment:
Żeby usunąć wyrównanie nicków:
----------------------------------------
/set weechat.look.prefix_align none
@@ -241,7 +233,7 @@ Na przykład:
----------------------------------------
Jeśli kiedyś przestanie ci to odpowiadać, po prostu usuń ten pasek, WeeChat
autmatycznie stwrzy nowy pasek "input" jeśli element "input_text" nie zostanie
automatycznie stworzy nowy pasek "input" jeśli element "input_text" nie zostanie
użyty w żadnym z pasków:
----------------------------------------
@@ -267,29 +259,28 @@ Innym rozwiązaniem jest przesunięcie listy nicków na górę lub dół, na prz
Jak mogę kliknąć na długi URL (dłuższy niż linia)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TRANSLATION MISSING
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
remove alignment on nick:
Domyślnie WeeChat wyświetla czas i przedrostki dla każdej linii i opcjonalne paski
dookoła obszaru rozmowy. Aby usprawnić klikanie w urle można przesunąć listę nicków
na górę oraz usunąć wyrównanie nicków:
----------------------------------------
/set weechat.bar.nicklist.position top
/set weechat.look.prefix_align none
----------------------------------------
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):
W WeeChat ≥ 0.3.6 można włączyć opcję "eat_newline_glitch", dzięki której znaki
nowej linii nie są dodawane na końcu każdej wyświetlanej linii (nie zakłuci to
zaznaczania urli):
----------------------------------------
/set weechat.look.eat_newline_glitch on
----------------------------------------
[IMPORTANT]
This option may cause display bugs. If you experience such problem, you must
turn off this option.
Ta opcja może spowodować pojawienie się błędów. Jeśli doświadczysz takich problemów
wyłącz tą opcję.
Other solution is to use one of following scripts:
Innym rozwiązaniem będzie użycie któregoś z poniższych skryptów:
urlbar.py::
wyświetla adresy URL na pasku
@@ -317,16 +308,15 @@ oraz użyć tych komend po załadowaniu skryptu:
/upgrade
----------------------------------------
Aby otrzymać polskie komunikaty dla kodowania UTF-8 w terminalu, osóby
używające ISO, moga wykonać: `/shell setenv LANG=pl_PL`.
Aby otrzymać polskie komunikaty dla kodowania UTF-8 w terminalu, osoby
używające ISO, mogą wykonać: `/shell setenv LANG=pl_PL`.
[[256_colors]]
Jak mogę użyć 256 kolorów w WeeChat?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// TRANSLATION MISSING
256 colors are supported with WeeChat ≥ 0.3.4.
256 kolorów jest wspierane tylko w WeeChat ≥ 0.3.4.
Najpierw należy sprawdzić czy wartość zmiennej środowiskowej 'TERM' jest poprawna,\
zalecane wartości to:
@@ -335,7 +325,7 @@ zalecane wartości to:
* poza screenem: 'xterm-256color', 'rxvt-256color', 'putty-256color',...
[NOTE]
Może okazać się konieczne zainstalownie pakietu "ncurses-term" w celu użycia
Może okazać się konieczne zainstalowanie pakietu "ncurses-term" w celu użycia
tych wartości w zmiennej 'TERM'.
Jeśli używasz screena, możesz dodać to do swojego '~/.screenrc':
@@ -360,14 +350,15 @@ można stworzyć alias dla koloru za pomocą komendy `/color`).
Więcej informacji na temat zarządzania kolorami można uzyskać w poradniku użytkownika.
// TRANSLATION MISSING
[[search_text]]
How can I search text in buffer (like /lastlog in irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jak mogę wyszukać tekst w buforze (jak za pomocą /lastlog w irssi)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The default key is @k(C-)@k(r) (command is: `/input search_text`).
Domyślny skrót klawiszowy to @k(C-)@k(r) (komenda: `/input search_text`).
See user's guide for more info about this feature (default key bindings).
Poruszanie się między podświetleniami: @k(A-)@k(p)/@k(n).
Po więcej informacji zajrzyj do poradnika użytkownika (domyślne skróty klawiszowe).
[[key_bindings]]
@@ -421,10 +412,10 @@ Lista domyślnych skrótów znajduje się w poradniku użytkownika.
[[global_history]]
Jak używać globalnej histori (zamiast histori buforu) za pomoca strzałek góra/dół?
Jak używać globalnej historii (zamiast historii buforu) za pomocą strzałek góra/dół?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Możesz przypisać strzałki w góre i dół do globalnej histori (domyślnie dla
Możesz przypisać strzałki w górę i dół do globalnej historii (domyślnie dla
globalnej historii przypisane są klawisze @k(C-)@k(↑) oraz @k(C-)@k(↓)).
Przykład:
@@ -435,57 +426,54 @@ Przykład:
----------------------------------------
[NOTE]
Klawisze "meta2-A" i "meta2-B" mogą być inne dla twojego treminala. W celu
Klawisze "meta2-A" i "meta2-B" mogą być inne dla twojego terminala. W celu
znalezienia ich kodów wciśnij @k(A-)@k(k) następnie przycisk (góra lub dół).
// TRANSLATION MISSING
[[mouse]]
Mouse
-----
Obsługa myszy
-------------
// TRANSLATION MISSING
[[mouse_not_working]]
Mouse is not working at all, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Obsługa myszy w ogóle nie działa, co mogę zrobić?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mouse is supported with WeeChat ≥ 0.3.6.
Mysz nie jest obsługiwana w WeeChat ≥ 0.3.6.
First try to enable mouse:
Na samym początku należy włączyć obsługę myszy:
----------------------------------------
/mouse enable
----------------------------------------
If mouse is still not working, check the TERM variable in your shell (look at
output of `echo $TERM` in your terminal).
According to terminfo used, mouse may not be supported.
Jeśli to nie pomogło należy sprawdzić wartość zmiennej TERM w swojej powłoce
(wynik komendy `echo $TERM` w swoim terminalu).
W zależności od używanego terminfo, mysz może nie być wspierana.
You can test mouse support in terminal:
Możesz sprawdzić wsparcie myszy w terminalu:
----------------------------------------
$ printf '\033[?1002h'
----------------------------------------
And then click on first char of terminal (upper left). You should see " !!#!!".
Następnie kliknij pierwszy znak w terminalu (górny lewy róg). Powinieneś zobaczyć " !!#!!".
To disable mouse in terminal:
Aby wyłączyć wsparcie dla myszy w terminalu:
----------------------------------------
$ printf '\033[?1002l'
----------------------------------------
// TRANSLATION MISSING
[[mouse_coords]]
Mouse does nothing for X or Y greater than 94, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mysz nic nie robi dla X lub Y większych od 94, dlaczego?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some terminals are sending only ISO chars for mouse coordinates, so it does not
work for X/Y greater than 94.
Niektóre terminale wysyłają tylko znaki ISO dla położenia myszy, dlatego nie
działa to dla X/Y większych dla 94.
You should use a terminal that supports UTF-8 coordinates for mouse, like
Powinieneś użyć terminala wspierającego położenia UTF-8 dla myszy, jak
rxvt-unicode.
@@ -501,37 +489,37 @@ Jaka jest różnica między komendami/ignore i /filter ?
Komenda `/ignore` jest komendą IRC, zatem odnosi się tylko do buforów IRC
(serwery i kanały).
Pozwala ignorować niektóre nicki lub hosty użytkowników serwera lub kanału
(komendy nie stotuje się do treści wiadomości).
(komendy nie stosuje się do treści wiadomości).
Pasujące wiadomości są usuwane przez wtyczkę IRC przed wyświetleniem (nigdy
ich nie zobaczysz).
Komenda `/filter` jest komenda rdzenia, zatem odnosi się do dowolnego bufora.
Pozwala filtrować niektóre linie w buforach za pomocą tagów lub wyrażeń
regularnych dla przedrostków i zawartości lini.
regularnych dla przedrostków i zawartości linii.
Filtrowane linie są tylko ukrywane, nie usuwane, można je zobaczyć wyłączając
filtry (domyślnie @k(A-)@k(=) zmienia stan filtrów).
// TRANSLATION MISSING
[[filter_irc_join_part_quit]]
Jak moge filtrować wiadomości o wejściu/opuszczeniu/wyjściu na kanałach IRC?
Jak mogę filtrować wiadomości o wejściu/opuszczeniu/wyjściu na kanałach IRC?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With smart filter (keep join/part/quit from users who spoke recently):
Za pomocą inteligentnych filtrów (zachowuje wejścia/opuszczenia/wyjścia od osób
piszących niedawno):
----------------------------------------
/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *
----------------------------------------
With a global filter (hide *all* join/part/quit):
Za pomocą globalnego filtru (ukrywa *wszystkie* wejścia/opuszczenia/wyjścia):
----------------------------------------
/filter add jpk * irc_join,irc_part,irc_quit *
----------------------------------------
[NOTE]
For help: `/help filter` and `/help irc.look.smart_filter`
Więcej informacji: `/help filter` i `/help irc.look.smart_filter`
[[filter_irc_join_channel_messages]]
@@ -560,18 +548,17 @@ Przykłady:
[[filter_voice_messages]]
Jak moge filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)?
Jak mogę filtrować informacje o przyznaniu voice (np na serwerze Bitlbee)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Filtrowanie wiadomości o przyznaiu voice nie jest proste, ponieważ może on
Filtrowanie wiadomości o przyznaniu voice nie jest proste, ponieważ może on
zostać nadany wraz z innymi atrybutami w jednej wiadomości IRC.
Zapewne chcesz to zrobić, ponieważ Bitlbee używa voice do wskazania nieobecnych
użytkowników, oraz jesteś zasypywany takimi wiadomościami. Możesz to zmienić oraz
pozwolić WeeChat używać specjalnego koloru dla nieobecnych nicków.
// TRANSLATION MISSING
For Bitlbee ≥ 3, do that on channel '&bitlbee':
Dla Bitlbee ≥ 3, należy wykonać na kanale '&bitlbee':
----------------------------------------
channel set show_users online,away
@@ -690,7 +677,7 @@ The default key is @k(C-)@k(x) (command is: `/input switch_active_buffer`).
[[plugins_scripts]]
Pluginów / skrypty
Pluginy / skrypty
------------------
+9 -9
View File
@@ -25,7 +25,7 @@ Do ustawiania opcji służy `/set config.sekcja.opcja wartość`
(gdzie `config` jest nazwą konfiguracyjną (`weechat` dla rdzenia, lub nazwa
wtyczki), `sekcja` sekcja pliku konfiguracyjnego, oraz `opcja` nazwa opcji).
WeeChat natychmiast używa nowej wartości (*nigdy* nie musisz restartoweać WeeChat
WeeChat natychmiast używa nowej wartości (*nigdy* nie musisz restartować WeeChat
po zmianach w ustawieniach).
Możesz użyć `/set` z częściową nazwą zmiennej oraz dziką kartą "*" na początku
@@ -59,7 +59,7 @@ Rdzeń vs wtyczki
interakcji z użytkownikiem, oznacza to, że rdzeń weechat bez wtyczek jest
bezużyteczny (wierni użytkownicy: IRC był częścią rdzenia dla wersji ≤ 0.2.6).
Wszystkie protokoły sieciowe jak IRC są dostarczane w oddzielnych pluginach.
Wszystkie protokoły sieciowe jak IRC są dostarczane w oddzielnych wtyczkach.
Użyj komendy `/plugin` do wyświetlenia załadowanych wtyczek, powinieneś zobaczyć
na liście "irc" oraz inne wtyczki.
@@ -184,7 +184,7 @@ oraz duże okno (2/3), użyj komendy:
Skróty klawiszowe
-----------------
WeeChat używa domyślnie wiele klawiszy. Wszystie z nich są w dokumentacji,
WeeChat używa domyślnie wiele klawiszy. Wszystkie z nich są w dokumentacji,
ale powinieneś znać przynajmniej kilka najprzydatniejszych:
- 'alt + strzałki lewo/prawo' (lub 'F5'/'F6'): przełącza na poprzedni/następny bufor
@@ -196,14 +196,14 @@ ale powinieneś znać przynajmniej kilka najprzydatniejszych:
- 'alt + A': skocz do bufora z aktywnością (w hotliście)
Zgodnie z Twoją klawiaturą i/lub potrzebami, możesz zmienić przypisanie
dowolnego klawisza do komendy używajac komendy `/key`.
dowolnego klawisza do komendy używając komendy `/key`.
Przydatnym skrótem jest meta-k (alt-k) do odnajdywania kodów klawiszy.
Na przykład, aby przypisać meta-y (alt-y) do komendy `/buffer close`:
/key bind (wciśnij meta-k) (wciśnij meta-y) /buffer close
Otrzymasz w lini poleceń:
Otrzymasz w linii poleceń:
/key bind meta-y /buffer close
@@ -219,17 +219,17 @@ Wtyczki/skrypty
W niektórych dystrybucjach, jak np Debian, wtyczki są dostarczane jako oddzielne
pakiety (jak weechat-plugins).
Wtyczki są automatycznie ładowane, kiedy zostaną wykryte (proszę spojrzeć do
dokumentacji WeeChat, aby się dowiedzieć jak ładowac/wyładowywać wtyczki lub
dokumentacji WeeChat, aby się dowiedzieć jak ładować/wyładowywać wtyczki lub
skrypty).
Niektóre pluginy pozwalają na używanie skryptów w WeeChat (w wielu językach jak Perl,
Python, Ruby, Lua oraz Tcl). Te wtyczki muszą być załadowane za pomoca komendy
Niektóre wtyczki pozwalają na używanie skryptów w WeeChat (w wielu językach jak Perl,
Python, Ruby, Lua oraz Tcl). Te wtyczki muszą być załadowane za pomocą komendy
`/plugin`, dostarczają one komendy jak `/perl`, używane do ładowania skryptów.
Wiele zewnętrznych wtyczek/skryptów (od społeczności) jest dostępnych dla
WeeChat: http://www.weechat.org/scripts
Najprostrzym sposobem na instalowanie skryptów jest użycie skryptu 'weeget.py':
Najprostszym sposobem na instalowanie skryptów jest użycie skryptu 'weeget.py':
. ściągnij i skopiuj 'weeget.py' do ~/.weechat/python/autoload/
. załaduj skrypt: `/python autoload`
+806
View File
@@ -0,0 +1,806 @@
Poradnik pisania skryptów WeeChat
=================================
Sébastien Helleu <flashcode@flashtux.org>
Ten dokument opisuje klienta rozmów WeeChat, który jest częścią WeeChat.
Najnowsza wersja tego dokumentu znajduje się na tej stronie:
http://www.weechat.org/doc
[[introduction]]
Wprowadzenie
------------
WeeChat (Wee Enhanced Environment for Chat) jest darmowym klientem rozmów, szybkim
i lekkim, zaprojektowanym dla wielu systemów operacyjnych.
Ten podręcznik dokumentuje sposób pisania skryptów dla WeeChat, używając jednego
z pięciu wspieranych języków skryptowych: perl, python, ruby, lua lub tcl.
[NOTE]
Prawie wszystkie przykłady umieszczone w tym dokumencie są napisane w Pythonie,
ale API jest takie same dla wszystkich języków.
[[scripts_in_weechat]]
Skrypty w WeeChat
------------------
[[languages_specifities]]
Specyfika języków
~~~~~~~~~~~~~~~~~
Niektóre rzeczy są specyficzne dla danego języka:
* perl:
** funkcje są wywoływane za pomocą `weechat::xxx(arg1, arg2, ...);`
* python:
** należy wykonać `import weechat`
** funkcje `print*` są nazwane `prnt*` w pythonie (ponieważ 'print' jest zastrzeżonym
słowem kluczowym)
** funkcje są wywoływane za pomocą `weechat.xxx(arg1, arg2, ...)`
* ruby:
** trzeba zdefiniować 'weechat_init' i wywołać 'register' wewnątrz
** funkcje są wywoływane za pomocą `Weechat.xxx(arg1, arg2, ...)`
* tcl:
** funkcje są wywoływane za pomocą `weechat::xxx arg1 arg2 ...`
[[register_function]]
Funkcja rejestrująca
~~~~~~~~~~~~~~~~~~~~
Wszystkie skrypty WeeChat muszą się "zarejestrować" w WeeChat, musi to być pierwsza
z funkcji WeeChat wywołana w skrypcie.
Prototyp:
[source,python]
----------------------------------------
weechat.register(nazwa, autor, wersja, licencja, opis, funkcja_wyłączająca, kodowanie)
----------------------------------------
Argumenty:
* 'nazwa': string, wewnętrzna nazwa skryptu
* 'autor': string, autor skryptu
* 'wersja': string, wersja
* 'licencja': string, licencja
* 'opis': string, krótki opis skryptu
* 'funkcja_wyłączająca': string, nazwa funkcji wywoływanej podczas wyładowania skryptu
* 'kodowanie': string, kodowane skryptu (opcjonalne, jeśli skrypt jest napisany
w UTF-8 można nie podawać tej wartości - UTF-8 to domyślne kodowanie)
Przykład dla skryptu w każdym z języków:
* perl:
[source,perl]
----------------------------------------
weechat::register("test_perl", "FlashCode", "1.0", "GPL3", "Skrypt testowy", "", "");
weechat::print("", "Witaj, z perlowego skryptu!");
----------------------------------------
* python:
[source,python]
----------------------------------------
import weechat
weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Skrypt testowy", "", "")
weechat.prnt("", "Witaj, z pythonowego skryptu!")
----------------------------------------
* ruby:
[source,ruby]
----------------------------------------
def weechat_init
Weechat.register("test_ruby", "FlashCode", "1.0", "GPL3", "Skrypt testowy", "", "")
Weechat.print("", "Witaj, ze skryptu ruby!")
return Weechat::WEECHAT_RC_OK
end
----------------------------------------
* lua:
[source,lua]
----------------------------------------
weechat.register("test_lua", "FlashCode", "1.0", "GPL3", "Skrypt testowy", "", "")
weechat.print("", "Witaj, ze skryptu lua!")
----------------------------------------
* tcl:
// [source,tcl]
----------------------------------------
weechat::register "test_tcl" "FlashCode" "1.0" "GPL3" "Skrypt testowy" "" ""
weechat::print "" "Witaj, ze skryptu tcl!"
----------------------------------------
[[load_script]]
Ładowanie skryptu
~~~~~~~~~~~~~~~~~
Musisz użyć komendy dla danego języka:
----------------------------------------
/perl load perl/skrypt.pl
/python load python/skrypt.py
/ruby load ruby/skrypt.rb
/lua load lua/skrypt.lua
/tcl load tcl/skrypt.tcl
----------------------------------------
Możesz zrobić dowiązanie w katalogu 'język/autoload' jeśli chcesz automatycznie
ładować skrypt po uruchomieniu WeeChat.
Na przykład dla Pythona:
----------------------------------------
$ cd ~/.weechat/python/autoload
$ ln -s ../skrypt.py
----------------------------------------
[[differences_with_c_api]]
Różnice pomiędzy API dla C
--------------------------
API skryptów jest prawie takie same jak API dla wtyczek pisanych w C.
Możesz zajrzeć do 'Opisu API wtyczek WeeChat' po więcej informacji na temat
każdej z funkcji API: prototyp, argumenty, zwracane wartości, przykłady.
Ważne jest rozróżnienie 'wtyczki' od 'skryptu': 'wtyczka' jest plikiem binarnym
skompilowanym i załadowanym za pomocą komendy `/plugin`, natomiast 'skrypt' jest
plikiem tekstowym załadowanym przez wtyczkę jak 'python' za pomocą komendy
`/python`.
W momencie, kiedy Twój skrypt 'test.py' wywołuje funkcję z API Weechat, wygląda to tak:
........................................
(API skryptów) (C API)
\/ \/
test.py -------> wtyczka python (python.so) -------> rdzeń WeeChat
........................................
Kiedy WeeChat odwołuje się do Twojego skryptu 'test.py' wygląda to tak:
........................................
(C API) (API skryptów)
\/ \/
rdzeń WeeChat -------> wtyczka python (python.so) -------> test.py
........................................
[[pointers]]
Wskaźniki
~~~~~~~~~
Jak już zapewne wiecie nie ma prawdziwych "wskaźników" w skryptach. Dlatego kiedy
funkcja API zwraca wskaźnik, jest on konwertowany na ciąg dla skryptu.
Na przykład, jeśli funkcja zwraca wskaźnik 0x1234ab56 skrypt otrzyma ciąg
"0x1234ab56".
W sytuacji, kiedy funkcja API spodziewa się wskaźnika jako argumentu skrypt musi
przekazać go jako ciąg. Wtyczki napisane w C przekonwertują go na prawdziwy
wskaźnik, zanim wywołają funkcję z API C.
Dozwolone są puste ciągi lub "0x0", oznaczają NULL w C.
Na przykład, aby wyświetlić dane w rdzennym buforze (główny bufor WeeChat):
[source,python]
----------------------------------------
weechat.prnt("", "hi!")
----------------------------------------
[WARNING]
W wielu funkcjach, z powodów wydajności, WeeChat nie sprawdza poprawności wskaźników.
Do ciebie należy sprawdzenie poprawności przekazywanych wskaźników, w innym
wypadku możesz zobaczyć ładny raport o błędzie ;)
[[callbacks]]
Callbacki
~~~~~~~~~
Prawie wszystkie callbacki muszą zwrócić WEECHAT_RC_OK lub WEECHAT_RC_ERROR
(wyjątkiem jest callback modyfikujący, który zwraca ciąg).
Callbacki C używają argumentu "data", który jest wskaźnikiem. W API skryptów,
"data" jest ciągiem o dowolnej wartości (nie jest wskaźnikiem).
Na przykład:
[source,python]
----------------------------------------
weechat.hook_timer(1000, 0, 1, "my_timer_cb", "moje dane")
def my_timer_cb(data, remaining_calls):
# wyświetli to: "moje dane"
weechat.prnt("", data)
return weechat.WEECHAT_RC_OK
----------------------------------------
[[script_api]]
API skryptów
------------
Więcej informacji o funkcjach w API, znajdziesz w 'Opisie API wtyczek WeeChat'.
[[script_api_functions]]
Fukcje
~~~~~~
Lista funkcji w API skryptów:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategoria | Funkcje
| ogólne |
register
| wtyczki |
plugin_get_name
| ciągi |
charset_set, iconv_to_internal, iconv_from_internal, gettext, ngettext, +
string_match, string_has_highlight, string_has_highlight_regex,
string_mask_to_regex, string_remove_color, string_is_command_char,
string_input_for_buffer
| katalogi |
mkdir_home, mkdir, mkdir_parents
| przechowywane listy |
list_new, list_add, list_search, list_search_pos, list_casesearch,
list_casesearch_pos, list_get, list_set, list_next, list_prev, list_string,
list_size, list_remove, list_remove_all, list_free
| pliki konfiguracyjne|
config_new, config_new_section, config_search_section, config_new_option,
config_search_option, +
config_string_to_boolean, config_option_reset, config_option_set,
config_option_set_null, config_option_unset, config_option_rename,
config_option_is_null, config_option_default_is_null, +
config_boolean, config_boolean_default, config_integer, config_integer_default,
config_string, config_string_default, config_color, config_color_default, +
config_write_option, config_write_line, config_write, config_read,
config_reload, +
config_option_free, config_section_free_options, config_section_free,
config_free, +
config_get, config_get_plugin, config_is_set_plugin, config_set_plugin,
config_set_desc_plugin, config_unset_plugin
| przypisania klawiszy|
key_bind, key_unbind
| wyświetlanie |
prefix, color, print (for python: prnt), print_date_tags (for python:
prnt_date_tags), print_y (for python: prnt_y), log_print
| hooks |
hook_command, hook_command_run, hook_timer, hook_fd, hook_process,
hook_connect, hook_print, hook_signal, hook_signal_send, hook_hsignal,
hook_hsignal_send, hook_config, hook_completion, hook_completion_list_add,
hook_modifier, hook_modifier_exec, hook_info, hook_info_hashtable,
hook_infolist, hook_focus, unhook, unhook_all
| bufory |
buffer_new, current_buffer, buffer_search, buffer_search_main, buffer_clear,
buffer_close, buffer_merge, buffer_unmerge, buffer_get_integer,
buffer_get_string, buffer_get_pointer, buffer_set,
buffer_string_replace_local_var, buffer_match_list
| okna |
current_window, window_search_with_buffer, window_get_integer,
window_get_string, window_get_pointer, window_set_title
| lista nicków |
nicklist_add_group, nicklist_search_group, nicklist_add_nick,
nicklist_search_nick, nicklist_remove_group, nicklist_remove_nick,
nicklist_remove_all, nicklist_group_get_integer, nicklist_group_get_string,
nicklist_group_get_pointer, nicklist_group_set, nicklist_nick_get_integer,
nicklist_nick_get_string, nicklist_nick_get_pointer, nicklist_nick_set
| paski |
bar_item_search, bar_item_new, bar_item_update, bar_item_remove, bar_search,
bar_new, bar_set, bar_update, bar_remove
| komendy |
command
| informacje |
info_get, info_get_hashtable
| infolisty |
infolist_new, infolist_new_item, infolist_new_var_integer,
infolist_new_var_string, infolist_new_var_pointer, infolist_new_var_time, +
infolist_get, infolist_next, infolist_prev, infolist_reset_item_cursor, +
infolist_fields, infolist_integer, infolist_string, infolist_pointer, +
infolist_time, infolist_free
| hdata |
hdata_get, hdata_get_var_offset, hdata_get_var_type_string,
hdata_get_var_hdata, hdata_get_list, hdata_move, hdata_integer, hdata_long,
hdata_string, hdata_pointer, hdata_time, hdata_get_string
| uaktualnienie |
upgrade_new, upgrade_write_object, upgrade_read, upgrade_close
|========================================
[[script_api_constants]]
Stałe
~~~~~
Lista stałych w API skryptów:
[width="100%",cols="^1,10",options="header"]
|========================================
| Kategoria | Stałe
| zwracane kofy |
WEECHAT_RC_OK, WEECHAT_RC_OK_EAT, WEECHAT_RC_ERROR
| pliki konfiguracyjne|
WEECHAT_CONFIG_READ_OK, WEECHAT_CONFIG_READ_MEMORY_ERROR,
WEECHAT_CONFIG_READ_FILE_NOT_FOUND, WEECHAT_CONFIG_WRITE_OK,
WEECHAT_CONFIG_WRITE_ERROR, WEECHAT_CONFIG_WRITE_MEMORY_ERROR, +
WEECHAT_CONFIG_OPTION_SET_OK_CHANGED, WEECHAT_CONFIG_OPTION_SET_OK_SAME_VALUE,
WEECHAT_CONFIG_OPTION_SET_ERROR, WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND,
WEECHAT_CONFIG_OPTION_UNSET_OK_NO_RESET, WEECHAT_CONFIG_OPTION_UNSET_OK_RESET,
WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED, WEECHAT_CONFIG_OPTION_UNSET_ERROR
| posortowane listy |
WEECHAT_LIST_POS_SORT, WEECHAT_LIST_POS_BEGINNING, WEECHAT_LIST_POS_END
| hotlisty |
WEECHAT_HOTLIST_LOW, WEECHAT_HOTLIST_MESSAGE, WEECHAT_HOTLIST_PRIVATE,
WEECHAT_HOTLIST_HIGHLIGHT
| hook process |
WEECHAT_HOOK_PROCESS_RUNNING, WEECHAT_HOOK_PROCESS_ERROR
| hook connect |
WEECHAT_HOOK_CONNECT_OK, WEECHAT_HOOK_CONNECT_ADDRESS_NOT_FOUND,
WEECHAT_HOOK_CONNECT_IP_ADDRESS_NOT_FOUND, WEECHAT_HOOK_CONNECT_CONNECTION_REFUSED,
WEECHAT_HOOK_CONNECT_PROXY_ERROR, WEECHAT_HOOK_CONNECT_LOCAL_HOSTNAME_ERROR,
WEECHAT_HOOK_CONNECT_GNUTLS_INIT_ERROR, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR,
WEECHAT_HOOK_CONNECT_MEMORY_ERROR
| hook signal |
WEECHAT_HOOK_SIGNAL_STRING, WEECHAT_HOOK_SIGNAL_INT, WEECHAT_HOOK_SIGNAL_POINTER
|========================================
[[common_tasks]]
Częste zadania
--------------
Ten rozdział przedstawia część częstych zadań z przykładami.
Użyto tu tylko część rzeczy dostępnych w API, dokładne informacje można znaleźć
w Opisie API wtyczek WeeChat'.
[[buffers]]
Bufory
~~~~~~
[[buffers_display_messages]]
Wyświetlanie wiadomości
^^^^^^^^^^^^^^^^^^^^^^^
Pusty ciąg jest często używany podczas pracy z głównym buforem WeeChat. Dla
pozostałych buforów należy podać wskaźnik (jako ciąg, zobacz <<pointers,pointers>>).
Przykłady:
[source,python]
----------------------------------------
# wyświetl "witaj" w głównym buforze
weechat.prnt("", "witaj")
# wyświetl "witaj" w głównym buforze, ale nie zapisuj tego do pliku z logiem
# (tylko wersje >= 0.3.3)
weechat.prnt_date_tags("", 0, "no_log", "witaj")
# wyświetl "==>" przed wiadomością "witaj" w obecnym buforze
# (przedrostek i wiadomość muszą być oddzielone znakiem tabulacji)
weechat.prnt(weechat.current_buffer(), "==>\twitaj")
# wyświetla wiadomość o błędzie w głównym buforze (z przedrostiem błąd)
weechat.prnt("", "%szłe argumenty" % weechat.prefix("błąd"))
# wyświetl wiadomość z kolorem w głównym buforze
weechat.prnt("", "text %sżółty na niebieskim" % weechat.color("yellow,blue"))
# przeszuka bufor i wyświetli wiadomość
# (pełna nazwa bufora to wtyczka.nazwa, na przykład: "irc.freenode.#weechat")
buffer = weechat.buffer_search("irc", "freenode.#weechat")
weechat.prnt(buffer, "wiadomość na kanale #weechat")
# inne rozwiązanie na znalezienie bufora IRC (lepsze)
# (zauważ, że serwer i kanał są oddzielone przecinkiem)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.prnt(buffer, "wiadomość na kanale #weechat")
----------------------------------------
[NOTE]
Funkcja drukująca nazywa się `print` w Perl/Ruby/Lua/Tcl i `prnt` w Pythonie.
[[buffers_send_text]]
Wysyłanie tekstu do bufora
^^^^^^^^^^^^^^^^^^^^^^^^^^
Możesz wysłać tekst lub komendę do bufora. Dokładnie tak jakby wpisać tekst
w linii poleceń i wcisnąć [Enter]
You can send text or command to a buffer. This is exactly like if you type text
on command line and press [Enter].
Przykłady:
[source,python]
----------------------------------------
# wykona komendę "/help" w głównym buforze
weechat.command("", "/help")
# wyśle "witaj" na kanał #weechat (użytkownicy na kanale zobaczą wiadomość)
buffer = weechat.info_get("irc_buffer", "freenode,#weechat")
weechat.command(buffer, "witaj")
----------------------------------------
[[buffers_new]]
Tworzenie nowego buforu
^^^^^^^^^^^^^^^^^^^^^^^
Możesz stworzyć nowy bufor w skrypcie, następnie użyć go do wyświetlania wiadomości.
Dwa callbacki mogą zostać wywołane (są opcjonalne): jeden dla danych wejściowych
(kiedy wpiszesz tekst i naciśniesz [Enter] w buforze), drugi jest wywoływany
podczas zamykania bufora (na przykład przez `/buffer close`).
Przykłady:
[source,python]
----------------------------------------
# callback dla danych otrzymanych na wejściu
def buffer_input_cb(data, buffer, input_data):
# ...
return weechat.WEECHAT_RC_OK
# callback wywoływany przy zamknięciu bufora
def buffer_close_cb(data, buffer):
# ...
return weechat.WEECHAT_RC_OK
# tworzenie bufora
buffer = weechat.buffer_new("mybuffer", "buffer_input_cb", "", "buffer_close_cb", "")
# ustawianie tytułu
weechat.buffer_set(buffer, "title", "To jest tytuł mojego buforu.")
# wyłącza logowanie, przez ustawienie zmiennej lokalnej "no_log" na "1"
weechat.buffer_set(buffer, "localvar_set_no_log", "1")
----------------------------------------
[[buffers_properties]]
Właściwości buforów
^^^^^^^^^^^^^^^^^^^
Możesz odczytać właściwości buforów jako ciąg, liczbę lub wskaźnik.
Przykłady:
[source,python]
----------------------------------------
buffer = weechat.current_buffer()
number = weechat.buffer_get_integer(buffer, "number")
name = weechat.buffer_get_string(buffer, "name")
short_name = weechat.buffer_get_string(buffer, "short_name")
----------------------------------------
Możliwe jest dodanie, odczytanie lub kasowanie lokalnych zmiennych dla buforów:
[source,python]
----------------------------------------
# dodanie zmiennej lokalnej
weechat.buffer_set(buffer, "localvar_set_myvar", "my_value")
# odczyt zmiennej lokalnej
myvar = weechat.buffer_get_string(buffer, "localvar_myvar")
# kasowanie zmiennej loaklnej
weechat.buffer_set(buffer, "localvar_del_myvar", "")
----------------------------------------
Aby zobaczyć lokalne zmienne danego bufora, należy wykonać tą komendę w WeeChat:
----------------------------------------
/buffer localvar
----------------------------------------
[[hooks]]
Hooks
~~~~~
[[hook_command]]
Dodanie nowej komendy
^^^^^^^^^^^^^^^^^^^^^
Aby dodać nową komendę należy użyć `hook_command`. Można użyć własnego szablonu
dopełnień dla uzupełniania argumentów własnej komendy.
Przykład:
[source,python]
----------------------------------------
def my_command_cb(data, buffer, args):
# ...
return weechat.WEECHAT_RC_OK
hook = weechat.hook_command("myfilter", "opis myfilter",
"[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]",
"description of arguments...",
"list"
" || enable %(filters_names)"
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
" || del %(filters_names)|-all",
"my_command_cb", "")
----------------------------------------
Następnie w WeeChat:
----------------------------------------
/help myfilter
/myfilter argumenty...
----------------------------------------
[[hook_timer]]
Dodanie timera
^^^^^^^^^^^^^^
Do dodania timera służy `hook_timer`.
Przykład:
[source,python]
----------------------------------------
def timer_cb(data, remaining_calls):
# ...
return weechat.WEECHAT_RC_OK
# timer wywoływany co minutę, kiedy liczba sekund wynosi 00
weechat.hook_timer(60 * 1000, 60, 0, "timer_cb", "")
----------------------------------------
[[hook_process]]
Wykonuje proces w tle
^^^^^^^^^^^^^^^^^^^^^
Do wykonywania procesów w tle służy `hook_process`. Twoje callbacki zostaną
wywołane, kiedy dane będą gotowe. Może zostać wywołane wiele razy.
Dla ostatniego wykonania Twojego callbacku 'rc' jest ustawiane na 0, lub wartość
dodatnią, jest to kod zwracany przez komendę.
Przykład:
[source,python]
----------------------------------------
# Wyświetla wersje Linuksowych kerneli.
kernel_txt = ""
def kernel_process_cb(data, command, rc, stdout, stderr):
""" Callback reading command output. """
global kernel_txt
if stdout != "":
kernel_txt += stdout
if int(rc) >= 0:
weechat.prnt("", kernel_txt)
return weechat.WEECHAT_RC_OK
weechat.hook_process("python -c \"import urllib; "
"print urllib.urlopen('http://www.kernel.org/kdist/finger_banner').read()\"",
10 * 1000, "kernel_process_cb", "")
----------------------------------------
[[config_options]]
Konfiguracja / opcje
~~~~~~~~~~~~~~~~~~~~
[[config_options_set_script]]
Ustawianie opcji dla skryptu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Funkcja `config_is_set_plugin` używana jest do sprawdzenia czy opcja jest ustawiona,
`config_set_plugin` ustawia opcję.
Example:
[source,python]
----------------------------------------
script_options = {
"opcja1" : "wartość1",
"opcja2" : "wartość2",
"opcja3" : "wartość3",
}
for option, default_value in script_options.iteritems():
if not weechat.config_is_set_plugin(option):
weechat.config_set_plugin(option, default_value)
----------------------------------------
[[config_options_detect_changes]]
Wykrywanie zmian
^^^^^^^^^^^^^^^^
Do wykrywania zmian opcji skryptu służy `hook_config`.
Przykład:
[source,python]
----------------------------------------
SCRIPT_NAME = "myscript"
# ...
def config_cb(data, option, value):
""" Callback called when a script option is changed. """
# na przykład, odczyt wszystkich opcji skryptu...
# ...
return weechat.WEECHAT_RC_OK
# ...
weechat.hook_config("plugins.var.python." + SCRIPT_NAME + ".*", "config_cb", "")
# dla innych języków, zmień "python" na swój język ("perl", "ruby", "lua" or "tcl")
----------------------------------------
[[config_options_weechat]]
Odczyt opcji WeeChat
^^^^^^^^^^^^^^^^^^^^
Funkcja `config_get` zwraca wskaźnik do opcji. Następnie, w zależności od typu opcji,
należy wywołać `config_string`, `config_boolean`, `config_integer` lub
`config_color`.
[source,python]
----------------------------------------
# string
weechat.prnt("", "wartość opcji weechat.look.item_time_format to: %s"
% (weechat.config_string(weechat.config_get("weechat.look.item_time_format"))))
# boolean
weechat.prnt("", "wartość opcji weechat.look.day_change to: %d"
% (weechat.config_boolean(weechat.config_get("weechat.look.day_change"))))
# integer
weechat.prnt("", "wartość opcji weechat.look.scroll_page_percent to: %d"
% (weechat.config_integer(weechat.config_get("weechat.look.scroll_page_percent"))))
# color
weechat.prnt("", "wartość opcji weechat.color.chat_delimiters to: %s"
% (weechat.config_color(weechat.config_get("weechat.color.chat_delimiters"))))
----------------------------------------
[[irc]]
IRC
~~~
[[irc_catch_messages]]
Przechwytywanie wiadomości
^^^^^^^^^^^^^^^^^^^^^^^^^^
Wtyczka IRC wysyła dwa sygnały dla otrzymanej wiadomości (`xxx` jest wewnętrzną
nazwą serwera IRC, `yyy` to komenda IRC jak JOIN, QUIT, PRIVMSG, 301, ..):
xxxx,irc_in_yyy::
sygnał wysłany przed przetworzeniem wiadomości
xxx,irc_in2_yyy::
sygnał wysłany po przetworzeniu wiadomości
[source,python]
----------------------------------------
def join_cb(data, sygnał, signal_data):
# sygnał to na przykład: "freenode,irc_in2_join"
# signal_data to wiadomość IRC, na przykład: ":nick!user@host JOIN :#channel"
nick = weechat.info_get("irc_nick_from_host", signal_data)
server = signal.split(",")[0]
channel = signal_data.split(":")[-1]
buffer = weechat.info_get("irc_buffer", "%s,%s" % (server, channel))
if buffer:
weechat.prnt(buffer, "Eheh, %s has joined this channel!" % nick)
return weechat.WEECHAT_RC_OK
# przydatne jest użycie "*" jako serwera, aby złapać wiadomość JOIN na wszystkich
# serwerach IRC
weechat.hook_signal("*,irc_in2_join", "join_cb", "")
----------------------------------------
[[irc_modify_messages]]
Modyfikowanie wiadomości
^^^^^^^^^^^^^^^^^^^^^^^^
Wtyczka IRC wysyła "modyfikator" nazwany "irc_in_xxx" ("xxx" to komenda IRC) dla
otrzymanej wiadomości, żeby można było ją zmodyfikować.
[source,python]
----------------------------------------
def modifier_cb(data, modifier, modifier_data, string):
# dodaje nazwę serwera do wszystkich otrzymanych wiadomości
# (nie jest to może bardzo przydatne, ale to tylko przykład!)
return "%s %s" % (string, modifier_data)
weechat.hook_modifier("irc_in_privmsg", "modifier_cb", "")
----------------------------------------
[WARNING]
Zniekształcone wiadomości mogą uszkodzić WeeChat, lub spowodować wiele problemów!
[[irc_message_parse]]
Przetwarzanie wiadomości
^^^^^^^^^^^^^^^^^^^^^^^^
_Nowe w wersji 0.3.4._
Można przetwarzać wiadomości IRC za pomocą info_hashtable zwanej "irc_message_parse".
[source,python]
----------------------------------------
dict = weechat.info_get_hashtable("irc_message_parse",
{ "message": ":nick!user@host PRIVMSG #weechat :message here" })
weechat.prnt("", "dict: %s" % dict)
# wyjście:
# dict: {'nick': 'nick', 'host': 'nick!user@host', 'command': 'PRIVMSG', 'arguments': '#weechat :message here', 'channel': '#weechat'}
----------------------------------------
[[infos]]
Informacje
~~~~~~~~~~
[[infos_weechat_version]]
Wersja WeeChat
^^^^^^^^^^^^^^^
Najprostszym sposobem na sprawdzenie wersji to pozyskanie "version_number"
i wykonanie porównania między liczbą całkowitą a heksadecymalnym numerem wersji.
Przykład:
[source,python]
----------------------------------------
version = weechat.info_get("version_number", "") or 0
if int(version) >= 0x00030200:
weechat.prnt("", "This is WeeChat 0.3.2 or newer")
else:
weechat.prnt("", "This is WeeChat 0.3.1 or older")
----------------------------------------
[NOTE]
Wersje ≤ 0.3.1.1 zwracają pusty ciąg dla 'info_get("version_number")' należy
sprawdzić, czy zwracana wartość *nie* jest pusta.
Aby otrzymać ciąg z numerem wersji:
[source,python]
----------------------------------------
# wyświetli to na przykład "Version 0.3.2"
weechat.prnt("", "Version %s" % weechat.info_get("version", ""))
----------------------------------------
[[infos_other]]
Inne informacje
^^^^^^^^^^^^^^^
[source,python]
----------------------------------------
# katalog domowy WeeChat, na przykład: "/home/xxxx/.weechat"
weechat.prnt("", "Katalog domowy WeeChat: %s" % weechat.info_get("weechat_dir", ""))
# nieaktywność klawiatury
weechat.prnt("", "Nieaktywny od %s sekund" % weechat.info_get("inactivity", ""))
----------------------------------------
[[infolists]]
Infolisty
~~~~~~~~~
[[infolists_read]]
Odczytanie infolisty
^^^^^^^^^^^^^^^^^^^^
Można odczytać infolisty wbudowane w WeeChat lub inne wtyczki.
Przykład:
[source,python]
----------------------------------------
# odczyta infolistę "buffer", aby otrzymać listę buforów
infolist = weechat.infolist_get("buffer", "", "")
if infolist:
while weechat.infolist_next(infolist):
name = weechat.infolist_string(infolist, "name")
weechat.prnt("", "buffer: %s" % name)
weechat.infolist_free(infolist)
----------------------------------------
[IMPORTANT]
Nie zapomnij wywołać `infolist_free`, aby zwolnić pamięć użyta przez infolistę,
ponieważ WeeChat nie zwolni automatycznie tej pamięci.
+14 -14
View File
@@ -12,17 +12,17 @@ Najłatwiejszym (a zarazem najtrudniejszym) sposobem jest testowanie!
Testowanie jest bardzo ważną częścią rozwoju oprogramowania i nie powinno być
niedoceniane. Kiedy nowe funkcje są implementowane, powinny zostać przetestowane,
ale dla wielu z nich jest za dużo możliwości użycia lub nie są łątwe do
zasymulowania dlatego programiści nie są wstanie sprawdzić ich wszystkich.
ale dla wielu z nich jest za dużo możliwości użycia lub nie są łatwe do
za symulowania dlatego programiści nie są wstanie sprawdzić ich wszystkich.
Na przykład: Powszechnie znana wtyczka od kodowania została wprowadzona w
WeeChat 0.2.2: żaden z nas (programistów, współpracowników, testerów) nie
używał kanałów ze znakami narodowymi w nazwach, kiedy wersja 0.2.2 została
wypuszczona zostaliśmy zalani użytkownikami z Rosji obwiniającymi nas.
Gdy będziemy mieli więcej testrów taka sytuacja nie powinna się już zdarzyć
Gdy będziemy mieli więcej testerów taka sytuacja nie powinna się już zdarzyć
w przyszłości.
Testowanie stabilenj wersji WeeChat jest bezcelowe, ponieważ programiści są
Testowanie stabilnej wersji WeeChat jest bezcelowe, ponieważ programiści są
zajęci cały czas implementowaniem nowych rzeczy (oraz poprawianiem błędów).
@@ -30,9 +30,9 @@ zajęci cały czas implementowaniem nowych rzeczy (oraz poprawianiem błędów).
Przygotuj swój system
---------------------
Bardzo nam pomoże, jeśli włączysz linuksowe pliki 'core': jeśli WeeChat zawiesi,
się Linuks zapisze plik zwany 'core'. Plik ten zawiera uzyteczne informacje
pozwalające dokładnie zlokalizować bład w WeeChat.
Bardzo nam pomoże, jeśli włączysz linuksowe pliki 'core': jeśli WeeChat zawiesi
się Linux zapisze plik zwany 'core'. Plik ten zawiera użyteczne informacje
pozwalające dokładnie zlokalizować błąd w WeeChat.
Jeśli korzystasz z powłoki 'bash', dodaj następującą linijkę do `~/.bashrc`:
@@ -43,11 +43,11 @@ Jeśli korzystasz z powłoki 'bash', dodaj następującą linijkę do `~/.bashrc
Pobieranie wersji rozwojowej
----------------------------
Świerzy kod (z najnowszymi błędami i funkcjami) przechowywany jest w repozytorium GIT.
Świeży kod (z najnowszymi błędami i funkcjami) przechowywany jest w repozytorium GIT.
Możesz się zdecydować na własnoręczne zbudowanie (zalecana metoda):
* wersja z GIT może być zbudowana i zainstalowana równolegle z wersją stabulną,
* wersja z GIT może być zbudowana i zainstalowana równolegle z wersją stabilną,
* nie potrzebujesz uprawnień administratora, oraz nie musisz poświęcać stabilnej
wersji WeeChat.
@@ -62,7 +62,7 @@ $ mkdir ~/weechat-git
$ cd ~/weechat-git
---------------------
Jeśli masz zainstalowanego gita, po prostu zklonuj repozytorium (zalecana
Jeśli masz zainstalowanego gita, po prostu sklonuj repozytorium (zalecana
metoda):
--------------------------------------------
@@ -73,7 +73,7 @@ $ cd weechat
UWAGA: Później możesz wykonać w tym katalogu "`git pull`", aby pobrać najnowsze
poprawki.
Oczywiście możesz pobrać paczke oznaczoną jako 'devel':
Oczywiście możesz pobrać paczkę oznaczoną jako 'devel':
-----------------------------------------------------------------
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
@@ -116,7 +116,7 @@ W zależności od dystrybucji Linuksa:
Uruchomienie WeeChat
--------------------
Zalca się uruchomianie WeeChat z innym katalogiem (różnym od wersji stabilnej),
Zaleca się uruchomianie WeeChat z innym katalogiem (różnym od wersji stabilnej),
za pomocą opcji `--dir`.
Komenda to:
@@ -126,8 +126,8 @@ Komenda to:
Jeśli nadal nie śpisz powinieneś ujrzeć znajomy interfejs i chwalić się
z posiadania najnowszej możliwej wersji WeeChat. ;)
Teraz jeśli zaobserwujesz dziwne zachowanie (może sprawiać problemy, ulec awari
lub zagotować Twoje piwo) nie wachaj się wejść na kanał `#weechat` na serwerze
Teraz jeśli zaobserwujesz dziwne zachowanie (może sprawiać problemy, ulec awarii
lub zagotować Twoje piwo) nie wahaj się wejść na kanał `#weechat` na serwerze
`irc.freenode.net` i nam o tym opowiedzieć.
Jeśli wszystko będzie w porządku - też nam o tym powiedz, potrzebujemy Twojej opinii!
+7 -1
View File
@@ -26,7 +26,7 @@ all-local: weechat_quickstart.ru.html
# quickstart
weechat_quickstart.ru.html: weechat_quickstart.ru.txt
$(ASCIIDOC) -a lang=ru -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ru.html weechat_quickstart.ru.txt
$(ASCIIDOC) -a lang=ru -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.ru.html $(abs_top_srcdir)/doc/ru/weechat_quickstart.ru.txt
# install docs
@@ -34,6 +34,12 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
uninstall-hook:
$(RM) $(DESTDIR)$(docdir)/*.ru.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
+1 -1
View File
@@ -1,4 +1,4 @@
.TH WEECHAT 1 "May 2011" "Sebastien Helleu"
.TH WEECHAT 1 "October 2011" "Sebastien Helleu"
.SH NAME
weechat-curses \- Wee Enhanced Environment for Chat (Curses version)
+11 -68
View File
@@ -18,10 +18,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-07-05 15:37+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:22+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Czech\n"
@@ -3315,6 +3315,14 @@ msgstr[2] "normálních"
msgid "Debug disabled for cursor mode"
msgstr "Ladění vypnuto pro \"%s\""
#, fuzzy, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Ladění vypnuto pro \"%s\""
#, fuzzy
msgid "Debug disabled for mouse"
msgstr "Ladění vypnuto pro \"%s\""
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Chyba: nedostatek paměti pro přidáni bufferu do hotlistu"
@@ -3345,14 +3353,6 @@ msgstr "výchozí příkaz:"
msgid "Not enough memory for new line"
msgstr "Nedostatek paměti pro nový řádek"
#, fuzzy, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Ladění vypnuto pro \"%s\""
#, fuzzy
msgid "Debug disabled for mouse"
msgstr "Ladění vypnuto pro \"%s\""
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s%s: chyba, cyklický odkaz při volání aliasu \"%s\""
@@ -8099,60 +8099,3 @@ msgstr ""
msgid "Lists"
msgstr ""
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "<server> [<server>...] || -all"
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "Chyba: nemohu napojit kalávesu \"%s\""
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "Chyba: nedostatek paměti pro klávesovou zkratku"
#, fuzzy
#~ msgid "%sError: incorrect interval"
#~ msgstr "%sChyba: nekorektní číslo bufferu"
#, fuzzy
#~ msgid "%sError: incorrect count"
#~ msgstr "%sChyba: nekorektní číslo bufferu"
#~ msgid "window name (can start or end with \"*\" as wildcard) (optional)"
#~ msgstr ""
#~ "jméno okna (může začínat nebo končit \"*\" jako zástupným znakem) "
#~ "(volitelné)"
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ " kanál: kanál pro zakázání\n"
#~ "přezdívka: uživatel nebo host, který bude zakázán"
#, fuzzy
#~ msgid "Key bindings (%d) for context \"%s\":"
#~ msgstr "Klávesové zkratky (%d):"
#, fuzzy
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Výchozí klávesové zkratky (%d):"
#, fuzzy
#~ msgid "hook of type \"command\""
#~ msgstr "historie příkazů"
#, fuzzy
#~ msgid "completion"
#~ msgstr "kompilováno"
#, fuzzy
#~ msgid "lines"
#~ msgstr "online"
#, fuzzy
#~ msgid "line"
#~ msgstr "online"
#, fuzzy
#~ msgid "line data"
#~ msgstr "online"
+85 -140
View File
@@ -20,10 +20,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-08-15 10:10+0100\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Nils Görs\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: \n"
@@ -914,8 +914,9 @@ msgstr ""
" del: entfernt eine Infobar (alle Infobars können mit der Option \"-"
"all\" entfernt werden).\n"
" set: setzt einen Wert für Infobar\n"
" option: Optionen die geändert werden (für eine List der möglichen "
"Optionen, bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)\n"
" option: Option die verändert werden soll (für eine Liste aller "
"möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.bar."
"<barname>.*)\n"
" value: neuer Wert für Option\n"
" hide: Infobar wird ausgeblendet\n"
" show: zeigt eine ausgeblendete Infobar an\n"
@@ -945,15 +946,14 @@ msgstr ""
msgid "manage buffers"
msgstr "Buffer verwalten"
#, fuzzy
msgid ""
"list || clear [<number>|<name>|-merged|-all] || move|merge <number> || "
"unmerge [<number>|-all] || close [<n1>[-<n2>]|<name>] || notify <level> || "
"localvar || set <property> <value> || get <property> || <number>|<name>"
msgstr ""
"list || clear [<number>|-merged|-all] || move|merge <number> || unmerge "
"[<number>|-all] || close [<n1>[-<n2>]|<name>] || notify <level> || localvar "
"|| set <property> <value> || get <property> || <number>|<name>"
"list || clear [<number>|<name>|-merged|-all] || move|merge <number> || "
"unmerge [<number>|-all] || close [<n1>[-<n2>]|<name>] || notify <level> || "
"localvar || set <property> <value> || get <property> || <number>|<name>"
msgid ""
" list: list buffers (without argument, this list is displayed)\n"
@@ -1500,7 +1500,6 @@ msgstr ""
"<context> <key> || reset <key> || resetctxt <context> <key> || resetall -yes "
"[<context>] || missing [<context>]"
#, fuzzy
msgid ""
" list: list all current keys (without argument, this list is "
"displayed)\n"
@@ -1584,21 +1583,24 @@ msgstr ""
"entsprechende Tasten-Code in die Befehlszeile übernommen.\n"
"\n"
"Für Kontext \"mouse\" (Kontext \"cursor\" ist auch möglich), hat der zu "
"verwendende Schlüssel folgendes Format: \"@area:Taste\". \"area\" kann "
"folgende Werte habe:\n"
"verwendende Schlüssel folgendes Format: \"@area:Schlüssel\" oder "
"\"@area1>area2:Schlussel\". \"area\" kann folgende Werte habe:\n"
" *: jedweder Bereich des Bildschirms\n"
" chat: Chatbereich\n"
" chat: Chatbereich (für jeden Buffer)\n"
" chat(xxx): Chatbereich für einen Buffer mit dem Namen \"xxx"
"\" (vollständiger Name mit Erweiterung. Beispiel: chat(perl.iset):)\n"
" bar(*): beliebige Bar\n"
" bar(xxx): Bar mit dem Namen \"xxx\"\n"
" item(*): beliebiges Bar-Item\n"
" item(xxx): Bar-Item mit Namen \"xxx\"\n"
"Die zu nutzende Taste kann mit '*' beginnen oder enden um mehrere "
"Der zu nutzende Schlüssel kann mit '*' beginnen oder enden um mehrere "
"unterschiedliche Mausereignisse auszuwählen.\n"
"Für den Kontext \"mouse\" kann ein besonderer Übergabewert für den zu "
"nutzenden Befehl verwendet werden, \"hsignal:name\". Dieses sendet als "
"hsignal \"name\" ein Hashtable als Argument.\n"
"nutzenden Befehl verwendet werden, \"hsignal:name\". Dieses sendet das "
"hsignal \"name\" und als Inhalt ein Hashtable als Argument.\n"
"Ein weiterer Übergabewert ist \"-\" und kann genutzt werden um einen "
"Schlüssel zu deaktivieren (der Schlüssel wird bei der Durchführung "
"übersprungen).\n"
"\n"
"Beispiele:\n"
" Mit der Tastenkombination \"alt-x\" wird die Nicklist-Bar an-und aus "
@@ -1994,7 +1996,6 @@ msgstr "Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen"
msgid "[<path_to_binary>]"
msgstr "[<path_to_binary>]"
#, fuzzy
msgid ""
"path_to_binary: path to WeeChat binary (default is current binary)\n"
"\n"
@@ -2015,9 +2016,10 @@ msgstr ""
"path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei "
"(Standardeinstellung ist die aktuell ausführbare Datei)\n"
"\n"
"Dieser Befehl startet eine weitere WeeChat Sitzung. Aus diesem Grund muss "
"WeeChat kompiliert oder mit einem Paketmanager installiert sein, bevor der "
"Befehl ausgeführt werden kann.\n"
"Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende "
"Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder "
"mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt "
"werden kann.\n"
"\n"
"Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da "
"solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach "
@@ -2377,21 +2379,33 @@ msgid ""
"string displayed when bar can be scrolled to the left (for bars with filling "
"\"horizontal\")"
msgstr ""
"Zeichen welches anzeigt, dass die Bar nach links gescrollt werden kann (dies "
"trifft nur auf Bars zu bei denen die Option \"/set *.filling_*\" nicht auf "
"\"horizontal\" eingestellt ist)."
msgid ""
"string displayed when bar can be scrolled to the right (for bars with "
"filling \"horizontal\")"
msgstr ""
"Zeichen welches anzeigt, dass die Bar nach rechts gescrollt werden kann "
"(dies trifft nur auf Bars zu bei denen die Option \"/set *.filling_*\" nicht "
"auf \"horizontal\" eingestellt ist)."
msgid ""
"string displayed when bar can be scrolled up (for bars with filling "
"different from \"horizontal\")"
msgstr ""
"Zeichen welches anzeigt, dass die Bar nach oben gescrollt werden kann (dies "
"trifft nur auf Bars zu bei denen die Option \"/set *.filling_*\" nicht auf "
"\"horizontal\" eingestellt ist)."
msgid ""
"string displayed when bar can be scrolled down (for bars with filling "
"different from \"horizontal\")"
msgstr ""
"Zeichen welches anzeigt, dass die Bar nach unten gescrollt werden kann (dies "
"trifft nur auf Bars zu bei denen die Option \"/set *.filling_*\" nicht auf "
"\"horizontal\" eingestellt ist)."
msgid ""
"default notify level for buffers (used to tell WeeChat if buffer must be "
@@ -2420,45 +2434,56 @@ msgid ""
"(this option is disabled by default: bold is used only if terminal has less "
"than 16 colors)"
msgstr ""
"erzwingt das Textattribut \"fett\" für helle Farben und \"darkgray\" um "
"diese Farben stärker hervorzuheben (diese Option ist standardmäßig "
"deaktiviert: \"fett\" findet ausschließlich dann Verwendung falls das "
"Terminal weniger als 16 Farben zur Verfügung stellt)"
#, fuzzy
msgid ""
"use a different color for lines in inactive window (when window is not "
"current window)"
msgstr ""
"Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der "
"selben Zahl zusammengefügt worden sind)"
"Textfarbe der Zeilen in einem inaktiven Fenster (betrifft das Fenster, "
"welches nicht aktiv ist)"
#, fuzzy
msgid ""
"use a different color for lines in inactive buffer (when line is from a "
"merged buffer not selected)"
msgstr ""
"Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der "
"selben Zahl zusammengefügt worden sind)"
"Textfarbe der Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem "
"zusammengefügt Buffer, welcher nicht aktiv ist)"
msgid ""
"use a different color for inactive time (when window is not current window, "
"or if line is from a merged buffer not selected)"
msgstr ""
"nutzt eine andere Farbe um die inaktive Zeitangabe darzustellen (Fenster ist "
"nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist "
"nicht aktiv)"
#, fuzzy
msgid ""
"use a different color for inactive buffer name in prefix (when window is not "
"current window, or if line is from a merged buffer not selected)"
msgstr ""
"Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der "
"selben Zahl zusammengefügt worden sind)"
"nutzt eine andere Farbe um den inaktiven BUffernamen im Prefix (Fenster ist "
"nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist "
"nicht aktiv)"
msgid ""
"use a different color for inactive prefix (when window is not current "
"window, or if line is from a merged buffer not selected)"
msgstr ""
"nutzt eine andere Farbe um den inaktiven Prefix darzustellen (Fenster ist "
"nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers ist "
"nicht aktiv)"
msgid ""
"use a different color for inactive message (when window is not current "
"window, or if line is from a merged buffer not selected)"
msgstr ""
"nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster "
"ist nicht das aktuelle Fenster oder die Zeile des zusammengefügten Buffers "
"ist nicht aktiv)"
msgid ""
"automatically reset table of color pairs when number of available pairs is "
@@ -2653,6 +2678,8 @@ msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
msgstr ""
"Zeichen mit welchem in der Bar-Item (\"buffer_filter\") signalisiert wird ob "
"im aktuellen Buffer die Filterfunktion eingeschaltet ist."
msgid ""
"jump to previous buffer displayed when jumping to current buffer number "
@@ -2833,11 +2860,15 @@ msgstr "Hintergrundfarbe des Chats"
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgstr ""
"Textfarbe für Chat wenn das Fenster inaktiv ist (betrifft nicht das aktuell "
"ausgewählte Fenster)"
msgid ""
"text color for chat when line is inactive (buffer is merged with other "
"buffers and is not selected)"
msgstr ""
"Textfarbe für inaktive Zeilen im Chatfenster (Buffer wurde mit anderen "
"Buffern zusammengefügt und der Buffer ist nicht aktiv)"
msgid "text color for time in chat window"
msgstr "Textfarbe der Zeit im Chatfenster"
@@ -2852,13 +2883,13 @@ msgstr ""
"Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der "
"selben Zahl zusammengefügt worden sind)"
#, fuzzy
msgid ""
"text color for inactive buffer name (before prefix, when many buffers are "
"merged with same number and if buffer is not selected)"
msgstr ""
"Textfarbe des Buffer-Namens (vor dem Präfix, wenn mehrere Buffer mit der "
"selben Zahl zusammengefügt worden sind)"
"Textfarbe für den inaktiven Namen des Buffer (vor dem Präfix, falls mehrere "
"Buffer zu einem zusammengefügt worden sind und der Buffer nicht ausgewählt "
"ist)"
msgid "text color for error prefix"
msgstr "Textfarbe für Fehler-Präfix"
@@ -2999,7 +3030,8 @@ msgid "text color for unsuccessful text search in input line"
msgstr "Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche"
msgid "text color for actions in input line"
msgstr "Textfarbe in der Eingabezeile bei Aktivität"
msgstr ""
"Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)"
msgid "text color for groups in nicklist"
msgstr "Textfarbe für Gruppen in Nickliste"
@@ -3559,6 +3591,13 @@ msgstr[1] "normale"
msgid "Debug disabled for cursor mode"
msgstr "Debug für Cursor Modus deaktiviert"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug-Modus (%s) für Maus aktiviert"
msgid "Debug disabled for mouse"
msgstr "Debug für Maus deaktiviert"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
"Fehler: nicht genügend Speicher um den Buffer der Hotlist hinzu zu fügen"
@@ -3589,13 +3628,6 @@ msgstr "führe Befehl \"%s\" aus"
msgid "Not enough memory for new line"
msgstr "Nicht genügend Speicher für eine neue Zeile"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug-Modus (%s) für Maus aktiviert"
msgid "Debug disabled for mouse"
msgstr "Debug für Maus deaktiviert"
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s%s: Fehler, Zirkelbezug beim Aufruf des Alias \"%s\""
@@ -4560,22 +4592,20 @@ msgstr "Server herunterfahren"
msgid "target: server name"
msgstr "Ziel: Servername"
#, fuzzy
msgid "disconnect from one or all IRC servers"
msgstr "Verbindung, zu einem oder mehreren IRC-Server(n), trennen"
msgstr "Verbindung zu einem oder mehreren IRC-Server(n) trennen"
#, fuzzy
msgid "[<server>|-all [<reason>]]"
msgstr "[[<server>] <server_mask>]"
msgstr "[<server>|-all [<reason>]]"
#, fuzzy
msgid ""
"server: server name to disconnect\n"
" -all: disconnect from all servers\n"
"reason: reason for quit"
msgstr ""
"server: server name to disconnect\n"
" -all: disconnect from all servers"
"server: Name des Servers zu dem die Verbindung getrennt werden soll\n"
" -all: Verbindung zu allen Servern trennen\n"
"reason: Begründung der Trennung"
msgid "give channel half-operator status to nick(s)"
msgstr "halb-Operator Status an Nick(s) vergeben"
@@ -6102,9 +6132,9 @@ msgstr "%s%s: Unbekannter DCC CHAT-Typ empfangen von %s%s%s: \"%s\""
msgid "%sUnknown CTCP requested by %s%s%s: %s%s%s%s%s"
msgstr "%sUnbekannte CTCP Anfrage von %s%s%s: %s%s%s%s%s"
#, fuzzy, c-format
#, c-format
msgid "Server: %s%s %s[%s%s%s]%s%s"
msgstr "%sServer: %s%s %s[%s%s%s]%s%s"
msgstr "Server: %s%s %s[%s%s%s]%s%s"
msgid "connected"
msgstr "verbunden"
@@ -6195,15 +6225,20 @@ msgstr ""
msgid "split an IRC message (to fit in 512 bytes)"
msgstr ""
"dient zum Aufteilen einer überlangen IRC Nachricht (in maximal 512 Bytes "
"große Nachrichten)"
msgid "\"message\": IRC message, \"server\": server name (optional)"
msgstr ""
msgstr "\"message\": IRC Nachricht, \"server\": Servername (optional)"
#. TRANSLATORS: please do not translate key names (enclosed by quotes)
msgid ""
"\"msg1\" ... \"msgN\": messages to send (without final \"\\r\\n\"), "
"\"args1\" ... \"argsN\": arguments of messages, \"count\": number of messages"
msgstr ""
"\"msg1\" ... \"msgN\": Nachrichten die versendet werden sollen (ohne "
"abschließendes \"\\r\\n\"), \"args1\" ... \"argsN\": Argumente für "
"Nachrichten, \"count\": Anzahl der Nachrichten"
msgid "list of IRC servers"
msgstr "Liste der IRC-Server"
@@ -8498,93 +8533,3 @@ msgstr "Variablen"
msgid "Lists"
msgstr "Listen"
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "<server> [<server>...] || -all"
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "Fehler: kann die Taste \"%s\" nicht zuordnen"
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "Fehler: nicht genügend Speicher für Tastenzuordnung"
#~ msgid "window name (can start or end with \"*\" as wildcard) (optional)"
#~ msgstr ""
#~ "Fenstername (darf mit einem \"*\" als Platzhalter beginnen oder enden) "
#~ "(optional)"
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ "channel: Channel für die Sperre\n"
#~ " nick: zu sperrender User oder Host"
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Standardtastenbelegungen (%d) für Kontext \"%s\" :"
#~ msgid "hook (variables common to all hook types)"
#~ msgstr "Hook (Variablen die für alle Hook-Typen geläufig sind)"
#~ msgid "hook of type \"command\""
#~ msgstr "Hook des Typs \"command\""
#~ msgid "hook of type \"command_run\""
#~ msgstr "Hook vom Typ \"command_run\""
#~ msgid "hook of type \"timer\""
#~ msgstr "Hook vom Typ \"timer\""
#~ msgid "hook of type \"fd\""
#~ msgstr "Hook vom Typ \"fd\""
#~ msgid "hook of type \"process\""
#~ msgstr "Hook vom Typ \"process\""
#~ msgid "hook of type \"connect\""
#~ msgstr "Hook vom Typ \"connect\""
#~ msgid "hook of type \"print\""
#~ msgstr "Hook vom Typ \"print\""
#~ msgid "hook of type \"signal\""
#~ msgstr "Hook vom Typ \"signal\""
#~ msgid "hook of type \"hsignal\""
#~ msgstr "Hook vom Typ \"\""
#~ msgid "hook of type \"config\""
#~ msgstr "Hook vom Typ \"config\""
#~ msgid "hook of type \"completion\""
#~ msgstr "Hook vom Typ \"completion\""
#~ msgid "hook of type \"modifier\""
#~ msgstr "Hook vom Typ \"modifier\""
#~ msgid "hook of type \"info\""
#~ msgstr "Hook vom Typ \"info\""
#~ msgid "hook of type \"info_hashtable\""
#~ msgstr "Hook vom Typ \"info_hashtable\""
#~ msgid "hook of type \"infolist\""
#~ msgstr "Hook vom Typ \"infolist\""
#~ msgid "hook of type \"hdata\""
#~ msgstr "Hook vom Typ \"hdata\""
#~ msgid "completion"
#~ msgstr "Vervollständigung"
#~ msgid "key"
#~ msgstr "Taste"
#~ msgid "lines"
#~ msgstr "Linien"
#~ msgid "line"
#~ msgstr "Linie"
#~ msgid "line data"
#~ msgstr "Zeilendaten"
+313 -287
View File
File diff suppressed because it is too large Load Diff
+10 -37
View File
@@ -19,10 +19,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-09-30 16:35+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -3509,6 +3509,13 @@ msgstr[1] "normaux"
msgid "Debug disabled for cursor mode"
msgstr "Debug désactivé pour le mode curseur"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug activé pour la souris (%s)"
msgid "Debug disabled for mouse"
msgstr "Debug désactivé pour la souris"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Erreur: impossible d'ajouter le tampon à la liste des tampons actifs"
@@ -3538,13 +3545,6 @@ msgstr "Lancement de la commande: \"%s\""
msgid "Not enough memory for new line"
msgstr "Pas assez de mémoire pour une nouvelle ligne"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug activé pour la souris (%s)"
msgid "Debug disabled for mouse"
msgstr "Debug désactivé pour la souris"
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s%s: erreur, référence circulaire lors de l'appel à l'alias \"%s\""
@@ -8360,30 +8360,3 @@ msgstr "Variables"
msgid "Lists"
msgstr "Listes"
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "<serveur> [<serveur>...] || -all"
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "Erreur: impossible de créer la touche \"%s\""
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "Erreur: pas assez de mémoire pour la touche"
#~ msgid "%sError: incorrect interval"
#~ msgstr "%sErreur: intervalle incorrect"
#~ msgid "%sError: incorrect count"
#~ msgstr "%sErreur: numéro incorrect"
#~ msgid "window name (can start or end with \"*\" as wildcard) (optional)"
#~ msgstr ""
#~ "nom de fenêtre (peut démarrer ou se terminer par \"*\" comme joker) "
#~ "(optionnel)"
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ " canal: nom du canal pour le bannissement\n"
#~ "pseudo: pseudo ou hôte pour le bannissement"
+10 -54
View File
@@ -18,10 +18,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-05-15 10:51+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Hungarian\n"
@@ -2985,6 +2985,13 @@ msgstr[1] "normál"
msgid "Debug disabled for cursor mode"
msgstr ""
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
#, fuzzy
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "%s nincs elég memória az ignore elkészítéséhez\n"
@@ -3016,13 +3023,6 @@ msgstr "%s belső parancsok:\n"
msgid "Not enough memory for new line"
msgstr "Nincs elég memória az új sorhoz\n"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s körreferencia a \"/%s\" aliasz hívásakor\n"
@@ -7636,47 +7636,3 @@ msgstr ""
msgid "Lists"
msgstr ""
#, fuzzy
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "szerver1 [szerver2]"
#, fuzzy
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "%s nem sikerült a(z) \"%s\" billentyűt hozzárendelni\n"
#, fuzzy
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "%s nincs elég memória a billentyűhozzárendeléshez\n"
#, fuzzy
#~ msgid "%sError: incorrect interval"
#~ msgstr "%s helytelen pufferszám\n"
#, fuzzy
#~ msgid "%sError: incorrect count"
#~ msgstr "%s helytelen pufferszám\n"
#, fuzzy
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ "szoba: letiltandó szoba\n"
#~ " név: letiltandó felhasználó vagy gép"
#, fuzzy
#~ msgid "Key bindings (%d) for context \"%s\":"
#~ msgstr "Billentyűparancsok:\n"
#, fuzzy
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Alapértelmezett billentyűparancsok visszaállítva\n"
#, fuzzy
#~ msgid "hook of type \"command\""
#~ msgstr "%s belső parancsok:\n"
#, fuzzy
#~ msgid "completion"
#~ msgstr "lefordítva:"
+154 -233
View File
@@ -18,10 +18,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-09-02 14:16+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Italian\n"
@@ -61,8 +61,8 @@ msgid ""
" (look at plugins documentation for more information\n"
" about possible options)\n"
msgstr ""
" -a, --no-connect disabilta la connessione automatica all'avvio\n"
" -c, --colors \t mostra i colori predefiniti nel terminale\n"
" -a, --no-connect disabilita la connessione automatica all'avvio\n"
" -c, --colors mostra i colori predefiniti nel terminale\n"
" -d, --dir <percorso> imposta la cartella principale di WeeChat "
"(predefinita: ~/.weechat)\n"
" -h, --help mostra questo aiuto\n"
@@ -376,12 +376,12 @@ msgstr "comando predefinito:"
#. TRANSLATORS: first "%d" is number of keys
#, c-format
msgid "%d key bindings added or redefined for context \"%s\":"
msgstr "%d associazioni tasti aggiunte o ridefinite per il contesto \"%s\":"
msgstr "%d combinazioni tasti aggiunte o ridefinite per il contesto \"%s\":"
#. TRANSLATORS: first "%d" is number of keys
#, c-format
msgid "%d key bindings deleted for context \"%s\":"
msgstr "%d associazioni tasti rimosse per il contesto \"%s\":"
msgstr "%d combinazioni tasti rimosse per il contesto \"%s\":"
#, c-format
msgid "No key binding added, redefined or removed for context \"%s\""
@@ -399,7 +399,7 @@ msgstr "Il tasto \"%s\" ha già un valore predefinito"
#, c-format
msgid "%sError: unable to unbind key \"%s\""
msgstr "%sErrore: impossibile rimuovere l'associazione del tasto \"%s\""
msgstr "%sErrore: impossibile rimuovere la combinazione del tasto \"%s\""
#, c-format
msgid "%sKey \"%s\" not found"
@@ -486,7 +486,7 @@ msgid "Layout reset for windows"
msgstr "Reset del layout per le finestre"
msgid "Plugins loaded:"
msgstr "Plugin attivati:"
msgstr "Plugin caricati:"
#, c-format
msgid " written by \"%s\", license: %s"
@@ -671,8 +671,8 @@ msgid ""
"%sOption \"%s\" not found (tip: you can use \"*\" at beginning and/or end of "
"option to see a sublist)"
msgstr ""
"%sOpzione \"%s\" non trovata (è possibile utilizzare \"*\" all'inizio e/o "
"fine dell'opzione per visualizzare una sottolista)"
"%sOpzione \"%s\" non trovata (è possibile usare \"*\" all'inizio e/o fine "
"dell'opzione per visualizzare una sottolista)"
msgid "No configuration option found"
msgstr "Nessuna opzione di configurazione trovata"
@@ -888,8 +888,7 @@ msgstr ""
" senza condizione, viene sempre mostrata\n"
" posizione: bottom (basso), top (alto), left (sinistra) o right (destra)\n"
" dimensione: dimensione della barra (in caratteri)\n"
" separatore: 1 per utilizzarlo (riga), 0 o nulla equivale a nessun "
"separatore\n"
" separatore: 1 per usarlo (riga), 0 o nulla equivale a nessun separatore\n"
" item1,...: elementi per questa barra (possono essere separati da virgole "
"(spazio tra gli elementi) o \"+\" (elementi incollati))\n"
" default: crea una barra predefinita (saranno tutte predefinite se non "
@@ -1272,7 +1271,7 @@ msgstr ""
"\n"
"Il tasto predefinito alt+'=' abilita/disabilita il filtro.\n"
"\n"
"Tag utilizzati di frequente:\n"
"Tag usati di frequente:\n"
" no_filter, no_highlight, no_log, log0..log9 (livello di log),\n"
" notify_none, notify_message, notify_private, notify_highlight,\n"
" nick_xxx (xxx è il nick nel messaggio),\n"
@@ -1443,7 +1442,7 @@ msgstr ""
" switch_active_buffer_previous: passa al precedente buffer incollato\n"
" insert: inserisci testo nella riga di comando\n"
"\n"
"Questo comando viene usato dall'associazione tasti o dai plugin."
"Questo comando viene usato dalla combinazioni tasti o dai plugin."
msgid "bind/unbind keys"
msgstr "associa/disassocia tasti"
@@ -1523,19 +1522,19 @@ msgstr ""
"associato al tasto (per il contesto \"default\")\n"
" bindctxt: associa un comando ad un tasto o mostra il comando associato al "
"tasto, per il contesto fornito\n"
" unbind: rimuove una associazione di tasti (per il contesto \"default"
" unbind: rimuove una combinazione di tasti (per il contesto \"default"
"\")\n"
" unbindctxt: rimuove l'associazione tasti per il contesto fornito\n"
" unbindctxt: rimuove la combinazione tasti per il contesto fornito\n"
" reset: ripristina un tasto all'assegnazione predefinita\n"
" resetctxt: ripristina un tasto all'associazione predefinita per il "
" resetctxt: ripristina un tasto alla combinazione predefinita per il "
"contesto fornito\n"
" resetall: ripristina le associazioni ai valori predefiniti ed elimina "
"TUTTE le associazioni personalizzate (usare con cautela!)\n"
" missing: aggiunge tasti mancanti (utilizzando le associazioni "
"predefinite), utile dopo l'installazione di una nuova versione di WeeChat\n"
" resetall: ripristina le combinazioni ai valori predefiniti ed elimina "
"TUTTE le combinazioni personalizzate (usare con cautela!)\n"
" missing: aggiunge tasti mancanti (usando le combinazioni predefinite), "
"utile dopo l'installazione di una nuova versione di WeeChat\n"
"\n"
"Al momento di associare un comando ad un tasto si raccomanda di utilizzare "
"il tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice "
"Al momento di associare un comando ad un tasto si raccomanda di usare il "
"tasto alt+k (oppure Esc e k), e digitare il tasto da associare: il codice "
"tasto verrà inserito nella riga di comando.\n"
"\n"
"Per il contesto \"mouse\" (possibile anche nel contesto \"cursor\"), il "
@@ -1562,7 +1561,7 @@ msgstr ""
" /key bind meta-x /bar toggle nicklist\n"
" il tasto alt-r per passare al canale IRC #weechat:\n"
" /key bind meta-r /buffer #weechat\n"
" ripristinare l'associazione predefinita per il tasto alt-r:\n"
" ripristinare la combinazione predefinita per il tasto alt-r:\n"
" /key reset meta-r\n"
" il tasto \"tab\" per fermare la ricerca nel buffer:\n"
" /key bindctxt search ctrl-I /input search_stop\n"
@@ -1679,7 +1678,7 @@ msgstr ""
" /mute -buffer irc.freenode.#weechat msg #weechat ciao!"
msgid "list/load/unload plugins"
msgstr "elenca/attiva/disattiva plugin"
msgstr "elenca/carica/scarica plugin"
msgid ""
"list|listfull [<name>] || load <filename> || autoload || reload|unload "
@@ -1701,18 +1700,18 @@ msgid ""
"\n"
"Without argument, this command lists loaded plugins."
msgstr ""
" list: elenca i plugin attivati\n"
"listfull: elenca i plugin attivati (dettagliato)\n"
" load: attiva un plugin\n"
"autoload: attiva automaticamente un plugin nella cartella di sistema o "
" list: elenca i plugin caricati\n"
"listfull: elenca i plugin caricati (dettagliato)\n"
" load: carica un plugin\n"
"autoload: carica automaticamente un plugin nella cartella di sistema o "
"utente\n"
" reload: riattiva un plugin (se non specificato, disattiva e poi riattiva "
" reload: ricarica un plugin (se non specificato, scarica e poi ricarica "
"tutti i plugin)\n"
" unload: disattiva un plugin (se non specificato, disattiva tutti i plugin\n"
"nomefile: plugin (file) da attivare\n"
" unload: scarica un plugin (se non specificato, scarica tutti i plugin\n"
"nomefile: plugin (file) da caricare\n"
" nome: nome di un plugin\n"
"\n"
"Senza argomento, questo comando elenca i plugin attivati."
"Senza argomento, questo comando elenca i plugin caricati."
msgid "manage proxies"
msgstr "gestione proxy"
@@ -1931,7 +1930,6 @@ msgstr "aggiorna WeeChat senza disconnettere dai server"
msgid "[<path_to_binary>]"
msgstr "[<percorso_del_binario>]"
#, fuzzy
msgid ""
"path_to_binary: path to WeeChat binary (default is current binary)\n"
"\n"
@@ -1952,21 +1950,21 @@ msgstr ""
"percorso_del_binario: percorso del binario di WeeChat (di default è il "
"corrente)\n"
"\n"
"Questo comando esegue nuovamente un binario WeeChat, perciò deve essere "
"stato compilato o installato con un gestore di pacchetti prima di eseguire "
"questo comando.\n"
"Questo comando aggiorna e ricarica una sessione di WeeChat in esecuzione. Il "
"nuovo binario di WeeChat deve essere stato compilato o installato con un "
"gestore pacchetti prima di eseguire questo comando.\n"
"\n"
"Nota: le connessioni SSL vengono perdute durante l'aggiornamento, poiché il "
"nuovo caricamento delle sessioni SSL non è ancora possibile con GnuTLS. La "
"riconnessione automatica avviene dopo l'aggiornamento.\n"
"\n"
"Il processo di aggiornamento è diviso in 4 fasi:\n"
" 1. salvataggio della sessione in file per il core e i plugin (buffer, "
" 1. salva la sessione in file per il core e i plugin (buffer, "
"cronologia, ..)\n"
" 2. disattivazione di tutti i plugin (salvataggio delle configurazioni ."
"conf)\n"
" 3. salvataggio della configurazione di WeeChat (weechat.conf)\n"
" 4. esecuzione del nuovo binario di WeeChat e caricamento della sessione."
" 2. scarica tutti i plugin (i file di configurazione (*.conf) vengono "
"scritti su disco)\n"
" 3. salva la configurazione di WeeChat (weechat.conf)\n"
" 4. esegui il nuovo binario di WeeChat e carica la sessione."
msgid "show WeeChat uptime"
msgstr "mostra l'uptime di WeeChat"
@@ -2175,7 +2173,7 @@ msgid "numbers of buffers"
msgstr "numeri dei buffer"
msgid "names of buffers (including plugins names)"
msgstr "nomi dei buffer (inclusi i nomi plugin)"
msgstr "nomi dei buffer (inclusi i nomi dei plugin)"
msgid "properties that can be set on a buffer"
msgstr "proprietà che possono essere impostate su un buffer"
@@ -2286,10 +2284,10 @@ msgstr ""
"comando eseguito all'avvio di WeeChat, prima del caricamento dei plugin"
msgid "display WeeChat logo at startup"
msgstr "visualizza il logo di WeeChat all'avvio"
msgstr "mostra il logo di WeeChat all'avvio"
msgid "display WeeChat version at startup"
msgstr "visualizza la versione di WeeChat all'avvio"
msgstr "mostra la versione di WeeChat all'avvio"
msgid ""
"alignment for end of lines (all lines after the first): they are starting "
@@ -2333,9 +2331,9 @@ msgid ""
"messages (default), message=messages+highlights, highlight=highlights only, "
"none=never display in hotlist"
msgstr ""
"livello predefinito di notifica per i buffer (utilizzato per comunicare a "
"WeeChat se il buffer deve essere visualizzato nella hotlist oppure no, a "
"seconda dell'importanza del messaggio): all: tutti i messaggi (predefinito), "
"livello predefinito di notifica per i buffer (usato per comunicare a WeeChat "
"se il buffer deve essere visualizzato nella hotlist oppure no, a seconda "
"dell'importanza del messaggio): all: tutti i messaggi (predefinito), "
"message=messaggi+eventi, highlight=solo eventi, none=non viene mai "
"visualizzato nella hotlist"
@@ -2354,45 +2352,52 @@ msgid ""
"(this option is disabled by default: bold is used only if terminal has less "
"than 16 colors)"
msgstr ""
"forza l'attributo \"bold\" per i colori chiari e \"darkgray\" nei colori di "
"base (questa opzione è disabilitata per default: il grassetto è usato solo "
"se il terminale ha meno di 16 colori)"
#, fuzzy
msgid ""
"use a different color for lines in inactive window (when window is not "
"current window)"
msgstr ""
"colore del testo per il nome del buffer (prima del prefisso, quando più "
"buffer sono uniti con lo stesso nome)"
"usa un colore diverso per le righe nella finestra inattiva (quando la "
"finestra non è quella corrente)"
#, fuzzy
msgid ""
"use a different color for lines in inactive buffer (when line is from a "
"merged buffer not selected)"
msgstr ""
"colore del testo per il nome del buffer (prima del prefisso, quando più "
"buffer sono uniti con lo stesso nome)"
"usa un colore diverso per le righe nel buffer inattivo (quando la riga viene "
"da un buffer unito non selezionato)"
msgid ""
"use a different color for inactive time (when window is not current window, "
"or if line is from a merged buffer not selected)"
msgstr ""
"usa un colore diverso per il tempo di inattività (quando la finestra non è "
"quella corrente, o se la riga viene da un buffer unito non selezionato)"
#, fuzzy
msgid ""
"use a different color for inactive buffer name in prefix (when window is not "
"current window, or if line is from a merged buffer not selected)"
msgstr ""
"colore del testo per il nome del buffer (prima del prefisso, quando più "
"buffer sono uniti con lo stesso nome)"
"usa un colore diverso per il nome del buffer inattivo nel prefisso (quando "
"la finestra non è quella corrente, o se la riga viene da un buffer unito non "
"selezionato)"
msgid ""
"use a different color for inactive prefix (when window is not current "
"window, or if line is from a merged buffer not selected)"
msgstr ""
"usa un colore diverso per il prefisso inattivo (quando la finestra non è "
"quella corrente, o se la riga viene da un buffer unito non selezionato)"
msgid ""
"use a different color for inactive message (when window is not current "
"window, or if line is from a merged buffer not selected)"
msgstr ""
"usa un colore diverso per un messaggio inattivo (quando la finestra non è "
"quella corrente, o se la riga viene da un buffer unito non selezionato)"
msgid ""
"automatically reset table of color pairs when number of available pairs is "
@@ -2409,10 +2414,10 @@ msgid ""
"background (if you never use white background, you should turn on this "
"option to see real white instead of default term foreground color)"
msgstr ""
"se impostato, utilizza il colore bianco reale, disabilitato sui terminali "
"con lo sfondo bianco (se non utilizzato, l'opzione dovrebbe essere attivata "
"per visualizzare il bianco reale invece del colore di primo piano "
"predefinito del terminale)"
"se impostato, usa il colore bianco reale, disabilitato sui terminali con lo "
"sfondo bianco (se non usato, l'opzione dovrebbe essere attivata per "
"visualizzare il bianco reale invece del colore di primo piano predefinito "
"del terminale)"
msgid ""
"chars used to determine if input string is a command or not: input must "
@@ -2750,11 +2755,15 @@ msgstr "colore di sfondo per la chat"
msgid ""
"text color for chat when window is inactive (not current selected window)"
msgstr ""
"colore del testo per la chat quando la finestra è inattiva (nessuna finestra "
"attiva selezionata)"
msgid ""
"text color for chat when line is inactive (buffer is merged with other "
"buffers and is not selected)"
msgstr ""
"colore del testo per la chat quando la riga è inattiva (il buffer è unito "
"con altri buffer e non è selezionato)"
msgid "text color for time in chat window"
msgstr "colore del testo per l'orario nella finestra di chat"
@@ -2769,13 +2778,12 @@ msgstr ""
"colore del testo per il nome del buffer (prima del prefisso, quando più "
"buffer sono uniti con lo stesso nome)"
#, fuzzy
msgid ""
"text color for inactive buffer name (before prefix, when many buffers are "
"merged with same number and if buffer is not selected)"
msgstr ""
"colore del testo per il nome del buffer (prima del prefisso, quando più "
"buffer sono uniti con lo stesso nome)"
"colore del testo per il nome del buffer inattivo (prima del prefisso, quando "
"più buffer sono uniti con lo stesso numero e il buffer non è selezionato)"
msgid "text color for error prefix"
msgstr "colore del testo per il prefisso di errore"
@@ -2787,7 +2795,7 @@ msgid "text color for action prefix"
msgstr "colore del testo per il prefisso di azione"
msgid "text color for join prefix"
msgstr "colore del testo per il prefisso di entrata<"
msgstr "colore del testo per il prefisso di entrata"
msgid "text color for quit prefix"
msgstr "colore del testo per il prefisso di uscita"
@@ -3022,7 +3030,7 @@ msgid ""
"which is highly recommended)"
msgstr ""
"abilita come predefinito il debug per tutti i plugin (opzione disabilita di "
"predefinito, caldamente raccomandato)"
"default, caldamente raccomandato)"
msgid ""
"standard plugins extension in filename (for example \".so\" under Linux or "
@@ -3039,7 +3047,7 @@ msgstr ""
"WeeChat, \"~/.weechat come predefinita)"
msgid "save configuration files when unloading plugins"
msgstr "salva i file di configurazione alla disattivazione dei plugin"
msgstr "salva i file di configurazione allo scaricamento dei plugin"
msgid "FATAL: error initializing configuration options"
msgstr "FATALE: errore nell'inizializzazione delle opzioni di configurazione"
@@ -3465,12 +3473,19 @@ msgstr[1] "normali"
msgid "Debug disabled for cursor mode"
msgstr "Debug disabilitato per la modalità cursore"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug abilitato per il mouse (%s)"
msgid "Debug disabled for mouse"
msgstr "Debug disabilitato per il mouse"
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "Errore: memoria non sufficiente per aggiungere un buffer alla hotlist"
#, c-format
msgid "New key binding (context \"%s\"): %s%s => %s%s"
msgstr "Nuova associazione tasti (contesto \"%s\"): %s%s => %s%s"
msgstr "Nuova combinazione tasti (contesto \"%s\"): %s%s => %s%s"
#, c-format
msgid "Key \"%s\" unbound (context: \"%s\")"
@@ -3494,13 +3509,6 @@ msgstr "Esecuzione comando: \"%s\""
msgid "Not enough memory for new line"
msgstr "Memoria non sufficiente per una nuova riga"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug abilitato per il mouse (%s)"
msgid "Debug disabled for mouse"
msgstr "Debug disabilitato per il mouse"
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s%s: errore, riferimento circolare alla chiamata dell'alias \"%s\""
@@ -3692,7 +3700,7 @@ msgid "list of supported langs for aspell"
msgstr "elenco di lingue supportate per aspell"
msgid "comma separated list of dictionaries to use on this buffer"
msgstr "elenco separato da virgole di dizionari da utilizzare su questo buffer"
msgstr "elenco separato da virgole di dizionari da usare su questo buffer"
#, c-format
msgid "%s%s: error creating aspell dictionary \"%s\" => \"%s\""
@@ -3710,7 +3718,7 @@ msgid "%s%s: error creating aspell option \"%s\" => \"%s\""
msgstr "%s%s: errore nella creazione dell'opzione aspell \"%s\" => \"%s\""
msgid "color used for misspelled words"
msgstr "colore utilizzato per le parole non corrette"
msgstr "colore usato per le parole non corrette"
msgid ""
"comma separated list of commands for which spell checking is enabled (spell "
@@ -3725,10 +3733,9 @@ msgid ""
"buffer has no dictionary defined (leave blank to disable aspell on buffers "
"for which you didn't explicitly enabled it)"
msgstr ""
"dizionario predefinito (o elenco separato da virgole di dizionari) da "
"utilizzare quando il buffer non ha alcun dizionario definito (vuoto per "
"disabilitare il controllo ortografico sui buffer in cui non è stato "
"esplicitamente abilitato)"
"dizionario predefinito (o elenco separato da virgole di dizionari) da usare "
"quando il buffer non ha alcun dizionario definito (vuoto per disabilitare il "
"controllo ortografico sui buffer in cui non è stato esplicitamente abilitato)"
msgid "check words during text search in buffer"
msgstr "controlla le parole durante la ricerca del testo nel buffer"
@@ -4638,7 +4645,7 @@ msgid ""
msgstr ""
"canale: canale da elencare\n"
"server: nome del server\n"
"regex: espressione regolare utilizzata per filtrare i risultati\n"
"regex: espressione regolare usata per filtrare i risultati\n"
"\n"
"Esempi:\n"
" elenca tutti i canali sul server (può essere molto lento su grandi "
@@ -5015,7 +5022,7 @@ msgid ""
" type: reserved for future usage"
msgstr ""
"distrubuzione: visibilità del servizio\n"
" tipo: riservato per un utilizzo futuro"
" tipo: riservato per un uso futuro"
msgid "list, add or remove IRC servers"
msgstr "elenca, aggiunge o rimuove server IRC"
@@ -5357,7 +5364,7 @@ msgstr ""
"configurazione, e non è stato eliminato perché è attivo"
msgid "buffer used to display message received from IRC server"
msgstr "buffer utilizzato per visualizzare i messaggi ricevuti dal server IRC"
msgstr "buffer usato per visualizzare i messaggi ricevuti dal server IRC"
#, c-format
msgid "%s%s: error creating \"%s\" => \"%s\""
@@ -5385,13 +5392,13 @@ msgid "list of hostname/port or IP/port for server (separated by comma)"
msgstr "elenco di host/porte o IP/porte per il server (separati da virgole)"
msgid "proxy used for this server (optional)"
msgstr "proxy utilizzato per il server (opzionale)"
msgstr "proxy usato per il server (opzionale)"
msgid "use IPv6 protocol for server communication"
msgstr "utilizza il protocollo IPv6 per le comunicazioni col server"
msgstr "usa il protocollo IPv6 per le comunicazioni col server"
msgid "use SSL for server communication"
msgstr "utilizza SSL per le comunicazioni col server"
msgstr "usa SSL per le comunicazioni col server"
msgid ""
"ssl certificate file used to automatically identify your nick (\"%h\" will "
@@ -5412,8 +5419,7 @@ msgstr ""
"\"SECURE256\", \"EXPORT\", \"NONE\")"
msgid "size of the key used during the Diffie-Hellman Key Exchange"
msgstr ""
"dimensione della chiave utilizzata durante lo Scambio Chiavi Diffie-Hellman"
msgstr "dimensione della chiave usata durante lo Scambio Chiavi Diffie-Hellman"
msgid "check that the ssl connection is fully trusted"
msgstr "verifica che la connessione ssl sia totalmente fidata"
@@ -5443,20 +5449,20 @@ msgid "delay (in seconds) before trying again to reconnect to server"
msgstr "ritardo (in secondi) prima di riprovare a riconnettersi al server"
msgid "nicknames to use on server (separated by comma)"
msgstr "nick da utilizzare sul server (separati da virgole)"
msgstr "nick da usare sul server (separati da virgole)"
msgid "user name to use on server"
msgstr "nome utente da utilizzare sul server"
msgstr "nome utente da usare sul server"
msgid "real name to use on server"
msgstr "nome reale da utilizzare sul server"
msgstr "nome reale da usare sul server"
msgid ""
"custom local hostname/IP for server (optional, if empty local hostname is "
"used)"
msgstr ""
"nome host/IP locale definito per il server (opzionale, se vuoto viene "
"utilizzato il nome host locale)"
"nome host/IP locale definito per il server (opzionale, se vuoto viene usato "
"il nome host locale)"
msgid ""
"command(s) to run when connected to server (many commands should be "
@@ -5464,8 +5470,8 @@ msgid ""
"$channel and $server are replaced by their value)"
msgstr ""
"comando(i) da eseguire quando si è connessi al server (più comandi vanno "
"separati da \":\", utilizzare \";\" per un punto e virgola, le variabili "
"speciali $nick, $canale e $server vengono sostituite dai loro valori)"
"separati da \":\", usare \";\" per un punto e virgola, le variabili speciali "
"$nick, $canale e $server vengono sostituite dai loro valori)"
msgid ""
"delay (in seconds) after command was executed (example: give some time for "
@@ -5574,7 +5580,7 @@ msgid "use nick color in nicklist"
msgstr "usa il colore del nick nella lista nick"
msgid "use nick color in messages from server"
msgstr "utilizza i colori dei nick nei messaggi dal server"
msgstr "usa i colori dei nick nei messaggi dal server"
msgid "use same nick color for channel and private"
msgstr "usa lo stesso colore del nick per canale e privato"
@@ -5708,8 +5714,8 @@ msgstr ""
msgid ""
"display notices as private messages (if auto, use private buffer if found)"
msgstr ""
"visualizza notifiche come messaggi privati (se automatico, utilizza il "
"buffer privato se viene trovato)"
"visualizza notifiche come messaggi privati (se automatico, usa il buffer "
"privato se viene trovato)"
msgid ""
"comma separated list of tags used in messages printed by notify when a nick "
@@ -5928,9 +5934,9 @@ msgstr "%s%s: tipo di DCC CHAT sconosciuto ricevuto da %s%s%s: \"%s\""
msgid "%sUnknown CTCP requested by %s%s%s: %s%s%s%s%s"
msgstr "%sCTCP sconosciuto richiesto da %s%s%s: %s%s%s%s%s"
#, fuzzy, c-format
#, c-format
msgid "Server: %s%s %s[%s%s%s]%s%s"
msgstr "%sServer: %s%s %s[%s%s%s]%s%s"
msgstr "Server: %s%s %s[%s%s%s]%s%s"
msgid "connected"
msgstr "connesso"
@@ -5945,7 +5951,7 @@ msgid "on"
msgstr "attivo"
msgid "off"
msgstr "disattivo"
msgstr "non attivo"
msgid "minute"
msgid_plural "minutes"
@@ -6149,7 +6155,7 @@ msgid ""
"%s%s: error building answer for SASL authentication, using mechanism \"%s\""
msgstr ""
"%s%s: errore nella costruzione della risposta per l'autenticazione SASL, "
"utilizzando il meccanismo \"%s\""
"usando il meccanismo \"%s\""
#, c-format
msgid "%s%s: client capability, server supports: %s"
@@ -6424,7 +6430,7 @@ msgid ""
"%s%s: all declared nicknames are already in use or invalid, closing "
"connection with server"
msgstr ""
"%s%s: tutti i nick specificato sono già in uso oppure invalidi, chiusura "
"%s%s: tutti i nick specificati sono già in uso oppure invalidi, chiusura "
"della connessione con il server in corso"
#, c-format
@@ -6436,13 +6442,12 @@ msgid ""
"%s%s: all declared nicknames are already in use, closing connection with "
"server"
msgstr ""
"%s%s: tutti i nick specificato sono già utilizzati, chiusura della "
"connessione con il server in corso"
"%s%s: tutti i nick specificati sono già in uso, chiusura della connessione "
"con il server in corso"
#, c-format
msgid "%s: nickname \"%s\" is already in use, trying nickname #%d (\"%s\")"
msgstr ""
"%s: il nick \"%s\" è già utilizzato, tentativo con il nick #%d (\"%s\")"
msgstr "%s: il nick \"%s\" è già in uso, tentativo con il nick #%d (\"%s\")"
#, c-format
msgid "%s%s: nickname \"%s\" is unavailable, trying nickname #%d (\"%s\")"
@@ -6643,8 +6648,7 @@ msgstr "%s%s: memoria non sufficiente"
#, c-format
msgid "gnutls: connected using %d-bit Diffie-Hellman shared secret exchange"
msgstr ""
"gnutls: connesso utilizzando lo scambio segreto condiviso %d-bit Diffie-"
"Hellman"
"gnutls: connesso usando lo scambio segreto condiviso %d-bit Diffie-Hellman"
#, c-format
msgid "%sgnutls: error while checking peer's certificate"
@@ -6782,8 +6786,7 @@ msgid ""
"used by another buffer (check your log settings)"
msgstr ""
"%s%s: impossibile avviare il logging per il buffer \"%s\": il file di nome "
"\"%s\" è già utilizzato per un altro buffer (verificare le impostazioni dei "
"log)"
"\"%s\" è già in uso per un altro buffer (verificare le impostazioni dei log)"
#, c-format
msgid "%s%s: unable to create directory for logs (\"%s\")"
@@ -6863,11 +6866,11 @@ msgstr ""
"messaggi (più importanti) .. 9 = tutti i messaggi)\n"
"disable: disabilita il logging sul buffer corrente (imposta livello a 0)\n"
"\n"
"Le opzioni \"logger.level.*\" e \"logger.mask.*\" possono essere utilizzate "
"per impostare un livello o una mask per un buffer, o per i buffer che "
"cominciano per nome.\n"
"Le opzioni \"logger.level.*\" e \"logger.mask.*\" possono essere usate per "
"impostare un livello o una mask per un buffer, o per i buffer che cominciano "
"per nome.\n"
"\n"
"Livelli di log utilizzati dal plugin IRC:\n"
"Livelli di log usati dal plugin IRC:\n"
" 1: messaggio utente, notifica, privato\n"
" 2: cambio di nick\n"
" 3: messaggio del server\n"
@@ -6883,7 +6886,7 @@ msgstr ""
" /set logger.level.irc 3\n"
" disabilita logging per il buffer principale di WeeChat:\n"
" /set logger.level.core.weechat 0\n"
" utilizza una cartella per il server IRC e un file per ogni canale al suo "
" usa una cartella per il server IRC e un file per ogni canale al suo "
"interno:\n"
" /set logger.mask.irc \"$server/$channel.weechatlog\""
@@ -6920,7 +6923,7 @@ msgstr ""
"file di log immediatamente per ogni riga stampata)"
msgid "use only lower case for log filenames"
msgstr "utilizzare solo lettere minuscole per i nomi dei file di log"
msgstr "usare solo lettere minuscole per i nomi dei file di log"
msgid ""
"path for WeeChat log files; \"%h\" at beginning of string is replaced by "
@@ -6939,7 +6942,7 @@ msgid ""
msgstr ""
"mask del nome file predefinito per i file di log (il formato è \"cartella/"
"per/file\" oppure \"file\", senza la prima \"/\" perché l'opzione \"path\" è "
"utilizzata per costruire il percorso completo del file); sono ammesse le "
"usata per costruire il percorso completo del file); sono ammesse le "
"variabili del buffer locale; sono ammessi gli specificatori di data "
"(consultare man strftime)"
@@ -6957,7 +6960,7 @@ msgstr ""
msgid "timestamp used in log files (see man strftime for date/time specifiers)"
msgstr ""
"data e ora utilizzati nei file di log (consultare man strftime per gli "
"data e ora usati nei file di log (consultare man strftime per gli "
"specificatori di data/ora)"
msgid "list of logger buffers"
@@ -7198,20 +7201,20 @@ msgstr "albero delle finestre"
#, c-format
msgid "%sError: unable to load plugin \"%s\": %s"
msgstr "%sErrore: impossibile attivare il plugin \"%s\": %s"
msgstr "%sErrore: impossibile caricare il plugin \"%s\": %s"
#, c-format
msgid ""
"%sIf you're trying to load a script and not a C plugin, try command to load "
"scripts (/perl, /python, ...)"
msgstr ""
"%sSe si sta cercando di caricare uno script e non un plugin C, utilizzare il "
"%sSe si sta cercando di caricare uno script e non un plugin C, usare il "
"comando per caricare gli script (/perl, /python...)"
#, c-format
msgid "%sError: symbol \"%s\" not found in plugin \"%s\", failed to load"
msgstr ""
"%sErrore: simbolo \"%s\" non trovato nel plugin \"%s\", impossibile attivarlo"
"%sErrore: simbolo \"%s\" non trovato nel plugin \"%s\", impossibile caricarlo"
#, c-format
msgid "%sIf plugin \"%s\" is old/obsolete, you can delete this file."
@@ -7250,18 +7253,18 @@ msgstr ""
#, c-format
msgid "Plugin \"%s\" loaded"
msgstr "Plugin \"%s\" attivato"
msgstr "Plugin \"%s\" caricato"
#, c-format
msgid "Plugin \"%s\" unloaded"
msgstr "Plugin \"%s\" disattivato"
msgstr "Plugin \"%s\" scaricato"
#, c-format
msgid "%sError: plugin \"%s\" not found"
msgstr "%sErrore: plugin \"%s\" non trovato"
msgid "Plugins unloaded"
msgstr "Plugin disattivati"
msgstr "Plugin scaricati"
msgid "description of plugin option"
msgstr "descrizione dell'opzione del plugin"
@@ -7411,7 +7414,7 @@ msgstr ""
"protocollo.nome: protocollo e nome con cui effettuare il relay\n"
" al momento, è supportato solo il protocollo \"irc\"\n"
" ad esempio: irc.freenode\n"
" porta: porta utilizzata per il relay\n"
" porta: porta usata per il relay\n"
" raw: apre il buffer con dati Relay\n"
"\n"
"Senza argomento, il comando apre i buffer con l'elenco dei client relay.\n"
@@ -7431,7 +7434,7 @@ msgstr "prima porta libera per il plugin relay"
#, c-format
msgid "%s%s: error: port \"%d\" is already used"
msgstr "%s%s: errore: la porta \"%d\" è già utilizzata"
msgstr "%s%s: errore: la porta \"%d\" è già in uso"
#, c-format
msgid "%s%s: error: unknown protocol \"%s\""
@@ -7675,15 +7678,15 @@ msgstr "%s%s: funzione \"register\" non trovata (o fallita) nel file \"%s\""
#, c-format
msgid "%s: unloading script \"%s\""
msgstr "%s: disattivazione dello script \"%s\""
msgstr "%s: scaricamento dello script \"%s\""
#, c-format
msgid "%s: script \"%s\" unloaded"
msgstr "%s: script \"%s\" disattivato"
msgstr "%s: script \"%s\" scaricato"
#, c-format
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: script \"%s\" non attivato"
msgstr "%s%s: script \"%s\" non caricato"
#, c-format
msgid "%s%s: unknown option for command \"%s\""
@@ -7695,7 +7698,7 @@ msgstr "%s%s: la funzione \"%s\" deve restituire un valore valido (%d)"
#, c-format
msgid "%s%s: function \"%s\" is internally misused"
msgstr "%s%s: utilizzo improprio della funzione interna \"%s\""
msgstr "%s%s: uso improprio della funzione interna \"%s\""
#, c-format
msgid "%s%s: not enough memory in function \"%s\""
@@ -7786,7 +7789,7 @@ msgid "%s%s: unable to eval WeeChat ruby internal code"
msgstr "%s%s: impossibile analizzare il codice interno ruby di WeeChat"
msgid "list/load/unload scripts"
msgstr "elenca/attiva/disattiva script"
msgstr "elenca/carica/scarica script"
msgid ""
" list: list loaded scripts\n"
@@ -7801,19 +7804,19 @@ msgid ""
"\n"
"Without argument, this command lists all loaded scripts."
msgstr ""
" list: elenca i plugin attivi\n"
" listfull: elenca i plugin attivi (dettagliato)\n"
" list: elenca i plugin caricati\n"
" listfull: elenca i plugin caricati (dettagliato)\n"
" load: carica un plugin\n"
" autoload: attiva automaticamente i plugin nella cartella utente o di "
" autoload: carica automaticamente i plugin nella cartella utente o di "
"sistema\n"
" reload: riattiva un plugin (se non specificato, disattiva i plugin e li "
"riattiva automaticamente)\n"
" unload: disattiva uno o tutti i plugin\n"
"nome_file: (file) script da attivare\n"
" reload: ricarica un plugin (se non specificato, scarica i plugin e li "
"ricarica automaticamente)\n"
" unload: scarica uno o tutti i plugin\n"
"nome_file: (file) script da caricare\n"
" nome: il nome di uno script (usato nella chiamata alla funzione "
"\"register\")\n"
"\n"
"Senza argomento, questo comando elenca tutti i plugin attivati."
"Senza argomento, questo comando elenca tutti i plugin caricati."
msgid "list of scripts"
msgstr "elenco degli script"
@@ -7864,7 +7867,7 @@ msgstr "%s%s: impossibile spostare lo script %s in %s (%s)"
#. TRANSLATORS: "%s" is language (for example "perl")
#, c-format
msgid "%s scripts loaded:"
msgstr "script %s attivati:"
msgstr "script %s caricati:"
#, c-format
msgid " file: %s"
@@ -7879,7 +7882,7 @@ msgstr " (nessuno)"
#, c-format
msgid "%s: scripts unloaded"
msgstr "%s: script disattivati"
msgstr "%s: script scaricati"
#, c-format
msgid ""
@@ -7952,7 +7955,7 @@ msgstr "FALLITO"
#, c-format
msgid "%s: chat closed with %s (%d.%d.%d.%d)"
msgstr "%s: chat chiusa con %s (%d.%d.%d.%d)"
msgstr "%s: chat con %s (%d.%d.%d.%d) chiusa"
#, c-format
msgid "%s%s: not enough memory for new xfer"
@@ -8147,17 +8150,17 @@ msgid ""
"empty value means any port, it's recommended to use ports greater than 1024, "
"because only root can use ports below 1024)"
msgstr ""
"forza i file in uscita/chat ad utilizzare solo le porte in una data serie "
"(utile per il NAT) (sintassi: una singola porta, es. 5000 o un range di "
"porte, es. 5000-5015. Un valore nullo significa qualsiasi porta, consigliato "
"utilizzare porte maggiori di 1024, perché l'uso di porte inferiori possibile "
"solo per root)"
"forza i file in uscita/chat ad usare solo le porte in una data serie (utile "
"per il NAT) (sintassi: una singola porta, es. 5000 o un range di porte, es. "
"5000-5015. Un valore nullo significa qualsiasi porta, consigliato usare "
"porte maggiori di 1024, perché l'uso di porte inferiori è possibile solo per "
"root)"
msgid ""
"IP or DNS address used for sending files/chats (if empty, local interface IP "
"is used)"
msgstr ""
"Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà utilizzata "
"Indirizzo IP o DNS per l'invio di file/chat (se vuoto, verrà usata "
"l'interfaccia IP locale)"
msgid ""
@@ -8280,85 +8283,3 @@ msgstr "Variabili"
msgid "Lists"
msgstr "Liste"
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "<server> [<server>...] || -all"
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "Errore: impossibile associare il testo \"%s\""
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "Errore: memoria non sufficiente per l'associazione tasti"
#, fuzzy
#~ msgid "%sError: incorrect interval"
#~ msgstr "%sErrore: intervallo non corretto"
#, fuzzy
#~ msgid "%sError: incorrect count"
#~ msgstr "%sErrore: numero non corretto"
#~ msgid "window name (can start or end with \"*\" as wildcard) (optional)"
#~ msgstr ""
#~ "nome finestra (può iniziare o terminare con \"*\" come carattere jolly) "
#~ "(opzionale)"
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ "canale: canale per il ban\n"
#~ " nick: utente o host da bannare"
#~ msgid "Key bindings (%d) for context \"%s\":"
#~ msgstr "Combinazioni (%d) per il contesto \"%s\":"
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Associazione tasti predefinita (%d) per il contesto \"%s\":"
#~ msgid "hook (variables common to all hook types)"
#~ msgstr "hook (variabili comuni a tutti i tipi di hook)"
#~ msgid "hook of type \"command\""
#~ msgstr "hook di tipo \"comando\""
#~ msgid "hook of type \"command_run\""
#~ msgstr "hook di tipo \"command_run\""
#~ msgid "hook of type \"timer\""
#~ msgstr "hook di tipo \"timer\""
#~ msgid "hook of type \"fd\""
#~ msgstr "hook di tipo \"fd\""
#~ msgid "hook of type \"process\""
#~ msgstr "hook di tipo \"process\""
#~ msgid "hook of type \"connect\""
#~ msgstr "hook di tipo \"connect\""
#~ msgid "hook of type \"print\""
#~ msgstr "hook di tipo \"print\""
#~ msgid "hook of type \"signal\""
#~ msgstr "hook di tipo \"signal\""
#~ msgid "hook of type \"hsignal\""
#~ msgstr "hook di tipo \"hsignal\""
#~ msgid "hook of type \"config\""
#~ msgstr "hook di tipo \"config\""
#~ msgid "hook of type \"completion\""
#~ msgstr "hook di tipo \"completion\""
#~ msgid "completion"
#~ msgstr "completamento"
#, fuzzy
#~ msgid "lines"
#~ msgstr "righe"
#, fuzzy
#~ msgid "line"
#~ msgstr "riga"
+490 -454
View File
File diff suppressed because it is too large Load Diff
+11 -31
View File
@@ -18,10 +18,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-05-15 10:52+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Portuguese\n"
@@ -3239,6 +3239,14 @@ msgstr[1] ""
msgid "Debug disabled for cursor mode"
msgstr "Debug desabilitado para \"%s\""
#, fuzzy, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug desabilitado para \"%s\""
#, fuzzy
msgid "Debug disabled for mouse"
msgstr "Debug desabilitado para \"%s\""
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
@@ -3268,14 +3276,6 @@ msgstr "comando padrão:"
msgid "Not enough memory for new line"
msgstr ""
#, fuzzy, c-format
msgid "Debug enabled for mouse (%s)"
msgstr "Debug desabilitado para \"%s\""
#, fuzzy
msgid "Debug disabled for mouse"
msgstr "Debug desabilitado para \"%s\""
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr ""
@@ -7357,23 +7357,3 @@ msgstr ""
msgid "Lists"
msgstr ""
#, fuzzy
#~ msgid "%sError: incorrect interval"
#~ msgstr "%sErro: número do buffer incorreto"
#, fuzzy
#~ msgid "%sError: incorrect count"
#~ msgstr "%sErro: número do buffer incorreto"
#, fuzzy
#~ msgid "Key bindings (%d) for context \"%s\":"
#~ msgstr "Atalhos de teclado (%d):"
#, fuzzy
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Atalhos de teclado padrão (%d):"
#, fuzzy
#~ msgid "completion"
#~ msgstr "compilado em"
+10 -54
View File
@@ -18,10 +18,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.6-dev\n"
"Project-Id-Version: WeeChat 0.3.6\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"PO-Revision-Date: 2011-05-15 10:52+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: 2011-10-22 09:23+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: Russian\n"
@@ -3006,6 +3006,13 @@ msgstr[2] "обычные"
msgid "Debug disabled for cursor mode"
msgstr ""
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
#, fuzzy
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr "%s не могу добавить буфер в хотлист\n"
@@ -3037,13 +3044,6 @@ msgstr "Внутренние команды %s:\n"
msgid "Not enough memory for new line"
msgstr "Недостаточно памяти для новой строчки\n"
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
#, fuzzy, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr "%s рекурсия при вызове сокращения \"/%s\"\n"
@@ -7645,47 +7645,3 @@ msgstr ""
msgid "Lists"
msgstr ""
#, fuzzy
#~ msgid "<server> [<server>...] || -all"
#~ msgstr "сервер1 [сервер2]"
#, fuzzy
#~ msgid "Error: unable to bind key \"%s\""
#~ msgstr "%s не могу установить клавишу \"%s\"\n"
#, fuzzy
#~ msgid "Error: not enough memory for key binding"
#~ msgstr "%s недостаточно памяти для установки клавиши\n"
#, fuzzy
#~ msgid "%sError: incorrect interval"
#~ msgstr "%s неправильный номер буфера\n"
#, fuzzy
#~ msgid "%sError: incorrect count"
#~ msgstr "%s неправильный номер буфера\n"
#, fuzzy
#~ msgid ""
#~ "channel: channel for ban\n"
#~ " nick: user or host to ban"
#~ msgstr ""
#~ "канал: канал для бана\n"
#~ " ник: ник для бана"
#, fuzzy
#~ msgid "Key bindings (%d) for context \"%s\":"
#~ msgstr "Комбинации клавиш:\n"
#, fuzzy
#~ msgid "Default key bindings (%d) for context \"%s\":"
#~ msgstr "Комбинации клавиш по умолчанию восстановлены\n"
#, fuzzy
#~ msgid "hook of type \"command\""
#~ msgstr "Внутренние команды %s:\n"
#, fuzzy
#~ msgid "completion"
#~ msgstr "собран:"
+8 -8
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-09-30 16:34+0200\n"
"POT-Creation-Date: 2011-10-22 09:31+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -2623,6 +2623,13 @@ msgstr[1] ""
msgid "Debug disabled for cursor mode"
msgstr ""
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
msgid "Error: not enough memory to add a buffer to hotlist"
msgstr ""
@@ -2652,13 +2659,6 @@ msgstr ""
msgid "Not enough memory for new line"
msgstr ""
#, c-format
msgid "Debug enabled for mouse (%s)"
msgstr ""
msgid "Debug disabled for mouse"
msgstr ""
#, c-format
msgid "%s%s: error, circular reference when calling alias \"%s\""
msgstr ""
+7 -4
View File
@@ -1532,10 +1532,13 @@ hook_process_timer_cb (void *arg_hook_process, int remaining_calls)
if (remaining_calls == 0)
{
hook_process_send_buffers (hook_process, WEECHAT_HOOK_PROCESS_ERROR);
gui_chat_printf (NULL,
_("End of command '%s', timeout reached (%.1fs)"),
HOOK_PROCESS(hook_process, command),
((float)HOOK_PROCESS(hook_process, timeout)) / 1000);
if (weechat_debug_core >= 1)
{
gui_chat_printf (NULL,
_("End of command '%s', timeout reached (%.1fs)"),
HOOK_PROCESS(hook_process, command),
((float)HOOK_PROCESS(hook_process, timeout)) / 1000);
}
kill (HOOK_PROCESS(hook_process, child_pid), SIGKILL);
usleep (1000);
unhook (hook_process);
+1 -1
View File
@@ -860,7 +860,7 @@ string_split (const char *string, const char *separators, int keep_eol,
if (!string || !string[0] || !separators || !separators[0])
return NULL;
string2 = string_strip (string, 1, 1, separators);
string2 = string_strip (string, 1, (keep_eol == 2) ? 0 : 1, separators);
if (!string2 || !string2[0])
return NULL;
+5
View File
@@ -390,6 +390,11 @@ util_file_get_content (const char *filename)
}
buffer = buffer2;
count = fread (&buffer[fp], sizeof(char), 1024, f);
if (count <= 0)
{
free (buffer);
return NULL;
}
fp += count;
}
buffer2 = (char *) realloc (buffer, fp + sizeof (char));
+1
View File
@@ -440,6 +440,7 @@ main (int argc, char *argv[])
weechat_upgrade_count++; /* increase /upgrade count */
}
weechat_welcome_message (); /* display WeeChat welcome message */
gui_chat_print_lines_waiting_buffer (); /* print lines waiting for buf. */
command_startup (0); /* command executed before plugins */
plugin_init (weechat_auto_load_plugins, /* init plugin interface(s) */
argc, argv);
+6
View File
@@ -283,6 +283,12 @@ gui_bar_window_print_string (struct t_gui_bar_window *bar_window,
break;
}
break;
case GUI_COLOR_RESET_CHAR: /* reset color (keep attributes) */
string++;
gui_window_set_custom_color_fg_bg (GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar,
CONFIG_COLOR(bar_window->bar->options[GUI_BAR_OPTION_COLOR_FG]),
CONFIG_COLOR(bar_window->bar->options[GUI_BAR_OPTION_COLOR_BG]));
break;
default:
gui_window_string_apply_color_weechat ((unsigned char **)&string,
GUI_BAR_WINDOW_OBJECTS(bar_window)->win_bar);
+45 -24
View File
@@ -107,25 +107,28 @@ gui_chat_marker_for_line (struct t_gui_buffer *buffer, struct t_gui_line *line)
void
gui_chat_reset_style (struct t_gui_window *window, struct t_gui_line *line,
int reset_attributes,
int color_inactive_window, int color_inactive_buffer,
int color_default)
{
int color;
color = color_default;
if ((window != gui_current_window) &&
CONFIG_BOOLEAN(config_look_color_inactive_window))
{
gui_window_reset_style (GUI_WINDOW_OBJECTS(window)->win_chat,
color_inactive_window);
return;
color = color_inactive_window;
}
if (line && !(line->data->buffer->active)
&& CONFIG_BOOLEAN(config_look_color_inactive_buffer))
else if (line && !(line->data->buffer->active)
&& CONFIG_BOOLEAN(config_look_color_inactive_buffer))
{
gui_window_reset_style (GUI_WINDOW_OBJECTS(window)->win_chat,
color_inactive_buffer);
return;
color = color_inactive_buffer;
}
gui_window_reset_style (GUI_WINDOW_OBJECTS(window)->win_chat,
color_default);
if (reset_attributes)
gui_window_reset_style (GUI_WINDOW_OBJECTS(window)->win_chat, color);
else
gui_window_reset_color (GUI_WINDOW_OBJECTS(window)->win_chat, color);
}
/*
@@ -260,6 +263,24 @@ gui_chat_string_next_char (struct t_gui_window *window, struct t_gui_line *line,
break;
}
break;
case GUI_COLOR_RESET_CHAR: /* reset color (keep attributes) */
string++;
if (apply_style)
{
if (apply_style_inactive)
{
gui_chat_reset_style (window, line, 0,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
}
else
{
gui_window_reset_color (GUI_WINDOW_OBJECTS(window)->win_chat,
GUI_COLOR_CHAT);
}
}
break;
default:
gui_window_string_apply_color_weechat ((unsigned char **)&string,
(apply_style) ? GUI_WINDOW_OBJECTS(window)->win_chat : NULL);
@@ -282,7 +303,7 @@ gui_chat_string_next_char (struct t_gui_window *window, struct t_gui_line *line,
{
if (apply_style_inactive)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -547,7 +568,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
{
if (window->win_chat_cursor_y < window->coords_size)
window->coords[window->win_chat_cursor_y].line = line;
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -568,7 +589,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -601,7 +622,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
{
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -617,7 +638,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
(CONFIG_BOOLEAN(config_look_color_inactive_buffer)
&& CONFIG_BOOLEAN(config_look_color_inactive_prefix_buffer)
@@ -673,7 +694,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
{
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -707,7 +728,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
{
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -753,7 +774,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
}
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
(CONFIG_BOOLEAN(config_look_color_inactive_buffer)
&& CONFIG_BOOLEAN(config_look_color_inactive_prefix)
@@ -767,7 +788,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
{
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
(CONFIG_BOOLEAN(config_look_color_inactive_buffer)
&& CONFIG_BOOLEAN(config_look_color_inactive_prefix)
@@ -813,7 +834,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
if (!simulate)
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -944,14 +965,14 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line,
{
if (CONFIG_BOOLEAN(config_look_color_inactive_message))
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
}
else
{
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT,
GUI_COLOR_CHAT,
GUI_COLOR_CHAT);
@@ -1107,7 +1128,7 @@ gui_chat_display_line_y (struct t_gui_window *window, struct t_gui_line *line,
int y)
{
/* reset color & style for a new line */
gui_chat_reset_style (window, line,
gui_chat_reset_style (window, line, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
@@ -1250,7 +1271,7 @@ gui_chat_draw (struct t_gui_buffer *buffer, int erase)
{
gui_window_coords_alloc (ptr_win);
gui_chat_reset_style (ptr_win, NULL,
gui_chat_reset_style (ptr_win, NULL, 1,
GUI_COLOR_CHAT_INACTIVE_WINDOW,
GUI_COLOR_CHAT_INACTIVE_BUFFER,
GUI_COLOR_CHAT);
+61 -39
View File
@@ -46,6 +46,41 @@
#include "../gui-window.h"
#define MOUSE_CODE_BUTTON(code) ((code >= 32) && (code < 64))
#define MOUSE_CODE_MOTION(code) ((code >= 64) && (code < 96))
#define MOUSE_CODE_END(code) ((code == '#') || (code == '3') \
|| (code == '+') || (code == ';'))
char *gui_mouse_wheel_codes[][2] =
{ { "`", "wheelup" },
{ "p", "ctrl-wheelup" },
{ "h", "alt-wheelup" },
{ "x", "ctrl-alt-wheelup" },
{ "a", "wheeldown" },
{ "q", "ctrl-wheeldown" },
{ "i", "alt-wheeldown" },
{ "y", "ctrl-alt-wheeldown" },
{ NULL, NULL } };
char *gui_mouse_button_codes[][2] =
{ { " ", "button1" },
{ "\"", "button2" },
{ "!", "button3" },
{ "b", "button4" },
{ "c", "button5" },
{ "d", "button6" },
{ "e", "button7" },
{ "f", "button8" },
{ "g", "button9" },
{ "0", "ctrl-button1" },
{ "2", "ctrl-button2" },
{ "1", "ctrl-button3" },
{ "(", "alt-button1" },
{ "*", "alt-button2" },
{ ")", "alt-button3" },
{ "8", "ctrl-alt-button1" },
{ NULL, NULL } };
/*
* gui_mouse_enable: enable mouse
*/
@@ -76,7 +111,7 @@ void
gui_mouse_display_state ()
{
gui_chat_printf (NULL,
(CONFIG_BOOLEAN(config_look_mouse)) ?
gui_mouse_enabled ?
_("Mouse is enabled") : _("Mouse is disabled"));
}
@@ -212,10 +247,10 @@ gui_mouse_event_init ()
const char *
gui_mouse_event_code2key (const char *code)
{
int x, y, code_utf8, length;
int i, x, y, code_utf8, length;
double diff_x, diff_y, distance, angle, pi4;
static char key[128];
char button[2], *ptr_code;
char *ptr_code;
key[0] = '\0';
@@ -249,9 +284,12 @@ gui_mouse_event_code2key (const char *code)
if (y < 0)
y = 0;
/* ignore code '#' (button released) if it's received as first event */
if ((gui_mouse_event_index == 0) && (code[0] == '#'))
/* ignore code if it's motion/end code received as first event */
if ((gui_mouse_event_index == 0)
&& (MOUSE_CODE_MOTION(code[0]) || MOUSE_CODE_END(code[0])))
{
return NULL;
}
/* set data in "gui_mouse_event_xxx" */
gui_mouse_event_x[gui_mouse_event_index] = x;
@@ -262,47 +300,31 @@ gui_mouse_event_code2key (const char *code)
if (gui_mouse_event_index == 0)
gui_mouse_event_index = 1;
if (code[0] == '`')
/*
* browse wheel codes, if one code is found, return event name immediately
*/
for (i = 0; gui_mouse_wheel_codes[i][0]; i++)
{
gui_mouse_event_x[1] = gui_mouse_event_x[0];
gui_mouse_event_y[1] = gui_mouse_event_y[0];
strcat (key, "wheelup");
return key;
if (code[0] == gui_mouse_wheel_codes[i][0][0])
{
strcat (key, gui_mouse_wheel_codes[i][1]);
gui_mouse_event_x[1] = gui_mouse_event_x[0];
gui_mouse_event_y[1] = gui_mouse_event_y[0];
return key;
}
}
if (code[0] == 'a')
{
gui_mouse_event_x[1] = gui_mouse_event_x[0];
gui_mouse_event_y[1] = gui_mouse_event_y[0];
strcat (key, "wheeldown");
return key;
}
if (code[0] != '#')
if (!MOUSE_CODE_END(code[0]))
return NULL;
/* add button/wheel */
switch (gui_mouse_event_button)
/* add name of button event */
for (i = 0; gui_mouse_button_codes[i][0]; i++)
{
case ' ': /* left button pressed */
strcat (key, "button1");
break;
case '"': /* right button pressed */
strcat (key, "button2");
break;
case '!': /* middle button pressed */
strcat (key, "button3");
break;
default: /* extra buttons: button4..button9 */
if ((gui_mouse_event_button >= 'b')
&& (gui_mouse_event_button <= 'g'))
{
button[0] = gui_mouse_event_button - ('b' - '4');
button[1] = '\0';
strcat (key, "button");
strcat (key, button);
}
if (gui_mouse_event_button == gui_mouse_button_codes[i][0][0])
{
strcat (key, gui_mouse_button_codes[i][1]);
break;
}
}
/*
+27 -10
View File
@@ -247,6 +247,17 @@ gui_window_reset_style (WINDOW *window, int weechat_color)
gui_color[weechat_color]->attributes);
}
/*
* gui_window_reset_color: reset color with a weechat color for a window
*/
void
gui_window_reset_color (WINDOW *window, int weechat_color)
{
wattron (window, COLOR_PAIR(gui_color_weechat_get_pair (weechat_color)) |
gui_color[weechat_color]->attributes);
}
/*
* gui_window_set_color_style: set style for color
*/
@@ -333,15 +344,15 @@ gui_window_set_custom_color_fg (WINDOW *window, int fg)
{
if (fg & GUI_COLOR_EXTENDED_BOLD_FLAG)
gui_window_set_color_style (window, A_BOLD);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_BOLD);
if (fg & GUI_COLOR_EXTENDED_REVERSE_FLAG)
gui_window_set_color_style (window, A_REVERSE);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_REVERSE);
if (fg & GUI_COLOR_EXTENDED_UNDERLINE_FLAG)
gui_window_set_color_style (window, A_UNDERLINE);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_UNDERLINE);
gui_window_set_color (window,
fg & GUI_COLOR_EXTENDED_MASK,
@@ -349,8 +360,11 @@ gui_window_set_custom_color_fg (WINDOW *window, int fg)
}
else if ((fg & GUI_COLOR_EXTENDED_MASK) < GUI_CURSES_NUM_WEECHAT_COLORS)
{
gui_window_remove_color_style (window,
A_BOLD | A_REVERSE | A_UNDERLINE);
if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
{
gui_window_remove_color_style (window,
A_BOLD | A_REVERSE | A_UNDERLINE);
}
attributes = 0;
if (fg & GUI_COLOR_EXTENDED_BOLD_FLAG)
attributes |= A_BOLD;
@@ -425,22 +439,25 @@ gui_window_set_custom_color_fg_bg (WINDOW *window, int fg, int bg)
{
if (fg & GUI_COLOR_EXTENDED_BOLD_FLAG)
gui_window_set_color_style (window, A_BOLD);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_BOLD);
if (fg & GUI_COLOR_EXTENDED_REVERSE_FLAG)
gui_window_set_color_style (window, A_REVERSE);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_REVERSE);
if (fg & GUI_COLOR_EXTENDED_UNDERLINE_FLAG)
gui_window_set_color_style (window, A_UNDERLINE);
else
else if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
gui_window_remove_color_style (window, A_UNDERLINE);
fg &= GUI_COLOR_EXTENDED_MASK;
}
else if ((fg & GUI_COLOR_EXTENDED_MASK) < GUI_CURSES_NUM_WEECHAT_COLORS)
{
gui_window_remove_color_style (window,
A_BOLD | A_REVERSE | A_UNDERLINE);
if (!(fg & GUI_COLOR_EXTENDED_KEEPATTR_FLAG))
{
gui_window_remove_color_style (window,
A_BOLD | A_REVERSE | A_UNDERLINE);
}
attributes = 0;
if (fg & GUI_COLOR_EXTENDED_BOLD_FLAG)
attributes |= A_BOLD;
+1
View File
@@ -88,6 +88,7 @@ extern void gui_window_redraw_buffer (struct t_gui_buffer *buffer);
extern void gui_window_clear (WINDOW *window, int fg, int bg);
extern void gui_window_clrtoeol (WINDOW *window);
extern void gui_window_reset_style (WINDOW *window, int num_color);
extern void gui_window_reset_color (WINDOW *window, int num_color);
extern void gui_window_set_color_style (WINDOW *window, int style);
extern void gui_window_remove_color_style (WINDOW *window, int style);
extern void gui_window_set_color (WINDOW *window, int fg, int bg);
+85 -5
View File
@@ -55,6 +55,8 @@ int gui_chat_time_length = 0; /* length of time for each line (in chars) */
int gui_chat_mute = GUI_CHAT_MUTE_DISABLED; /* mute mode */
struct t_gui_buffer *gui_chat_mute_buffer = NULL; /* mute buffer */
int gui_chat_display_tags = 0; /* display tags? */
char *gui_chat_lines_waiting_buffer = NULL; /* lines waiting for core */
/* buffer */
/*
@@ -570,8 +572,8 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
{
time_t date_printed;
int display_time, length, at_least_one_message_printed;
char *pos, *pos_prefix, *pos_tab, *pos_end;
char *modifier_data, *new_msg, *ptr_msg;
char *pos, *pos_prefix, *pos_tab, *pos_end, *pos_lines;
char *modifier_data, *new_msg, *ptr_msg, *lines_waiting;
struct t_gui_line *ptr_line;
if (!gui_buffer_valid (buffer))
@@ -705,9 +707,46 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date,
}
else
{
if (pos_prefix)
string_iconv_fprintf (stdout, "%s ", pos_prefix);
string_iconv_fprintf (stdout, "%s\n", ptr_msg);
length = ((pos_prefix) ? strlen (pos_prefix) + 1 : 0) +
strlen (ptr_msg) + 1;
if (gui_chat_lines_waiting_buffer)
{
length += strlen (gui_chat_lines_waiting_buffer) + 1;
lines_waiting = realloc (gui_chat_lines_waiting_buffer, length);
if (lines_waiting)
{
gui_chat_lines_waiting_buffer = lines_waiting;
}
else
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
}
}
else
{
gui_chat_lines_waiting_buffer = malloc (length);
if (gui_chat_lines_waiting_buffer)
gui_chat_lines_waiting_buffer[0] = '\0';
}
if (gui_chat_lines_waiting_buffer)
{
pos_lines = gui_chat_lines_waiting_buffer +
strlen (gui_chat_lines_waiting_buffer);
if (pos_lines > gui_chat_lines_waiting_buffer)
{
pos_lines[0] = '\n';
pos_lines++;
}
if (pos_prefix)
{
memcpy (pos_lines, pos_prefix, strlen (pos_prefix));
pos_lines += strlen (pos_prefix);
pos_lines[0] = '\t';
pos_lines++;
}
memcpy (pos_lines, ptr_msg, strlen (ptr_msg) + 1);
}
}
if (new_msg)
@@ -805,6 +844,40 @@ gui_chat_printf_y (struct t_gui_buffer *buffer, int y, const char *message, ...)
free (vbuffer);
}
/*
* gui_chat_print_lines_waiting_buffer: print lines waiting for buffer
*/
void
gui_chat_print_lines_waiting_buffer ()
{
char **lines;
int num_lines, i;
if (gui_chat_lines_waiting_buffer)
{
lines = string_split (gui_chat_lines_waiting_buffer, "\n", 0, 0,
&num_lines);
if (lines)
{
for (i = 0; i < num_lines; i++)
{
gui_chat_printf (NULL, lines[i]);
}
string_free_split (lines);
}
/*
* gui_chat_lines_waiting_buffer may be NULL after call to
* gui_chat_printf (if not enough memory)
*/
}
if (gui_chat_lines_waiting_buffer)
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
}
}
/*
* gui_chat_hsignal_chat_quote_line_cb: quote a line
*/
@@ -877,4 +950,11 @@ gui_chat_end ()
gui_chat_prefix[i] = NULL;
}
}
/* free lines waiting for buffer (should always be NULL here) */
if (gui_chat_lines_waiting_buffer)
{
free (gui_chat_lines_waiting_buffer);
gui_chat_lines_waiting_buffer = NULL;
}
}
+1
View File
@@ -80,6 +80,7 @@ extern void gui_chat_printf_date_tags (struct t_gui_buffer *buffer,
const char *message, ...);
extern void gui_chat_printf_y (struct t_gui_buffer *buffer, int y,
const char *message, ...);
extern void gui_chat_print_lines_waiting_buffer ();
extern int gui_chat_hsignal_quote_line_cb (void *data, const char *signal,
struct t_hashtable *hashtable);
extern void gui_chat_end ();
+15
View File
@@ -104,6 +104,9 @@ gui_color_attr_get_flag (char c)
if (c == GUI_COLOR_EXTENDED_UNDERLINE_CHAR)
return GUI_COLOR_EXTENDED_UNDERLINE_FLAG;
if (c == GUI_COLOR_EXTENDED_KEEPATTR_CHAR)
return GUI_COLOR_EXTENDED_KEEPATTR_FLAG;
return 0;
}
@@ -128,6 +131,8 @@ gui_color_attr_build_string (int color, char *str_attr)
str_attr[i++] = GUI_COLOR_EXTENDED_ITALIC_CHAR;
if (color & GUI_COLOR_EXTENDED_UNDERLINE_FLAG)
str_attr[i++] = GUI_COLOR_EXTENDED_UNDERLINE_CHAR;
if (color & GUI_COLOR_EXTENDED_KEEPATTR_FLAG)
str_attr[i++] = GUI_COLOR_EXTENDED_KEEPATTR_CHAR;
str_attr[i] = '\0';
}
@@ -159,6 +164,13 @@ gui_color_get_custom (const char *color_name)
"%c",
GUI_COLOR_RESET_CHAR);
}
else if (string_strcasecmp (color_name, "resetcolor") == 0)
{
snprintf (color[index_color], sizeof (color[index_color]),
"%c%c",
GUI_COLOR_COLOR_CHAR,
GUI_COLOR_RESET_CHAR);
}
else if (string_strcasecmp (color_name, "bold") == 0)
{
snprintf (color[index_color], sizeof (color[index_color]),
@@ -521,6 +533,9 @@ gui_color_decode (const char *string, const char *replacement)
break;
}
break;
case GUI_COLOR_RESET_CHAR:
ptr_string++;
break;
default:
if (isdigit (ptr_string[0]) && isdigit (ptr_string[1]))
ptr_string += 2;
+2
View File
@@ -98,6 +98,7 @@ enum t_gui_color_enum
#define GUI_COLOR_EXTENDED_REVERSE_CHAR '!'
#define GUI_COLOR_EXTENDED_ITALIC_CHAR '/'
#define GUI_COLOR_EXTENDED_UNDERLINE_CHAR '_'
#define GUI_COLOR_EXTENDED_KEEPATTR_CHAR '|'
/* color codes specific to bars */
#define GUI_COLOR_BAR_CHAR 'b'
@@ -115,6 +116,7 @@ enum t_gui_color_enum
#define GUI_COLOR_EXTENDED_REVERSE_FLAG 0x0400000
#define GUI_COLOR_EXTENDED_ITALIC_FLAG 0x0800000
#define GUI_COLOR_EXTENDED_UNDERLINE_FLAG 0x1000000
#define GUI_COLOR_EXTENDED_KEEPATTR_FLAG 0x2000000
#define GUI_COLOR_EXTENDED_MASK 0x00FFFFF
#define GUI_COLOR_EXTENDED_MAX 99999
+6
View File
@@ -1109,6 +1109,12 @@ gui_input_history_next (struct t_gui_window *window,
if (*ptr_history)
{
/* replace text in history with current input */
window->buffer->input_buffer[window->buffer->input_buffer_size] = '\0';
if ((*ptr_history)->text)
free ((*ptr_history)->text);
(*ptr_history)->text = strdup (window->buffer->input_buffer);
*ptr_history = (*ptr_history)->prev_history;
if (*ptr_history)
{
+6 -1
View File
@@ -100,4 +100,9 @@ EXTRA_DIST = CMakeLists.txt
install-data-hook:
$(INSTALL) -d $(includedir)/$(PACKAGE)
$(INSTALL_DATA) weechat-plugin.h $(includedir)/$(PACKAGE)
$(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE)
# uninstall plugin header
uninstall-hook:
$(RM) $(includedir)/$(PACKAGE)/weechat-plugin.h
+33
View File
@@ -54,6 +54,9 @@ irc_bar_item_away (void *data, struct t_gui_bar_item *item,
buf = NULL;
if (!window)
window = weechat_current_window ();
buffer = weechat_window_get_pointer (window, "buffer");
if (buffer)
@@ -387,6 +390,9 @@ irc_bar_item_lag (void *data, struct t_gui_bar_item *item,
(void) data;
(void) item;
if (!window)
window = weechat_current_window ();
buffer = weechat_window_get_pointer (window, "buffer");
if (buffer)
@@ -538,6 +544,31 @@ irc_bar_item_focus_buffer_nicklist (void *data,
return NULL;
}
/*
* irc_bar_item_buffer_switch: called on "buffer_switch" signal: refresh irc
* bar items (for root bars)
*/
int
irc_bar_item_buffer_switch (void *data, const char *signal,
const char *type_data, void *signal_data)
{
/* make C compiler happy */
(void) data;
(void) signal;
(void) type_data;
(void) signal_data;
weechat_bar_item_update ("away");
weechat_bar_item_update ("buffer_title");
weechat_bar_item_update ("buffer_name");
weechat_bar_item_update ("irc_channel");
weechat_bar_item_update ("lag");
weechat_bar_item_update ("input_prompt");
return WEECHAT_RC_OK;
}
/*
* irc_bar_item_init: initialize IRC bar items
*/
@@ -554,4 +585,6 @@ irc_bar_item_init ()
weechat_bar_item_new ("input_prompt", &irc_bar_item_input_prompt, NULL);
weechat_hook_focus ("buffer_nicklist",
&irc_bar_item_focus_buffer_nicklist, NULL);
weechat_hook_signal ("buffer_switch",
&irc_bar_item_buffer_switch, NULL);
}
+2 -2
View File
@@ -176,14 +176,14 @@ irc_color_decode (const char *string, int keep_colors)
}
}
snprintf (str_color, sizeof (str_color),
"%s%s%s",
"|%s%s%s",
(fg >= 0) ? irc_color_to_weechat[fg] : "",
(bg >= 0) ? "," : "",
(bg >= 0) ? irc_color_to_weechat[bg] : "");
strcat ((char *)out, weechat_color(str_color));
}
else
strcat ((char *)out, weechat_color("reset"));
strcat ((char *)out, weechat_color("resetcolor"));
}
break;
default:
+1 -1
View File
@@ -738,7 +738,7 @@ irc_message_split (struct t_irc_server *server, const char *message)
goto end;
argv = weechat_string_split (message, " ", 0, 0, &argc);
argv_eol = weechat_string_split (message, " ", 1, 0, NULL);
argv_eol = weechat_string_split (message, " ", 2, 0, NULL);
if (argc < 2)
goto end;
+2
View File
@@ -961,6 +961,8 @@ IRC_PROTOCOL_CALLBACK(notice)
if (argv[0][0] == ':')
{
if (argc < 4)
return WEECHAT_RC_ERROR;
pos_target = argv[2];
if ((pos_target[0] == '@') && (irc_channel_is_channel (pos_target + 1)))
{
+1
View File
@@ -3162,6 +3162,7 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
#if LIBGNUTLS_VERSION_NUMBER >= 0x020b00
tls_struct.cert_type = GNUTLS_CRT_X509;
tls_struct.key_type = GNUTLS_PRIVKEY_X509;
#else
tls_struct.type = GNUTLS_CRT_X509;
#endif
+3 -1
View File
@@ -23,7 +23,7 @@
#
%define name weechat
%define version 0.3.5
%define version 0.3.6
%define release 1
Name: %{name}
@@ -73,6 +73,8 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/%{name}/weechat-plugin.h
%changelog
* Sat Oct 22 2011 Sebastien Helleu <flashcode@flashtux.org> 0.3.6-1
- Released version 0.3.6
* Sun May 15 2011 Sebastien Helleu <flashcode@flashtux.org> 0.3.5-1
- Released version 0.3.5
* Sun Jan 16 2011 Sebastien Helleu <flashcode@flashtux.org> 0.3.4-1