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

Compare commits

...

244 Commits

Author SHA1 Message Date
Sebastien Helleu 7785f7ea22 Version 0.4.2 2013-10-06 08:58:14 +02:00
Sebastien Helleu 0cef9a220d core: fix detection of python on Cygwin (autotools) 2013-10-05 20:23:07 +02:00
Sebastien Helleu 8fb67c241d core: add detection of pkg-config (required on Cygwin)
This fixes the detection of enchant lib, the macro PKG_CHECK_MODULES requires
pkg-config.
2013-10-05 20:19:59 +02:00
Sebastien Helleu b5f6874f2c core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu a6c188ce4f relay: fix decoding of websocket frames when there are multiple frames in a single message received (only the first one was decoded) 2013-10-05 16:49:39 +02:00
Sebastien Helleu 7bf712d4c9 core: fix display of read marker after buffer switch when there is no line displayed after (only filtered lines) 2013-10-05 10:19:48 +02:00
Sebastien Helleu 1583ca88e5 irc: use "private" notify for welcome notices displayed in channel (like when they are displayed in server buffer) 2013-10-05 10:19:15 +02:00
Sebastien Helleu 5a119bb0f1 irc: remove target of notice (self nick) in the display of channel welcome notice (fix highlight problem) 2013-10-05 08:12:08 +02:00
Sebastien Helleu 86008b8502 irc: display target of notice when it is displayed in channel
With the new option irc.look.notice_welcome_redirect, a private notice could
have a channel at beginning of message (with format "[#channel]") and then be
displayed on the channel, without difference with a real channel notice
(received by all nicks in channel).

For example with these commands:

  /notice nick2 [#channel] private notice
  /notice #channel notice for whole channel

Old display was (on receiver side, in #channel):

  -- | Notice(nick1): private notice
  -- | Notice(nick1): notice for whole channel

New display is:

  -- | Notice(nick1) -> nick2: private notice
  -- | Notice(nick1) -> #channel: notice for whole channel
2013-10-04 14:07:08 +02:00
Sebastien Helleu 22b53c6019 irc: fix reconnection to server using IPv6 (bug #38819, bug #40166) 2013-10-03 19:46:53 +02:00
Sebastien Helleu 32f2ec42c6 core: replace some code by calls to function gui_chat_clrtoeol() 2013-10-02 16:24:03 +02:00
Sebastien Helleu 42dce54812 core: fix spaces displayed after combining chars (bug #40115) 2013-10-02 08:03:22 +02:00
Sebastien Helleu 4e67133b9e core: fix typo in a french error message for /window merge 2013-10-02 07:59:14 +02:00
Sebastien Helleu 437ebb69d4 core: clear whole line before displaying content instead of clearing after the end of content (bug #40115) 2013-09-30 19:26:09 +02:00
Marco Paolone fdafdf147a core: update italian translations 2013-09-30 17:46:27 +02:00
Sebastien Helleu d33caa6ac5 doc: update german auto-generated file with IRC options 2013-09-30 17:43:50 +02:00
Sebastien Helleu 15173364c0 core: fix display of read marker (as horizontal line) or day change message after last buffer line when scrolling (bug #40126) 2013-09-30 16:02:02 +02:00
Sebastien Helleu 8b966d1c7e core: fix time displayed in status bar (it was one second late) (bug #40097) 2013-09-24 22:55:27 +02:00
Sebastien Helleu ad5a287134 core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin 2013-09-23 18:07:15 +02:00
Sebastien Helleu 92019c300c core: replace some calls to ncurses *printw functions by *addstr 2013-09-23 13:07:45 +02:00
Sebastien Helleu 81a229f77f core: fix errors in spanish translations 2013-09-23 10:04:35 +02:00
Nils Görs 0249666489 core: update german translations 2013-09-21 11:45:39 +02:00
Sebastien Helleu 1deba9894e Version 0.4.2-rc2 2013-09-20 23:22:40 +02:00
Nils Görs 474a498b48 core: update german translations 2013-09-20 23:10:04 +02:00
Sebastien Helleu a9ca95241d aspell: fix detection of word start/end when there are apostrophes or minus chars before/after word (thanks to Nils Görs) 2013-09-20 19:31:34 +02:00
Sebastien Helleu 2fcdba1332 irc: add extra info in /help irc.look.smart_filter_delay 2013-09-20 16:47:34 +02:00
Sebastien Helleu 1b9b2434f6 doc: add plugin "script" in list of plugins (user's guide) 2013-09-20 15:34:24 +02:00
Sebastien Helleu 7f27d88ca6 core: add proxy options username/password in /help secure 2013-09-20 10:27:08 +02:00
Nils Görs 1aaf9440b8 core: update german translations 2013-09-19 16:40:37 +02:00
Sebastien Helleu 2110c6d92e core: add support of secured data in proxy options username/password (evaluate content) 2013-09-19 15:12:04 +02:00
Sebastien Helleu 087e9cc008 irc: add note about evaluated content of "password" server option 2013-09-19 15:12:04 +02:00
Sebastien Helleu e900579fba relay: add support of secured data in option relay.network.password (evaluate content) (patch from Nils Görs) 2013-09-19 15:11:51 +02:00
Sebastien Helleu 252feedde4 core: fix memory leak on unhook of a print hook (if using tags) 2013-09-19 10:19:29 +02:00
Nils Görs 266b9e1e2a core: update german translations 2013-09-17 07:27:49 +02:00
Sebastien Helleu f620249193 doc: fix typo in french user's guide 2013-09-17 07:26:31 +02:00
Ivan Sichmann Freitas 556d324756 core: update portuguese translations 2013-09-16 11:24:45 +02:00
Sebastien Helleu facccc81ef doc: fix typos in french translations and docs 2013-09-16 11:04:10 +02:00
Nils Görs cb77e7c5db doc: update german translations, FAQ and user's guide 2013-09-05 07:31:42 +02:00
Sebastien Helleu 9c36b7c693 core: rename options weechat.look.day_change_message(2) to weechat.look.day_change_message_{1date|2dates} 2013-09-03 10:27:14 +02:00
Sebastien Helleu 14c958a0e6 Version 0.4.2-rc1 2013-09-02 21:43:35 +02:00
Krzysztof Koroscik 9ebe6455b7 core: update polish translations 2013-09-02 21:16:37 +02:00
Sebastien Helleu daf535c9af core: fix computation of columns in output of /help (take care about size of time/buffer/prefix) 2013-09-02 18:56:58 +02:00
Sebastien Helleu 0409faee7f Merge branch 'shared-strings' 2013-09-02 15:24:20 +02:00
Krzysztof Koroscik 218b2c2df5 doc: update polish FAQ and scripting guide 2013-09-02 08:59:54 +02:00
Nils Görs 7ffff58625 core: update german translations 2013-09-02 08:56:10 +02:00
Sebastien Helleu bdd6bb5a69 core: add option weechat.look.day_change_message2 in file NEWS 2013-09-02 08:52:08 +02:00
Sebastien Helleu 0d8bd7f1e6 core: add option weechat.look.day_change_message2
The new option weechat.look.day_change_message2 is used to display day change
between two messages, with two dates: the new one, and the old one.

Example:

-- Mon, 02 Sep 2013 (Thu, 22 Aug 2013) --
2013-09-02 08:39:06 +02:00
Sebastien Helleu 410caef273 doc: remove "required" for password option in command "init" (relay protocol) 2013-08-31 07:46:48 +02:00
Sebastien Helleu c03532bb6a doc: use one line titles in japanese man page
The compilation was failing with asciidoc 8.5.2 (on Debian Squeeze).
2013-08-30 07:23:44 +02:00
Ryuunosuke Ayanokouzi 875d544a85 doc: update japanese translations and docs 2013-08-29 16:09:07 +02:00
Sebastien Helleu 55f1bbcd07 irc: fix extraction of channel name in notice (when message starts with "[]") 2013-08-29 07:59:25 +02:00
Sebastien Helleu 0806f1ad7e core: fix automatic scroll to bottom of buffer when day change is displayed before first line of buffer 2013-08-28 23:27:04 +02:00
Sebastien Helleu 75cc0b0a77 irc: add option irc.look.notice_welcome_redirect to automatically redirect channel welcome notices to the channel buffer 2013-08-28 21:39:21 +02:00
Sebastien Helleu fb51fb6052 logger: add option "flush" for command /logger 2013-08-26 18:21:16 +02:00
Sebastien Helleu 86e7d95b9c core: fix evaluation of expressions with parentheses
First evaluate sub-expressions between parentheses.

Before the fix:
>> 1 && (0 || 0)
== [1]

After the fix:
>> 1 && (0 || 0)
== [0]
2013-08-25 13:34:51 +02:00
Sebastien Helleu f250be4aa8 core: add note about color codes "${color:xxx}" in /help weechat.look.day_change_message 2013-08-25 12:40:09 +02:00
Sebastien Helleu 03b6b4c1cf core: display day change message dynamically (do not store it as a line in buffer) (task #12775)
Changes in options:
- rename option weechat.look.day_change_time_format to weechat.look.day_change_message
  (color codes are allowed in this option)
- new option weechat.color.chat_day_change.
2013-08-25 09:39:59 +02:00
Sebastien Helleu 73f2c2c488 core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer) 2013-08-22 23:06:30 +02:00
Sebastien Helleu fc1e35fb48 core: display an error message when "/buffer notify xxx" fails (with a wrong notify level) 2013-08-21 11:18:52 +02:00
Sebastien Helleu 64bbb327bb core: improve help of command /away 2013-08-20 14:30:50 +02:00
Sebastien Helleu 12a37a9075 core: update translations 2013-08-20 14:27:11 +02:00
Sebastien Helleu b47af3c61e core: fix buffer returned in focus info for bar items with a forced buffer 2013-08-20 11:42:12 +02:00
Sebastien Helleu eac1ca929b core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717) 2013-08-19 21:22:10 +02:00
Sebastien Helleu 9990917cc7 doc: update german auto-generated files 2013-08-18 20:00:14 +02:00
Nils Görs 92d5cece39 doc: update german translations and user's guide 2013-08-18 19:04:49 +02:00
Sebastien Helleu 39faaa7dbe irc: replace default prefix modes "qaohvu" by the standard ones "ov" when PREFIX is not sent by server (bug #39802) 2013-08-18 10:56:17 +02:00
Sebastien Helleu f277d072d5 core: add split of IRC messages for commands (de)op/halfop/voice in ChangeLog 2013-08-18 09:26:22 +02:00
Sebastien Helleu a4f789810a core: use shared strings for groups/nicks in nicklist 2013-08-17 18:14:31 +02:00
Sebastien Helleu af12457a13 core: use shared strings for prefix on lines
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17 17:47:38 +02:00
Sebastien Helleu cc1523b654 core: add commment in function string_shared_get (returned value must not be changed) 2013-08-17 17:44:10 +02:00
Sebastien Helleu 5916594441 doc: capitalize first word of text in table cells 2013-08-17 16:38:28 +02:00
Sebastien Helleu 600ee3ddf3 core: add search of regular expression in buffer, don't reset search type on a new search, select where to search (messages/prefixes)
Key changed in search context:
- ctrl+"r": switch search type: string/regex

New keys in search context:
- alt+"c": case (in)sensitive search
- tab: search in messages/prefixes/both
2013-08-17 11:51:50 +02:00
Sebastien Helleu c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu 170acfe6f2 core: remove obsolete enum t_config_look_nicklist 2013-08-15 17:59:17 +02:00
Sebastien Helleu db05104f64 doc: fix emphasized text in plugin API reference and relay protocol 2013-08-14 17:26:37 +02:00
Sebastien Helleu ea124f4158 core: fix typo in french translation of /help upgrade 2013-08-12 20:44:37 +02:00
Sebastien Helleu 7e0ae094cc core: add comment with return value of function string_regcomp 2013-08-12 10:51:49 +02:00
Nils Görs 7dea560ff5 doc: update german translations, scripting and user guide 2013-08-12 09:04:00 +02:00
Sebastien Helleu ca7bb9a069 core: add note about "strftime" in help of options weechat.look.day_change_time_format and weechat.look.time_format 2013-08-11 20:04:07 +02:00
Sebastien Helleu 21caea83f5 doc: add "oauth" for IRC connection in FAQ 2013-08-10 23:00:28 +02:00
Sebastien Helleu 674403f734 core: use shared strings for tags on lines
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10 18:20:49 +02:00
Sebastien Helleu c46d7e44f1 core: add support of shared strings in split of strings (add functions string_split_shared and string_free_split_shared) 2013-08-10 18:20:49 +02:00
Sebastien Helleu 49aacc853c core: add shared strings to reduce memory usage
Shared strings are stored in a hashtable with pointer for keys (values are not
used).

The key has a reference count + the string.
The initial reference count is set to 1 and is incremented each time the same
string is asked.

When removing a shared string, the reference count is decremented.
If it becomes 0, then the shared string is removed from the hashtable (and then
the string is really destroyed).
2013-08-10 18:20:49 +02:00
Sebastien Helleu 784de68a5f core: fix random crash on "/buffer close" with a buffer number (or a range of buffers) 2013-08-10 18:18:01 +02:00
Sebastien Helleu 6714d6fc82 core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
The update of variables "buffer_max_length" and "prefix_max_length" in struct
t_gui_lines is now delayed and made during the main refresh (in main loop).

For a buffer with 50K lines, it is up to 3300 times faster to clear/close it.
For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-10 17:18:12 +02:00
Sebastien Helleu a5cbfdf7fd core: update ChangeLog with changes on hashtables 2013-08-10 09:38:02 +02:00
Sebastien Helleu d12c9efdbc core: change type of hashtable key hash to unsigned long, return item pointer in functions hashtable_set(_with_size)
The key hash has been changed from unsigned int to unsigned long, and now the
callback can return any value (not only between 0 and size-1), the modulo is
computed after the call to the callback by the hashtable functions.

Functions hashtable_set and hashtable_set_with_size were returning 1 if OK,
0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-10 09:35:06 +02:00
Sebastien Helleu e407c41c5c core: check that value is not NULL before calling free in hashtable_free_value 2013-08-09 23:06:41 +02:00
Sebastien Helleu abb574ec4e core: add "callback_free_key" in hashtable 2013-08-09 23:00:12 +02:00
Sebastien Helleu 72c1af25e0 core: set "callback_free_value" directly in hashtable without calling function hashtable_set_pointer 2013-08-09 22:54:06 +02:00
Sebastien Helleu d466a86efc core: fix typo coeur -> cœur (in french) 2013-08-08 09:39:54 +02:00
Sebastien Helleu 721478fe5b doc: add description of sections in configuration files (user's guide) 2013-08-07 22:04:32 +02:00
Sebastien Helleu 766273ac99 core: remove symbolic link "weechat-curses" on make uninstall (cmake and autotools) 2013-08-07 10:20:42 +02:00
Sebastien Helleu e8122773b8 core: use $DESTDIR on make uninstall with cmake 2013-08-07 10:11:24 +02:00
Sebastien Helleu e5de0cd0e8 core: fix typo in comment for creation of symbolic link "weechat-curses" 2013-08-07 09:32:37 +02:00
Sebastien Helleu da66a343b3 core: fix typo in /help secure 2013-08-07 08:27:28 +02:00
Sebastien Helleu c4c66923f5 core: update dependencies in INSTALL 2013-08-06 20:59:12 +02:00
Sebastien Helleu 3a2d2d6b03 core: use $DESTDIR when creating symbolic link "weechat-curses" with cmake 2013-08-06 20:57:23 +02:00
Sebastien Helleu f0cd7a994a core: add new rmodifier in file NEWS 2013-08-05 20:43:40 +02:00
Sebastien Helleu c4773e63d8 rmodifier: add option "missing" for command /rmodifier 2013-08-05 20:37:59 +02:00
Sebastien Helleu 227f8ac604 core: fix uninitialized variable "result" in callback of command /eval 2013-08-04 12:51:01 +02:00
Sebastien Helleu f22b0311b9 core: change colors of example in /help weechat.look.buffer_time_format 2013-08-04 12:48:06 +02:00
Sebastien Helleu 390443112c core: optimize creation of hashtable "pointers" in eval_expression if argument is NULL
The hashtable is created on first call to eval_expression with pointers == NULL.
On next calls, the hashtable is cleared, then used again.
The hashtable is freed on exit.
2013-08-04 12:42:29 +02:00
Sebastien Helleu 2dff60d7f8 core: replace "behaviour" by "behavior" 2013-08-04 12:21:47 +02:00
Sebastien Helleu 8ca36552ea core: change color format for options from ${xxx} to ${color:xxx}
Options affected:
- weechat.look.buffer_time_format
- weechat.look.prefix_action
- weechat.look.prefix_error
- weechat.look.prefix_join
- weechat.look.prefix_network
- weechat.look.prefix_quit
2013-08-04 12:18:47 +02:00
Sebastien Helleu f486b84134 core: fix asciidoc formatting in ChangeLog 2013-08-04 11:14:51 +02:00
Sebastien Helleu 234c7506ad doc: remove option ENABLE_DEMO for cmake in user's guide (demo plugin has been removed) 2013-08-04 10:16:43 +02:00
Sebastien Helleu 6ea81f4c8c api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval 2013-08-04 10:09:53 +02:00
Sebastien Helleu dc878c5b69 api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition) 2013-08-04 08:56:56 +02:00
Sebastien Helleu b94a1ce59b doc: fix typo in examples for function bar_new (plugin API reference) 2013-08-03 22:11:04 +02:00
Sebastien Helleu 43e3ff3b1a core: change the message displayed when passphrase is not given on startup 2013-08-02 23:18:09 +02:00
Sebastien Helleu 5a07051f20 core: remove use of function gcry_kdf_derive so that it compiles with libgcrypt < 1.5.0
The key built with salt + passphrase has changed, so old encrypted data
in file sec.conf can not be decrypted with this new version.
2013-08-02 23:15:21 +02:00
Sebastien Helleu d6a19adc54 core: change the message displayed on /secure decrypt -discard 2013-08-02 23:04:23 +02:00
Sebastien Helleu 16b114b609 doc: add feature "secured data" for libgcrypt in dependencies (user's guide) 2013-08-02 21:32:11 +02:00
Sebastien Helleu a41bed395b core: add task #7395 in ChangeLog 2013-08-02 20:22:23 +02:00
Sebastien Helleu 26fcc66953 core: update translations 2013-08-02 20:16:47 +02:00
Sebastien Helleu 663de42284 Merge branch 'secured-data' 2013-08-02 19:19:25 +02:00
Sebastien Helleu fd5fc2e5a3 core: add platform-dependent extension on "weechat-curses" link (so that link is "weechat-curses.exe" on cygwin) 2013-08-02 18:40:40 +02:00
Sebastien Helleu 996da2f662 core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.

However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +02:00
Sebastien Helleu f9d57a3099 core: fix compiler warning on freopen (ignore file returned) 2013-08-01 16:29:12 +02:00
Sebastien Helleu 8bff3225fd script: fix uninitialized pointer in detailed view of a script 2013-08-01 16:18:44 +02:00
Sebastien Helleu c0c76ad995 core: do not scroll when using /window {page_down|scroll_down} after /window scroll_beyond_end 2013-07-31 19:09:31 +02:00
Sebastien Helleu 35c3dbad63 plugins: remove the demo plugin 2013-07-31 18:56:32 +02:00
Sebastien Helleu 23add1ac14 core: add build of man page in debian/rules 2013-07-31 18:56:21 +02:00
Sebastien Helleu 3aed4ac11f core: do not build man page by default 2013-07-31 18:26:37 +02:00
Sebastien Helleu 91b7aec855 core: reset scroll after /window {page_down|scroll_down} if last line of buffer is displayed at bottom
A regression was introduced by commit bee56c3b7f
(/window scroll_beyond_end).

Scenario to reproduce the problem, for example on an IRC channel with a long
history (more than two pages):
  /window page_up
  /window page_down
  <type some text and send to channel>
It will display -MORE(1)- instead of automatically scrolling to bottom of
buffer.
2013-07-31 14:41:27 +02:00
Sebastien Helleu 261efe6299 core: add cmake option ENABLE_MAN to compile man page (on by default)
For configure, the option is "--disable-man".
2013-07-31 13:28:59 +02:00
Sebastien Helleu 9951902c7b irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621) 2013-07-30 19:51:23 +02:00
Sebastien Helleu ade379ac11 rmodifier: update default rmodifier for /secure (add option decrypt) 2013-07-30 12:17:11 +02:00
Sebastien Helleu 351674699c core: in case of empty passphrase, keep encrypted data in memory until the user runs /secure decrypt (with the good passphrase)
If user gives no passphrase (for example one space when prompted), the encrypted
data read in sec.conf will be stored in a separate hashtable.
While this hashtable contains something, it is not allowed to do any operation
on passphrase or secured data (and it is not allowed to reload sec.conf).
The user can decrypt data with /secure decrypt <passphrase>.
2013-07-30 12:16:44 +02:00
Sebastien Helleu b3923b65f1 core: use variable "items_count" directly from hashtable without calling function hashtable_get_integer 2013-07-30 10:10:37 +02:00
Sebastien Helleu 53fa3f770e irc: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:15 +02:00
Sebastien Helleu 7e64b9f1f9 core: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:04 +02:00
Sebastien Helleu 6206fd6818 core: update ChangeLog (add hdata with script callback) 2013-07-28 16:29:52 +02:00
Sebastien Helleu 4c2cffbd31 script: add info about things defined by script in the detailed view of script (/script show) 2013-07-28 16:17:27 +02:00
Sebastien Helleu 0e4eb69d33 api: use pointer for infolist "hook" to return only one hook 2013-07-28 12:40:08 +02:00
Sebastien Helleu 1a7037d9cb doc: update auto-generated files with WeeChat commands 2013-07-28 12:34:55 +02:00
Sebastien Helleu a668775ae3 core: add option sec.crypt.passphrase_file 2013-07-28 10:59:00 +02:00
Sebastien Helleu 8cd4bf3750 core: add option "-o" for command /color 2013-07-27 23:23:15 +02:00
Sebastien Helleu f3d537dd7a core: use two spaces to separate columns in /help, do not use columns when the commands fit on a single line 2013-07-27 22:44:42 +02:00
Sebastien Helleu ca1e0dde07 core: use default value for prefixes used in messages displayed before the interface is initialized 2013-07-27 22:31:36 +02:00
Sebastien Helleu f385aa8f8c irc: display number of ops/halfops/voices on channel join only for supported modes on server (bug #39582) 2013-07-27 20:37:04 +02:00
Sebastien Helleu 6be17ac263 api: add new function strlen_screen 2013-07-27 18:21:50 +02:00
Sebastien Helleu a490195032 core: add secured data with optional encryption in file sec.conf 2013-07-27 12:57:08 +02:00
Sebastien Helleu 50ab62b75d core: fix priority of logical operators in evaluation of expression
The AND ("&&") takes precedence over the OR ("||").

Before the fix:
>> 1 || 1 && 0
== [0]

After the fix:
>> 1 || 1 && 0
== [1]

Since the "&&" has higher priority, expression is evaluated as:
"1 || (1 && 0)".
2013-07-24 08:15:17 +02:00
Sebastien Helleu ea76cdb06e doc: fix typo in example for function string_eval_expression (plugin API reference) 2013-07-23 19:39:39 +02:00
Sebastien Helleu c14b1b5fae core: remove gap after read marker line when there is no bar on the right (bug #39548) 2013-07-22 18:25:35 +02:00
Sebastien Helleu f7f019887d aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions 2013-07-20 19:27:51 +02:00
Sebastien Helleu 87e342dd9e core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725) 2013-07-20 17:29:19 +02:00
Sebastien Helleu a3cc9bbe7e core: use gettext version 0.18 in configure.ac (fix error on make install) 2013-07-20 16:36:23 +02:00
Sebastien Helleu 56baaaffa8 core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538) 2013-07-20 15:45:25 +02:00
Sebastien Helleu f4a0307316 core: add task #6745 in ChangeLog 2013-07-20 12:02:17 +02:00
Sebastien Helleu 41fbc14f48 core: update translations 2013-07-20 12:00:02 +02:00
Sebastien Helleu 765297c038 Merge branch 'scroll-beyond-end' 2013-07-20 11:54:52 +02:00
Sebastien Helleu 27882ee74e core: scroll to bottom after smart jump (alt-a) only if window was scrolled (and not beyond the end) 2013-07-20 11:31:48 +02:00
Sebastien Helleu 94b9104d14 core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am 2013-07-20 09:07:05 +02:00
Sebastien Helleu 22b20d6206 core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730) (patch from Nils Görs) 2013-07-20 08:42:16 +02:00
Sebastien Helleu 5a4f96b679 irc: use lower case at beginning of message when deleting a server 2013-07-19 18:14:37 +02:00
Sebastien Helleu dfcc7baa40 irc: fix self nick color in server messages after nick is changed with /nick (bug #39415) 2013-07-19 10:18:20 +02:00
Sebastien Helleu 354d96ea36 core: fix filtered line displayed after /window scroll_beyond_end 2013-07-18 20:07:47 +02:00
Sebastien Helleu fb86f21a5f irc: add support of wildcards in commands (de)op/halfop/voice (task #9221) 2013-07-18 19:58:29 +02:00
Sebastien Helleu 913e036fa3 core: fix pointer used to check if buffer has lines 2013-07-17 18:37:11 +02:00
Sebastien Helleu c10cfb6aa0 core: do nothing in "/window scroll_beyond_end" if the buffer has no lines 2013-07-17 18:35:01 +02:00
Sebastien Helleu bee56c3b7f core: add option "scroll_beyond_end" for command /window (task #6745) 2013-07-17 18:04:44 +02:00
Sebastien Helleu 7389514c09 core: add option weechat.look.key_bind_safe 2013-07-15 19:04:00 +02:00
Sebastien Helleu 92609e3cd6 core: remove obsolete reference to "key functions" in comments 2013-07-15 18:28:01 +02:00
Sebastien Helleu a8dc36902b doc: update auto-generated files with xfer options 2013-07-15 18:26:32 +02:00
Sebastien Helleu c6fe4b18ef core: fix malloc(0) when building content of a bar using a filling with columns 2013-07-13 07:31:51 +02:00
Sebastien Helleu 4668f0bef5 lua: fix interpreter used in API functions (bug #39470) 2013-07-13 07:22:02 +02:00
Sebastien Helleu bd3a12378e xfer: add option xfer.look.pv_tags 2013-07-11 22:43:13 +02:00
Sebastien Helleu 2cbdbb45d6 irc: add option irc.look.pv_tags 2013-07-11 22:32:14 +02:00
Sebastien Helleu fa9f787e14 core: sort config options by name in sources 2013-07-11 22:31:33 +02:00
Sebastien Helleu d301dd6c17 core: add bug #39201 in ChangeLog 2013-07-10 20:24:57 +02:00
Sebastien Helleu ff09807c10 core: fix char displayed at the intersection of three windows (bug #39331) 2013-07-10 08:39:44 +02:00
Sebastien Helleu 3744787ec0 core: fix crash in evaluation of expression when reading a string in hdata with a NULL value (bug #39419) 2013-07-08 08:28:27 +02:00
Sebastien Helleu d38d033ce7 core: add completion "-quit" for command /upgrade
A "-dummy" option has been added too, just to prevent accidental completion with
"-quit" (which is the first option completed).

Thanks to stfn for initial patch.
2013-07-05 18:22:10 +02:00
Nils Görs cd71ea03d2 core: update german translations 2013-07-03 17:03:45 +02:00
Sebastien Helleu e1beb83ff0 doc: fix typo in plugin API reference 2013-07-03 13:09:49 +02:00
Sebastien Helleu 7ab034b52b irc: fix error message on /invite without arguments (bug #39272) 2013-07-02 21:29:44 +02:00
Sebastien Helleu 5e1c88a476 doc: fix some punctuation errors in translations 2013-07-02 16:05:16 +02:00
Sebastien Helleu 40c5c5c1ae core: add missing period in /help upgrade 2013-07-02 15:41:48 +02:00
Sebastien Helleu 6dfcb5f563 doc: add number for note on git version in list of CTCP replies (user's guide) 2013-07-01 22:08:14 +02:00
Sebastien Helleu 8cb590559f core: add ":BOOL" in cmake option "ENABLE_DOC" (use same format as other options) (debian packaging) 2013-06-30 21:40:09 +02:00
Sebastien Helleu 464c8acd87 core: move packages used to build man page from "Build-Depends-Indep" to "Build-Depends" (debian packaging)
Packages asciidoc, source-highlight, xsltproc, docbook-xml and docbook-xsl are
now used to build man page in the package weechat-curses, which is not
arch-independent.
So these dependencies are moved from "Build-Depends-Indep" to "Build-Depends".
2013-06-30 17:21:29 +02:00
Sebastien Helleu 37b8aef96d core: move test of invalid UTF-8 char length from gui-chat.c to wee-utf8.c 2013-06-29 16:10:09 +02:00
Sebastien Helleu b311ca894d doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide) 2013-06-29 13:56:28 +02:00
Sebastien Helleu f4e4f55de1 core: fix display bugs with some UTF-8 chars that truncates messages displayed
Example of char causing problems: U+26C4 (snowman without snow)
2013-06-29 13:43:27 +02:00
Sebastien Helleu 27a427c708 irc: fix uninitialized variable "color" when hashing nickname to find color 2013-06-29 12:39:42 +02:00
Sebastien Helleu 6103f18cd6 aspell: fix uninitialized variable "lang" when displaying list of installed dictionaries 2013-06-29 12:38:59 +02:00
Nils Görs 706032e5ac doc: update german translations, man page and user's guide 2013-06-29 12:09:25 +02:00
Sebastien Helleu 8eb55c04e7 doc: update auto-generated file with irc commands (in french) 2013-06-29 12:06:08 +02:00
Sebastien Helleu 43c889da50 doc: add flag "-L" for a2x when building man page (do not check asciidoc output with xmllint) 2013-06-29 11:11:25 +02:00
Sebastien Helleu f19c2cfd80 core: disable compilation of documentation by default (cmake and autotools) 2013-06-29 09:51:15 +02:00
Sebastien Helleu f1fdbe72dc doc: add dependency xsltproc in user's guide 2013-06-29 09:32:02 +02:00
Sebastien Helleu b62b2adc25 core: add dependency xsltproc in debian/control 2013-06-29 09:31:26 +02:00
Sebastien Helleu 018e5c69ae core: remove obsolete command line option -k/--keys
The user's guide is better to view WeeChat default keys.
2013-06-28 20:38:08 +02:00
Esteban I. Ruiz Moreno 4d35171767 core: fix wrong spaces in italian translations for irc part/quit messages 2013-06-28 20:31:43 +02:00
Sebastien Helleu 23da5b233d core: add dependencies docbook-xml and docbook-xsl in debian/control 2013-06-28 20:13:33 +02:00
Sebastien Helleu 1cadbdf6a9 core: update man page and add translations (in french, german, italian, and japanese) 2013-06-28 20:08:16 +02:00
Sebastien Helleu fa8dc0f531 core: update WeeChat logo in debian/weechat.xpm 2013-06-28 19:15:59 +02:00
Hasan Kiran bad6eb0692 core: update turkish translations 2013-06-28 13:54:49 +02:00
Sebastien Helleu 8081804555 core: fix typo in french translation of /help notify (patch #8082) 2013-06-28 13:44:06 +02:00
Sebastien Helleu 91017cb06c core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218) 2013-06-10 11:48:49 +02:00
Sebastien Helleu e20592f32d core: fix minor errors in translations
Errors were reported by POFileChecker (from package gettext-lint).
2013-06-10 09:27:32 +02:00
Sebastien Helleu dd41e5776f relay: add command "ping" in weechat protocol (task #12689) 2013-06-09 20:43:24 +02:00
Hasan Kiran 424b8c89cc core: add partial turkish translations (tr.po) 2013-06-08 22:28:06 +02:00
Sebastien Helleu c962bb32f9 core: add option weechat.network.proxy_curl (task #12651) 2013-06-08 19:25:56 +02:00
Sebastien Helleu 21e51d930d core: add options for Curl >= 7.25 2013-06-08 17:04:40 +02:00
Sebastien Helleu a8589a0db6 doc: add cmake options in user's guide 2013-06-08 15:54:06 +02:00
Nils Görs fe1642da08 doc: update german translations and FAQ 2013-06-08 12:36:33 +02:00
Sebastien Helleu 950287d385 irc: display a warning when the proxy set in a server does not exist 2013-06-08 12:32:09 +02:00
Sebastien Helleu 21356d9909 core: add "proxy" infolist and hdata 2013-06-08 11:40:27 +02:00
Sebastien Helleu fb7edb3518 aspell: add support of enchant library (patch #6858)
Enchant is enabled only if the new option for cmake (or configure) is enabled:
- for cmake: cmake -DENABLE_ENCHANT=ON
- for configure: ./configure --enable-enchant
2013-06-07 21:01:48 +02:00
Sebastien Helleu 4080047da0 doc: update auto-generated file with relay commands 2013-06-07 20:50:33 +02:00
Sebastien Helleu 8884eb6fe4 doc: update auto-generated files with irc commands 2013-06-07 20:50:06 +02:00
Sebastien Helleu 1dfc98c8fd core: rename configure.in to configure.ac 2013-06-07 18:27:53 +02:00
Sebastien Helleu 718104b936 core: fix french translation of arguments in /help relay 2013-06-05 10:15:33 +02:00
Sebastien Helleu cb8435441b irc: add support of special variables $nick/$channel/$server in commands /allchan and /allserv 2013-06-05 10:13:23 +02:00
Sebastien Helleu 2c4cf95ef9 doc: update auto-generated files with irc options 2013-06-02 23:03:49 +02:00
Sebastien Helleu 4654568413 irc: add option irc.look.nick_color_hash: hash algorithm to find nick color (patch #8062) 2013-06-02 23:00:26 +02:00
Sebastien Helleu c070481d0b core: fix random crash on mouse actions (bug #39094) 2013-05-30 20:14:41 +02:00
Sebastien Helleu 91b27cd20c doc: add option weechat.look.eat_newline_glitch in charset question (FAQ) 2013-05-30 20:10:54 +02:00
Mantas Mikulėnas 1e49718398 relay: fix binding to an IP address (bug #39119) 2013-05-30 08:03:21 +02:00
Sebastien Helleu c103c8d356 irc: fix multiple nicks in command /query (separated by commas): open one buffer per nick 2013-05-29 18:28:29 +02:00
Sebastien Helleu 2e647d4c58 core: set options weechat.look.color_inactive_{buffer|window} to "on" by default 2013-05-28 23:13:07 +02:00
Sebastien Helleu 47db2b71ba core: update ChangeLog (bug #39071) 2013-05-27 13:41:54 +02:00
Simon Kuhnle 954ea9fb9d xfer: fix compilation error on OpenBSD
Signed-off-by: Simon Kuhnle <Simon.Kuhnle@cs.fau.de>
2013-05-27 13:37:07 +02:00
Sebastien Helleu 7bce8a0254 doc: change font for author, toc title and footer 2013-05-27 10:04:41 +02:00
Sebastien Helleu f377743380 doc: resize columns for table with hdata (plugin API reference) 2013-05-27 09:48:07 +02:00
Sebastien Helleu 62dbfc16c0 doc: improve style for docs 2013-05-27 09:47:32 +02:00
Sebastien Helleu 9a33c70355 doc: remove list of features in FAQ (duplicate with features page on site) 2013-05-24 18:04:19 +02:00
Sebastien Helleu 8005f00e2f doc: add remote GUIs in FAQ 2013-05-24 17:58:39 +02:00
Sebastien Helleu 1a9fe7b590 core: fix compilation error when gnutls is not found 2013-05-24 14:16:13 +02:00
Sebastien Helleu f93c7ebe6d doc: update WeeChat URLs (for new site design) 2013-05-23 15:21:41 +02:00
Sebastien Helleu 296dd0b1d4 core: update WeeChat logo (32x32 icon) 2013-05-23 14:53:42 +02:00
Sebastien Helleu 9c54e33ee1 xfer: fix compilation warnings 2013-05-22 20:57:14 +02:00
Sebastien Helleu e7c947df3e core: fix compilation warnings 2013-05-22 20:56:54 +02:00
Sebastien Helleu 8f66e15bae core: sync debian files with debian git repository 2013-05-22 20:56:10 +02:00
Sebastien Helleu 1b9cfb5cc3 core: update translations and auto-generated files with hdata/infolists 2013-05-21 22:39:18 +02:00
Sebastien Helleu 8771986f3f Merge branch 'layout_infolist_hdata' 2013-05-21 22:34:46 +02:00
Sebastien Helleu 2e43bac479 core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
A regression was introduced by commit 305175fb8c
2013-05-21 11:07:15 +02:00
Sebastien Helleu a256cb4d4d Version 0.4.2-dev 2013-05-20 17:01:00 +02:00
Sebastien Helleu e2807e5f23 core: add variable "current_layout" in infolist "layout" 2013-05-15 21:38:40 +02:00
Sebastien Helleu c7e8e6856d core: add infolist "layout" and hdata "layout", "layout_buffer" and "layout_window" (thanks to Nils Görs) 2013-05-14 21:11:58 +02:00
330 changed files with 38206 additions and 15786 deletions
+2 -1
View File
@@ -13,6 +13,7 @@
*.so
*.so.0
*.so.0.0.0
*.1
ABOUT-NLS
autom4te*
@@ -46,4 +47,4 @@ weechat.pc
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/curses/weechat
+4
View File
@@ -21,15 +21,18 @@ Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Andrew Potter
* Antoine Pietri (seirl)
* Arvydas Sidorenko
* Benoit Papillault (benoit)
* Dmitry Kobylin
* Dominik Honnef
* Elián Hanisch (m4v)
* Elizabeth Myers (Elizacat)
* Esteban I. Ruiz Moreno (Exio)
* Frank Zacharias
* Gu1ll4um3r0m41n
* gwenn
* Hasan Kiran (turgay)
* Ivan Sichmann Freitas
* JD Horelick (jdhore)
* Jim Ramsay (lack)
@@ -39,6 +42,7 @@ Alphabetically:
* Kyle Fuller (kylef)
* Lázaro A.
* Marco Paolone
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Nicolas Cavigneaux
* Nils Görs (nils_2)
+15 -5
View File
@@ -33,7 +33,7 @@ ENDIF(PREFIX)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "1")
SET(VERSION_PATCH "2")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
@@ -69,8 +69,8 @@ OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
OPTION(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_DEMO "Enable Demo plugin" OFF)
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
@@ -86,17 +86,27 @@ OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_DOC "Enable Documentation" ON)
OPTION(ENABLE_MAN "Enable build of man page" OFF)
OPTION(ENABLE_DOC "Enable build of documentation" OFF)
# option WEECHAT_HOME
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
FORCE)
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
# option CA_FILE
IF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
ENDIF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "${CA_FILE}" CACHE
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
FORCE)
MARK_AS_ADVANCED(CLEAR CA_FILE)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
@@ -158,7 +168,7 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/html/" "/html1/" "/Makefile$"
"/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$" "\\\\.gmo$" "~$" "\\\\.o$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat-curses$"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
)
INCLUDE(CPack)
+120 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.1, 2013-05-20
v0.4.2, 2013-10-06
This document lists all changes for each version.
@@ -11,6 +11,125 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file 'NEWS' in sources).
Version 0.4.2 (2013-10-06)
--------------------------
* core: clear whole line before displaying content instead of clearing after
the end of content (bug #40115)
* core: fix time displayed in status bar (it was one second late) (bug #40097)
* core: fix memory leak on unhook of a print hook (if using tags)
* core: fix computation of columns in output of /help (take care about size of
time/buffer/prefix)
* core: display day change message dynamically (do not store it as a line in
buffer), split option weechat.look.day_change_time_format into two options
weechat.look.day_change_message_{1date|2dates}, new option
weechat.color.chat_day_change (task #12775)
* core: add syntax "@buffer:item" in bar items to force the buffer used when
displaying the bar item (task #12717)
* core: add search of regular expression in buffer, don't reset search type on
a new search, select where to search (messages/prefixes), add keys in search
context: alt+"c" (case (in)sensitive search), tab (search in
messages/prefixes)
* core: add text emphasis in messages when searching text in buffer, new
options: weechat.look.emphasized_attributes, weechat.color.emphasized,
weechat.color.emphasized_bg
* core: fix random crash on "/buffer close" with a buffer number (or a range of
buffers)
* core: optimize the removal of lines in buffers (a lot faster to clear/close
buffers with lot of lines)
* core: change color format for options weechat.look.buffer_time_format and
weechat.look.prefix_{action|error|join|network|quit} from `${xxx}` to
`${color:xxx}`
* core: add secured data (encryption of passwords or private data): add new
command /secure and new file sec.conf (task #7395)
* core: rename binary and man page from "weechat-curses" to "weechat"
(task #11027)
* core: disable build of doc by default, add cmake option ENABLE_MAN to compile
man page (off by default)
* core: add option "-o" for command /color
* core: fix priority of logical operators in evaluation of expression
(AND takes precedence over the OR) and first evaluate sub-expressions between
parentheses
* core: remove gap after read marker line when there is no bar on the right
(bug #39548)
* core: add CA_FILE option in cmake and configure to setup default
value of option weechat.network.gnutls_ca_file (default is
"/etc/ssl/certs/ca-certificates.crt") (task #12725)
* core: use "/dev/null" for stdin in hook_process instead of closing stdin
(bug #39538)
* core: add option "scroll_beyond_end" for command /window (task #6745)
* core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix
(task #12730)
* core: add option weechat.look.key_bind_safe
* core: fix char displayed at the intersection of three windows (bug #39331)
* core: fix crash in evaluation of expression when reading a string in hdata
with a NULL value (bug #39419)
* core: fix display bugs with some UTF-8 chars that truncates messages displayed
(for example U+26C4) (bug #39201)
* core: update man page and add translations (in french, german, italian, and
japanese)
* core: remove extra space after empty prefix (when prefix for action, error,
join, network or quit is set to empty string) (bug #39218)
* core: add option weechat.network.proxy_curl (task #12651)
* core: add "proxy" infolist and hdata
* core: fix random crash on mouse actions (bug #39094)
* core: set options weechat.look.color_inactive_{buffer|window} to "on" by
default
* core: add infolist "layout" and hdata "layout", "layout_buffer" and
"layout_window"
* core: fix line alignment when option weechat.look.buffer_time_format is set
to empty string
* api: return hashtable item pointer in functions hashtable_set and
hashtable_set_with_size
* api: change type of hashtable key hash to unsigned long
* api: add "callback_free_key" in hashtable
* api: add support of colors with format `${color:xxx}` in function
string_eval_expression and command /eval
* api: add argument "options" in function string_eval_expression, add option
"-c" for command /eval (to evaluate a condition)
* api: use pointer for infolist "hook" to return only one hook
* api: add new function strlen_screen
* plugins: remove the demo plugin
* aspell: fix detection of word start/end when there are apostrophes or minus
chars before/after word
* aspell: rename option aspell.look.color to aspell.color.misspelled, add option
aspell.color.suggestions
* aspell: add support of enchant library (patch #6858)
* irc: fix reconnection to server using IPv6 (bug #38819, bug #40166)
* irc: add option irc.look.notice_welcome_redirect to automatically redirect
channel welcome notices to the channel buffer
* irc: replace default prefix modes "qaohvu" by the standard ones "ov" when
PREFIX is not sent by server (bug #39802)
* irc: use 6697 as default port for SSL servers created with URL "ircs://"
(bug #39621)
* irc: display number of ops/halfops/voices on channel join only for supported
modes on server (bug #39582)
* irc: fix self nick color in server messages after nick is changed with /nick
(bug #39415)
* irc: add support of wildcards in commands (de)op/halfop/voice, split IRC
message sent if number of nicks is greater than server MODES (from message
005) (task #9221)
* irc: add option irc.look.pv_tags
* irc: fix error message on /invite without arguments (bug #39272)
* irc: add support of special variables $nick/$channel/$server in commands
/allchan and /allserv
* irc: add option irc.look.nick_color_hash: hash algorithm to find nick color
(patch #8062)
* irc: fix multiple nicks in command /query (separated by commas): open one
buffer per nick
* logger: add option "flush" for command /logger
* lua: fix interpreter used in API functions (bug #39470)
* relay: fix decoding of websocket frames when there are multiple frames in a
single message received (only the first one was decoded)
* relay: add command "ping" in weechat protocol (task #12689)
* relay: fix binding to an IP address (bug #39119)
* rmodifier: add option "missing" for command /rmodifier
* script: add info about things defined by script (like commands, options, ...)
in the detailed view of script (/script show)
* scripts: add hdata with script callback
* xfer: add option xfer.look.pv_tags
* xfer: fix compilation on OpenBSD (bug #39071)
Version 0.4.1 (2013-05-20)
--------------------------
+5 -4
View File
@@ -15,10 +15,10 @@ Dependencies
Following packages are *required*:
* cmake
* ncurses
* curl
* libncurses
* libcurl
* zlib
* gcrypt
* libgcrypt
Following packages are all optional:
@@ -27,6 +27,7 @@ Following packages are all optional:
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl)
For a complete list of dependencies and versions recommended, please look at
'User's guide'.
@@ -44,4 +45,4 @@ make install (as root for installation in system directories)
------------------------------------------------------------------
For more information or installation with autotools, please look at
'User's guide': http://www.weechat.org/doc
'User's guide': http://weechat.org/doc
+2 -5
View File
@@ -25,11 +25,7 @@ BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
if DOC
doc_dir = doc
endif
SUBDIRS = po $(doc_dir) intl src
SUBDIRS = po doc intl src
EXTRA_DIST = CMakeLists.txt \
config.rpath \
@@ -39,6 +35,7 @@ EXTRA_DIST = CMakeLists.txt \
cmake/CMakeParseArguments.cmake \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindENCHANT.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
+110 -2
View File
@@ -1,7 +1,7 @@
WeeChat Release Notes
=====================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.1, 2013-05-20
v0.4.2, 2013-10-06
This document lists important changes for each version, that require manual
@@ -13,6 +13,114 @@ http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog' in sources).
Version 0.4.2 (2013-10-06)
--------------------------
=== Day change message ===
The day change message is now dynamically displayed, and therefore is not stored
as a line in buffer any more.
Option 'weechat.look.day_change_time_format' has been split into two options
'weechat.look.day_change_message_{1date|2dates}' (color codes are allowed in
these options, see `/help eval`).
New color option 'weechat.color.chat_day_change' has been added.
After `/upgrade` from an old version, you will see two messages for each day
change. This is a normal behavior and will not happen again with the next day
changes.
=== Regex search in buffer ===
Search with regular expression has been added, and therefore some keys in search
context have been changed.
The key ctrl+"r" in search context is now used to switch string/regex search
(instead of searching exact text).
If you never changed keys in search context, you can reset them all with one
command:
----------------------------------------
/key resetall -yes search
----------------------------------------
Or the manual method:
----------------------------------------
/key missing search
/key bindctxt search ctrl-R /input search_switch_regex
----------------------------------------
To view keys in search context:
----------------------------------------
/key list search
----------------------------------------
For more information, see the chapter about keys in the 'WeeChat User's guide'.
=== New rmodifier ===
A new rmodifier "secure" has been added to hide passphrase and passwords
displayed by command "/secure". Use command `/rmodifier missing` to add it.
=== Color codes in options ===
The format for color codes in some options has changed. The options are
evaluated with the function "string_eval_expression", which uses the format
`${color:xxx}`.
Following options are affected:
* 'weechat.look.buffer_time_format'
* 'weechat.look.prefix_action'
* 'weechat.look.prefix_error'
* 'weechat.look.prefix_join'
* 'weechat.look.prefix_network'
* 'weechat.look.prefix_quit'
The options using old format `${xxx}` must be changed with new format
`${color:xxx}` (where xxx is a color name or number, with optional color
attributes).
Example:
----------------------------------------
/set weechat.look.buffer_time_format "${color:251}%H${color:243}%M${color:238}%S"
----------------------------------------
=== Binary and man page ===
WeeChat binary and man page have been renamed from `weechat-curses` to
`weechat`.
A symbolic link has been added for binary: `weechat-curses` -> `weechat`
(so that the /upgrade from a old version will still work).
If you upgrade from an old version, it is recommended to force the use of the
new binary name with the command: `/upgrade /path/to/weechat` (replace the path
accordingly).
[NOTE]
For packagers: you should create the link `weechat-curses` -> `weechat` if it's
not automatically created in the package (both cmake and configure are creating
this link on make install).
=== Man page / documentation ===
Documentation is not built by default any more, you have to use option
`-DENABLE_DOC=ON` in cmake to enable it.
The man page is now built with asciidoc and translated in several
languages. A new cmake option `ENABLE_MAN` has been added to compile man page
(`OFF` by default).
=== Aspell colors ===
Option 'aspell.look.color' has been renamed to 'aspell.color.misspelled'.
Version 0.4.1 (2013-05-20)
--------------------------
@@ -77,7 +185,7 @@ FlashCo+ │ test # 8, off
After `/upgrade`, if you set new options to non-empty strings, and if old
options were set to non-empty strings too, you will see double prefix/suffix
on old messages, this is normal behaviour (lines displayed before `/upgrade`
on old messages, this is normal behavior (lines displayed before `/upgrade`
have prefix/suffix saved in prefix, but new lines don't have them any more).
New options in logger plugin (logger.conf):
+7 -2
View File
@@ -30,7 +30,12 @@ FIND_PROGRAM(
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE)
FIND_PROGRAM(
A2X_EXECUTABLE a2x
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
@@ -43,4 +48,4 @@ IF(ASCIIDOC_EXECUTABLE)
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE)
ENDIF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
+44
View File
@@ -0,0 +1,44 @@
# - Try to find the Enchant spell checker
# Once done this will define
#
# ENCHANT_FOUND - system has ENCHANT
# ENCHANT_INCLUDE_DIR - the ENCHANT include directory
# ENCHANT_LIBRARIES - Link these to use ENCHANT
# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT
# Copyright (c) 2006, Zack Rusin, <zack@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# in cache already
set(ENCHANT_FOUND TRUE)
else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_ENCHANT enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif (NOT WIN32)
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant++.h
HINTS ${PC_ENCHANT_INCLUDEDIR}
${PC_ENCHANT_INCLUDE_DIRS}
PATH_SUFFIXES enchant )
find_library(ENCHANT_LIBRARIES NAMES enchant
HINTS ${PC_ENCHANT_LIBDIR}
${PC_ENCHANT_LIBRARY_DIRS} )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES )
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
+12 -13
View File
@@ -23,18 +23,17 @@ ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
LIST(REVERSE files)
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"${file}\"")
IF(NOT EXISTS "${file}")
MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
ENDIF(NOT EXISTS "${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
ENDIF("${rm_retval}" GREATER 0)
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
ENDIF("${rm_retval}" GREATER 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
+1
View File
@@ -14,4 +14,5 @@
#define WEECHAT_SHAREDIR "@SHAREDIR@"
#define LOCALEDIR "@LOCALEDIR@"
#define WEECHAT_HOME "@WEECHAT_HOME@"
#define CA_FILE "@CA_FILE@"
#define _GNU_SOURCE 1
+108 -61
View File
@@ -24,8 +24,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.4.1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.in])
AC_INIT(WeeChat, 0.4.2, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
LICENSE="GPL3"
@@ -34,6 +34,7 @@ LICENSE="GPL3"
AC_PROG_CC
AC_PROG_MAKE_SET
AC_GNU_SOURCE
AC_PROG_LN_S
AM_PROG_LIBTOOL
# Files to generate
@@ -52,15 +53,12 @@ netbsd*)
solaris*)
LDFLAGS="$LDFLAGS -lsocket -lxnet"
;;
cygwin*)
LDFLAGS="$LDFLAGS -no-undefined"
;;
esac
# Gettext
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR"
ALL_LINGUAS="fr es cs hu de ru pl it ja pt_BR tr"
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.15])
AM_GNU_GETTEXT_VERSION([0.18])
# Checks for libraries
AC_CHECK_LIB(ncurses, initscr, LIBNCURSES_FOUND=1, LIBNCURSES_FOUND=0)
@@ -104,7 +102,6 @@ AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_DEMO], [#undef PLUGIN_DEMO])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
@@ -118,8 +115,10 @@ AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([MAN], [#undef MAN])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
AH_VERBATIM([CA_FILE], [#define CA_FILE "/etc/ssl/certs/ca-certificates.crt"])
# Arguments for ./configure
@@ -128,8 +127,8 @@ AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (
AC_ARG_ENABLE(largefile, [ --disable-largefile turn off Large File Support (default=on)],enable_largefile=$enableval,enable_largefile=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (default=off)],enable_demo=$enableval,enable_demo=no)
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
@@ -149,19 +148,38 @@ AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
AC_ARG_ENABLE(doc, [ --disable-doc turn off documentation (default=built)],enable_doc=$enableval,enable_doc=yes)
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
AC_ARG_VAR(CA_FILE, [File containing the certificate authorities (default is "/etc/ssl/certs/ca-certificates.crt"). This is the default value of option "weechat.network.gnutls_ca_file".])
if test "x$WEECHAT_HOME" = "x" ; then
WEECHAT_HOME="~/.weechat"
fi
AC_DEFINE_UNQUOTED(WEECHAT_HOME, "$WEECHAT_HOME")
if test "x$CA_FILE" = "x" ; then
CA_FILE="/etc/ssl/certs/ca-certificates.crt"
fi
AC_DEFINE_UNQUOTED(CA_FILE, "$CA_FILE")
not_asked=""
not_found=""
# ------------------------------------------------------------------------------
# pkg-config
# ------------------------------------------------------------------------------
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" = "x"; then
AC_MSG_ERROR([
*** "pkg-config" couldn't be found on your system.
*** Try to install it with your software package manager.])
fi
# ------------------------------------------------------------------------------
# dynamic loader
# ------------------------------------------------------------------------------
@@ -275,24 +293,35 @@ fi
# ---------------------------------- aspell ------------------------------------
if test "x$enable_aspell" = "xyes" ; then
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
ac_found_enchant_lib="no"
if test "x$enable_enchant" = "xyes" ; then
#PKG_CHECK_MODULES(ENCHANT, [enchant], [CFLAGS="$CFLAGS -DUSE_ENCHANT"],
PKG_CHECK_MODULES(ENCHANT, [enchant], ac_found_enchant_lib="yes", ac_found_enchant_lib="no")
fi
if test "x$ac_found_enchant_lib" = "xyes" ; then
CFLAGS="$CFLAGS -DUSE_ENCHANT"
ASPELL_LIB_USED="enchant"
else
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_CHECK_HEADER(aspell.h,ac_found_aspell_header="yes",ac_found_aspell_header="no")
AC_CHECK_LIB(aspell,new_aspell_speller,ac_found_aspell_lib="yes",ac_found_aspell_lib="no")
AC_MSG_CHECKING(for aspell headers and librairies)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
AC_MSG_CHECKING(for aspell headers and librairies)
if test "x$ac_found_aspell_header" = "xno" -o "x$ac_found_aspell_lib" = "xno" ; then
AC_MSG_RESULT(no)
AC_MSG_WARN([
*** Aspell headers and/or libraries couldn't be found on your system.
*** Try to install them with your software package manager.
*** WeeChat will be built without Aspell support.])
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
enable_aspell="no"
not_found="$not_found aspell"
else
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
ASPELL_LIB_USED="aspell"
fi
fi
else
not_asked="$not_asked aspell"
@@ -316,18 +345,6 @@ else
not_asked="$not_asked charset"
fi
# ---------------------------------- demo --------------------------------------
if test "x$enable_demo" = "xyes" ; then
DEMO_CFLAGS=""
DEMO_LFLAGS=""
AC_SUBST(DEMO_CFLAGS)
AC_SUBST(DEMO_LFLAGS)
AC_DEFINE(PLUGIN_DEMO)
else
not_asked="$not_asked demo"
fi
# ---------------------------------- fifo --------------------------------------
if test "x$enable_fifo" = "xyes" ; then
@@ -484,6 +501,9 @@ if test "x$enable_python" = "xyes" ; then
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.dll.a"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
AC_MSG_RESULT(found)
@@ -933,44 +953,68 @@ AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LFLAGS)
# ------------------------------------------------------------------------------
# documentation
# man page / documentation
# ------------------------------------------------------------------------------
msg_man=""
msg_doc=""
if test "x$enable_doc" = "xyes" ; then
if test "x$enable_man" = "xno"; then
not_asked="$not_asked man"
fi
if test "x$enable_doc" = "xno"; then
not_asked="$not_asked doc"
fi
if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then
DOC_ASCIIDOC8=""
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
AC_CHECK_PROGS(A2X, [a2x])
AC_CHECK_PROGS(SOURCEHIGHLIGHT, [source-highlight])
if test -n "$SOURCEHIGHLIGHT" -a -n "$ASCIIDOC"; then
if test -z "$A2X"; then
not_found="$not_found a2x(from asciidoc)"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
fi
if test -n "$ASCIIDOC"; then
AC_MSG_CHECKING([for asciidoc version])
asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
case "${asciidoc_version}" in
asciidoc' '8*)
DOC_ASCIIDOC8="yes"
AC_MSG_RESULT([${asciidoc_version}])
msg_doc="asciidoc(with source-highlight) $msg_doc"
AC_DEFINE(DOC)
if test "x$enable_man" = "xyes"; then
if test -n "$A2X"; then
msg_man="asciidoc(with a2x) $msg_man"
AC_DEFINE(MAN)
else
enable_man="no"
fi
fi
if test "x$enable_doc" = "xyes"; then
if test -n "$SOURCEHIGHLIGHT"; then
msg_doc="asciidoc(with source-highlight) $msg_doc"
AC_DEFINE(DOC)
else
enable_doc="no"
fi
fi
;;
*)
AC_MSG_RESULT([${asciidoc_version} (too old)])
not_found="$not_found asciidoc"
enable_man="no"
enable_doc="no"
;;
esac
else
not_found="$not_found asciidoc"
enable_man="no"
enable_doc="no"
fi
if test -z "$ASCIIDOC"; then
not_found="$not_found asciidoc"
fi
if test -z "$SOURCEHIGHLIGHT"; then
not_found="$not_found source-highlight(needed by asciidoc)"
fi
AC_SUBST(DOC_ASCIIDOC8)
AC_SUBST(ASCIIDOC)
else
not_asked="$not_asked doc"
msg_doc=""
AC_SUBST(A2X)
fi
# ------------------------------------------------------------------------------
@@ -1056,7 +1100,6 @@ AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_DEMO, test "$enable_demo" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
@@ -1070,6 +1113,7 @@ AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
AC_OUTPUT([Makefile
@@ -1088,7 +1132,6 @@ AC_OUTPUT([Makefile
src/plugins/alias/Makefile
src/plugins/aspell/Makefile
src/plugins/charset/Makefile
src/plugins/demo/Makefile
src/plugins/fifo/Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
@@ -1127,14 +1170,11 @@ if test "x$enable_alias" = "xyes"; then
listplugins="$listplugins alias"
fi
if test "x$enable_aspell" = "xyes"; then
listplugins="$listplugins aspell"
listplugins="$listplugins aspell($ASPELL_LIB_USED)"
fi
if test "x$enable_charset" = "xyes"; then
listplugins="$listplugins charset"
fi
if test "x$enable_demo" = "xyes"; then
listplugins="$listplugins demo"
fi
if test "x$enable_fifo" = "xyes"; then
listplugins="$listplugins fifo"
fi
@@ -1194,6 +1234,11 @@ if test "x$debug" != "x0"; then
msg_debug="yes"
fi
if test "x$msg_man" = "x"; then
msg_man="no"
else
msg_man="yes: $msg_man"
fi
if test "x$msg_doc" = "x"; then
msg_doc="no"
else
@@ -1202,11 +1247,13 @@ fi
echo ""
echo "Enabled features:"
echo " Interfaces........... :$listgui"
echo " Plugins.............. :$listplugins"
echo " Optional features.... :$listoptional"
echo " Compile with debug... : $msg_debug"
echo " Documentation........ : $msg_doc"
echo " Interfaces............. :$listgui"
echo " Plugins................ :$listplugins"
echo " Optional features...... :$listoptional"
echo " Compile with debug..... : $msg_debug"
echo " Man page............... : $msg_man"
echo " Documentation.......... : $msg_doc"
echo " Certificate authorities : ${CA_FILE}"
if test "x$not_asked" != "x" || test "x$not_found" != "x"; then
echo ""
+10
View File
@@ -1,3 +1,13 @@
weechat (0.4.1-1) unstable; urgency=low
* New upstream release
* Move guile build dependency to guile-2.0-dev (previous versions are
no longer supported).
* Add supported protocols in long description. Thanks to Jonas Smedegaard
for the suggestion (Closes: #705216)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 21 May 2013 19:44:31 +0000
weechat (0.4.0-1) unstable; urgency=low
* New upstream release.
+6 -2
View File
@@ -2,11 +2,11 @@ Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends-Indep: asciidoc (>= 8.5), source-highlight
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.5), source-highlight,
xsltproc, docbook-xml, docbook-xsl
Standards-Version: 3.9.4
Homepage: http://weechat.org/
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
@@ -20,6 +20,8 @@ Description: Fast, light and extensible chat client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
@@ -45,6 +47,8 @@ Description: Fast, light and extensible chat client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes:
- support of IRC protocol (native)
- support of XMPP/Jabber protocol (with additional script)
- nicklist
- smart hotlist
- horizontal and vertical split
+9
View File
@@ -14,6 +14,8 @@ $(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
cmake .. \
-DENABLE_MAN:BOOL=ON \
-DENABLE_DOC:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
@@ -24,6 +26,13 @@ $(BUILDDIR)/Makefile:
override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build
# Create a symbolic link weechat-curses -> weechat
# This link is created for compatibility with old versions on /upgrade.
# It may be removed in future.
override_dh_auto_install:
dh_auto_install
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
+3 -1
View File
@@ -1,2 +1,4 @@
usr/bin/weechat-curses
usr/bin/weechat
debian/weechat.xpm usr/share/pixmaps
usr/share/man/man1/weechat.1
usr/share/man/*/man1/weechat.1
-1
View File
@@ -1 +0,0 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 65: warning [p 1, 9.7i]: cannot adjust line
-1
View File
@@ -1 +0,0 @@
doc/weechat-curses.1
+2 -2
View File
@@ -1,4 +1,4 @@
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
title="weechat-curses" \
title="weechat" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat-curses"
command="/usr/bin/weechat"
+397 -295
View File
@@ -1,295 +1,397 @@
/* XPM */
static char *weechat[] = {
/* columns rows colors chars-per-pixel */
"32 32 257 2",
" c #000000",
". c #0A0904",
"X c #080813",
"o c #080716",
"O c #110D08",
"+ c #150A15",
"@ c #1A0D1A",
"# c #19150C",
"$ c #151517",
"% c #1F1F32",
"& c #13132C",
"* c #260A26",
"= c #351935",
"- c #271927",
"; c #262608",
": c #322C0C",
"> c #36380B",
", c #353316",
"< c #232516",
"1 c #242224",
"2 c #292935",
"3 c #2D302D",
"4 c #2D3330",
"5 c #3B333B",
"6 c #1D1C4A",
"7 c #110F7B",
"8 c #0E0D65",
"9 c #221F60",
"0 c #282948",
"q c #292855",
"w c #333447",
"e c #383855",
"r c #2A2978",
"t c #302F70",
"y c #353465",
"u c #363574",
"i c #2A286E",
"p c #2E4110",
"a c #39410C",
"s c #3E4C11",
"d c #3F5220",
"f c #394041",
"g c #3E4753",
"h c #493F11",
"j c #4F1050",
"k c #4A0F4B",
"l c #572657",
"z c #4D374D",
"x c #403F6F",
"c c #640964",
"v c #641E64",
"b c #701770",
"n c #790A79",
"m c #683C68",
"M c #623662",
"N c #6B2B6B",
"B c #454A08",
"V c #484C15",
"C c #554B16",
"Z c #58560A",
"A c #595B0B",
"S c #545715",
"D c #4C5712",
"F c #4D5034",
"G c #504F24",
"H c #4E710E",
"J c #4D7C1C",
"K c #5B6713",
"L c #506B11",
"P c #546927",
"I c #506D2E",
"U c #665B14",
"Y c #696C0C",
"T c #68730D",
"R c #6F7010",
"E c #707128",
"W c #4D504D",
"Q c #46456A",
"! c #4C4C7B",
"~ c #434577",
"^ c #554C69",
"/ c #5B5A7D",
"( c #54547A",
") c #535964",
"_ c #567745",
"` c #4D6B57",
"' c #5D6C78",
"] c #587069",
"[ c #6A487C",
"{ c #6D576D",
"} c #645475",
"| c #76557A",
" . c #786678",
".. c #70707D",
"X. c #676768",
"o. c #3F3E82",
"O. c #2D2BAA",
"+. c #3D3BA4",
"@. c #3B39B9",
"#. c #484888",
"$. c #4A4C96",
"%. c #585885",
"&. c #595890",
"*. c #555494",
"=. c #4745A6",
"-. c #4947B5",
";. c #514FBB",
":. c #5A58BB",
">. c #5C5BAF",
",. c #755581",
"<. c #605FB6",
"1. c #6B6883",
"2. c #68679B",
"3. c #7A7497",
"4. c #76698F",
"5. c #6968A6",
"6. c #706FB5",
"7. c #7675BB",
"8. c #6E6DB6",
"9. c #4947C3",
"0. c #5351C2",
"q. c #5D5BC0",
"w. c #6B6ACC",
"e. c #6361C7",
"r. c #7170C6",
"t. c #7877D2",
"y. c #56840C",
"u. c #6A8814",
"i. c #63980B",
"p. c #748614",
"a. c #7F9C0D",
"s. c #749218",
"d. c #698F13",
"f. c #6C852A",
"g. c #798C35",
"h. c #76912B",
"j. c #76B505",
"k. c #70A50F",
"l. c #7EA525",
"z. c #678946",
"x. c #A57A5A",
"c. c #9A1E9A",
"v. c #861B86",
"b. c #912B92",
"n. c #8A298A",
"m. c #A030A0",
"M. c #864886",
"N. c #8F469E",
"B. c #975897",
"V. c #8A788A",
"C. c #936A93",
"Z. c #987599",
"A. c #866892",
"S. c #9470AB",
"D. c #A25FA2",
"F. c #B16FB1",
"G. c #B07FB1",
"H. c #B776B7",
"J. c #807FD0",
"K. c #A37AC2",
"L. c #87880B",
"P. c #888513",
"I. c #869A0A",
"U. c #8B9B14",
"Y. c #94970D",
"T. c #9B9C13",
"R. c #98961A",
"E. c #968D16",
"W. c #929D2F",
"Q. c #82A90B",
"!. c #8CAA06",
"~. c #82B30A",
"^. c #84B706",
"/. c #97A913",
"(. c #96B90A",
"). c #99B914",
"_. c #91AB10",
"`. c #A39A1C",
"'. c #A09A3D",
"]. c #A9AE05",
"[. c #A7AA16",
"{. c #A7B90B",
"}. c #ACB712",
"|. c #BDBA18",
" X c #B7B711",
".X c #B0B726",
"XX c #9A8B4B",
"oX c #9EC008",
"OX c #BCC40D",
"+X c #BCC90E",
"@X c #B1C707",
"#X c #AEC90C",
"$X c #C4AE2A",
"%X c #C4CB11",
"&X c #C8D809",
"*X c #CBD011",
"=X c #D1CF1A",
"-X c #D1D50E",
";X c #D7E803",
":X c #918197",
">X c #858494",
",X c #8987BA",
"<X c #928BBB",
"1X c #9B9BA8",
"2X c #9B98B8",
"3X c #8784A3",
"4X c #A787A8",
"5X c #AE9CAE",
"6X c #AC99B1",
"7X c #B988B9",
"8X c #BB92BC",
"9X c #B598B8",
"0X c #A0A0A7",
"qX c #A6A6B7",
"wX c #8382C6",
"eX c #8382D4",
"rX c #8D8CD4",
"tX c #9C8CC7",
"yX c #908FD9",
"uX c #9493C6",
"iX c #9A99DB",
"pX c #9493D3",
"aX c #A693C8",
"sX c #A09AD5",
"dX c #A8A5C9",
"fX c #A9A6D6",
"gX c #B7A8C7",
"hX c #B7B6DA",
"jX c #B5B1CE",
"kX c #B7B4E2",
"lX c #A9A8E2",
"zX c #C88EC8",
"xX c #C38BC3",
"cX c #C695C6",
"vX c #C2ADC2",
"bX c #C7A6C7",
"nX c #C4B5C4",
"mX c #C6B9D3",
"MX c #DDB9DD",
"NX c #D9B4D9",
"BX c #D3A4D4",
"VX c #C9C5CA",
"CX c #CAC9D7",
"ZX c #D4CBD4",
"AX c #D9C1D9",
"SX c #DACEDA",
"DX c #C4C3E4",
"FX c #CBC9E6",
"GX c #D8D7E6",
"HX c #E7CCE7",
"JX c #E9CFE9",
"KX c #EADBEA",
"LX c #E4DAE4",
"PX c #EDE2ED",
"IX c #EAEAF4",
"UX c #F0E1F0",
"YX c None",
/* pixels */
"YXYXYXYXYXYXYXYXYXSXLXIXUXCX YXYXYXYXVXLXPXPXZX. YXYXYXYXYX",
"YXYXYXYXYXYXYXnXKXUXUXKXJXSXnX YXnXKXPXPXPXKXSXnX YXYXYXYX",
"YXYXYXYXYXYX9XHXJXMX0XvX:X9XSX .HXJXAX5XvX>XvXAX. YXYXYXYX",
"YXYXYXYXYXYXMXMXkXx.. | 4XNXvX NXMXMXV. { 4XNXbX YXYXYX",
"YXYXYXYXYXBXBX8XZ. 4X8X8XZ. { BX8X4X G.7XcXZ. YXYXYX",
"YXYXYXYXLXcXcXC.z zXxX7X) X.G.G.C.z zXcX7X5 5 VX YXYX",
"YXYX1XIXGXBXCXC.+ H.H.F.6XIXIX8X| B.- F.H.8X5X0XCXCX YX",
"YXYX3 GXmX8XmXZ.M M.D.m | VXCXGX4X| B.M.B.D.m gXqX1XCXW YX",
"YXYX CXgXS.jXA.= + = 2XFXqXFXZ.| n.l @ = jX>X..GX$ YX",
"YXYX hXaXA.jX,.= + kXFXDXFX3.{ m l * w hXV.2XdX YX",
"YXYX hXdX,.fX[ v n.j b.kX2XDXhX1.4.v b.m.j S.tX3XkX1. YX",
"YXYX fXdX4.aX^ j v.c.N.fX) kXuX} <X= b c.c.G.tX1.kX% YXYX",
"YXYX <XfXuX<X[ k c c S.uX( fX,X' iXk c n b tX/ 3.uX YXYX",
"YXYX 2.iXrX2./ $ pX2.6.rX,XQ iX2 2 iXQ pX/ YXYX",
"YXYX e rXrX( %.e ( rX( 5.7.wXQ J.y 5.yX( yX& YXYXYX",
"YXYXYX t.eXQ 5.~ 7.7.2.% 2.eX&.2.&. J.6.8.5. YXYXYX",
"YXYXYX r.t.y 8.#.o 8.~ *. x t.r.~ 8. 0 t.! r.0 o $ F YXYXYX",
"YXYXYX <.w.~ >.#.d ] #.0 q w.w.y w.o #.e.$.<.. d I I YX",
"YXYXYX =.e.=.#.g z.I t X q ;.e.u :.y :.o.q.u < J y.d YX",
"YXYXYX y 0.0.r ] _ I 6 o -.0.-.=.0.;.t 0.o , I y.p YX",
"YXYXYXYX 9.9.i ' _ g X + +.9.9.@.;.i +.r y.k.i.y.H ",
"YXYXXXW.Q.] =.@.z.J 4 . V s.E o.@.@.-.' d.z.L ; s j.j.j.i.D ",
"YXXXW.Q.Q.f.) O.l.f.# D Q.u.u.o O.$.g.g.h.^.^.> s.oX~.~.u.s ",
"YX}.oXD a P w 9 ~.f.S T p.p.K ~ ).g q g j.(.. # k.a.K ",
".X#X{. . ; 7 0 _.!.V O I.U.C . oXg.6 8 4 Y.(. a /.).T ",
"+X#X(. 1 # T.{., #X{.C B +XI. I./.{. T #XoXA YX",
"&X+X}.Y P.%X[.P.+X@X. &X@XY Z ;X/.A T.OX}.+X; Y.}.[.B YXYX",
".X*XOX;X;X XZ T.*XL. =X%XP.; ;X%X*XT.> `.|., ].`. X: YXYX",
". Y.].T.A . C C ; $X-Xh P.].R O R : XE.P.O YXYX",
" E U C . YXYX",
"YX YX. # YXYXYX",
"YXYXYXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYX YXYXYXYXYX"
};
/* XPM */
static char * C:\temp\weechat_xpm[] = {
"32 32 362 2",
" c None",
". c #117529",
"+ c #0E7527",
"@ c #0A7424",
"# c #057323",
"$ c #016F20",
"% c #5DAA58",
"& c #5DB059",
"* c #5AB158",
"= c #57B157",
"- c #54AF55",
"; c #4FAE53",
"> c #4BAE52",
", c #48AD50",
"' c #44AC4E",
") c #3FAB4C",
"! c #3BA849",
"~ c #36A646",
"{ c #30A343",
"] c #2CA040",
"^ c #279D3D",
"/ c #229A3A",
"( c #1D9837",
"_ c #189534",
": c #129232",
"< c #0D8F2E",
"[ c #088D2C",
"} c #03691F",
"| c #64AB5B",
"1 c #6FC468",
"2 c #6AC265",
"3 c #66BF62",
"4 c #62BC5F",
"5 c #5DBA5D",
"6 c #58B85A",
"7 c #54B557",
"8 c #4FB254",
"9 c #4AB052",
"0 c #45AD4F",
"a c #40AB4C",
"b c #3CA849",
"c c #37A647",
"d c #32A344",
"e c #2DA041",
"f c #289D3D",
"g c #239A3B",
"h c #1E9838",
"i c #199535",
"j c #139232",
"k c #0F8F2F",
"l c #098B2B",
"m c #035018",
"n c #68AE5E",
"o c #76C96B",
"p c #70C568",
"q c #6CC365",
"r c #67C062",
"s c #62BD60",
"t c #5FBC5E",
"u c #5ABA5B",
"v c #55B859",
"w c #51B656",
"x c #4CB354",
"y c #47B051",
"z c #42AD4E",
"A c #3EAA4B",
"B c #38A647",
"C c #32A243",
"D c #2E9D40",
"E c #28993C",
"F c #239439",
"G c #1E9036",
"H c #188C32",
"I c #13882F",
"J c #0F842C",
"K c #0A7C27",
"L c #629F57",
"M c #7BCC6F",
"N c #76C86B",
"O c #71C569",
"P c #6DC366",
"Q c #69C163",
"R c #65C162",
"S c #57AC56",
"T c #3E803F",
"U c #377539",
"V c #316E34",
"W c #2C6830",
"X c #28602C",
"Y c #225928",
"Z c #1D5124",
"` c #1A4E22",
" . c #184C20",
".. c #81CF72",
"+. c #7CCB6E",
"@. c #77C86C",
"#. c #72C76A",
"$. c #6EC467",
"%. c #69C164",
"&. c #549F51",
"*. c #71B062",
"=. c #84D274",
"-. c #7FCF71",
";. c #7ACD6F",
">. c #76CB6C",
",. c #72C869",
"'. c #6CC465",
"). c #1F391D",
"!. c #558DC1",
"~. c #568EC3",
"{. c #568FC5",
"]. c #5790C7",
"^. c #5892C8",
"/. c #538ABE",
"(. c #5B98D0",
"_. c #5C99D2",
":. c #5E9CD5",
"<. c #609FDB",
"[. c #61A1DC",
"}. c #497440",
"|. c #3F6638",
"1. c #355930",
"2. c #2C4A28",
"3. c #213B1F",
"4. c #609ED9",
"5. c #63A4E2",
"6. c #63A4E1",
"7. c #5B96CE",
"8. c #64A6E4",
"9. c #4878A4",
"0. c #426E96",
"a. c #4F83B3",
"b. c #4E82B2",
"c. c #62A3DF",
"d. c #64A6E3",
"e. c #274159",
"f. c #44729C",
"g. c #5B97CF",
"h. c #5B97D0",
"i. c #5C98D0",
"j. c #5C98D1",
"k. c #5B97CE",
"l. c #64A5E2",
"m. c #36597B",
"n. c #64A4E2",
"o. c #5A95CD",
"p. c #5993CB",
"q. c #64A5E3",
"r. c #45729C",
"s. c #63A4E3",
"t. c #62A2E1",
"u. c #62A1E1",
"v. c #61A1E1",
"w. c #609FE0",
"x. c #5993D4",
"y. c #5D9BDF",
"z. c #5D99DF",
"A. c #5C99DF",
"B. c #5B98DE",
"C. c #4878B1",
"D. c #63A3E5",
"E. c #609EE0",
"F. c #5F9DE0",
"G. c #5F9DDF",
"H. c #5E9BDF",
"I. c #5C99DC",
"J. c #2B4666",
"K. c #4D7FBD",
"L. c #5A96DF",
"M. c #5A94DE",
"N. c #5993DD",
"O. c #5992DD",
"P. c #5993E1",
"Q. c #4069A0",
"R. c #365A8E",
"S. c #568EDF",
"T. c #548ADB",
"U. c #5489DB",
"V. c #5389DB",
"W. c #5287DA",
"X. c #2E4D7C",
"Y. c #4C7DC1",
"Z. c #5891DE",
"`. c #568FDC",
" + c #568EDC",
".+ c #568DDC",
"++ c #558CDC",
"@+ c #4F82CD",
"#+ c #4D7ECD",
"$+ c #5185DA",
"%+ c #5085DA",
"&+ c #5084DA",
"*+ c #4F82D9",
"=+ c #5185DF",
"-+ c #121E31",
";+ c #4370C2",
">+ c #4C7CD9",
",+ c #4A7BD7",
"'+ c #4A7AD7",
")+ c #4978D7",
"!+ c #4877D6",
"~+ c #4E82D9",
"{+ c #4E81D9",
"]+ c #4E80D9",
"^+ c #4E7FD9",
"/+ c #4D7ED8",
"(+ c #4C7DDA",
"_+ c #395FA4",
":+ c #4775D2",
"<+ c #4876D6",
"[+ c #4775D6",
"}+ c #4773D6",
"|+ c #4674D7",
"1+ c #3B62B7",
"2+ c #436ED6",
"3+ c #416CD4",
"4+ c #416AD3",
"5+ c #4069D3",
"6+ c #406AD6",
"7+ c #304FA2",
"8+ c #375BA8",
"9+ c #4673D5",
"0+ c #4572D5",
"a+ c #4571D5",
"b+ c #4470D5",
"c+ c #436FD4",
"d+ c #4470D9",
"e+ c #14213E",
"f+ c #3150A3",
"g+ c #4069D4",
"h+ c #3E67D3",
"i+ c #3E66D2",
"j+ c #3D64D2",
"k+ c #3D64D3",
"l+ c #243C7F",
"m+ c #2F4DAC",
"n+ c #395ED1",
"o+ c #385CD0",
"p+ c #375AD0",
"q+ c #365ACF",
"r+ c #375AD5",
"s+ c #111C41",
"t+ c #3558B8",
"u+ c #3C63D2",
"v+ c #3C62D2",
"w+ c #3B61D1",
"x+ c #3A60D2",
"y+ c #3658C2",
"z+ c #3455C4",
"A+ c #3659CF",
"B+ c #3557CF",
"C+ c #3556CF",
"D+ c #3354CF",
"E+ c #3151C5",
"F+ c #101A3E",
"G+ c #2C49C0",
"H+ c #2F4DCC",
"I+ c #2E4CCC",
"J+ c #2D4ACB",
"K+ c #2D49CB",
"L+ c #2741B7",
"M+ c #3353C6",
"N+ c #3455CF",
"O+ c #3454CE",
"P+ c #3353CE",
"Q+ c #3252CD",
"R+ c #3151CE",
"S+ c #304FCC",
"T+ c #162467",
"U+ c #1F318C",
"V+ c #2E4BCF",
"W+ c #2C47CB",
"X+ c #2B47CA",
"Y+ c #2A45CA",
"Z+ c #2943C8",
"`+ c #2841C5",
" @ c #2942CB",
".@ c #2841CB",
"+@ c #273EC9",
"@@ c #263DC9",
"#@ c #253BC8",
"$@ c #243AC7",
"%@ c #2339C9",
"&@ c #172583",
"*@ c #1D2F86",
"=@ c #2D49CE",
"-@ c #2B46CB",
";@ c #2B46CA",
">@ c #2A44CA",
",@ c #2943CA",
"'@ c #2841C9",
")@ c #2740C9",
"!@ c #2840CC",
"~@ c #273FCA",
"{@ c #263DCA",
"]@ c #243AC8",
"^@ c #2339C7",
"/@ c #2338C7",
"(@ c #2237C7",
"_@ c #2135C6",
":@ c #2034C6",
"<@ c #2033C6",
"[@ c #1E31C5",
"}@ c #1E30C5",
"|@ c #1D2EC4",
"1@ c #1C2DC4",
"2@ c #1B2CC4",
"3@ c #1A2AC3",
"4@ c #1928C0",
"5@ c #0C1258",
"6@ c #1B2C97",
"7@ c #233AC9",
"8@ c #2238C7",
"9@ c #2136C7",
"0@ c #1F32C6",
"a@ c #1D2FC5",
"b@ c #1C2EC5",
"c@ c #1B2BC4",
"d@ c #1A2AC4",
"e@ c #1929C3",
"f@ c #1827C3",
"g@ c #1826C3",
"h@ c #1724C2",
"i@ c #1623C2",
"j@ c #1522C1",
"k@ c #1420C2",
"l@ c #141FC2",
"m@ c #121EC1",
"n@ c #111CC2",
"o@ c #111AC1",
"p@ c #0E17B2",
"q@ c #1A2AC1",
"r@ c #1929C4",
"s@ c #1927C4",
"t@ c #1724C3",
"u@ c #1623C3",
"v@ c #1522C4",
"w@ c #1520C3",
"x@ c #131FC3",
"y@ c #131DC3",
"z@ c #111CC0",
"A@ c #111ABB",
"B@ c #0F19B6",
"C@ c #0F17B1",
"D@ c #0D15AD",
"E@ c #0D14A9",
"F@ c #0C13A7",
"G@ c #0B11A4",
"H@ c #0A1099",
"I@ c #080D8B",
"J@ c #070B7A",
"K@ c #060968",
"L@ c #0F179E",
"M@ c #0E16AA",
"N@ c #0E15AF",
"O@ c #0C13A9",
"P@ c #0C129C",
"Q@ c #0A108F",
"R@ c #090E80",
"S@ c #080C72",
"T@ c #070B63",
"U@ c #060957",
" ",
" ",
" ",
" ",
" ",
" . + @ # $ ",
" % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } ",
" | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
" n o p q r s t u v w x y z A B C D E F G H I J K ",
" L M N O P Q R S T U V W X Y Z ` . ",
" ..+.@.#.$.%.&. ",
" *.=.-.;.>.,.'.). !.~.{.].^. /.(._.:.<.[. ",
" }.|.1.2.3. 4.5.6.6.6.7. [.6.6.6.8.9. ",
" 0.8.6.6.6.6.a. b.c.6.6.6.d.e. ",
" f.g.h.i.j._.{. k.l.6.6.6.l.m. !.n.6.6.6.o. ",
" p.l.6.6.6.q.r. s.t.t.u.v.w. x.y.z.A.B.C. ",
" D.E.F.G.H.I.J. K.L.M.N.O.P.Q. R.S.T.U.V.W.X. ",
" Y.Z.`. +.+++@+ #+$+%+&+*+=+-+ ;+>+,+'+)+!+ ",
" ~+{+]+^+/+(+_+ :+<+[+}+|+1+ 2+3+4+5+6+7+ ",
" 8+9+0+a+b+c+d+e+ f+g+h+i+j+k+l+ m+n+o+p+q+r+s+ ",
" t+j+u+v+w+x+y+ z+A+B+C+D+E+F+ G+H+I+J+K+L+ ",
" M+N+O+P+Q+R+S+T+ U+V+K+W+X+Y+Z+`+ @.@+@@@#@$@%@&@ ",
"*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@4@5@ ",
"6@7@8@9@_@:@0@[@a@b@1@c@d@e@f@g@h@i@j@k@l@m@n@o@p@ ",
" q@r@s@g@t@u@v@w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@ ",
" L@M@N@O@P@Q@R@S@T@U@ ",
" ",
" ",
" ",
" ",
" ",
" "};
+4 -6
View File
@@ -18,11 +18,11 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(ENABLE_DOC)
IF(ENABLE_MAN OR ENABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
IF(ASCIIDOC_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( it )
@@ -31,8 +31,6 @@ IF(ENABLE_DOC)
ADD_SUBDIRECTORY( es )
ADD_SUBDIRECTORY( ru )
ADD_SUBDIRECTORY( ja )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ENDIF(ASCIIDOC_FOUND)
ENDIF(ENABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${MANDIR}/man1)
ENDIF(ENABLE_MAN OR ENABLE_DOC)
+1 -3
View File
@@ -20,9 +20,7 @@
SUBDIRS = . en fr it de pl es ru ja
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
EXTRA_DIST = docgen.py CMakeLists.txt asciidoc.conf asciidoc.css
uninstall-hook:
-rmdir $(DESTDIR)$(datadir)/doc/$(PACKAGE)
+148 -61
View File
@@ -1,88 +1,175 @@
body {
margin: 1em 2em 1em 2em;
margin: 1em 2em;
font-family: verdana, sans-serif;
font-size: 12px;
}
div.sectionbody {
font-family: serif,Helvetica,arial;
div.sectionbody, #author, #revnumber, #revdate, #revremark, #toctitle, #footer {
font-family: verdana, sans-serif;
}
a, a:visited, a:hover, a:active {
color: #00c;
text-decoration: none;
}
em {
color: #252;
}
strong {
color: #000;
}
tt {
color: #366;
}
#author {
color: #555;
}
#toc {
line-height: 1.4em;
}
#toctitle {
margin-bottom: .6em;
color: #555;
}
div.toclevel0, div.toclevel1 {
font-size: 1.1em;
}
div.toclevel2, div.toclevel3, div.toclevel4 {
font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.6em 0;
margin: 1.2em 0;
}
h1 {
padding: 1.2em;
border: solid 1px #c0d0ff;
border-radius: 8px;
box-shadow: 1px 1px 3px #aac;
background: #ddeaee;
background: -moz-linear-gradient(#bbddff, #eefaff);
background: -webkit-linear-gradient(#bbddff, #eefaff);
background: linear-gradient(#bbddff, #eefaff);
color: #224b8d;
font-size: 2.2em;
text-align: center;
}
h2 {
padding: .5em;
border: solid 1px #d0d0d0;
border-radius: 6px;
box-shadow: 1px 1px 2px #bbb;
background: #f2f2f2;
background: -moz-linear-gradient(#e0e0e0, #f6f6f6);
background: -webkit-linear-gradient(#e0e0e0, #f6f6f6);
background: linear-gradient(#e0e0e0, #f6f6f6);
color: #444;
font-size: 1.7em;
}
h3 {
border: none;
margin: .7em 0 1em 0;
color: #555;
font-size: 1.5em;
}
h4 {
color: #555;
font-size: 1.3em;
}
h5 {
font-size: 0.95em;
}
pre, tt {
font-size: 14px;
color: #555;
font-size: 1.2em;
}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;
padding: 0 8px 0 8px;
margin-right: 12px;
padding: .2em .5em;
border: solid 1px #ccc;
margin-right: 12px;
background: #eee;
font-size: 1.1em;
}
p.table {
margin-top: 0;
margin-bottom: 0;
margin-top: 0;
margin-bottom: 0;
}
div.listingblock > div.content {
border: solid 1px #DADADA;
border-radius: 4px;
background-color: #FAFAFA;
border: solid 1px #e2e2e2;
border-radius: 4px;
background: #fbfbfb;
}
div.tableblock > table {
border: 2px solid #888;
}
table th {
background: #fbfbfb;
color: #000;
font-size: 1.1em;
}
.tableblock table th, .tableblock table td {
border: solid 1px #bbb;
}
div.title {
color: #525252;
}
div.admonitionblock .icon {
text-decoration: none;
}
dt.hdlist1 {
margin-bottom: .5em;
color: #252;
}
.key {
border-top: solid 1px #D5D5E5;
border-left: solid 1px #D5D5E5;
border-bottom: solid 1px #A5A5B5;
border-right: solid 1px #A5A5B5;
background-color: #EEEEFF;
padding: 0 0.3em 0 0.3em;
margin: 0 2px 0 2px;
padding: 0 .3em;
border-top: solid 1px #d5d5e5;
border-left: solid 1px #d5d5e5;
border-bottom: solid 1px #a5a5b5;
border-right: solid 1px #a5a5b5;
margin: 0 2px;
background: #eef;
font-family: serif, Helvetica, arial;
font-size: 1.1em;
line-height: 1.5em;
}
.key.ctrl {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFD0D0;
border-left: solid 1px #DFD0D0;
border-bottom: solid 1px #AFA0A0;
border-right: solid 1px #AFA0A0;
background-color: #FFF0F0;
border-top: solid 1px #dfd0d0;
border-left: solid 1px #dfd0d0;
border-bottom: solid 1px #afa0a0;
border-right: solid 1px #afa0a0;
background: #fff0f0;
font-variant: small-caps;
}
.key.alt {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #DFBBAB;
border-left: solid 1px #DFBBAB;
border-bottom: solid 1px #AF8B7B;
border-right: solid 1px #AF8B7B;
background-color: #FFDBCB;
border-top: solid 1px #dfbbab;
border-left: solid 1px #dfbbab;
border-bottom: solid 1px #af8b7b;
border-right: solid 1px #af8b7b;
background: #ffdbcb;
font-variant: small-caps;
}
.key.shift {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D5D5D5;
border-left: solid 1px #D5D5D5;
border-bottom: solid 1px #A5A5A5;
border-right: solid 1px #A5A5A5;
background-color: #F5F5F5;
border-top: solid 1px #d5d5d5;
border-left: solid 1px #d5d5d5;
border-bottom: solid 1px #a5a5a5;
border-right: solid 1px #a5a5a5;
background: #f5f5f5;
font-variant: small-caps;
}
.key.other {
font-size: 0.75em;
font-variant: small-caps;
border-top: solid 1px #D0E0D0;
border-left: solid 1px #D0E0D0;
border-bottom: solid 1px #A0B0A0;
border-right: solid 1px #A0B0A0;
background-color: #EAFAEA;
border-top: solid 1px #d0e0d0;
border-left: solid 1px #d0e0d0;
border-bottom: solid 1px #a0b0a0;
border-right: solid 1px #a0b0a0;
background: #eafaea;
font-variant: small-caps;
}
.keyplus {
font-size: 0.8em;
font-size: .8em;
}
.hexa {
color: #000077;
font-size: 0.85em;
font-family: monospace;
font-variant: small-caps;
border: solid 1px #8888BB;
padding: 0 0.2em 0 0.2em;
margin: 0 0.2em 0 0.2em;
padding: 0 .2em;
border: solid 1px #88b;
margin: 0 .2em;
color: #007;
font-family: monospace;
font-size: .85em;
font-variant: small-caps;
}
#footer {
border-top: 1px solid silver;
}
+70 -51
View File
@@ -17,58 +17,77 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF (ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=de -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
COMMENT "Building weechat.1 (de)"
)
ADD_CUSTOM_TARGET(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
ENDIF (ENABLE_MAN)
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMENT "Building weechat_faq.de.html"
)
ADD_CUSTOM_TARGET(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMENT "Building weechat_tester.de.html"
)
ADD_CUSTOM_TARGET(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMENT "Building weechat_faq.de.html"
)
ADD_CUSTOM_TARGET(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMENT "Building weechat_quickstart.de.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=de -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMENT "Building weechat_tester.de.html"
)
ADD_CUSTOM_TARGET(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+35 -6
View File
@@ -21,6 +21,8 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.de.txt \
cmdline_options.de.txt \
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
@@ -28,14 +30,28 @@ EXTRA_DIST = CMakeLists.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
all-local: weechat_user.de.html \
if MAN
man_targets = weechat.1
man_install = install-man
man_uninstall = uninstall-man
endif
if DOC
doc_targets = weechat_user.de.html \
weechat_scripting.de.html \
weechat_faq.de.html \
weechat_quickstart.de.html \
weechat_tester.de.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.de.txt cmdline_options.de.txt
$(A2X) -a lang=de -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/de/weechat.1.de.txt
# user's guide
weechat_user.de.html: weechat_user.de.txt $(wildcard autogen/user/*.txt)
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a lang=de -a toc -a toclevels=4 -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
@@ -54,19 +70,32 @@ weechat_quickstart.de.html: weechat_quickstart.de.txt
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
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/de/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/de/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/de/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/de/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.de.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-rm -f weechat.1
-rm -f *.html
+4 -2
View File
@@ -116,9 +116,11 @@
| weechat | plugins_names | Liste der Erweiterungen
| weechat | proxies_names | Namen der Proxies
| weechat | proxies_names | Namen aller Proxys
| weechat | proxies_options | Optionen für Proxies
| weechat | proxies_options | Optionen für Proxys
| weechat | secured_data | Namen der geschützten Daten (Datei sec.conf, section data)
| weechat | weechat_commands | WeeChat Befehle
+156 -11
View File
@@ -1,7 +1,23 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
[width="100%",cols="^1,^2,4,8,4,4",options="header"]
|========================================
| Erweiterung | Name | Beschreibung | Variablen | Update erlaubt | Listen
| guile | guile_callback | Callback eines Skripts |
'script' (pointer, hdata: "guile_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "guile_callback") +
'next_callback' (pointer, hdata: "guile_callback") |
|
-
| guile | guile_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -12,7 +28,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "guile_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
@@ -94,7 +110,7 @@
|
-
| irc | irc_redirect | IRC Umlenkung |
| irc | irc_redirect | IRC Weiterleitung |
'server' (pointer, hdata: "irc_server") +
'pattern' (string) +
'signal' (string) +
@@ -118,7 +134,7 @@
|
-
| irc | irc_redirect_pattern | Muster für IRC Umlenkung |
| irc | irc_redirect_pattern | Muster für IRC Weiterleitung |
'name' (string) +
'temp_pattern' (integer) +
'timeout' (integer) +
@@ -206,6 +222,22 @@
'irc_servers' +
'last_irc_server'
| lua | lua_callback | Callback eines Skripts |
'script' (pointer, hdata: "lua_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "lua_callback") +
'next_callback' (pointer, hdata: "lua_callback") |
|
-
| lua | lua_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -216,7 +248,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "lua_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
@@ -224,6 +256,22 @@
'last_script' +
'scripts'
| perl | perl_callback | Callback eines Skripts |
'script' (pointer, hdata: "perl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "perl_callback") +
'next_callback' (pointer, hdata: "perl_callback") |
|
-
| perl | perl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -234,7 +282,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "perl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
@@ -242,6 +290,22 @@
'last_script' +
'scripts'
| python | python_callback | Callback eines Skripts |
'script' (pointer, hdata: "python_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "python_callback") +
'next_callback' (pointer, hdata: "python_callback") |
|
-
| python | python_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -252,7 +316,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "python_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
@@ -260,6 +324,22 @@
'last_script' +
'scripts'
| ruby | ruby_callback | Callback eines Skripts |
'script' (pointer, hdata: "ruby_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "ruby_callback") +
'next_callback' (pointer, hdata: "ruby_callback") |
|
-
| ruby | ruby_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -270,7 +350,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "ruby_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
@@ -306,6 +386,22 @@
'last_script_repo' +
'scripts_repo'
| tcl | tcl_callback | Callback eines Skripts |
'script' (pointer, hdata: "tcl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "tcl_callback") +
'next_callback' (pointer, hdata: "tcl_callback") |
|
-
| tcl | tcl_script | Liste der Skripten |
'filename' (string) +
'interpreter' (pointer) +
@@ -316,7 +412,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "tcl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
@@ -330,6 +426,7 @@
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_buffer' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
@@ -433,6 +530,9 @@
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_regex' (integer) +
'text_search_regex_compiled' (pointer) +
'text_search_where' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
@@ -619,6 +719,41 @@
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | layout | Layout |
'name' (string) +
'layout_buffers' (pointer, hdata: "layout_buffer") +
'last_layout_buffer' (pointer, hdata: "layout_buffer") +
'layout_windows' (pointer, hdata: "layout_window") +
'internal_id' (integer) +
'internal_id_current_window' (integer) +
'prev_layout' (pointer, hdata: "layout") +
'next_layout' (pointer, hdata: "layout") |
|
'gui_layout_current' +
'gui_layouts' +
'last_gui_layout'
| weechat | layout_buffer | Buffer-Layout |
'plugin_name' (string) +
'buffer_name' (string) +
'number' (integer) +
'prev_layout' (pointer, hdata: "layout_buffer") +
'next_layout' (pointer, hdata: "layout_buffer") |
|
-
| weechat | layout_window | Fenster-Layout |
'internal_id' (integer) +
'parent_node' (pointer, hdata: "layout_window") +
'split_pct' (integer) +
'split_horiz' (integer) +
'child1' (pointer, hdata: "layout_window") +
'child2' (pointer, hdata: "layout_window") +
'plugin_name' (string) +
'buffer_name' (string) |
|
-
| weechat | line | Struktur mit einer Zeile |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
@@ -655,7 +790,9 @@
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
'buffer_max_length_refresh' (integer) +
'prefix_max_length' (integer) +
'prefix_max_length_refresh' (integer) |
|
-
@@ -702,6 +839,15 @@
'last_weechat_plugin' +
'weechat_plugins'
| weechat | proxy | Proxy |
'name' (string) +
'options' (pointer) +
'prev_proxy' (pointer, hdata: "proxy") +
'next_proxy' (pointer, hdata: "proxy") |
|
'last_weechat_proxy' +
'weechat_proxies'
| weechat | window | Fenster |
'number' (integer) +
'win_x' (integer) +
@@ -740,7 +886,6 @@
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
+5 -1
View File
@@ -48,18 +48,22 @@
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | - | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
| weechat | key | Auflistung der Tastenzuweisungen | - | Kontext ("default", "search", "cursor" oder "mouse") (optional)
| weechat | layout | Auflistung der Layouts | - | -
| weechat | nicklist | Nicks in Nickliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | option | Auflistung der Optionen | - | Name einer Option (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | url_options | Optionen für URL | - | -
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
+10
View File
@@ -48,6 +48,12 @@
| address_scope | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
| tcp_keepintvl | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
@@ -126,6 +132,8 @@
| mail_from | string |
| mail_auth | string |
| tftp_blksize | long |
| ftpport | string |
@@ -270,6 +278,8 @@
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
+7 -2
View File
@@ -33,8 +33,13 @@
** Typ: integer
** Werte: 0 .. 2147483647 (Standardwert: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** Beschreibung: `Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
** Beschreibung: `Farbe in der ein Wort mit einem Rechtschreibfehler hervorgehoben werden soll (Eingabezeile)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `lightred`)
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
** Beschreibung: `Textfarbe für die Vorschläge der Rechtsschreibkorrektur (Statusbar)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* Öffne einen neuen Buffer::
........................................
/demo_buffer <name>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* Hole eine Info und zeige sie an::
........................................
/demo_info <info> [<arguments>]
info: Information die dargestellt werden soll
arguments: optionale Argumente für Info
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen angezeigt
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* Hole eine Infolist und zeige sie an::
........................................
/demo_infolist <infolist> [<arguments>]
infolist: Infoliste die dargestellt werden soll
arguments: optionale Argumente für Infoliste
Wird der Befehl ohne Argumente aufgerufen werden alle verfügbaren Informationen der Infoliste angezeigt
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* Gibt ein paar Nachrichten im aktuellen Buffer aus::
........................................
/demo_printf <text>
text: schreibt diesen Text
........................................
+33 -9
View File
@@ -14,7 +14,7 @@ target: Server
-current: führt einen Befehl aus der an alle Channels des aktuellen Servers gesendet wird
-exclude: dient zum Ausschluss ausgewählter Channels ('*' wird zu Beginn oder am Ende des Channel-Namens akzeptiert, um mehrere Channels auszuschließen)
command: Befehl der ausgeführt werden soll
arguments: Argumente des Befehls
arguments: Argumente für Befehl (Variablen die genutzt werden können: $nick, $channel und $server)
Beispiele:
Führe den Befehl '/me Ich teste gerade etwas...' für alle Channels aus:
@@ -32,13 +32,15 @@ Beispiele:
-exclude: dient zum Ausschluss ausgewählter Server ('*' wird zu Beginn oder am Ende des Servernamens akzeptiert, um mehrere Server auszuschließen)
command: Befehl der ausgeführt werden soll
arguments: Argumente des Befehls
arguments: Argumente für Befehl (Variablen die genutzt werden können: $nick, $channel und $server)
Beispiele:
Ändere den Nick auf allen Servern:
ändere den Nick auf allen Servern:
/allserv nick newnick
Setzt den Status, auf allen Servern,auf abwesend:
setzt den Status, auf allen Servern,auf abwesend:
/allserv away I'm away
führt ein whois mit meinem nick auf allen Servern aus:
/allserv whois $nick
........................................
[[command_irc_ban]]
@@ -119,18 +121,29 @@ Beispiel:
[command]*`dehalfop`* halb-Operator-Privilegien einem oder mehreren Nick(s) entziehen::
........................................
/dehalfop <nick> [<nick>...]
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den half-operator-Status, ausgenommen sich selber
........................................
[[command_irc_deop]]
[command]*`deop`* Operator-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/deop <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den Operator-Status, ausgenommen sich selber
........................................
[[command_irc_devoice]]
[command]*`devoice`* Voice-Privilegien einem oder mehreren Nicknamen entziehen::
........................................
/devoice <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: entzieht allen Nicks im Channel den voice-Status
........................................
[[command_irc_die]]
@@ -156,6 +169,10 @@ reason: Begründung der Trennung
[command]*`halfop`* halb-Operator Status an Nick(s) vergeben::
........................................
/halfop <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den half-operator-Status
........................................
[[command_irc_ignore]]
@@ -420,6 +437,10 @@ Beispiele:
[command]*`op`* Channel-Operator Status an Nicknamen vergeben::
........................................
/op <nick> [<nick>...]
* -yes
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den Operator-Status
........................................
[[command_irc_oper]]
@@ -461,7 +482,7 @@ Daemon2: Nachricht an diesen Daemon weiterleiten
[[command_irc_query]]
[command]*`query`* Eine private Nachricht an einen Nick schicken::
........................................
/query [-server <server>] <nick> [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
server: an diesen Server senden (interner Name)
nick: Nickname für privaten Chat
@@ -505,11 +526,11 @@ data: unbearbeitete (RAW) Daten die gesendet werden sollen
........................................
/rehash [<option>]
option: zusätzliche Option, die von manchen Servern berücksichtigt wird.
option: zusätzliche Option, die von manchen Servern berücksichtigt wird
........................................
[[command_irc_restart]]
[command]*`restart`* Den Server dazu bringen sich selbst neu zu starten::
[command]*`restart`* Server dazu bringen sich selbst neu zu starten::
........................................
/restart [<target>]
@@ -517,7 +538,7 @@ target: Servername
........................................
[[command_irc_sajoin]]
[command]*`sajoin`* Zwingt einen User einen oder mehrere Channel zu betreten::
[command]*`sajoin`* zwingt einen User einen oder mehrere Channel zu betreten::
........................................
/sajoin <nick> <channel>[,<channel>...]
@@ -717,6 +738,9 @@ server: Servername
[command]*`voice`* Voice an Nick(s) vergeben::
........................................
/voice <nick> [<nick>...]
nick: Nick oder Maske (darf mit einem "*" als Platzhalter beginnen oder enden)
*: vergibt an alle Nicks im Channel den voice-Status
........................................
[[command_irc_wallchops]]
@@ -737,7 +761,7 @@ text: Text der gesendet werden soll
........................................
[[command_irc_who]]
[command]*`who`* Sendet eine Anfrage die eine Anzahl von Informationen zurück gibt.::
[command]*`who`* sendet eine Anfrage die eine Anzahl von Informationen zurück gibt::
........................................
/who [<mask> [o]]
+31 -16
View File
@@ -94,7 +94,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.ctcp_time_format]] *irc.look.ctcp_time_format*
** Beschreibung: `Format für die Zeitanzeige die bei einer CTCP TIME Anfrage zurückgesendet wird (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige die bei einer CTCP TIME Anfrage zurückgesendet wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T %z"`)
@@ -214,12 +214,17 @@
** Werte: none, next, near_server (Standardwert: `none`)
* [[option_irc.look.nick_color_force]] *irc.look.nick_color_force*
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die standardmäßig, mittels Streuwertfunktion aus dem Nicknamen, generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Zuerst wird beim Nicknamen nach Groß- und Kleinschreibung unterschieden. Sollte der Nick nicht gefunden werden, findet keine Unterscheidung mehr statt. Somit ist es möglich die Nicks, in dieser Option, ausschließlich in Kleinschrift zu schreiben.`
** Beschreibung: `erzwingt für einen Nick eine spezielle Farbe. Die standardmäßig, mittels Streuwertfunktion aus dem Nicknamen, generierte Nickfarbe findet für diese Nicks keine Anwendung (Format:"Nick1:Farbe1;Nick2:Farbe2"). Zuerst wird beim Nicknamen nach Groß- und Kleinschreibung unterschieden. Sollte der Nick nicht gefunden werden, findet keine Unterscheidung mehr statt. Somit ist es möglich die Nicks, in dieser Option, ausschließlich in Kleinschrift zu schreiben`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.look.nick_color_hash]] *irc.look.nick_color_hash*
** Beschreibung: `Gibt an welcher Hash-Algorithmus zur Farbauswahl für Nicks genutzt werden soll: djb2 = Variante des djb2 (Position der Buchstaben innerhalb des Nicks werden berücksichtigt: Anagramme eines Nick erhalten eine andere Farbe), sum = hier ist nur die Anzahl der Buchstaben maßgeblich`
** Typ: integer
** Werte: djb2, sum (Standardwert: `sum`)
* [[option_irc.look.nick_color_stop_chars]] *irc.look.nick_color_stop_chars*
** Beschreibung: `Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt).`
** Beschreibung: `Zeichen die genutzt werden sollen damit bei der Generierung der Farbe für einen Nicknamen abgebrochen wird. Es muss mindestens ein Zeichen im Nicknamen enthalten sein der nicht in dieser Liste aufgeführt wird, damit eine Farbe für den Nicknamen erstellt werden kann (Beispiel: Der Nickname lautet "|nick|abwesend" wobei das Zeichen "|" ignoriert werden soll. Die Farbe für den Nicknamen wird nun für "|nick" anstelle von "|nick|abwesend" erstellt)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"_|["`)
@@ -248,13 +253,18 @@
** Typ: integer
** Werte: auto, never, always (Standardwert: `auto`)
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
** Beschreibung: `automatische Weiterleitung von Willkommen-Nachrichten in den entsprechenden Channel-Buffer. Solche Nachrichten haben den Nick als Empfänger, der Channelnamen wird aber der Nachricht vorangestellt. Eine solche Nachricht sieht auf dem freenode Server wie folgt aus: "[#channel] Herzlich Willkommen zum ..."`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls sich ein Nick beim Server an- oder abmeldet (Rückgabe durch Befehl ison), zum Beispiel: "notify_highlight","notify_message" oder "notify_private"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in notify-Nachrichten genutzt werden sollen, falls ein Nick einen Server betritt oder verlässt (Rückgabe durch Befehl ison), zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in der Nachricht von notify ausgegeben werden sollen, falls ein Nick den Befehl away nutzt (Rückgabe durch Befehl whois), zum Beispiel: "notify_highlight", "notify_message" oder "notify_private"`
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die in notify-Nachrichten genutzt werden sollen, falls sich der away-Status eines Nick ändert (Rückgabe durch Befehl whois), zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_message"`)
@@ -268,6 +278,11 @@
** Typ: integer
** Werte: independent, merge_by_server, merge_all (Standardwert: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die für private Nachrichten genutzt werden sollen. Zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_private"`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** Beschreibung: `Anzahl der IRC-RAW-Nachrichten die im Speicher gehalten werden sollen falls der RAW-Daten-Buffer geschlossen ist (die Nachrichten werden umgehend angezeigt sobald der RAW-Daten-Buffer geöffnet wird)`
** Typ: integer
@@ -279,12 +294,12 @@
** Werte: merge_with_core, merge_without_core, independent (Standardwert: `merge_with_core`)
* [[option_irc.look.smart_filter]] *irc.look.smart_filter*
** Beschreibung: `filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden.`
** Beschreibung: `filtert join/part/quit/nick Nachrichten für einen Nick der einige Minuten im Channel inaktiv gewesen ist. Dazu muss ein Filter mit dem Schlagwort "irc_smart_filter" erstellt werden`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.smart_filter_delay]] *irc.look.smart_filter_delay*
** Beschreibung: `Verzögerung, in Minuten, in denen join/part/quit Nachrichten gefiltert werden`
** Beschreibung: `Verzögerung, in Minuten, für eine Filterung von join/part/quit Mitteilungen. Falls ein Nick in der angegebenen Zeit keine Nachricht schreibt, wird seinejoin/part/quit Mitteilung gefiltert`
** Typ: integer
** Werte: 1 .. 10080 (Standardwert: `5`)
@@ -329,7 +344,7 @@
** Werte: 0 .. 86400 (Standardwert: `1800`)
* [[option_irc.network.colors_receive]] *irc.network.colors_receive*
** Beschreibung: `wenn deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert.`
** Beschreibung: `wenn deaktiviert, werden Farben-Codes von eingehenden Nachrichten ignoriert`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -399,7 +414,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
** Beschreibung: `durch Kommata getrennte Liste der Channels, die beim Verbinden zum Server betreten werden sollen (Beispiel: "#chan1,#chan2,#chan3 key1,key2")`
** Beschreibung: `durch Kommata getrennte Liste der Channels, die beim Verbinden zum Server betreten werden sollen (Beispiel: "#chan1,#chan2,#chan3 key1,key2") (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -439,7 +454,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** Beschreibung: `enthält Befehle die nach der Verbindung zum Server ausgeführt werden sollen. Mehrere Befehle müssen durch ein ";" getrennt werden. Möchte man ein Semikolon nutzen muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt`
** Beschreibung: `enthält Befehle die nach der Verbindung zum Server ausgeführt werden sollen. Mehrere Befehle müssen durch ein ";" getrennt werden. Möchte man ein Semikolon nutzen muss man "\;" verwenden. Die speziellen Variablen $nick, $channel und $server werden dabei durch den jeweiligen Wert ersetzt (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -464,7 +479,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"WeeChat %v"`)
* [[option_irc.server_default.ipv6]] *irc.server_default.ipv6*
** Beschreibung: `bei der Kommunikation mit dem Server wird das IPv6 Protokoll genutzt (sollte IPv6 nicht genutzt werden können, wird automatisch auf IPv4 zurückgegriffen); wird die Funktion deaktiviert, dann wird ausschließlich IPv4 genutzt.`
** Beschreibung: `bei der Kommunikation mit dem Server wird das IPv6 Protokoll genutzt (sollte IPv6 nicht genutzt werden können, wird automatisch auf IPv4 zurückgegriffen); wird die Funktion deaktiviert, dann wird ausschließlich IPv4 genutzt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -484,12 +499,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.password]] *irc.server_default.password*
** Beschreibung: `Passwort für den Server`
** Beschreibung: `Passwort für Server (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.proxy]] *irc.server_default.proxy*
** Beschreibung: `Proxy, der für diesen Server verwendet wird (optional)`
** Beschreibung: `Name des Proxy für diesen Server (optional, Proxy muss mit dem Befehl /proxy angelegt werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -499,12 +514,12 @@
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_irc.server_default.sasl_mechanism]] *irc.server_default.sasl_mechanism*
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet.`
** Beschreibung: `Verfahren welches bei einer SASL Authentifizierung angewandt werden soll: "plain" Passwort wird im Klartext gesendet, "dh-blowfish" Passwort wird mittels blowfish verschlüsselt, "dh-aes" Passwort wird mittels AES verschlüsselt, "external" SSL Zertifikat welches auf Client Seite vorliegt, wird verwendet`
** Typ: integer
** Werte: plain, dh-blowfish, dh-aes, external (Standardwert: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** Beschreibung: `Passwort für SASL Authentifizierung`
** Beschreibung: `Passwort für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -514,7 +529,7 @@
** Werte: 1 .. 3600 (Standardwert: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** Beschreibung: `Username für SASL Authentifizierung`
** Beschreibung: `Username für SASL Authentifikation (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+4 -2
View File
@@ -3,11 +3,13 @@
........................................
/logger list
set <level>
flush
disable
list: zeigt, für geöffnete Buffer, den Status der Protokollierung an
list: zeigt den Status der Protokollierung aller geöffneten Buffer an
set: legt den Level fest, nach dem der aktuelle Buffer protokolliert werden soll
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = protokolliere alle Nachrichten)
level: legt fest, welche Nachrichten protokolliert werden sollen (0 = nichts protokollieren, 1 = nur die wichtigsten Nachrichten protokollieren .. 9 = alle Nachrichten werden protokolliert)
flush: sichert alle Protokolle umgehend
disable: die Protokollierung wird für den aktuellen Buffer ausgeschaltet (der Level wird auf 0 gestellt)
Die Optionen "logger.level.*" und "logger.mask.*" können genutzt werden um den Level der Protokollierung festzulegen und um eine Maske für einen oder mehrere Buffer zu definieren.
+3 -3
View File
@@ -34,12 +34,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_logger.file.nick_prefix]] *logger.file.nick_prefix*
** Beschreibung: `Text, der vor dem Nick geschrieben werden soll, Beispiel: "<"`
** Beschreibung: `Zeichenkette die dem Nick vorangestellt werden soll. Beispiel: "<"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_logger.file.nick_suffix]] *logger.file.nick_suffix*
** Beschreibung: `Text, der nach dem Nick geschrieben werden soll, Beispiel: "<"`
** Beschreibung: `Zeichenkette die nach dem Nick eingefügt werden soll. Beispiel: ">"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -54,7 +54,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"_"`)
* [[option_logger.file.time_format]] *logger.file.time_format*
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Zeitstempel in Protokoll-Datei nutzen (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%Y-%m-%d %H:%M:%S"`)
+1 -1
View File
@@ -104,7 +104,7 @@
** Werte: 1 .. 1024 (Standardwert: `5`)
* [[option_relay.network.password]] *relay.network.password*
** Beschreibung: `Passwort wird von Clients benötigt um Zugriff auf dieses Relay zu erhalten (kein Eintrag bedeutet dass kein Passwort benötigt wird)`
** Beschreibung: `Passwort wird von Clients benötigt um Zugriff auf dieses Relay zu erhalten (kein Eintrag bedeutet, dass kein Passwort benötigt wird) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+3 -1
View File
@@ -1,9 +1,10 @@
[[command_rmodifier_rmodifier]]
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Sichtbarkeit von Texten in WeeChat)::
[command]*`rmodifier`* wandelt Schlüsselwörter mit regulären Ausdrücken (regelt die Darstellung von Texten in WeeChat)::
........................................
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
missing
default -yes
list: zeigt alle rmodifier an
@@ -15,6 +16,7 @@ listdefault: zeigt die Standardeinstellung für rmodifier an
regex: regulärer Ausdruck (zwischen Groß- und Kleinschreibung wird nicht unterschieden. Um zwischen Groß- und Kleinschreibung zu unterscheiden muss zu Beginn "(?-i)" genutzt werden)
del: löscht einen rmodifier Eintrag
-all: löscht alle rmodifiers Einträge
missing: fügt fehlende rmodifiers hinzu
default: setzt die rmodifier auf seine Standardwerte zurück
Beispiele:
+1 -1
View File
@@ -1,5 +1,5 @@
* [[option_rmodifier.look.hide_char]] *rmodifier.look.hide_char*
** Beschreibung: `Zeichen dass benutzt werden soll um bei einer Eingabe einer Zeichenkette zu verbergen`
** Beschreibung: `Zeichen, das anstelle der eigentlichen Eingabe angezeigt wird`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"*"`)
+20
View File
@@ -0,0 +1,20 @@
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** Beschreibung: `zu nutzendes Chiffre zum Verschlüsseln von Daten (die Zahl hinter dem Algorithmus bestimmt die Größe des Schlüssels, in Bits)`
** Typ: integer
** Werte: aes128, aes192, aes256 (Standardwert: `aes256`)
* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** Beschreibung: `Hash-Algorithmus zur Überprüfung der verschlüsselten Daten`
** Typ: integer
** Werte: sha224, sha256, sha384, sha512 (Standardwert: `sha256`)
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** Beschreibung: `Pfad zu einer Datei die die Passphrase enthält um damit schutzwürdige Daten zu ver- und entschlüsseln. Diese Option findet nur Anwendung, wenn die Datei sec.conf gelesen wird. Es wird auch nur die erste Zeile eingelesen. Diese Datei wird nur verwendet, falls die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht genutzt wird (die Umgebungsvariable besitzt eine höhere Priorität). Sicherheitshinweis: Es ist anzuraten dieser Datei nur für die eigene Person Leserechte zu gewähren und die Datei nicht im Heimatverzeichnis von WeeChat zu sichern (zum Beispiel im /home/ Order); Beispiel: "~/.weechat-passphrase"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_sec.crypt.salt]] *sec.crypt.salt*
** Beschreibung: `nutzt salt bei der Schlüsselerstellung für die Verschlüsselung (wird für maximale Sicherheit empfohlen); wenn aktiviert, ist der Inhalt der verschlüsselten Daten bei jeder Sicherung in die Datei sec.conf verschieden. Wird die Datei sec.conf in eine Versionsverwaltung eingepflegt kann die Option deaktiviert werden, um immer den selben Dateiinhalt zu erhalten`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
+79 -30
View File
@@ -1,10 +1,10 @@
[[command_weechat_away]]
[command]*`away`* Abwesenheitsstatus ein-/ausschalten::
[command]*`away`* Abwesenheitsstatus setzen oder entfernen::
........................................
/away [-all] [<message>]
-all: Abwesenheitszustand auf allen Servern ändern
message: Abwesenheitsnachricht (ohne eine Nachricht wird der Abwesenheitszustand deaktivieren)
-all: Abwesenheitsstatus auf allen verbundenen Server setzen oder entfernen
message: Abwesenheitsnachricht (ohne Angabe einer Nachricht wird der Abwesenheitszustand entfernt)
........................................
[[command_weechat_bar]]
@@ -125,12 +125,14 @@ Beispiele:
/color alias <color> <name>
unalias <color>
reset
-o
alias: weist einer Farbzahl einen Namen zu
unalias: entfernt einen Namen
color: Farbnummer (>= 0, maximale Anzahl ist abhängig vom Terminal, üblicherweise 63 oder 255 Farben)
name: Aliasname für eine Farbe (zum Beispiel: "orange")
reset: setzt alle Farbpaarungen zurück (nützlich falls keine Farbpaarung mehr verfügbar sein sollte und die automatische Reset-Option deaktiviert ist, siehe Option: weechat.look.color_pairs_auto_reset)
-o: sendet Terminal-/Farbinformationen in den aktuellen Buffer
Ohne Angabe von Argumenten wird in einem separaten Buffer die darstellbare Farbpalette angezeigt.
@@ -202,12 +204,13 @@ infolists: zeigt Information über die Infolists an
........................................
[[command_weechat_eval]]
[command]*`eval`* wertet einen Ausdruck aus und gibt das Resultat im Buffer aus::
[command]*`eval`* wertet eine Expression aus und zeigt das Resultat im Buffer an::
........................................
/eval [-n] <expression>
[-n] <expression1> <operator> <expression2>
[-n] -c <expression1> <operator> <expression2>
-n: zeigt das Ergebnis an, ohne das dieses in den Buffer geschrieben wird (debug Modus)
-n: zeigt das Ergebnis lokal an, ohne das dieses in den Buffer gesendet wird (debug Modus)
-c: Auswertung als Bedingung: nutzt Operatoren und runde Klammern, Rückgabewert als Boolean-Wert ("0" oder "1")
expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten)
operator: ein logischer oder vergleichender Operand:
- logische Operanden:
@@ -230,30 +233,31 @@ Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrü
"50" > "100" ==> 1
Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
1. der Name einer Option (file.section.option)
2. der Name der lokalen Variablen für Buffer
3. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), Standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
Das Format für hdata:
1. eine Farbe (Format: color:xxx)
2. der Name einer Option (Format: file.section.option)
3. der Name einer lokalen Variablen eines Buffer
4. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), Standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
Das Format für hdata kann wie folgt lauten:
hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
hdata(list).var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
Beispiele:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${window.buffer.number} > 2 ==> 0
/eval -n ${window.win_width} > 100 ==> 1
/eval -n (8 > 12) || (5 > 2) ==> 1
/eval -n (8 > 12) && (5 > 2) ==> 0
/eval -n abcd =~ ^ABC ==> 1
/eval -n abcd =~ (?-i)^ABC ==> 0
/eval -n abcd =~ (?-i)^abc ==> 1
/eval -n abcd !~ abc ==> 0
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
........................................
[[command_weechat_filter]]
@@ -344,6 +348,8 @@ Auflistung der möglichen Funktionen:
complete_previous: vervollständigt Word mit vorheriger Komplettierung
search_text: sucht nach Text im Buffer
search_switch_case: schaltet Groß-/Kleinschreibung ein und aus
search_switch_regex: Wechsel des Suchmodus: einfache Textsuche/reguläre Ausdrücke
search_switch_where: wechselt Suche in Nachricht/Präfix
search_previous: sucht vorheriger Zeile
search_next: sucht nächste Zeile
search_stop: suche stoppen
@@ -530,14 +536,14 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
........................................
[[command_weechat_proxy]]
[command]*`proxy`* Proxies verwalten::
[command]*`proxy`* Proxys verwalten::
........................................
/proxy list
add <name> <type> <address> <port> [<username> [<password>]]
del <name>|-all
set <name> <option> <value>
list: listet alle Proxies auf
list: listet alle Proxys auf
add: fügt neuen Proxy hinzu
name: Name des neuen Proxy (der Name darf nur einmal genutzt werden)
type: http, socks4 oder socks5
@@ -545,7 +551,7 @@ Ohne Angabe eines Arguments werden alle installierten Erweiterungen angezeigt.
port: Port
username: Username (optional)
password: Passwort (optional)
del: entfernt einen Proxy (-all um alle Proxies zu entfernen)
del: entfernt einen Proxy (-all um alle Proxys zu entfernen)
set: setzt einen Wert für Proxy
option: Optionen die geändert werden (für eine Liste der möglichen Optionen, bitte folgenden Befehl nutzen: /set weechat.proxy.<proxyname>.*)
value: neuer Wert für Option
@@ -608,6 +614,47 @@ file: Konfigurationsdatei die gesichert werden soll (ohne Dateinamenserweiterung
Wird keine Datei angegeben dann werden alle Konfigurationen (WeeChat und Erweiterungen) gesichert.
........................................
[[command_weechat_secure]]
[command]*`secure`* verwaltet zu schützende Daten (Passwörter oder private Daten werden in der Datei sec.conf verschlüsselt)::
........................................
/secure passphrase <passphrase>|-delete
decrypt <passphrase>|-discard
set <name> <value>
del <name>
passphrase: ändern der Passphrase (ohne Passphrase, werden die Daten in der Datei sec.conf in Klartext gesichert)
-delete: löscht Passphrase
decrypt: entschlüsselt Daten nachträglich (dies passiert nur falls die Passphrase beim Start nicht angegeben wurde)
-discard: verwirft alle verschlüsselten Daten
set: fügt eine schutzwürdige Information hinzu oder ändert eine bestehende
del: entfernt eine schutzwürdige Information
Ohne Angabe von Argumenten wird ein neuer Buffer geöffnet und die schutzwürdigen Informationen können dort eingesehen werden.
Wird eine Passphrase verwendet (Daten liegen verschlüsselt vor), fragt WeeChat beim Start die Passphrase ab.
Es ist möglich eine Umgebungsvariable "WEECHAT_PASSPHRASE" zu setzen um die Eingabeaufforderung beim Programmstart zu vermeiden (diese Variable wird auch von WeeChat beim /upgrade verwendet).
schutzwürdige Daten mit dem Format ${sec.data.xxx} können wie folgt genutzt werden:
- Argument in der Befehlszeile für "--run-command"
- Option weechat.startup.command_{before|after}_plugins
- Proxy-Optionen: username, password
- IRC Server Optionen: autojoin, command, password, sasl_{username|password}
- Option relay.network.password
- Befehl /eval.
Beispiele:
setzen einer Passphrase:
/secure passphrase Dies ist meine Passphrase
verschlüsselt freenode SASL Passwort:
/secure set freenode meinPasswort
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
verschlüsselt oftc Passwort für nickserv:
/secure set oftc meinPasswort
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias um den eigenen Nick zu ghosten:
/alias ghost /eval /msg -server freenode nickserv ghost meinNick ${sec.data.freenode}
........................................
[[command_weechat_set]]
[command]*`set`* Konfigurationsparameter setzen::
........................................
@@ -659,6 +706,7 @@ Beispiele:
/upgrade [<path_to_binary>|-quit]
path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei)
-dummy: ohne Funktion (dient lediglich dazu, um nicht versehentlich die "-quit" Funktion auszuführen)
-quit: trennt *ALLE* Verbindungen, speichert die aktuelle Sitzung und beendet WeeChat, um den aktuellen Zustand später wiederherstellen (siehe unten)
Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Bevor dieser Befehl ausgeführt wird, sollte eine neue Version von WeeChat entweder vorab kompiliert, oder mit einem Paketmanager installiert worden sein.
@@ -677,7 +725,7 @@ Nutzt man die "-quit" Funktion ist die Abfolge geringfügig anders:
3. alle Erweiterungen werden ausgeschaltet
4. die WeeChat Konfiguration wird gesichert
5. WeeChat wird beendet
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat-curses --upgrade
Die Sitzung kann zu einem späteren Zeitpunkt wiederhergestellt werden: weechat --upgrade
WICHTIG: Die Sitzung muss mit exakt den selben Konfigurationsdateien wiederhergestellt werden (*.conf)
Es ist möglich die WeeChat-Sitzung auf einem anderen Rechner wiederherzustellen, sofern man den Inhalt des "~/.weechat" Verzeichnisses dorthin kopiert.
........................................
@@ -738,7 +786,7 @@ Beispiele:
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
@@ -759,12 +807,13 @@ Beispiele:
page_up: scrollt eine Seite nach oben
page_down: scrollt eine Seite nach unten
refresh: Seite wird neu aufgebaut
scroll: scrollt eine Anzahl an Zeilen (+/-N) oder zu einer gewissen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll: scrollt eine Anzahl an Zeilen (+/-N) oder zu einer angegebenen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
scroll_horiz: scrollt horizontal eine Anzahl an Spalten (+/-N) oder prozentual von der Fenstergröße ausgehend (dieses scrolling ist nur in Buffern möglich die über einen freien Inhalt verfügen)
scroll_up: scrollt ein paar Zeilen nach oben
scroll_down: scrollt ein paar Zeilen nach unten
scroll_top: scrollt zum Anfang des Buffers
scroll_bottom: scrollt zum Ende des Buffers
scroll_beyond_end: scrollt über das Ende des Buffers hinaus
scroll_previous_highlight: scrollt zum vorherigen Hightlight
scroll_next_highlight: scrollt zum nächsten Highlight
scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
+75 -30
View File
@@ -23,6 +23,11 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
* [[option_weechat.color.chat_day_change]] *weechat.color.chat_day_change*
** Beschreibung: `Textfarbe für die Nachricht die beim Datumswechsel angezeigt wird`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.chat_delimiters]] *weechat.color.chat_delimiters*
** Beschreibung: `Farbe der Infobar-Trennzeichen`
** Typ: Farbe
@@ -89,7 +94,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `green`)
* [[option_weechat.color.chat_nick_self]] *weechat.color.chat_nick_self*
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-Fenster.`
** Beschreibung: `Textfarbe für den eigenen Nicknamen, im lokalen Chat-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 können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `white`)
@@ -188,6 +193,16 @@
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`)
* [[option_weechat.color.emphasized]] *weechat.color.emphasized*
** Beschreibung: `Textfarbe um Text hervorzuheben (zum Beispiel bei der Textsuche); wird ausschließlich dann genutzt, falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt (Standardwert)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `yellow`)
* [[option_weechat.color.emphasized_bg]] *weechat.color.emphasized_bg*
** Beschreibung: `Hintergrundfarbe um Textpassagen hervorzuheben (zum Beispiel bei der Textsuche); wird ausschließlich dann genutzt, falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt (Standardwert)`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `magenta`)
* [[option_weechat.color.input_actions]] *weechat.color.input_actions*
** Beschreibung: `Textfarbe in der Eingabezeile bei Aktivität (z.B. beim Einfügen von Zeilen)`
** Typ: Farbe
@@ -289,7 +304,7 @@
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `default`)
* [[option_weechat.completion.base_word_until_cursor]] *weechat.completion.base_word_until_cursor*
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
** Beschreibung: `ist diese Option aktiviert wird ein zu vervollständigendes Wort in den fließenden Text, mit einem Leerzeichen, hinzugefügt. Ist diese Option deaktiviert, muss in den fließenden Text ein Leerzeichen manuell einfügt werden, um eine Vervollständigung durchführen zu können (Beispiel: In einen schon geschriebenen Text, einen Nick einzufügen)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -374,32 +389,32 @@
** Werte: time, buffer, prefix, suffix, message (Standardwert: `message`)
* [[option_weechat.look.bar_more_down]] *weechat.look.bar_more_down*
** 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).`
** 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: `"++"`)
* [[option_weechat.look.bar_more_left]] *weechat.look.bar_more_left*
** 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).`
** 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: `"<<"`)
* [[option_weechat.look.bar_more_right]] *weechat.look.bar_more_right*
** 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).`
** 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: `">>"`)
* [[option_weechat.look.bar_more_up]] *weechat.look.bar_more_up*
** 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).`
** 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: `"--"`)
* [[option_weechat.look.buffer_notify_default]] *weechat.look.buffer_notify_default*
** Beschreibung: `Standardeinstellung der Benachrichtigungsstufe für Buffer (dies wird genutzt um WeeChat mitzuteilen ob der Buffer in der Hotlist angezeigt werden soll oder nicht, entsprechend der Wichtigkeit der Nachricht): all=alle Nachrichten (Standard), message=Nachrichten+Highlights, highlights=nur Highlights, none=Hotlist wird niemals angezeigt.`
** Beschreibung: `Standardeinstellung der Benachrichtigungsstufe für Buffer (dies wird genutzt um WeeChat mitzuteilen ob der Buffer in der Hotlist angezeigt werden soll oder nicht, entsprechend der Wichtigkeit der Nachricht): all=alle Nachrichten (Standard), message=Nachrichten+Highlights, highlights=nur Highlights, none=Hotlist wird niemals angezeigt`
** Typ: integer
** Werte: none, highlight, message, all (Standardwert: `all`)
* [[option_weechat.look.buffer_time_format]] *weechat.look.buffer_time_format*
** Beschreibung: `Format für die Zeitanzeige welche in jeder Zeile eines Buffers dargestellt wird (siehe man strftime für Platzhalter für das Datum und die Uhrzeit). Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen, zum Beispiel eine französische Uhr: "${lightblue}%H${white}%M${lightred}%S"`
** Beschreibung: `Format für die Uhrzeit, die in jeder Zeile eines Buffers dargestellt wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval). Beispiel: Uhrzeit in Graustufen (Unterstützung von 256 Farben notwendig): "${color:252}%H${color:245}%M${color:240}%S"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M:%S"`)
@@ -411,7 +426,7 @@
* [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer*
** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Buffer (betrifft Zeilen in einem zusammengefügt Buffer, welcher nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message*
** Beschreibung: `nutzt eine andere Farbe um die inaktiven Nachrichten darzustellen (Fenster ist nicht das aktuelle Fenster oder wenn die Zeile des zusammengefügten Buffers nicht die aktiv Zeile ist)`
@@ -436,7 +451,7 @@
* [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window*
** Beschreibung: `Textfarbe für Zeilen in einem inaktiven Fenster (betrifft das Fenster, welches nicht aktiv ist)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline*
** Beschreibung: `Nicks die Offline sind werden im Buffer in einer anderen Farbe dargestellt (dies betrifft Nicks, die nicht in der Nickliste vorhanden sind!)`
@@ -454,7 +469,7 @@
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.command_chars]] *weechat.look.command_chars*
** Beschreibung: `Bestimmt ein- oder mehrere Zeichen mit denen man ebenfalls einen Befehl ausführen kann. Zum Beispiel mittels ".$". Der Schrägstrich (slash: "/") ist ein reserviertes Zeichen und kann immer genutzt werden.`
** Beschreibung: `Bestimmt ein- oder mehrere Zeichen mit denen man ebenfalls einen Befehl ausführen kann. Zum Beispiel mittels ".$". Der Schrägstrich (slash: "/") ist ein reserviertes Zeichen und wird immer genutzt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -468,16 +483,26 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.day_change_time_format]] *weechat.look.day_change_time_format*
** Beschreibung: `Format für die Uhrzeit und das Datum, dass beim Datumswechsel angezeigt werden soll`
* [[option_weechat.look.day_change_message_1date]] *weechat.look.day_change_message_1date*
** Beschreibung: `Nachricht welche bei einem Datumswechsel angezeigt wird (zum Beispiel als erste Zeile im Buffer) (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y"`)
** Werte: beliebige Zeichenkette (Standardwert: `"-- %a, %d %b %Y --"`)
* [[option_weechat.look.day_change_message_2dates]] *weechat.look.day_change_message_2dates*
** Beschreibung: `Nachricht welche bei einem Datumswechsel angezeigt wird, dabei werden zwei Daten angegeben die zwischen zwei Nachrichten liegen; der zweite Platzhalter muss mit zwei "%" angegeben werden, da strftime auch zweimal aufgerufen wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden) (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"`)
* [[option_weechat.look.eat_newline_glitch]] *weechat.look.eat_newline_glitch*
** Beschreibung: `aktiviert man diese Option, dann wird "eat_newline_glitch" auf 0 gesetzt; dies bedeutet, dass am Ende einer Zeile kein Zeilenumbruch an gehangen wird und somit der Text beim kopieren aus WeeChat und beim einfügen in einer anderen Applikation nicht umgebrochen wird (diese Option ist standardmäßig deaktiviert, da es zu schwerwiegenden Grafikfehlern kommen kann)`
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.emphasized_attributes]] *weechat.look.emphasized_attributes*
** Beschreibung: `Attribute um Textpassagen hervorzuheben: Das setzen von ein- oder mehreren Attributen ist möglich ("*" für fett, "!" für invertiert, "_" für unterstrichen); falls die Option weechat.look.emphasized_attributes keinen Eintrag besitzt, werden die Farben genutzt die durch colors weechat.color.emphasized* definiert sind`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.highlight]] *weechat.look.highlight*
** Beschreibung: `eine durch Kommata getrennte Liste der hervorzuhebenden Wörter. Groß- und Kleinschreibung wird dabei standardmäßig nicht beachtet (um zwischen Groß-und Kleinschreibung zu unterscheiden muss am Wortanfang "(?-i)" genutzt werden). Schlagwörter können mit "*", als Joker, beginnen oder enden; Beipiel: "test,(?-i)*toto*,flash*"`
** Typ: Zeichenkette
@@ -533,6 +558,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `off`)
* [[option_weechat.look.hotlist_prefix]] *weechat.look.hotlist_prefix*
** Beschreibung: `Text der vor der Hotlist angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"H: "`)
* [[option_weechat.look.hotlist_short_names]] *weechat.look.hotlist_short_names*
** Beschreibung: `ist diese Option aktiviert, wird der Kurzname der zusammengefügten Buffer in der Hotlist dargestellt (die Darstellung geschieht nach dem ersten '.' im Namen)`
** Typ: boolesch
@@ -543,13 +573,18 @@
** Typ: integer
** Werte: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (Standardwert: `group_time_asc`)
* [[option_weechat.look.hotlist_suffix]] *weechat.look.hotlist_suffix*
** Beschreibung: `Text der am Ende der Hotlist angezeigt werden soll`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.look.hotlist_unique_numbers]] *weechat.look.hotlist_unique_numbers*
** Beschreibung: `die Nummer des Buffers wird nur einmal in der Hotlist angezeigt (diese Option kommt nur zum Tragen sofern KEINE Buffernamen angezeigt werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.input_cursor_scroll]] *weechat.look.input_cursor_scroll*
** Beschreibung: `Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird.`
** Beschreibung: `Anzahl an Zeichen die nach links verschoben werden sollen, falls das Ende der Eingabezeile erreicht wird`
** Typ: integer
** Werte: 0 .. 100 (Standardwert: `20`)
@@ -569,12 +604,12 @@
** Werte: 0 .. 65535 (Standardwert: `32`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** Beschreibung: `Zeichen mit welchem in der Bar-Item ("buffer_filter") signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist.`
** 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: `"*"`)
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime für Platzhalter für das Datum und die Uhrzeit)`
** Beschreibung: `Format für die Zeitanzeige des Bar-Items, "time" (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%H:%M"`)
@@ -593,6 +628,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.key_bind_safe]] *weechat.look.key_bind_safe*
** Beschreibung: `Es dürfen nur "geschützte" Tasten zugeordnet werden (Tasten, die mittels ctrl oder meta verwendet werden)`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.mouse]] *weechat.look.mouse*
** Beschreibung: `Mausunterstützung einschalten`
** Typ: boolesch
@@ -629,7 +669,7 @@
** Werte: -1 .. 2147483647 (Standardwert: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** Beschreibung: `Präfix, dass bei einer Action-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Beschreibung: `Präfix, dass bei einer Action-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `" *"`)
@@ -654,7 +694,7 @@
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_align_more_after]] *weechat.look.prefix_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
@@ -674,32 +714,32 @@
** Werte: beliebige Zeichenkette (Standardwert: `"+"`)
* [[option_weechat.look.prefix_buffer_align_more_after]] *weechat.look.prefix_buffer_align_more_after*
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt.`
** Beschreibung: `Das Zeichen welches zum Verkürzen angezeigt wird (Standardzeichen: "+"), nach dem Nick-Suffix darstellen (das vorhandene Leerzeichen wird ersetzt); wird diese Funktion deaktiviert, dann wird das Zeichen nach dem Nick dargestellt`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** Beschreibung: `Präfix, dass bei einer Fehler-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Beschreibung: `Präfix, dass bei einer Fehlernachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** Beschreibung: `Präfix, dass bei einer Join-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Beschreibung: `Präfix, dass bei einer Join-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** Beschreibung: `Präfix, dass bei einer Netzwerk-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Beschreibung: `Präfix, dass bei einer Netzwerknachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht angezeigt wird. Durch das Format "${Farbe}" ist es möglich eine Farbauswahl zu treffen.`
** Beschreibung: `Präfix, dass bei einer Quit-Nachricht genutzt wird (Hinweis: Inhalt wird evaluiert, somit kann mittels des Formats "${color:xxx} Farben gesetzt werden, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"<--"`)
* [[option_weechat.look.prefix_same_nick]] *weechat.look.prefix_same_nick*
** Beschreibung: `setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen darf keine Zeichenkette angegeben werden.`
** Beschreibung: `setzt ein Präfix welches anstelle des Nicks der Nachricht vorangestellt wird, sofern die vorherige Nachricht von dem selben Nick geschrieben wurde. Wird ein Leerzeichen (" ") genutzt, dann wird der Nachricht kein Präfix vorangestellt. Um diese Funktion zu deaktivieren und den Nick als Präfix zu nutzen darf keine Zeichenkette angegeben werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -754,12 +794,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.separator_horizontal]] *weechat.look.separator_horizontal*
** Beschreibung: `das angegebene Zeichen wird verwendet um die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Dies kann allerdings bei einigen Terminals zu Problemen führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt.`
** Beschreibung: `das angegebene Zeichen wird verwendet um die horizontalen Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Dies kann allerdings bei einigen Terminals zu Problemen führen, falls die URL Auswahl genutzt wird. Wide Chars sind für diese Option NICHT erlaubt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"-"`)
* [[option_weechat.look.separator_vertical]] *weechat.look.separator_vertical*
** Beschreibung: `das angegebene Zeichen wird verwendet um die vertikale Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Wide Chars sind für diese Option NICHT erlaubt.`
** Beschreibung: `das angegebene Zeichen wird verwendet um die vertikale Linien zu zeichnen. Wird kein Zeichen angegeben, dann zeichnet ncurses eine durchgängige Linie. Wide Chars sind für diese Option NICHT erlaubt`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
@@ -769,7 +809,7 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.time_format]] *weechat.look.time_format*
** Beschreibung: `Zeitstempel für das Datum. Der Zeitstempel wird in eine Zeichenkette umgewandelt und in Nachrichten dargestellt.`
** Beschreibung: `Format für das Datum, wenn dieses in eine Zeichenkette umgewandelt und in Nachrichten dargestellt wird (siehe man strftime, welche Platzhalter für das Datum und die Uhrzeit verwendet werden)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"%a, %d %b %Y %T"`)
@@ -798,6 +838,11 @@
** Typ: integer
** Werte: 1 .. 2147483647 (Standardwert: `30`)
* [[option_weechat.network.proxy_curl]] *weechat.network.proxy_curl*
** Beschreibung: `Name des Proxy welcher für URL Downloads mittels Curl genutzt werden soll (wird verwendet um das Inhaltsverzeichnis für Script-Erweiterung herunterzuladen oder in Skripten, welche die Funktion hook_process nutzen); der Proxy muss mit dem Befehl /proxy eingerichtet werden`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** Beschreibung: `durch Kommata getrennte Liste der Erweiterungen, die beim Programmstart automatisch geladen werden sollen; "*" lädt alle vorhandenen Erweiterungen. Beginnt der Name hingegen mit "!" wird die Erweiterung nicht geladen. Suchmuster können mit einem Joker ("*") beginnen oder enden um mehrere Erweiterungen zu laden (Beispiele: "*" oder "*,!lua,!tcl")`
** Typ: Zeichenkette
@@ -824,12 +869,12 @@
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen)`
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht nachdem die Erweiterungen geladen worden sind (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht, bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen)`
** Beschreibung: `Nach dem Start von WeeChat wird dieser Befehl aufgerufen. Dies geschieht bevor die Erweiterungen geladen werden (mehrere Befehle sind durch ";" zu trennen) (Hinweis: Inhalt wird evaluiert, siehe /help eval)`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
+5
View File
@@ -98,6 +98,11 @@
** Typ: integer
** Werte: 0 .. 256 (Standardwert: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** Beschreibung: `durch Kommata getrennte Liste von Schlagwörtern die für private Nachrichten genutzt werden sollen. Zum Beispiel: "notify_message", "notify_private" oder "notify_highlight"`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"notify_private"`)
* [[option_xfer.network.blocksize]] *xfer.network.blocksize*
** Beschreibung: `Blockgröße für versendete Pakete (in Bytes)`
** Typ: integer
+35
View File
@@ -0,0 +1,35 @@
*-a*, *--no-connect*::
deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat.
*-c*, *--colors*::
Zeigt die Standardfarben im Terminal an.
*-d*, *--dir* '<path>'::
legt den Konfigurationsordner für WeeChat fest (Voreinstellung: ~/.weechat) in
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden.
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
*-h*, *--help*::
zeigt einen Hilfstext an.
*-l*, *--license*::
zeigt die Lizenz von WeeChat an.
*-p*, *--no-plugin*::
unterbindet das Laden der Erweiterungen beim Programmstart.
*-r*, *--run-command* '<command>'::
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde
(mehrere Befehle müssen durch Kommata voneinander getrennt werden).
*-s*, *--no-script*::
Skripten werden beim Programmstart nicht geladen.
*--upgrade*::
führt ein WeeChat Upgrade mittels Sitzungsdateien, die mit dem Befehl `/upgrade -quit` erstellt wurden, durch.
*-v*, *--version*::
zeigt die Version von WeeChat an.
*plugin:option*::
Option für Erweiterung.
+116
View File
@@ -0,0 +1,116 @@
WEECHAT(1)
==========
:doctype: manpage
NAME
----
weechat - der erweiterbare Chat Client
SYNOPSIS
--------
[verse]
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
'weechat' [-c|--colors]
'weechat' [-h|--help]
'weechat' [-k|--keys]
'weechat' [-l|--license]
'weechat' [-v|--version]
BESCHREIBUNG
------------
WeeChat ist ein schneller, leichter und erweiterbarer Chat Client.
Der Client ist modular aufgebaut (ein kleiner Kern mit nachladbaren Erweiterungen),
Multiprotokollfähig (IRC und Jabber),erweiterbar mittels C und durch Skripten, wobei
verschiedenen Sprachen unterstützt werden.
OPTIONEN
--------
include::cmdline_options.de.txt[]
OPTIONEN von ERWEITERUNGEN
--------------------------
Um eine vollständige Dokumentation der Optionen zu erhalten, siehe
http://weechat.org/doc[WeeChat user's guide].
Mittels der IRC Erweiterung kann man sich zu einen temporären Server, mittels einer URL,
verbinden lassen:
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
Um dem WeeChat IRC Support-Channel, mit dem Nick "mynick", beizutreten:
irc://mynick@irc.freenode.net/#weechat
Um eine IPv6 Adresse zu nutzen, muss diese in eckige Klammern gesetzt werden:
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
DATEIEN
-------
$HOME/.weechat/weechat.conf::
WeeChats Konfigurationsdatei
$HOME/.weechat/plugins.conf::
Konfigurationsdatei für Erweiterungen
$HOME/.weechat/alias.conf::
Konfigurationsdatei für 'alias' Erweiterung
$HOME/.weechat/aspell.conf::
Konfigurationsdatei für 'aspell' Erweiterung
$HOME/.weechat/charset.conf::
Konfigurationsdatei für 'charset' Erweiterung
$HOME/.weechat/irc.conf::
Konfigurationsdatei für 'irc' Erweiterung
$HOME/.weechat/logger.conf::
Konfigurationsdatei für 'logger' Erweiterung
$HOME/.weechat/relay.conf::
Konfigurationsdatei für 'relay' Erweiterung
$HOME/.weechat/rmodifier.conf::
Konfigurationsdatei für 'rmodifier' Erweiterung
$HOME/.weechat/script.conf::
Konfigurationsdatei für 'script' Erweiterung
$HOME/.weechat/xfer.conf::
Konfigurationsdatei für 'xfer' Erweiterung
$HOME/.weechat/weechat.log::
WeeChat Protokolldatei
AUTOREN
-------
WeeChat ist programmiert von Sébastien Helleu und Beitragenden (eine vollständige Auflistung
findet man in der AUTHORS Datei).
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Please read the COPYING file for more information.
Web: <http://weechat.org/>
FEHLER MELDEN
-------------
Fehlerbeschreibungen oder Vorschläge für neue Funktionen können auf
der Savannah Webseite hinterlegt werden:
* Fehler: <http://savannah.nongnu.org/bugs/?group=weechat>
* Feature-Request: <http://savannah.nongnu.org/task/?group=weechat>
+43 -45
View File
@@ -26,32 +26,10 @@ Aber dieses trifft nicht auf WeeChat zu!)
Weshalb sollte man WeeChat nutzen? - X-Chat und Irssi sind doch auch sehr gut...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weil WeeChat schlank ist und neue Funktionen besitzt.
Einige Funktionen (Version ≥ 0.3.x):
* Unterstützung verschiedener Protokolle durch Erweiterungen (IRC, Jabber)
* mehrere Remote GUIs als Ergänzung zu Curses (in Kürze)
* Unterstützung von 256 Farben
* in mehreren Sprachen verfügbar
* den eigenen Bedürfnissen durch Erweiterungen anpassbar (C, Perl, Python, Ruby, Lua, Tcl)
* Buffer mit unabhängigem Inhalt
* Filterung der Anzeige mittels Tags und regulären Ausdrücken
* horizontale und vertikale Einteilung der Fenster
* anpassbare und erweiterbare Leisten
* native Nickliste
* Auflistung von Buffern (mittels dem Skript buffers.pl)
* IRC Proxy
* Umleitung von IRC Befehlen
* inkrementelle Textsuche in Buffern, zu Highlights springen
* FIFO Pipe für Fernsteuerung
* Unterstützung von Aspell
* Doppelter Zeichensatz (Kodierung/Dekodierung)
* Neuentwicklung (basiert auf keinem anderen Programm)
* lauffähig auf einer Vielzahl von Plattformen
* 100% GPL und Frei
WeeChat ist sehr Speicher schonend und besticht durch innovative Funktionen.
Weitere Informationen gibt es auf der folgenden Internetseite:
http://www.weechat.org/features
http://weechat.org/about/features
[[compilation_install]]
Kompilierung / Installation
@@ -61,10 +39,12 @@ Kompilierung / Installation
Ich habe gehört es gibt mehrere GUIs für WeeChat. Wie kann ich diese kompilieren bzw. nutzen?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Zur Zeit ist nur eine GUI, für Curses, verfügbar.
Folgende GUIs sind verfügbar:
Andere GUIs (zur Zeit in der Entwicklung) werden als Remote Clients verfügbar
sein.
* http://weechat.org/download/devel[QWeeChat] (Qt)
* https://github.com/ubergeek42/weechat-android[weechat-android] (Android)
* https://github.com/the-kenny/weechat.el[weechat.el] (Emacs)
* https://github.com/eirikb/weecloud[weecloud] (Web)
[[compile_git]]
Ich kann WeeChat nach Cloning des git Repository nicht kompilieren - weshalb?
@@ -103,26 +83,28 @@ Anzeige
Teilweise fehlen den Zeichen die Akzente. Wie kann ich das korrigieren?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dies ist ein bekanntes Problem. Aus diesem Grund sollte der nachfolgende Text
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten durchgeführt
Dies ist ein bekanntes Problem. Aus diesem Grund sollten die folgenden Punkte
sorgfältig durchgelesen und *alle* aufgezeigten Lösungsmöglichkeiten überprüft
werden:
* überprüfe, ob weechat-curses mit libncursesw verlinkt ist (Warnung: Dies ist bei den
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat-curses`
* überprüfe, ob weechat mit libncursesw verlinkt ist (Warnung: Dies ist bei den
meisten Distributionen nötig - jedoch nicht bei allen): `ldd /path/to/weechat`
* prüfe mit dem Befehl `/plugin`, ob die "Charset" Erweiterung geladen ist (falls
dies nicht der Fall sein sollte benötigst Du wahrscheinlich noch das Paket "weechat-plugins")
* überprüfe die Ausgabe des `/charset` Befehls (im Server-Buffer). Du solltest
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz als Antwort erhalten. Falls Du
'ANSI_X3.4-1968' oder einen anderen Wert angezeigt bekommen solltest, ist Deine Einstellung der
locale möglicherweise falsch.
'ISO-XXXXXX' oder 'UTF-8' für den Terminal Zeichensatz als Antwort erhalten. Falls
'ANSI_X3.4-1968' oder einen anderer Wert angezeigt werden sollte, ist Deine lokale
Einstellung möglicherweise falsch.
* Einstellen des globalen decode Wertes, z.B.:
`/set charset.default.decode "ISO-8859-15"`
* Falls Du UTF-8 locale nutzt:
* Falls Du UTF-8 lokal nutzt:
** prüfe, ob Dein Terminal überhaupt UTF-8 fähig ist (der empfohlene Terminal für UTF-8
ist rxvt-unicode)
** Solltest Du screen nutzten, prüfe ob dieser im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum Starten von
** Solltest Du screen nutzten, prüfe ob screen im UTF-8 Modus läuft
("`defutf8 on`" in der Datei ~/.screenrc oder `screen -U` zum starten von
screen)
* überprüfe die Option 'weechat.look.eat_newline_glitch' (diese Option kann zu
Darstellungsfehlern führen, wenn sie aktiviert ist)
[NOTE]
Für Weechat wird die Nutzung von UTF-8 locale empfohlen. Nutzt Du jedoch ISO
@@ -298,7 +280,7 @@ Zeilen angefügt (dies führt dazu, dass URLs beim Markieren korrekt erkannt wer
Bei der Nutzung dieser Option kann es zu Darstellungsfehlern kommen. Sollte dies
auftreten, sollte diese Option wieder deaktiviert werden.
Eine weitere Möglichkeit ist, ein Skript zu nutzen: http://www.weechat.org/scripts/stable/tag/url
Eine weitere Möglichkeit ist, ein Skript zu nutzen: http://weechat.org/scripts/stable/tag/url
[[change_locale_without_quit]]
Ich möchte die Meldungen von Weechat in einer anderen Sprache ausgeben lassen, ohne WeeChat zu beenden. Ist dies möglich?
@@ -545,6 +527,22 @@ Connect durchführen:
/connect freenode
----------------------------------------
[[irc_oauth]]
Wie stellt man eine Verbindung zu einem Server her, der "oauth" verlangt?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Einige Server, wie z.B. 'twitch', verlangen oauth für eine Verbindung.
Bei oauth handelt es sich lediglich um ein Passwort mit dem Format "oauth:XXXX".
Mit folgenden Befehlen kann man einen Server erstellen und sich mit diesem
verbinden (Name und Adresse muss durch entsprechende Werte ersetzt werden):
----------------------------------------
/server add name irc.server.org -password="oauth:XXXX"
/connect name
----------------------------------------
[[irc_sasl]]
Wie kann ich mich, vor dem Betreten von Channels, identifizieren?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -716,7 +714,7 @@ Beim Skript 'launcher.pl' müssen noch die Befehle angepasst werden:
/set plugins.var.perl.launcher.signal.weechat_highlight "/Pfad/zum/Befehl Argumente"
----------------------------------------
andere Skripten die auch zu diesem Thema passen: http://www.weechat.org/scripts/stable/tag/notify/
andere Skripten die auch zu diesem Thema passen: http://weechat.org/scripts/stable/tag/notify/
[[irc_target_buffer]]
Wie kann ich bei zusammengefügten Buffern den Zielbuffer ändern (z.B. bei einem Server-Buffer)?
@@ -796,7 +794,7 @@ Es gibt drei Möglichkeiten:
* Einen Verbesserungsvorschlag machen: https://savannah.nongnu.org/task/?group=weechat
* Einen Patch einsenden: https://savannah.nongnu.org/patch/?group=weechat
. Du kannst den Entwicklern mailen, entsprechende Mail-Adressen auf der Supportseite:
http://www.weechat.org/about
http://weechat.org/dev/support
(Um emails an die "support" Mailing-Liste zu schicken, kannst Du diese abonnieren)
[[gdb_error_threads]]
@@ -806,7 +804,7 @@ Wenn man WeeChat in gdb startet kann ein Thread-Fehler auftreten. Was beudeutet
Falls man WeeChat in gdb ausführt kann folgende Fehlermeldung erscheinen:
----------------------------------------
$ gdb /Pfad/zu/weechat-curses
$ gdb /Pfad/zu/weechat
(gdb) run
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
@@ -816,7 +814,7 @@ Um diesen Fehler zu beheben sollte man gdb wie folgt aufrufen (der Pfad zu
libpthread und WeeChat muss natürlich an das eigene System angepasst werden):
----------------------------------------
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat
(gdb) run
----------------------------------------
@@ -824,7 +822,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /Pfad/zu/weechat-curses
Auf welchen Plattformen läuft WeeChat und wird es noch auf andere Betriebssystemen portiert?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eine vollständige Liste der Portierungen findest Du unter: http://www.weechat.org/download
Eine vollständige Liste der Portierungen findest Du unter: http://weechat.org/download
Wir geben unser Bestes um WeeChat auf möglichst viele Plattformen zu portieren.
Aber um WeeChat auf fremden Betriebssystemen zu testen, zu denen wir keinen Zugang haben,
@@ -837,11 +835,11 @@ Ich möchte den Entwicklern von WeeChat helfen. Was kann ich tun?
Es gibt einiges zu tun z.B. testen, programmieren, Dokumentation, ...
Bitte kontaktiere uns via IRC oder email, schaue auf die Support-Seite:
http://www.weechat.org/support
http://weechat.org/dev/support
[[donate]]
Kann ich Geld oder anderes an die WeeChat Entwickler spenden?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Du kannst uns Geld zur Unterstützung der weiteren Entwicklung spenden.
Details hierzu gibt es auf: http://www.weechat.org/donate
Details hierzu gibt es auf: http://weechat.org/about/donate
+3 -3
View File
@@ -14,7 +14,7 @@ Probleme mit der Standard Tastaturbelegung).
Starte aus Deiner shell:
----------------------------------------
$ weechat-curses
$ weechat
----------------------------------------
@@ -324,7 +324,7 @@ Erweiterungen werden -sofern welche gefunden worden sind- automatisch geladen (B
die Dokumentation zum installieren/entfernen von Erweiterungen und/oder Skripten).
Viele externe Skripten (der Mitarbeitenden) sind für WeeChat verfügbar, siehe:
http://www.weechat.org/scripts
http://weechat.org/scripts
Skripten können mit dem Befehl `/script` verwaltet werden (siehe `/help script` für
weitere Informationen zur Bedienung).
@@ -335,6 +335,6 @@ Weitere Dokumentation
---------------------
Nun kannst Du WeeChat nutzen, für weitere Fragen lese die FAQ und/oder Dokumentation:
http://www.weechat.org/doc
http://weechat.org/doc
Viel Spass mit WeeChat!
+7 -7
View File
@@ -6,7 +6,7 @@ Sébastien Helleu <flashcode@flashtux.org>
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
Die aktuelle Version dieser Anleitung finden Sie auf:
http://www.weechat.org/doc
http://weechat.org/doc
[[introduction]]
@@ -549,15 +549,15 @@ Die print Funktion heißt in Perl/Ruby/Lua/Tcl `print`. In Python lautet die Fun
Text in einen Buffer senden
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sie können einen Text oder einen Befehl zu einem Buffer senden. Dies entspricht exakt dem
Verhalten als ob Sie einen Text oder einen Befehl in der Befehlszeile eingeben und diesen
mit der [Enter] Taste bestätigen.
Sie können einen Text oder einen Befehl in einen Buffer senden. Dies entspricht exakt dem
Verhalten als ob Sie einen Text oder einen Befehl in die Befehlszeile eingeben und selbigen
mit der [Eingabe] Taste bestätigen.
Beispiele:
[source,python]
----------------------------------------
# führt den Befehl "/help" im Core Buffer aus
# führt den Befehl "/help" im aktuellen Buffer aus (die Ausgabe erfolgt im Core-Buffer)
weechat.command("", "/help")
# sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht)
@@ -751,12 +751,12 @@ def weechat_process_cb(data, command, rc, out, err):
weechat.prnt("", "aktuelle stabile WeeChat-Version: %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://weechat.org/info/stable/",
weechat.hook_process("url:http://weechat.org/dev/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
Alle Informationen die WeeChat betreffen findet man auf: http://weechat.org/info
Alle Informationen die WeeChat betreffen findet man auf: http://weechat.org/dev/info
Beispiel eines URL Transfers, mit zusätzliche Optionen: Es wird das neuste
WeeChat Entwicklerpaket in die Datei '/tmp/weechat-devel.tar.gz' gesichert:
+19 -15
View File
@@ -41,7 +41,9 @@ zu lokalisieren.
Falls Du die 'bash' als shell benutzt, dann ergänze Deine `~/.bashrc` durch folgende
Zeile:
ulimit -c unlimited
----------------------------------------
ulimit -c unlimited
----------------------------------------
[[download]]
@@ -64,47 +66,47 @@ Beschaffe und baue die Quellen
Erstelle zuerst einen neuen Ordner, z.B. 'weechat-git':
---------------------
----------------------------------------
$ mkdir ~/weechat-git
$ cd ~/weechat-git
---------------------
----------------------------------------
Falls Du git installiert hast, clone das git Repository (empfohlen):
--------------------------------------------
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
$ cd weechat
--------------------------------------------
----------------------------------------
NOTE: Um auf den aktuellen Stand zu kommen verwendest Du z.B. "`git pull`" in
diesem Ordner.
Ansonsten kannst Du das 'Entwickler-Paket' herunterladen und entpacken:
-----------------------------------------------------------------
----------------------------------------
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
$ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
-----------------------------------------------------------------
----------------------------------------
Um die Quellen zu übersetzen, wird cmake empfohlen:
--------------------------------------------------------------
----------------------------------------
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
$ make
$ make install
--------------------------------------------------------------
----------------------------------------
Falls Du cmake nicht hast, ist es auch möglich die autotools zu nutzen:
----------------------------------------------------------
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
$ make
$ make install
----------------------------------------------------------
----------------------------------------
[[install_binary_package]]
Installieren des Programm-Paketes
@@ -112,7 +114,7 @@ Installieren des Programm-Paketes
Abhängig Deiner Linux Distribution:
* Debian: http://debian.flashtux.org/
* Gentoo: http://www.weechat.org/download
* Gentoo: http://weechat.org/download
* ArchLinux: PKGBUILD von http://aur.archlinux.org/
* andere: Wissen wir nicht! Eheh.
@@ -126,7 +128,9 @@ starten (nicht mit dem Ordner der stabilen Version).
Die Befehlszeile lautet:
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
----------------------------------------
$ ~/weechat-git/bin/weechat
----------------------------------------
Immer noch munter? Dann solltest Du jetzt das bekannte Interface sehen und nun
prahle vor Anderen, dass Du die neueste WeeChat-Version verwendest :)
+391 -122
View File
@@ -6,7 +6,7 @@ Sébastien Helleu <flashcode@flashtux.org>
Diese Anleitung beschreibt den WeeChat Chat Client und ist Teil von WeeChat.
Die aktuelle Version dieser Anleitung finden Sie auf:
http://www.weechat.org/doc
http://weechat.org/doc
[[introduction]]
@@ -34,7 +34,7 @@ wesentliche Merkmale:
* Betriebssystemunabhängig (GNU/Linux, *BSD, MacOS X, Windows und weitere)
* 100% GPL, freie Software
Die WeeChat Homepage findet man unter: http://www.weechat.org/
Die WeeChat Homepage findet man unter: http://weechat.org/
[[pre-requisites]]
Vorbereitung
@@ -86,24 +86,26 @@ welche Pakete optional genutzt werden können.
[width="100%",cols="5,^3,^3,13",options="header"]
|========================================
| Paket ^(1)^ | Version | benötigt | Funktion
| cmake | | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
| libncursesw5-dev ^(2)^ | | *ja* | ncurses Oberfläche
| libcurl4-gnutls-dev | | *ja* | URL Transfer
| zlib1g-dev | | *ja* | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden
| libgcrypt11-dev | | *ja* | IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Skript-Erweiterung
| libgnutls-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
| ca-certificates | | | Zertifikate für SSL Verbindungen
| libaspell-dev | | | aspell Erweiterung
| python-dev | ≥ 2.5 ^(3)^ | | python Erweiterung
| libperl-dev | | | perl Erweiterung
| ruby1.9.1-dev | ≥ 1.8 | | ruby Erweiterung
| liblua5.1-0-dev | | | lua Erweiterung
| tcl-dev | ≥ 8.5 | | tcl Erweiterung
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) Erweiterung
| asciidoc | ≥ 8.5.0 | | erstellt Dokumentation (HTML Dateien)
| source-highlight | | | Syntax Highlight für Quelltext in HTML Dokumentation
| Paket ^(1)^ | Version | benötigt | Funktion
| cmake | | *ja* | Zum kompilieren (autotools ist möglich. cmake wird aber empfohlen)
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche
| libcurl4-gnutls-dev | | *ja* | URL Transfer
| zlib1g-dev | | *ja* | Kompression für Pakete, die mittels Relay- (WeeChat Protokoll), Script-Erweiterung übertragen werden
| libgcrypt11-dev | | *ja* | Geschützte Daten, IRC SASL Authentifikation (DH-BLOWFISH/DH-AES), Skript-Erweiterung
| libgnutls-dev | ≥ 2.2.0 | | SSL Verbindung zu einem IRC Server, Unterstützung von SSL in der Relay-Erweiterung
| gettext | | | Internationalisierung (Übersetzung der Mitteilungen; Hauptsprache ist englisch)
| ca-certificates | | | Zertifikate für SSL Verbindungen
| libaspell-dev oder libenchant-dev | | | Aspell Erweiterung
| python-dev | ≥ 2.5 ^(3)^ | | Python Erweiterung
| libperl-dev | | | Perl Erweiterung
| ruby1.9.1-dev | ≥ 1.8 | | Ruby Erweiterung
| liblua5.1-0-dev | | | Lua Erweiterung
| tcl-dev | ≥ 8.5 | | Tcl Erweiterung
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) Erweiterung
| asciidoc | ≥ 8.5.0 | | Zum Erstellen der man page und der Dokumentation
| source-highlight | | | Syntax Highlight für Quelltext in Dokumentation
| xsltproc,
docbook-xml, docbook-xsl | | | Erstellt man page
|========================================
[NOTE]
@@ -138,6 +140,121 @@ $ make
$ make install
----------------------------------------
Optionen für cmake können mit dem Format, "-DOPTION=VALUE", genutzt werden.
Liste von häufig verwendeten Optionen:
[width="100%",cols="2m,2,5m,12",options="header"]
|========================================
| Option | Wert | Standardwert | Beschreibung
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
Art des builds: `Debug` (oder `RelWithDebInfo`) sollte verwendet werden, wenn meine eine Entwicklerversion
von WeeChat nutzt.
| PREFIX | Verzeichnis | /usr/local |
Verzeichnis in welchem WeeChat installiert wird.
| WEECHAT_HOME | Verzeichnis | ~/.weechat |
Standard-Verzeichnis in welchem die Daten liegen.
| CA_FILE | Datei | /etc/ssl/certs/ca-certificates.crt |
Datei enthält die Zertifizierungen.
This is the default value of option
<<option_weechat.network.gnutls_ca_file,weechat.network.gnutls_ca_file>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
kompiliert <<alias_plugin,Alias Erweiterung>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
kompiliert <<aspell_plugin,Aspell Erweiterung>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
kompiliert <<charset_plugin,Charset Erweiterung>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
kompiliert man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
kompiliert Dokumentation (dies ist sehr zeitintensiv und wird nur empfohlen falls
Binärpakete erstellt werden, die die Dokumentation beinhalten sollen, oder man die
Dokumentation nicht auf der Homepage abrufen kann).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
kompiliert <<aspell_plugin,Aspell plugin>> mittels Enchant.
| ENABLE_FIFO | `ON`, `OFF` | ON |
kompiliert <<fifo_plugin,Fifo Erweiterung>>.
| ENABLE_GNUTLS | `ON`, `OFF` | ON |
kompiliert Gnutls (für SSL).
| ENABLE_GUILE | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Guile Erweiterung>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
kompiliert <<irc_plugin,IRC Erweiterung>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Unterstützung großer Dateien.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
kompiliert <<logger_plugin,Logger Erweiterung>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Lua Erweiterung>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
kompiliert Ncurses Oberfläche.
| ENABLE_NLS | `ON`, `OFF` | ON |
aktiviert NLS (Übersetzungen).
| ENABLE_PERL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Perl Erweiterung>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Python Erweiterung>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
kompiliert <<scripts_plugins,Python Erweiterung>> mittels Python 3 (dies wird *NICHT* empfohlen,
da viele Skripten nicht kompatible mit Python 3 sind).
| ENABLE_RELAY | `ON`, `OFF` | ON |
kompiliert <<relay_plugin,Relay Erweiterung>>.
| ENABLE_RMODIFIER | `ON`, `OFF` | ON |
kompiliert <<rmodifier_plugin,Rmodifier Erweiterung>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Ruby Erweiterung>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Script Erweiterung>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Skripten-Erweiterungen>> (Python, Perl, Ruby, Lua, Tcl,
Guile).
| ENABLE_TCL | `ON`, `OFF` | ON |
kompiliert <<scripts_plugins,Tcl Erweiterung>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
kompiliert <<xfer_plugin,Xfer Erweiterung>>.
|========================================
Weitere Optionen können mit folgendem Befehl angezeigt werden:
----------------------------------------
$ cmake -LA
----------------------------------------
oder mittels der Curses-Oberfläche:
----------------------------------------
$ ccmake ..
----------------------------------------
[[compile_with_autotools]]
Kompilieren mit autotools
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -166,6 +283,13 @@ $ make
$ make install
----------------------------------------
Die Optionen können auch für das 'configure' Skript verwendet und mittels
folgendem Befehl angezeigt werden:
----------------------------------------
$ ./configure --help
----------------------------------------
[[git_sources]]
Git Quellen
~~~~~~~~~~~
@@ -241,16 +365,16 @@ Falls WeeChat abstürzen sollte wird auf Ihrem System eine 'core' bzw. 'core.123
Diese Datei wird in dem Verzeichnis erzeugt aus welchem Sie WeeChat gestartet haben (dies
ist *nicht* das Verzeichnis in welchem sich WeeChat befindet!).
Beispiel: 'weechat-curses' ist installiert in '/usr/bin/' und die 'core' Datei befindet sich
Beispiel: 'weechat' ist installiert in '/usr/bin/' und die 'core' Datei befindet sich
in '/home/xxx/'. Nun wird gdb mit folgendem Befehl aufgerufen:
----------------------------------------
gdb /usr/bin/weechat-curses /home/xxx/core
gdb /usr/bin/weechat /home/xxx/core
----------------------------------------
[NOTE]
Ist das Binärpaket 'weechat-dbg' (z.B. Debian) installiert dann sollte dieser Pfad zum
starten von WeeChat genutzt werden: '/usr/lib/debug/usr/bin/weechat-curses'
starten von WeeChat genutzt werden: '/usr/lib/debug/usr/bin/weechat'
Nun startet man 'gdb' und führt den Befehl `bt full` innerhalb gdb aus um die Fehlermeldung
auszugeben. Eine Fehlermeldung von gdb sieht z.B. wie folgt aus:
@@ -291,10 +415,10 @@ Eine laufende Session von WeeChat debuggen
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):
die PID des laufenden weechat Prozesses ersetzt werden):
----------------------------------------
gdb /usr/bin/weechat-curses 12345
gdb /usr/bin/weechat 12345
----------------------------------------
Sollte WeeChat abgestürzt sein, muss der Befehl `bt full` genutzt werden:
@@ -313,46 +437,12 @@ WeeChat starten
Befehlszeile:
-a, --no-connect::
deaktiviert das automatische Verbinden mit den Servern beim Start von WeeChat.
-c, --colors::
Zeigt die Standardfarben im Terminal an.
-d, --dir 'path'::
legt den Konfigurationsordner für WeeChat fest (Voreinstellung: ~/.weechat) in
dem die Erweiterungen, Skripten, Protokolldateien etc.pp. gesichert werden.
Sollte das Verzeichnis nicht existieren wird es beim Start angelegt.
-h, --help::
zeigt einen Hilfstext an.
-k, --keys::
zeigt die Standard-Tastaturbelegung an.
-l, --license::
zeigt die Lizenz von WeeChat an.
-p, --no-plugin::
unterbindet das Laden der Erweiterungen beim Programmstart.
-r, --run-command::
startet einen oder mehrere Befehle, nachdem WeeChat gestartet wurde
(mehrere Befehle müssen durch Kommata voneinander getrennt werden).
-s, --no-script::
Skripten werden beim Programmstart nicht geladen.
-v, --version::
zeigt die Version von WeeChat an.
plugin:option::
Option für Erweiterung (siehe Dokumentation für weitere Einzelheiten).
include::cmdline_options.de.txt[]
Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
----------------------------------------
$ weechat-curses
$ weechat
----------------------------------------
Wird WeeChat zum ersten mal gestartet wird eine Konfigurationsdatei
@@ -417,7 +507,7 @@ Die 'status'-Bar besitzt als Standardeinträge:
| time | [12:55] | Uhrzeit
| buffer_count | [6] | Anzahl der geöffneten Buffer
| buffer_plugin | [irc/freenode] | Erweiterung des aktuellen Buffers (IRC Erweiterung setzt den IRC Servername für den Buffer)
| buffer_number | 3 | aktuelle Nummer des Buffers
| buffer_number | 3 | Aktuelle Nummer des Buffers
| buffer_name | #test | Name des aktuellen Buffers
| buffer_modes | +n | IRC Channel-Modi
| buffer_nicklist_count | {4} | Anzahl der Nicks in Nickliste
@@ -434,9 +524,9 @@ In der 'input' Bar lautet die Standardeinstellung:
|========================================
| Item | Beispiel | Beschreibung
| input_paste | [Paste 7 lines ? [ctrl-Y] Ja [ctrl-N] Nein] | Nachfrage ob sieben Zeilen eingefügt werden sollen
| input_prompt | [@Flashy] | input prompt (Nickname für den IRC)
| input_prompt | [@Flashy] | Input prompt (Nickname für den IRC)
| away | (away) | Abwesenheitsanzeige
| input_search | [Text search] | Textsuche
| input_search | [Search (~ str,msg)] | Suchindikatoren ("`~`": Groß-und Kleinschreibung ignorieren, "`==`": Groß-und Kleinschreibung berücksichtigen, "`str`": einfache Textsuche, "`regex`": suche mit regulären Ausdrücken, "`msg`": Suche in Nachrichten, "`pre`": Suche in Präfix, "`pre\|msg`": Suche in Präfix und Nachrichten)
| input_text | hi peter! | Text der eingegeben wird
|========================================
@@ -639,11 +729,15 @@ Items
Die Option 'items' ist ein String, mit einer Anzahl von Bar-Items. Diese werden
durch Komma voneinander getrennt (auf dem Bildschirm wird das Komma durch ein
Leerzeichen ersetzt) oder man nutzt ein "+" (Item werden ohne Leerzeichen
angezeigt).
Leerzeichen ersetzt). Möchte man die Items ohne Leerzeichen darstellen, nutzt
man ein "+", zwischen den Items.
Eine Liste von Bar-Items kann man sich mit dem Befehl `/bar listitems` anzeigen lassen.
Vor oder nach dem Item können Zeichen eingefügt werden. Diese dürfen nicht alphanumerisch,
"-" oder "_" sein. Die Zeichen werden mit der entsprechenden Farbe, für Trennzeichen,
dargestellt (Option 'color_delim').
Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
@@ -652,11 +746,26 @@ Beispiel einer Bar mit den Items, "[time],buffer_number+:+buffer_plugin+.+buffer
└─────────────────────────────────────────────────────────────────────────────────────────┘
........................................
Eine Besonderheit stellt die Möglichkeit dar, ein Item eines bestimmten Buffers
anzuzeigen. Syntax: "@buffer:item" ("buffer" ist der vollständige Name des Buffers
und "item" der Name der Bar-Item)
Dies ist für root-Bars sinnvoll, um gezielt ein Item eines bestimmten Buffers
anzuzeigen, welcher nicht im aktuellen Fenster oder überhaupt nicht sichtbar
ist.
Beispiel: Nickliste von bitlbee permanent in einer root-Bar darstellen (die Bar
heißt hierbei 'bitlist' und der Name des bitlbee Servers 'bitlbee'):
----------------------------------------
/set weechat.bar.bitlist.items "@irc.bitlbee.&bitlbee:buffer_nicklist"
----------------------------------------
[[bar_filling]]
Darstellung innerhalb einer Bar
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Es gibt vier Möglichkeiten Text innerhalb einer Bar darzustellen:
Es gibt folgende vier Möglichkeiten um Text innerhalb einer Bar darzustellen:
* `horizontal`: die Items werden horizontal, von links nach rechts, dargestellt.
Sollten neue Zeilen dargestellt werden, dann werden diese durch ein Leerzeichen
@@ -741,7 +850,7 @@ kann nur für Bars vom Typ 'window' genutzt werden).
Folgende Zeichenketten sind möglich:
* 'active': das Fenster muss das aktive Fenster sein
* 'active' : das Fenster muss das aktive Fenster sein
* 'inactive': das Fenster muss das inaktive Fenster sein
* 'nicklist': der Buffer der in einem Fenster dargestellt wird, muss eine
Nickliste anzeigen.
@@ -750,7 +859,7 @@ Folgende Zeichenketten sind möglich:
Für den Ausdruck sind folgende Variablen verfügbar:
* `${active}`: wahr, wenn Fenster aktiv ist
* `${active}` : wahr, wenn Fenster aktiv ist
* `${inactive}`: wahr, wenn Fenster inaktiv ist
* `${nicklist}`: wahr, wenn der Buffer im Fenster eine Nicklist anzeigt.
@@ -790,7 +899,6 @@ der entsprechende Buffer in der Hotlist angezeigt werden soll.
Der Wert für die Benachrichtigungsstufe kann mittels folgender Option festgelegt
werden:
The default notify level can be set using option
<<option_weechat.look.buffer_notify_default,weechat.look.buffer_notify_default>>,
Der Standardwert ist 'all'.
@@ -803,14 +911,14 @@ Der Standardwert ist 'all'.
| all | 'highlight' + 'private Nachrichten' + 'normal Nachrichten' + 'Nachrichten mit einer niedrigen Priorität'
|========================================
Benachrichtigungsstufen können für mehrere Buffer definiert werden, zum Beispiel
Benachrichtigungsstufen können für mehrere Buffer definiert werden. Zum Beispiel
für alle Buffer des IRC Servers "freenode":
----------------------------------------
/set weechat.notify.irc.freenode message
----------------------------------------
Setzt die Benachrichtigungsstufe, ausschließlich für den Channel "#weechat",
Setzt die Benachrichtigungsstufe ausschließlich für den Channel "#weechat",
auf die Stufe 'highlight':
----------------------------------------
@@ -949,7 +1057,9 @@ in einem Buffer nach einem Text zu suchen).
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|========================================
| Taste | Beschreibung | Befehl
| @k(C-)@k(r) | auf Groß-/Kleinschreibung umschalten | /input search_switch_case
| @k(C-)@k(r) | Wechsel des Suchmodus: einfache Textsuche (Standard), reguläre Ausdrücke | /input search_switch_regex
| @k(A-)@k(c) | auf Groß-/Kleinschreibung umschalten | /input search_switch_case
| @k(Tab) | wechselt Suche in: Nachricht (Standard), im Präfix, Präfix + Nachricht | /input search_switch_where
| @k(↑) | sucht vorheriger Zeile | /input search_previous
| @k(↓) | sucht nächste Zeile | /input search_next
| @k(Enter) .3+| Suche abbrechen .3+| /input search_stop
@@ -1094,10 +1204,10 @@ 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
| 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
|========================================
@@ -1138,7 +1248,7 @@ Bespiele von Ereignissen:
* `ctrl-alt-wheeldown`
[TIP]
Wird eine Funktion im "mouse"-Kontext hinzufügt ist es möglich mehrere Mausereignisse
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.
@@ -1267,7 +1377,7 @@ was die Farbdarstellung in WeeChat betrifft:
können lediglich 256 Farbpaare durch WeeChat genutzt werden, dies ist eine Einschränkung
von ncurses.
Mittels `weechat-curses --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
Mittels `weechat --colors` oder dem internen WeeChat-Befehl `/color` kann man sich
die Einschränkungen für die jeweilige Umgebungsvariable anzeigen lassen.
Folgende Werte sind für die 'TERM'-Umgebungsvariable zu empfehlen, sofern man 256 Farben
@@ -1306,22 +1416,22 @@ Basisfarben in WeeChat sind:
|========================================
| Name | Farbe
| default | Standard Terminalfarbe (transparent für Hintergrund)
| black | schwarz
| darkgray | dunkelgrau
| red | dunkelrot
| lightred | hellrot
| green | dunkelgrün
| lightgreen | hellgrün
| brown | braun
| yellow | gelb
| blue | dunkelblau
| lightblue | hellblau
| magenta | dunkel magenta
| lightmagenta | hell magenta
| cyan | dunkel türkis
| lightcyan | hell türkis
| gray | grau
| white | weiß
| black | Schwarz
| darkgray | Dunkelgrau
| red | Dunkelrot
| lightred | Hellrot
| green | Dunkelgrün
| lightgreen | Hellgrün
| brown | Braun
| yellow | Gelb
| blue | Dunkelblau
| lightblue | Hellblau
| magenta | Dunkel magenta
| lightmagenta | Hell magenta
| cyan | Dunkel türkis
| lightcyan | Hell türkis
| gray | Grau
| white | Weiß
|========================================
[[colors_extended]]
@@ -1401,15 +1511,66 @@ Um der Vordergrundfarbe des Terminals das Attribut "fett" zuzuordnen:
/set weechat.color.status_time *99999
----------------------------------------
[[options_and_commands]]
Optionen und Befehle
~~~~~~~~~~~~~~~~~~~~
[[sec_options]]
Optionen für schutzwürdige Daten (sec.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| section | Control command | Beschreibung
| crypt | /set sec.crypt.* | Optionen für Verschlüsselung
| data | <<command_weechat_secure,/secure>> | geschützte Daten
|========================================
Optionen:
include::autogen/user/sec_options.txt[]
[[weechat_options]]
WeeChat Optionen (weechat.conf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| debug | <<command_weechat_debug,/debug set>> +
/set weechat.debug.* | Debug level, for core and plugins (Optionen können in Sektion hinzugefügt/entfernt werden)
| startup | /set weechat.startup.* | Startup options
| look | /set weechat.look.* | Look and feel
| palette | <<command_weechat_color,/color alias>> +
/set weechat.palette.* | Alternativnamen für Farben (Optionen können in Sektion hinzugefügt/entfernt werden)
| color | /set weechat.color.* | Farben
| completion | /set weechat.completion.* | Optionen für Vervollständigung
| history | /set weechat.history.* | Optionen für Befehlsverlauf (Befehle und Buffer)
| proxy | <<command_weechat_proxy,/proxy>> +
/set weechat.proxy.* | Proxy Optionen
| network | /set weechat.network.* | Netzwerk/SSL Optionen
| bar | <<command_weechat_bar,/bar>> +
/set weechat.bar.* | Optionen für die Bars
| layout | <<command_weechat_layout,/layout>> | Layouts
| notify | <<command_weechat_buffer,/buffer notify>> | Benachrichtigungsstufe für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden)
| filter | <<command_weechat_filter,/filter>> | Filter
| key | <<command_weechat_key,/key>> | Tastenbefehle in default context
| key_search | <<command_weechat_key,/key>> | Tastenbefehle in search context
| key_cursor | <<command_weechat_key,/key>> | Tastenbefehle in cursor context
| key_mouse | <<command_weechat_key,/key>> | Tastenbefehle in mouse context
|========================================
Optionen:
include::autogen/user/weechat_options.txt[]
[[weechat_commands]]
WeeChat Befehle
~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^
include::autogen/user/weechat_commands.txt[]
@@ -1417,13 +1578,6 @@ include::autogen/user/weechat_commands.txt[]
Erweiterungen
-------------
Um mehr über Erweiterungen- und Skriptenprogrammierung (mittels API) zu erfahren,
sollten Sie die 'WeeChat Plugin API Reference' oder 'WeeChat Scripting Guide' lesen.
[[plugins_in_weechat]]
Erweiterungen in WeeChat
~~~~~~~~~~~~~~~~~~~~~~~~
Eine WeeChat Erweiterung ist eine dynamische Bibliothek (library), die in C geschrieben
und kompiliert ist. Unter GNU/Linux besitzt eine Erweiterung als Dateiendung ".so", unter
Windows ".dll".
@@ -1458,12 +1612,12 @@ Standarderweiterungen:
| alias | definiert Alias für Befehle
| aspell | Rechtschreibprüfung für Befehlszeile
| charset | Zeichensatz (de)-kodierung in Buffern
| demo | Demo Erweiterung (nicht standardmäßig kompiliert)
| fifo | FIFO Pipe die zur Fernsteuerung von WeeChat genutzt werden kann
| irc | IRC Chat-Protokoll
| logger | erstellt Protokolldateien von Buffern
| relay | Daten via Netzwerk übermitteln (IRC Proxy)
| relay | Daten via Netzwerk übermitteln
| rmodifier | wandelt Schlüsselwörter mit regulären Ausdrücken
| script | Skripten-Manager
| python | Python-Skript API
| perl | Perl-Skript API
| ruby | Ruby-Skript API
@@ -1473,6 +1627,9 @@ Standarderweiterungen:
| xfer | Datentransfer und Direktchat
|========================================
Um mehr über Erweiterungen- und Skriptenprogrammierung (mittels API) zu erfahren,
sollten Sie die 'WeeChat Plugin API Reference' oder 'WeeChat Scripting Guide' lesen.
[[alias_plugin]]
Alias Erweiterung
~~~~~~~~~~~~~~~~~
@@ -1496,6 +1653,20 @@ Dabei ist es möglich mehrere Wörterbücher für einen Buffer zu nutzen.
Optionen (aspell.conf)
^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| color | /set aspell.color.* | Farben
| check | /set aspell.check.* | Optionen um Einstellungen an der Rechtschreibprüfung vorzunehmen
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Wörterbücher für Buffer (Optionen können in Sektion hinzugefügt/entfernt werden)
| option | /set aspell.option.* | <<aspell_speller_options,Optionen für Rechtschreibprüfung>> (Optionen können in Sektion hinzugefügt/entfernt werden)
|========================================
Optionen:
include::autogen/user/aspell_options.txt[]
[[aspell_commands]]
@@ -1595,6 +1766,20 @@ charset: terminal: ISO-8859-15, internal: UTF-8
Optionen (charset.conf)
^^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| default | /set charset.default.* | Vorgegebener Zeichensatz zum De-/kodieren.
| decode | <<command_charset_charset,/charset decode>> +
/set charset.decode.* | Zeichensatz zum dekodieren (Optionen können in Sektion hinzugefügt/entfernt werden)
| encode | <<command_charset_charset,/charset encode>> +
/set charset.encode.* | Zeichensatz zum kodieren (Optionen können in Sektion hinzugefügt/entfernt werden)
|========================================
Optionen:
include::autogen/user/charset_options.txt[]
[[charset_commands]]
@@ -1744,13 +1929,31 @@ Beispiel: Anmelden beim Server 'irc.freenode.net' mit dem Nick 'nono' und betret
der Channels '#weechat' und '#toto' (Standardport (6667) wird genutzt):
----------------------------------------
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
----------------------------------------
[[irc_options]]
Optionen (irc.conf)
^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set irc.look.* | Erscheinungsbild
| color | /set irc.color.* | Farben
| network | /set irc.network.* | Netzwerkoptionen
| msgbuffer | /set irc.msgbuffer.* | <<irc_target_buffer,Zielbuffer für IRC Nachrichten>> (Optionen können in Sektion hinzugefügt/entfernt werden)
| ctcp | /set irc.ctcp.* | <<irc_ctcp_replies,CTCP Antworten>> (Optionen können in Sektion hinzugefügt/entfernt werden)
| ignore | <<command_irc_ignore,/ignore>> | Ignoriert Menschen
| server_default | /set irc.server_default.* | Standardwerte für Server (werden genutzt, falls keine Optionen für einen Server gesetzt sind)
| server | <<command_irc_server,/server>> +
/set irc.server.* | Server
|========================================
Optionen:
include::autogen/user/irc_options.txt[]
[[irc_commands]]
@@ -1997,22 +2200,22 @@ mit dem entsprechenden Wert ersetzt:
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat Version | 0.4.0-dev
| $versiongit | WeeChat Version + Git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | Git Version | v0.3.9-104-g7eb5cc4
| $compilation | Datum der Kompilierung | Dec 16 2012
| $osinfo | Info über das genutzte OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat Seite | http://www.weechat.org/
| $download | WeeChat, Download Seite | http://www.weechat.org/download
| $time | aktuelle Uhrzeit/Datum | Sun, 16 Dec 2012 10:40:48 +0100
| $username | Username beim IRC Server | Name
| $realname | Realname beim IRC Server | John Doe
| Platzhalter | Beschreibung | Wert/Beispiel
| $clientinfo | Liste der CTCP Antworten | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat Version | 0.4.0-dev
| $versiongit | WeeChat Version + Git version ^(1)^ | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | Git Version ^(1)^ | v0.3.9-104-g7eb5cc4
| $compilation | Datum der Kompilierung | Dec 16 2012
| $osinfo | Info über das genutzte OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat Seite | http://www.weechat.org/
| $download | WeeChat, Download Seite | http://www.weechat.org/download
| $time | Aktuelle Uhrzeit/Datum | Sun, 16 Dec 2012 10:40:48 +0100
| $username | Username beim IRC Server | Name
| $realname | Realname beim IRC Server | John Doe
|========================================
[NOTE]
Die Git Version wird durch die Ausgabe des Befehls `git describe` ermittelt.
^(1)^ Die Git Version wird durch die Ausgabe des Befehls `git describe` ermittelt.
Dies erfordert, dass WeeChat aus dem Git Repository heraus kompiliert wurde
und das Git überhaupt installiert ist.
@@ -2170,6 +2373,20 @@ gesichert werden soll.
Optionen (logger.conf)
^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set logger.look.* | Erscheinungsbild
| color | /set logger.color.* | Farben
| file | /set logger.file.* | Optionen für Protokolldateien
| level | /set logger.level.* | Protokollierungslevel pro Buffer (Optionen können in Sektion hinzugefügt/entfernt werden)
| mask | /set logger.mask.* | Dateinamenmaske pro buffer (Optionen können in Sektion hinzugefügt/entfernt werden)
|========================================
Optionen:
include::autogen/user/logger_options.txt[]
[[logger_commands]]
@@ -2323,6 +2540,21 @@ Die Relay-Erweiterung wird genutzt um Daten, mittels unterschiedlicher Protokoll
Optionen (relay.conf)
^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set relay.look.* | Erscheinungsbild
| color | /set relay.color.* | Farben
| network | /set relay.network.* | Netzwerkoptionen
| irc | /set relay.irc.* | für das IRC Protokoll spezifische Optionen (IRC Proxy)
| port | <<command_relay_relay,/relay add>> +
/set relay.port.* | Ports zur Nutzung der Relay-Erweiterung (IRC und weechat Protokolle) (Optionen können in Sektion hinzugefügt/entfernt werden)
|========================================
Optionen:
include::autogen/user/relay_options.txt[]
[[relay_commands]]
@@ -2455,6 +2687,18 @@ durch das Zeichen `*` zu ersetzen.
Optionen (rmodifier.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set rmodifier.look.* | Erscheinungsbild
| modifier | <<command_rmodifier_rmodifier,/rmodifier add>> +
/set rmodifier.modifier.* | Rmodifiers
|========================================
Optionen:
include::autogen/user/rmodifier_options.txt[]
[[rmodifier_commands]]
@@ -2514,7 +2758,7 @@ und entfernt werden.
Eine weitere Erweiterung ist "script". Dies ist ein Skripten-Manager mit dem es möglich ist,
unabhängig von der Skript-Sprache, Skripten zu laden und zu entfernen. Des weiteren können
Skripten, aus dem Skript-Repository, installiert und deinstalliert werden. Das Skript-Repository
kann unter folgender URL eingesehen werden: http://www.weechat.org/scripts
kann unter folgender URL eingesehen werden: http://weechat.org/scripts
Sollten wir Ihr Interesse geweckt haben, selber Skripten für WeeChat zu programmieren, dann lesen Sie
bitte die 'WeeChat Scripting Guide'.
@@ -2523,10 +2767,22 @@ bitte die 'WeeChat Scripting Guide'.
Script Optionen (script.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set script.look.* | Erscheinungsbild
| color | /set script.color.* | Farben
| scripts | /set script.scripts.* | Optionen für den Download von Skripten
|========================================
Optionen:
include::autogen/user/script_options.txt[]
[[script_commands]]
Script Befehle
Skript Befehle
^^^^^^^^^^^^^^
include::autogen/user/script_commands.txt[]
@@ -2581,6 +2837,19 @@ Mit der xfer Erweiterung kann man:
Optionen (xfer.conf)
^^^^^^^^^^^^^^^^^^^^
Sektionen:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Beschreibung
| look | /set xfer.look.* | Erscheinungsbild
| color | /set xfer.color.* | Farben
| network | /set xfer.network.* | Netzwerkoptionen
| file | /set xfer.file.* | Optionen zum Versenden und Empfangen von Dateien
|========================================
Optionen:
include::autogen/user/xfer_options.txt[]
[[xfer_commands]]
+3 -3
View File
@@ -78,11 +78,11 @@ locale_list = ('en_US', 'fr_FR', 'it_IT', 'de_DE', 'ja_JP')
# if plugin is listed without "c", that means plugin has only one command
# /name (where "name" is name of plugin)
# Note: we consider core is a plugin called "weechat"
plugin_list = { 'weechat' : 'co',
plugin_list = { 'sec' : 'o',
'weechat' : 'co',
'alias' : '',
'aspell' : 'o',
'charset' : 'co',
'demo' : 'co',
'fifo' : 'co',
'irc' : 'co',
'logger' : 'co',
@@ -493,7 +493,7 @@ def docgen_cmd_cb(data, buffer, args):
filename = '%s/plugin_api/hdata.txt' % directory
tmpfilename = '%s.tmp' % filename
f = open(tmpfilename, 'w')
f.write('[width="100%",cols="^1,^2,5,5,5,5",options="header"]\n')
f.write('[width="100%",cols="^1,^2,4,8,4,4",options="header"]\n')
f.write('|========================================\n')
f.write('| %s | %s | %s | %s | %s | %s\n\n' % (_('Plugin'), _('Name'), _('Description'),
_('Variables'), _('Update allowed'),
+101 -82
View File
@@ -17,92 +17,111 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.en.html"
)
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt
COMMENT "Building weechat.1 (en)"
)
ADD_CUSTOM_TARGET(doc-man-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/man1)
ENDIF(ENABLE_MAN)
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.en.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
)
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.en.html"
)
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
)
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.en.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
)
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
)
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
)
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# developer's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
COMMENT "Building weechat_dev.en.html"
)
ADD_CUSTOM_TARGET(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# relay protocol
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
COMMENT "Building weechat_relay_protocol.en.html"
)
ADD_CUSTOM_TARGET(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
)
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# developer's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_dev.en.txt
COMMENT "Building weechat_dev.en.html"
)
ADD_CUSTOM_TARGET(doc-dev-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_dev.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# relay protocol
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_relay_protocol.en.txt
COMMENT "Building weechat_relay_protocol.en.html"
)
ADD_CUSTOM_TARGET(doc-relay-protocol-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_relay_protocol.en.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+35 -6
View File
@@ -21,6 +21,8 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.en.txt \
cmdline_options.en.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
@@ -32,7 +34,13 @@ EXTRA_DIST = CMakeLists.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: weechat_user.en.html \
if MAN
man_targets = weechat.1
man_install = install-man
man_uninstall = uninstall-man
endif
if DOC
doc_targets = weechat_user.en.html \
weechat_plugin_api.en.html \
weechat_scripting.en.html \
weechat_faq.en.html \
@@ -40,9 +48,17 @@ all-local: weechat_user.en.html \
weechat_tester.en.html \
weechat_dev.en.html \
weechat_relay_protocol.en.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.en.txt cmdline_options.en.txt
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/en/weechat.1.en.txt
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
weechat_user.en.html: weechat_user.en.txt cmdline_options.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=4 -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
@@ -73,19 +89,32 @@ weechat_dev.en.html: weechat_dev.en.txt
weechat_relay_protocol.en.html: weechat_relay_protocol.en.txt
$(ASCIIDOC) -a toc -a toclevels=4 -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_relay_protocol.en.html $(abs_top_srcdir)/doc/en/weechat_relay_protocol.en.txt
# install docs
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.en.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-rm -f weechat.1
-rm -f *.html
@@ -120,6 +120,8 @@
| weechat | proxies_options | options for proxies
| weechat | secured_data | names of secured data (file sec.conf, section data)
| weechat | weechat_commands | weechat commands
| weechat | windows_numbers | numbers of windows
+154 -9
View File
@@ -1,7 +1,23 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
[width="100%",cols="^1,^2,4,8,4,4",options="header"]
|========================================
| Plugin | Name | Description | Variables | Update allowed | Lists
| guile | guile_callback | callback of a script |
'script' (pointer, hdata: "guile_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "guile_callback") +
'next_callback' (pointer, hdata: "guile_callback") |
|
-
| guile | guile_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -12,7 +28,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "guile_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
@@ -206,6 +222,22 @@
'irc_servers' +
'last_irc_server'
| lua | lua_callback | callback of a script |
'script' (pointer, hdata: "lua_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "lua_callback") +
'next_callback' (pointer, hdata: "lua_callback") |
|
-
| lua | lua_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -216,7 +248,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "lua_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
@@ -224,6 +256,22 @@
'last_script' +
'scripts'
| perl | perl_callback | callback of a script |
'script' (pointer, hdata: "perl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "perl_callback") +
'next_callback' (pointer, hdata: "perl_callback") |
|
-
| perl | perl_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -234,7 +282,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "perl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
@@ -242,6 +290,22 @@
'last_script' +
'scripts'
| python | python_callback | callback of a script |
'script' (pointer, hdata: "python_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "python_callback") +
'next_callback' (pointer, hdata: "python_callback") |
|
-
| python | python_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -252,7 +316,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "python_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
@@ -260,6 +324,22 @@
'last_script' +
'scripts'
| ruby | ruby_callback | callback of a script |
'script' (pointer, hdata: "ruby_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "ruby_callback") +
'next_callback' (pointer, hdata: "ruby_callback") |
|
-
| ruby | ruby_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -270,7 +350,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "ruby_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
@@ -306,6 +386,22 @@
'last_script_repo' +
'scripts_repo'
| tcl | tcl_callback | callback of a script |
'script' (pointer, hdata: "tcl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "tcl_callback") +
'next_callback' (pointer, hdata: "tcl_callback") |
|
-
| tcl | tcl_script | list of scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -316,7 +412,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "tcl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
@@ -330,6 +426,7 @@
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_buffer' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
@@ -433,6 +530,9 @@
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_regex' (integer) +
'text_search_regex_compiled' (pointer) +
'text_search_where' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
@@ -619,6 +719,41 @@
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | layout | layout |
'name' (string) +
'layout_buffers' (pointer, hdata: "layout_buffer") +
'last_layout_buffer' (pointer, hdata: "layout_buffer") +
'layout_windows' (pointer, hdata: "layout_window") +
'internal_id' (integer) +
'internal_id_current_window' (integer) +
'prev_layout' (pointer, hdata: "layout") +
'next_layout' (pointer, hdata: "layout") |
|
'gui_layout_current' +
'gui_layouts' +
'last_gui_layout'
| weechat | layout_buffer | buffer layout |
'plugin_name' (string) +
'buffer_name' (string) +
'number' (integer) +
'prev_layout' (pointer, hdata: "layout_buffer") +
'next_layout' (pointer, hdata: "layout_buffer") |
|
-
| weechat | layout_window | window layout |
'internal_id' (integer) +
'parent_node' (pointer, hdata: "layout_window") +
'split_pct' (integer) +
'split_horiz' (integer) +
'child1' (pointer, hdata: "layout_window") +
'child2' (pointer, hdata: "layout_window") +
'plugin_name' (string) +
'buffer_name' (string) |
|
-
| weechat | line | structure with one line |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
@@ -655,7 +790,9 @@
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
'buffer_max_length_refresh' (integer) +
'prefix_max_length' (integer) +
'prefix_max_length_refresh' (integer) |
|
-
@@ -702,6 +839,15 @@
'last_weechat_plugin' +
'weechat_plugins'
| weechat | proxy | proxy |
'name' (string) +
'options' (pointer) +
'prev_proxy' (pointer, hdata: "proxy") +
'next_proxy' (pointer, hdata: "proxy") |
|
'last_weechat_proxy' +
'weechat_proxies'
| weechat | window | window |
'number' (integer) +
'win_x' (integer) +
@@ -740,7 +886,6 @@
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
+5 -1
View File
@@ -48,18 +48,22 @@
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
| weechat | hook | list of hooks | - | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
| weechat | hook | list of hooks | hook pointer (optional) | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
| weechat | hotlist | list of buffers in hotlist | - | -
| weechat | key | list of key bindings | - | context ("default", "search", "cursor" or "mouse") (optional)
| weechat | layout | list of layouts | - | -
| weechat | nicklist | nicks in nicklist for a buffer | buffer pointer | nick_xxx or group_xxx to get only nick/group xxx (optional)
| weechat | option | list of options | - | option name (can start or end with "*" as wildcard) (optional)
| weechat | plugin | list of plugins | plugin pointer (optional) | plugin name (can start or end with "*" as wildcard) (optional)
| weechat | proxy | list of proxies | proxy pointer (optional) | proxy name (can start or end with "*" as wildcard) (optional)
| weechat | url_options | options for URL | - | -
| weechat | window | list of windows | window pointer (optional) | "current" for current window or a window number (optional)
+10
View File
@@ -48,6 +48,12 @@
| address_scope | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
| tcp_keepintvl | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
@@ -126,6 +132,8 @@
| mail_from | string |
| mail_auth | string |
| tftp_blksize | long |
| ftpport | string |
@@ -270,6 +278,8 @@
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
+7 -2
View File
@@ -33,8 +33,13 @@
** type: integer
** values: 0 .. 2147483647 (default value: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** description: `color used for misspelled words`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
** description: `text color for misspelled words (input bar)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `lightred`)
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
** description: `text color for suggestions on a misspelled word (status bar)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `default`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* open a new buffer::
........................................
/demo_buffer <name>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* get and display an info::
........................................
/demo_info <info> [<arguments>]
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* get and display an infolist::
........................................
/demo_infolist <infolist> [<arguments>]
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* print some messages on current buffer::
........................................
/demo_printf <text>
text: write this text
........................................
+27 -3
View File
@@ -14,7 +14,7 @@ target: server
-current: execute command for channels of current server only
-exclude: exclude some channels ('*' is allowed at beginning or end of channel name, to exclude many channels)
command: command to execute
arguments: arguments for command
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Examples:
execute '/me is testing' on all channels:
@@ -32,13 +32,15 @@ Examples:
-exclude: exclude some servers ('*' is allowed at beginning or end of server name, to exclude many servers)
command: command to execute
arguments: arguments for command
arguments: arguments for command (special variables $nick, $channel and $server are replaced by their value)
Examples:
change nick on all servers:
/allserv nick newnick
set away on all servers:
/allserv away I'm away
do a whois on my nick on all servers:
/allserv whois $nick
........................................
[[command_irc_ban]]
@@ -119,18 +121,29 @@ Examples:
[command]*`dehalfop`* remove channel half-operator status from nick(s)::
........................................
/dehalfop <nick> [<nick>...]
nick: nick or mask (can start or end with "*" as wildcard)
*: remove channel half-operator status from everybody on channel except yourself
........................................
[[command_irc_deop]]
[command]*`deop`* remove channel operator status from nick(s)::
........................................
/deop <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: remove channel operator status from everybody on channel except yourself
........................................
[[command_irc_devoice]]
[command]*`devoice`* remove voice from nick(s)::
........................................
/devoice <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: remove voice from everybody on channel
........................................
[[command_irc_die]]
@@ -156,6 +169,10 @@ target: server name
[command]*`halfop`* give channel half-operator status to nick(s)::
........................................
/halfop <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: give channel half-operator status to everybody on channel
........................................
[[command_irc_ignore]]
@@ -420,6 +437,10 @@ Examples:
[command]*`op`* give channel operator status to nick(s)::
........................................
/op <nick> [<nick>...]
* -yes
nick: nick or mask (can start or end with "*" as wildcard)
*: give channel operator status to everybody on channel
........................................
[[command_irc_oper]]
@@ -461,7 +482,7 @@ daemon2: forward message to this daemon
[[command_irc_query]]
[command]*`query`* send a private message to a nick::
........................................
/query [-server <server>] <nick> [<text>]
/query [-server <server>] <nick>[,<nick>...] [<text>]
server: send to this server (internal name)
nick: nick for private conversation
@@ -717,6 +738,9 @@ server: server name
[command]*`voice`* give voice to nick(s)::
........................................
/voice <nick> [<nick>...]
nick: nick or mask (can start or end with "*" as wildcard)
*: give voice to everybody on channel
........................................
[[command_irc_wallchops]]
+24 -9
View File
@@ -218,6 +218,11 @@
** type: string
** values: any string (default value: `""`)
* [[option_irc.look.nick_color_hash]] *irc.look.nick_color_hash*
** description: `hash algorithm used to find the color for a nick: djb2 = variant of djb2 (position of letters matters: anagrams of a nick have different color), sum = sum of letters`
** type: integer
** values: djb2, sum (default value: `sum`)
* [[option_irc.look.nick_color_stop_chars]] *irc.look.nick_color_stop_chars*
** description: `chars used to stop in nick when computing color with letters of nick (at least one char outside this list must be in string before stopping) (example: nick "|nick|away" with "|" in chars will return color of nick "|nick")`
** type: string
@@ -248,13 +253,18 @@
** type: integer
** values: auto, never, always (default value: `auto`)
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
** description: `automatically redirect channel welcome notices to the channel buffer; such notices have the nick as target but a channel name in beginning of notice message, for example notices sent by freenode server which look like: "[#channel] Welcome to this channel..."`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** description: `comma separated list of tags used in messages printed by notify when a nick joins or quits server (result of command ison), for example: "notify_highlight", "notify_message" or "notify_private"`
** description: `comma separated list of tags used in messages displayed by notify when a nick joins or quits server (result of command ison), for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** description: `comma separated list of tags used in messages printed by notify when a nick away status changes (result of command whois), for example: "notify_highlight", "notify_message" or "notify_private"`
** description: `comma separated list of tags used in messages displayed by notify when a nick away status changes (result of command whois), for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_message"`)
@@ -268,6 +278,11 @@
** type: integer
** values: independent, merge_by_server, merge_all (default value: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** description: `comma separated list of tags used in private messages, for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_private"`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** description: `number of raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)`
** type: integer
@@ -284,7 +299,7 @@
** values: on, off (default value: `on`)
* [[option_irc.look.smart_filter_delay]] *irc.look.smart_filter_delay*
** description: `delay for filtering join/part/quit messages (in minutes)`
** description: `delay for filtering join/part/quit messages (in minutes): if the nick did not speak during the last N minutes, the join/part/quit is filtered`
** type: integer
** values: 1 .. 10080 (default value: `5`)
@@ -399,7 +414,7 @@
** values: on, off (default value: `off`)
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
** description: `comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")`
** description: `comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2") (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -439,7 +454,7 @@
** values: any string (default value: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)`
** description: `command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value) (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -484,12 +499,12 @@
** values: any string (default value: `""`)
* [[option_irc.server_default.password]] *irc.server_default.password*
** description: `password for server`
** description: `password for server (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
* [[option_irc.server_default.proxy]] *irc.server_default.proxy*
** description: `proxy used for this server (optional)`
** description: `name of proxy used for this server (optional, proxy must be defined with command /proxy)`
** type: string
** values: any string (default value: `""`)
@@ -504,7 +519,7 @@
** values: plain, dh-blowfish, dh-aes, external (default value: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `password for SASL authentication`
** description: `password for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -514,7 +529,7 @@
** values: 1 .. 3600 (default value: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** description: `username for SASL authentication`
** description: `username for SASL authentication (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
+2
View File
@@ -3,11 +3,13 @@
........................................
/logger list
set <level>
flush
disable
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
flush: write all log files now
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
+1 -1
View File
@@ -104,7 +104,7 @@
** values: 1 .. 1024 (default value: `5`)
* [[option_relay.network.password]] *relay.network.password*
** description: `password required by clients to access this relay (empty value means no password required)`
** description: `password required by clients to access this relay (empty value means no password required) (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
@@ -4,6 +4,7 @@
/rmodifier list|listdefault
add <name> <modifiers> <groups> <regex>
del <name>|-all [<name>...]
missing
default -yes
list: list all rmodifiers
@@ -15,6 +16,7 @@ listdefault: list default rmodifiers
regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
del: delete a rmodifier
-all: delete all rmodifiers
missing: add missing rmodifiers
default: restore default rmodifiers
Examples:
+20
View File
@@ -0,0 +1,20 @@
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** description: `cipher used to crypt data (the number after algorithm is the size of the key in bits)`
** type: integer
** values: aes128, aes192, aes256 (default value: `aes256`)
* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** description: `hash algorithm used to check the decrypted data`
** type: integer
** values: sha224, sha256, sha384, sha512 (default value: `sha256`)
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: `path to a file containing the passphrase to encrypt/decrypt secured data; this option is used only when reading file sec.conf; only first line of file is used; this file is used only if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); security note: it is recommended to keep this file readable only by you and store it outside WeeChat home (for example in your home); example: "~/.weechat-passphrase"`
** type: string
** values: any string (default value: `""`)
* [[option_sec.crypt.salt]] *sec.crypt.salt*
** description: `use salt when generating key used in encryption (recommended for maximum security); when enabled, the content of crypted data in file sec.conf will be different on each write of the file; if you put the file sec.conf in a version control system, then you can turn off this option to have always same content in file`
** type: boolean
** values: on, off (default value: `on`)
+71 -22
View File
@@ -1,9 +1,9 @@
[[command_weechat_away]]
[command]*`away`* toggle away status::
[command]*`away`* set or remove away status::
........................................
/away [-all] [<message>]
-all: toggle away status on all connected servers
-all: set or remove away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
@@ -125,12 +125,14 @@ Examples:
/color alias <color> <name>
unalias <color>
reset
-o
alias: add an alias for a color
unalias: delete an alias
color: color number (greater than or equal to 0, max depends on terminal, commonly 63 or 255)
name: alias name for color (for example: "orange")
reset: reset all color pairs (required when no more color pairs are available if automatic reset is disabled, see option weechat.look.color_pairs_auto_reset)
-o: send terminal/colors info to current buffer as input
Without argument, this command displays colors in a new buffer.
@@ -205,9 +207,10 @@ infolists: display infos about infolists
[command]*`eval`* evaluate expression and send result to buffer::
........................................
/eval [-n] <expression>
[-n] <expression1> <operator> <expression2>
[-n] -c <expression1> <operator> <expression2>
-n: display result without sending it to buffer (debug mode)
-c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
expression: expression to evaluate, variables with format ${variable} are replaced (see below)
operator: a logical or comparison operator:
- logical operators:
@@ -230,9 +233,10 @@ To force a string comparison, add double quotes around each expression, for exam
"50" > "100" ==> 1
Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority :
1. the name of an option (file.section.option)
2. the name of a local variable in buffer
3. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
1. a color (format: color:xxx)
2. an option (format: file.section.option)
3. a local variable in buffer
4. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
Format for hdata can be one of following:
hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
hdata[list].var1.var2...: start with a hdata using a list, for example:
@@ -241,19 +245,19 @@ Format for hdata can be one of following:
For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
Examples:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${window.buffer.number} > 2 ==> 0
/eval -n ${window.win_width} > 100 ==> 1
/eval -n (8 > 12) || (5 > 2) ==> 1
/eval -n (8 > 12) && (5 > 2) ==> 0
/eval -n abcd =~ ^ABC ==> 1
/eval -n abcd =~ (?-i)^ABC ==> 0
/eval -n abcd =~ (?-i)^abc ==> 1
/eval -n abcd !~ abc ==> 0
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
........................................
[[command_weechat_filter]]
@@ -344,6 +348,8 @@ list of actions:
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_switch_regex: switch search type: string/regular expression
search_switch_where: switch search in messages/prefixes
search_previous: search previous line
search_next: search next line
search_stop: stop search
@@ -608,6 +614,47 @@ file: configuration file to save (without extension ".conf")
Without argument, all files (WeeChat and plugins) are saved.
........................................
[[command_weechat_secure]]
[command]*`secure`* manage secured data (passwords or private data encrypted in file sec.conf)::
........................................
/secure passphrase <passphrase>|-delete
decrypt <passphrase>|-discard
set <name> <value>
del <name>
passphrase: change the passphrase (without passphrase, data is stored as plain text in file sec.conf)
-delete: delete passphrase
decrypt: decrypt data still encrypted (it happens only if passphrase was not given on startup)
-discard: discard all data still encrypted
set: add or change secured data
del: delete secured data
Without argument, this command displays secured data in a new buffer.
When a passphrase is used (data encrypted), it is asked by WeeChat on startup.
It is possible to set environment variable "WEECHAT_PASSPHRASE" to prevent the prompt (this same variable is used by WeeChat on /upgrade).
Secured data with format ${sec.data.xxx} can be used in:
- command line argument "--run-command"
- options weechat.startup.command_{before|after}_plugins
- proxy options: username, password
- irc server options: autojoin, command, password, sasl_{username|password}
- option relay.network.password
- command /eval.
Examples:
set a passphrase:
/secure passphrase this is my passphrase
encrypt freenode SASL password:
/secure set freenode mypassword
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
encrypt oftc password for nickserv:
/secure set oftc mypassword
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias to ghost the nick "mynick":
/alias ghost /eval /msg -server freenode nickserv ghost mynick ${sec.data.freenode}
........................................
[[command_weechat_set]]
[command]*`set`* set config options::
........................................
@@ -659,6 +706,7 @@ Examples:
/upgrade [<path_to_binary>|-quit]
path_to_binary: path to WeeChat binary (default is current binary)
-dummy: do nothing (option used to prevent accidental completion with "-quit")
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
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.
@@ -677,9 +725,9 @@ With option "-quit", the process is slightly different:
3. unload all plugins
4. save WeeChat configuration
5. quit WeeChat
Then later you can restore session with command: weechat-curses --upgrade
Then later you can restore session with command: weechat --upgrade
IMPORTANT: you must restore the session with exactly same configuration (files *.conf).
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat"
It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat".
........................................
[[command_weechat_uptime]]
@@ -738,7 +786,7 @@ Examples:
refresh
scroll [-window <number>] [+/-]<value>[s|m|h|d|M|y]
scroll_horiz [-window <number>] [+/-]<value>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <number>]
swap [-window <number>] [up|down|left|right]
zoom[-window <number>]
@@ -765,6 +813,7 @@ Examples:
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_beyond_end: scroll beyond the end of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
+59 -14
View File
@@ -23,6 +23,11 @@
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `white`)
* [[option_weechat.color.chat_day_change]] *weechat.color.chat_day_change*
** description: `text color for message displayed when the day has changed`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`)
* [[option_weechat.color.chat_delimiters]] *weechat.color.chat_delimiters*
** description: `text color for delimiters`
** type: color
@@ -188,6 +193,16 @@
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`)
* [[option_weechat.color.emphasized]] *weechat.color.emphasized*
** description: `text color for emphasized text (for example when searching text); this option is used only if option weechat.look.emphasized_attributes is an empty string (default value)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `yellow`)
* [[option_weechat.color.emphasized_bg]] *weechat.color.emphasized_bg*
** description: `background color for emphasized text (for example when searching text); used only if option weechat.look.emphasized_attributes is an empty string (default value)`
** type: color
** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `magenta`)
* [[option_weechat.color.input_actions]] *weechat.color.input_actions*
** description: `text color for actions in input line`
** type: color
@@ -399,7 +414,7 @@
** values: none, highlight, message, all (default value: `all`)
* [[option_weechat.look.buffer_time_format]] *weechat.look.buffer_time_format*
** description: `time format for each line displayed in buffers (see man strftime for date/time specifiers), colors are allowed with format "${color}", for example french time: "${lightblue}%H${white}%M${lightred}%S"`
** description: `time format for each line displayed in buffers (see man strftime for date/time specifiers) (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval); for example time using grayscale (requires support of 256 colors): "${color:252}%H${color:245}%M${color:240}%S"`
** type: string
** values: any string (default value: `"%H:%M:%S"`)
@@ -411,7 +426,7 @@
* [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer*
** description: `use a different color for lines in inactive buffer (when line is from a merged buffer not selected)`
** type: boolean
** values: on, off (default value: `off`)
** values: on, off (default value: `on`)
* [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message*
** description: `use a different color for inactive message (when window is not current window, or if line is from a merged buffer not selected)`
@@ -436,7 +451,7 @@
* [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window*
** description: `use a different color for lines in inactive window (when window is not current window)`
** type: boolean
** values: on, off (default value: `off`)
** values: on, off (default value: `on`)
* [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline*
** description: `use a different color for offline nicks (not in nicklist any more)`
@@ -468,16 +483,26 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.day_change_time_format]] *weechat.look.day_change_time_format*
** description: `time format for date displayed when day changed`
* [[option_weechat.look.day_change_message_1date]] *weechat.look.day_change_message_1date*
** description: `message displayed when the day has changed, with one date displayed (for example at beginning of buffer) (see man strftime for date/time specifiers) (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"%a, %d %b %Y"`)
** values: any string (default value: `"-- %a, %d %b %Y --"`)
* [[option_weechat.look.day_change_message_2dates]] *weechat.look.day_change_message_2dates*
** description: `message displayed when the day has changed, with two dates displayed (between two messages); the second date specifiers must start with two "%" because strftime is called two times on this string (see man strftime for date/time specifiers) (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"`)
* [[option_weechat.look.eat_newline_glitch]] *weechat.look.eat_newline_glitch*
** description: `if set, the eat_newline_glitch will be set to 0; this is used to not add new line char at end of each line, and then not break text when you copy/paste text from WeeChat to another application (this option is disabled by default because it can cause serious display bugs)`
** type: boolean
** values: on, off (default value: `off`)
* [[option_weechat.look.emphasized_attributes]] *weechat.look.emphasized_attributes*
** description: `attributes for emphasized text: one or more attribute chars ("*" for bold, "!" for reverse, "_" for underline); if the string is empty, the colors weechat.color.emphasized* are used`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.look.highlight]] *weechat.look.highlight*
** description: `comma separated list of words to highlight; case insensitive comparison (use "(?-i)" at beginning of words to make them case sensitive), words may begin or end with "*" for partial match; example: "test,(?-i)*toto*,flash*"`
** type: string
@@ -533,6 +558,11 @@
** type: boolean
** values: on, off (default value: `off`)
* [[option_weechat.look.hotlist_prefix]] *weechat.look.hotlist_prefix*
** description: `text displayed at the beginning of the hotlist`
** type: string
** values: any string (default value: `"H: "`)
* [[option_weechat.look.hotlist_short_names]] *weechat.look.hotlist_short_names*
** description: `if set, uses short names to display buffer names in hotlist (start after first '.' in name)`
** type: boolean
@@ -543,6 +573,11 @@
** type: integer
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: `group_time_asc`)
* [[option_weechat.look.hotlist_suffix]] *weechat.look.hotlist_suffix*
** description: `text displayed at the end of the hotlist`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.look.hotlist_unique_numbers]] *weechat.look.hotlist_unique_numbers*
** description: `keep only unique numbers in hotlist (this applies only on hotlist items where name is NOT displayed after number)`
** type: boolean
@@ -593,6 +628,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.key_bind_safe]] *weechat.look.key_bind_safe*
** description: `allow only binding of "safe" keys (beginning with a ctrl or meta code)`
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.mouse]] *weechat.look.mouse*
** description: `enable mouse support`
** type: boolean
@@ -629,7 +669,7 @@
** values: -1 .. 2147483647 (default value: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** description: `prefix for action messages, colors are allowed with format "${color}"`
** description: `prefix for action messages (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `" *"`)
@@ -679,22 +719,22 @@
** values: on, off (default value: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** description: `prefix for error messages, colors are allowed with format "${color}"`
** description: `prefix for error messages (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** description: `prefix for join messages, colors are allowed with format "${color}"`
** description: `prefix for join messages (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** description: `prefix for network messages, colors are allowed with format "${color}"`
** description: `prefix for network messages (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** description: `prefix for quit messages, colors are allowed with format "${color}"`
** description: `prefix for quit messages (note: content is evaluated, so you can use colors with format "${color:xxx}", see /help eval)`
** type: string
** values: any string (default value: `"<--"`)
@@ -769,7 +809,7 @@
** values: on, off (default value: `on`)
* [[option_weechat.look.time_format]] *weechat.look.time_format*
** description: `time format for dates converted to strings and displayed in messages`
** description: `time format for dates converted to strings and displayed in messages (see man strftime for date/time specifiers)`
** type: string
** values: any string (default value: `"%a, %d %b %Y %T"`)
@@ -798,6 +838,11 @@
** type: integer
** values: 1 .. 2147483647 (default value: `30`)
* [[option_weechat.network.proxy_curl]] *weechat.network.proxy_curl*
** description: `name of proxy used for download of URLs with Curl (used to download list of scripts and in scripts calling function hook_process); the proxy must be defined with command /proxy`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** description: `comma separated list of plugins to load automatically at startup, "*" means all plugins found, a name beginning with "!" is a negative value to prevent a plugin from being loaded, names can start or end with "*" to match several plugins (examples: "*" or "*,!lua,!tcl")`
** type: string
@@ -824,12 +869,12 @@
** values: on, off (default value: `on`)
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
** description: `command executed when WeeChat starts, after loading plugins`
** description: `command executed when WeeChat starts, after loading plugins (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
** description: `command executed when WeeChat starts, before loading plugins`
** description: `command executed when WeeChat starts, before loading plugins (note: content is evaluated, see /help eval)`
** type: string
** values: any string (default value: `""`)
+5
View File
@@ -98,6 +98,11 @@
** type: integer
** values: 0 .. 256 (default value: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** description: `comma separated list of tags used in private messages, for example: "notify_message", "notify_private" or "notify_highlight"`
** type: string
** values: any string (default value: `"notify_private"`)
* [[option_xfer.network.blocksize]] *xfer.network.blocksize*
** description: `block size for sending packets, in bytes`
** type: integer
+34
View File
@@ -0,0 +1,34 @@
*-a*, *--no-connect*::
Disable auto-connect to servers when WeeChat is starting.
*-c*, *--colors*::
Display default colors in terminal.
*-d*, *--dir* '<path>'::
Set path as home for WeeChat (used for configuration files, logs, user
plugins and scripts), default value is '~/.weechat' (note: directory is
created if not found by WeeChat).
*-h*, *--help*::
Display help.
*-l*, *--license*::
Display WeeChat license.
*-p*, *--no-plugin*::
Disable plugins auto-load.
*-r*, *--run-command* '<command>'::
Run command(s) after startup (many commands can be separated by semicolons).
*-s*, *--no-script*::
Disable scripts auto-load.
*--upgrade*::
Upgrade WeeChat using session files generated with command `/upgrade -quit`.
*-v*, *--version*::
Display WeeChat version.
*plugin:option*::
Option for a plugin.
+115
View File
@@ -0,0 +1,115 @@
WEECHAT(1)
==========
:doctype: manpage
NAME
----
weechat - the extensible chat client
SYNOPSIS
--------
[verse]
'weechat' [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
'weechat' [-c|--colors]
'weechat' [-h|--help]
'weechat' [-k|--keys]
'weechat' [-l|--license]
'weechat' [-v|--version]
DESCRIPTION
-----------
WeeChat is a fast, light and extensible chat client.
It is modular (lightweight core with plugins), multi-protocols (IRC and Jabber),
extensible with C and scripts written in several languages.
OPTIONS
-------
include::cmdline_options.en.txt[]
PLUGIN OPTIONS
--------------
For complete doc on plugin options, please look at plugins documentation in
http://weechat.org/doc[WeeChat user's guide].
With irc plugin, you can connect to temporary server with an URL like:
irc[6][s]://[[nickname][:password]@]server[:port][/#channel1[,#channel2...]]
To join WeeChat IRC channel support with nick "mynick":
irc://mynick@irc.freenode.net/#weechat
IPv6 address can be enclosed in brackets to add a port after address, for
example:
irc://mynick@[2001:db8:0:85a3::ac1f:8001]:6668/#test
FILES
-----
$HOME/.weechat/weechat.conf::
main WeeChat configuration file
$HOME/.weechat/plugins.conf::
plugins configuration file
$HOME/.weechat/alias.conf::
configuration file for 'alias' plugin
$HOME/.weechat/aspell.conf::
configuration file for 'aspell' plugin
$HOME/.weechat/charset.conf::
configuration file for 'charset' plugin
$HOME/.weechat/irc.conf::
configuration file for 'irc' plugin
$HOME/.weechat/logger.conf::
configuration file for 'logger' plugin
$HOME/.weechat/relay.conf::
configuration file for 'relay' plugin
$HOME/.weechat/rmodifier.conf::
configuration file for 'rmodifier' plugin
$HOME/.weechat/script.conf::
configuration file for 'script' plugin
$HOME/.weechat/xfer.conf::
configuration file for 'xfer' plugin
$HOME/.weechat/weechat.log::
WeeChat log file
AUTHORS
-------
WeeChat is written by Sébastien Helleu and contributors (complete list is in
the AUTHORS file).
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Please read the COPYING file for more information.
Web: <http://weechat.org/>
REPORTING BUGS
--------------
Please report bugs or feature requests at Savannah website:
* bugs: <http://savannah.nongnu.org/bugs/?group=weechat>
* feature requests: <http://savannah.nongnu.org/task/?group=weechat>
+45 -41
View File
@@ -6,7 +6,7 @@ Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
Latest version of this document can be found on this page:
http://www.weechat.org/doc
http://weechat.org/doc
[[introduction]]
@@ -55,7 +55,6 @@ The main WeeChat directories are:
| alias/ | Alias plugin
| aspell/ | Aspell plugin
| charset/ | Charset plugin
| demo/ | Demo plugin
| fifo/ | Fifo plugin (FIFO pipe used to remotely send commands to WeeChat)
| irc/ | IRC plugin
| logger/ | Logger plugin (write messages displayed to files)
@@ -96,7 +95,7 @@ WeeChat "core" reside in following directories:
| wee-command.c | WeeChat core commands
| wee-completion.c | Completion on command line
| wee-config-file.c | Configuration file management
| wee-config.c | Configuration options for WeeChat core (options weechat.*)
| wee-config.c | Configuration options for WeeChat core (file weechat.conf)
| wee-debug.c | Some debug functions
| wee-eval.c | Evaluate expressions with references to internal vars
| wee-hashtable.c | Hashtables
@@ -108,6 +107,7 @@ WeeChat "core" reside in following directories:
| wee-log.c | Write to WeeChat log file (weechat.log)
| wee-network.c | Network functions (connection to servers, proxy)
| wee-proxy.c | Proxy management
| wee-secure.c | Secured data options (file sec.conf)
| wee-string.c | Functions on strings
| wee-upgrade-file.c | Internal upgrade system
| wee-upgrade.c | Upgrade for WeeChat core (buffers, lines, history, ...)
@@ -163,20 +163,18 @@ Plugins
| weechat-plugin.h | Header designed to be distributed with WeeChat plugins, in order to compile them
| alias/ | Alias plugin
| alias.c | Main alias functions
| alias-config.c | Alias config options
| alias-config.c | Alias config options (file alias.conf)
| alias-info.c | Alias info/infolists/hdata
| aspell/ | Aspell plugin
| weechat-aspell.c | Main aspell functions
| weechat-aspell-bar-item.c | Aspell bar items
| weechat-aspell-command.c | Aspell commands
| weechat-aspell-completion.c | Aspell completions
| weechat-aspell-config.c | Aspell config options
| weechat-aspell-config.c | Aspell config options (file aspell.conf)
| weechat-aspell-info.c | Aspell info/infolists/hdata
| weechat-aspell-speller.c | Spellers management
| charset/ | Charset plugin
| charset.c | Charset functions
| demo/ | Demo plugin
| demo.c | Demo functions
| fifo/ | Fifo plugin
| fifo.c | Main fifo functions
| fifo-info.c | Fifo info/infolists/hdata
@@ -191,7 +189,7 @@ Plugins
| irc-color.c | Color functions
| irc-command.c | IRC commands
| irc-completion.c | IRC completions
| irc-config.c | IRC config options
| irc-config.c | IRC config options (file irc.conf)
| irc-ctcp.c | IRC CTCP
| irc-debug.c | IRC debug functions
| irc-ignore.c | IRC Ignore
@@ -211,7 +209,7 @@ Plugins
| logger/ | Logger plugin
| logger.c | Main logger functions
| logger-buffer.c | Logger buffer list management
| logger-config.c | Logger config options
| logger-config.c | Logger config options (file logger.conf)
| logger-info.c | Logger info/infolists/hdata
| logger-tail.c | Return last lines of a file
| lua/ | Lua plugin
@@ -229,7 +227,7 @@ Plugins
| relay-client.c | Clients of relay
| relay-command.c | Relay commands
| relay-completion.c | Relay completions
| relay-config.c | Relay config options
| relay-config.c | Relay config options (file relay.conf)
| relay-info.c | Relay info/infolists/hdata
| relay-network.c | Network functions for relay
| relay-raw.c | Relay raw buffer
@@ -247,7 +245,7 @@ Plugins
| rmodifier.c | Main rmodifier functions
| rmodifier-command.c | Rmodifier commands
| rmodifier-completion.c | Rmodifier completions
| rmodifier-config.c | Rmodifier config options
| rmodifier-config.c | Rmodifier config options (file rmodifier.conf)
| rmodifier-debug.c | Rmodifier debug functions
| rmodifier-info.c | Rmodifier info/infolists/hdata
| ruby/ | Ruby plugin
@@ -259,7 +257,7 @@ Plugins
| script-buffer.c | Buffer for scripts manager
| script-command.c | Commands for scripts manager
| script-completion.c | Completions for scripts manager
| script-config.c | Config options for scripts manager
| script-config.c | Config options for scripts manager (file script.conf)
| script-info.c | Script manager info/infolists/hdata
| script-repo.c | Download and read repository file
| tcl/ | Tcl plugin
@@ -271,7 +269,7 @@ Plugins
| xfer-chat.c | Xfer DCC chat
| xfer-command.c | Xfer commands
| xfer-completion.c | Xfer completions
| xfer-config.c | Xfer config options
| xfer-config.c | Xfer config options (file xfer.conf)
| xfer-dcc.c | Xfer DCC file
| xfer-file.c | File functions for xfer
| xfer-info.c | Xfer info/infolists/hdata
@@ -292,8 +290,8 @@ Documentation files:
| asciidoc.conf | Asciidoc configuration file (some macros)
| asciidoc.css | Asciidoc style
| docgen.py | Python script to build files in "autogen/" directory (see below)
| weechat-curses.1 | Weechat man page
| XX/ | Documentation for language XX (languages: en, fr, de, it, ...)
| weechat.1.XX.txt | Man page
| weechat_quickstart.XX.txt | Quickstart guide
| weechat_user.XX.txt | User's guide
| weechat_faq.XX.txt | FAQ
@@ -301,10 +299,11 @@ Documentation files:
| weechat_scripting.XX.txt | Scripting guide
| weechat_tester.XX.txt | Tester's guide
| weechat_dev.XX.txt | Developer's guide (this document)
| weechat_relay_protocol.en.txt | Relay protocol
| weechat_relay_protocol.XX.txt | Relay protocol
| cmdline_options.XX.txt | Command-line options (file included in man page and user's guide)
| autogen/ | Files auto-built with script docgen.py (do *NEVER* update manually!)
| user/ | Files auto-built for user's guide
| plugin_api/ | Files auto-built for plugin API
| user/ | Files auto-built for user's guide (do *NEVER* update manually!)
| plugin_api/ | Files auto-built for plugin API (do *NEVER* update manually!)
|========================================
Translations for WeeChat and plugins are done with gettext, files are in 'po/' directory:
@@ -773,6 +772,7 @@ All combinations are summarized in this table:
| @h(19) + "b" + "#" | @h(19)`b#` | input bar | Move cursor char char (used only in item "input_text")
| @h(19) + "b" + "i" | @h(19)`bi` | bars | Start item
| @h(19) + "b" + "l" (lower L) | @h(19)`bl` | bars | Start line item
| @h(19) + "E" | @h(19)`E` | chat + bars | Emphasize text _(new in version 0.4.2)_
| @h(19) + @h(1C) | @h(19)@h(1C) | chat + bars | Reset color (keep attributes)
| @h(1A) + ATTR | @h(1A)`*` | chat + bars | Set attribute
| @h(1B) + ATTR | @h(1B)`*` | chat + bars | Remove attribute
@@ -824,6 +824,10 @@ Color codes using options (see 't_gui_color_enum', in file 'src/gui/gui-color.h'
| 37 | weechat.color.chat_prefix_buffer_inactive_buffer _(new in version 0.3.6)_
| 38 | weechat.color.chat_nick_offline _(new in version 0.3.9)_
| 39 | weechat.color.chat_nick_offline_highlight _(new in version 0.3.9)_
| 40 | weechat.color.chat_nick_prefix _(new in version 0.4.1)_
| 41 | weechat.color.chat_nick_suffix _(new in version 0.4.1)_
| 42 | weechat.color.emphasis _(new in version 0.4.2)_
| 43 | weechat.color.chat_day_change _(new in version 0.4.2)_
|========================================
WeeChat colors are:
@@ -831,23 +835,23 @@ WeeChat colors are:
[width="40%",cols="^1m,6",options="header"]
|========================================
| Code | Color
| 00 | default (terminal foreground/background)
| 01 | black
| 02 | dark gray
| 03 | dark red
| 04 | light red
| 05 | dark green
| 06 | light green
| 07 | brown
| 08 | yellow
| 09 | dark blue
| 10 | light blue
| 11 | dark magenta
| 12 | light magenta
| 13 | dark cyan
| 14 | light cyan
| 15 | gray
| 16 | white
| 00 | Default (terminal foreground/background)
| 01 | Black
| 02 | Dark gray
| 03 | Dark red
| 04 | Light red
| 05 | Dark green
| 06 | Light green
| 07 | Brown
| 08 | Yellow
| 09 | Dark blue
| 10 | Light blue
| 11 | Dark magenta
| 12 | Light magenta
| 13 | Dark cyan
| 14 | Light cyan
| 15 | Gray
| 16 | White
|========================================
Examples of color codes:
@@ -855,13 +859,13 @@ Examples of color codes:
[width="50%",cols="1,2",options="header"]
|========================================
| Code | Description
| @h(19)`01` | color of option "01" (chat text)
| @h(19)`*08,03` | yellow on red
| @h(19)`*@00214` | orange (extended color 214)
| @h(19)`*@*_00214,@00017` | bold underlined orange (214) on dark blue (17)
| @h(1A)`_` | set underline
| @h(1B)`_` | remove underline
| @h(1C)`bD` | reset attributes and color
| @h(19)`01` | Color of option "01" (chat text)
| @h(19)`*08,03` | Yellow on red
| @h(19)`*@00214` | Orange (extended color 214)
| @h(19)`*@*_00214,@00017` | Bold underlined orange (214) on dark blue (17)
| @h(1A)`_` | Set underline
| @h(1B)`_` | Remove underline
| @h(1C)`bD` | Reset attributes and color
|========================================
[[plugin_internals]]
+37 -38
View File
@@ -26,43 +26,24 @@ apply to WeeChat!).
Why choose WeeChat? X-Chat and Irssi are so good...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Because WeeChat is very light and has new features.
Some features (version ≥ 0.3.x):
Because WeeChat is very light and brings innovating features.
* multi-protocol support via plugins (IRC, Jabber)
* many remote GUI's in addition to Curses (coming soon)
* 256 colors support
* available in many languages
* extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* buffers with free content
* display filtering by tags and regular expressions
* horizontal and vertical window split
* customizable and extensible bars
* native nicklist
* list of buffers (script buffers.pl)
* IRC proxy
* redirection of IRC commands
* incremental text search in buffers, jump to highlights
* FIFO pipe for remote control
* aspell support
* double charset (encoding/decoding)
* developed from scratch (not based on any other client)
* multi-platform
* 100% GPL and free
More info on this page: http://www.weechat.org/features
More info on this page: http://weechat.org/about/features
[[compilation_install]]
Compilation / install
---------------------
[[gui]]
I heard about many GUI's for WeeChat. How can I compile/use them?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I heard about many GUIs for WeeChat. How can I compile/use them?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Today only a Curses GUI is available.
Some remote GUIs are available:
Other GUI's will be available as remote clients (currently under development).
* http://weechat.org/download/devel[QWeeChat] (Qt)
* https://github.com/ubergeek42/weechat-android[weechat-android] (Android)
* https://github.com/the-kenny/weechat.el[weechat.el] (Emacs)
* https://github.com/eirikb/weecloud[weecloud] (Web)
[[compile_git]]
I can't compile WeeChat after cloning git repository, why?
@@ -98,8 +79,8 @@ I don't see some chars with accents, what can I do?
It's common issue, please read carefully and check *ALL* solutions below:
* check that weechat-curses is linked to libncursesw (warning: needed on most
distributions but not all): `ldd /path/to/weechat-curses`
* check that weechat is linked to libncursesw (warning: needed on most
distributions but not all): `ldd /path/to/weechat`
* check that the "Charset" plugin is loaded with `/plugin` command (if it is
not, then you probably need the "weechat-plugins" package)
* check the output of command `/charset` (on core buffer). You should see
@@ -112,6 +93,8 @@ It's common issue, please read carefully and check *ALL* solutions below:
rxvt-unicode)
** if you are using screen, check that it is run with UTF-8 mode
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen)
* check that option 'weechat.look.eat_newline_glitch' is off (this option may
cause display bugs)
[NOTE]
UTF-8 locale is recommended for WeeChat. If you're using ISO or other
@@ -284,7 +267,7 @@ URL selection):
This option may cause display bugs. If you experience such problem, you must
turn off this option.
Other solution is to use a script: http://www.weechat.org/scripts/stable/tag/url
Other solution is to use a script: http://weechat.org/scripts/stable/tag/url
[[change_locale_without_quit]]
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
@@ -518,6 +501,22 @@ Setup server port, SSL, dhkey_size, then connect:
/connect freenode
----------------------------------------
[[irc_oauth]]
How to connect to a server that requires "oauth"?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some servers like 'twitch' require oauth to connect.
The oauth is simply a password with the value "oauth:XXXX".
You can create such server and connect with following commands (replace name
and address by appropriate values):
----------------------------------------
/server add name irc.server.org -password="oauth:XXXX"
/connect name
----------------------------------------
[[irc_sasl]]
How can I be identified before joining channels?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -678,7 +677,7 @@ For 'launcher.pl', you have to setup command:
/set plugins.var.perl.launcher.signal.weechat_highlight "/path/to/command arguments"
----------------------------------------
Other scripts on this subject: http://www.weechat.org/scripts/stable/tag/notify/
Other scripts on this subject: http://weechat.org/scripts/stable/tag/notify/
[[irc_target_buffer]]
How can I change target buffer for commands on merged buffers (like buffer with servers)?
@@ -755,7 +754,7 @@ There are 3 ways:
* request a new feature: https://savannah.nongnu.org/task/?group=weechat
* send a patch: https://savannah.nongnu.org/patch/?group=weechat
. you can mail developers, look at support page for developer's mails:
http://www.weechat.org/about
http://weechat.org/dev/support
(you can subscribe and send to "support" mailing list)
[[gdb_error_threads]]
@@ -765,7 +764,7 @@ When I run WeeChat under gdb, there is error about threads, what can I do?
When you run WeeChat under gdb, you may have this error:
----------------------------------------
$ gdb /path/to/weechat-curses
$ gdb /path/to/weechat
(gdb) run
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
@@ -775,7 +774,7 @@ To fix that, you can run gdb with this command (replace path to libpthread and
WeeChat with paths on your system):
----------------------------------------
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
$ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat
(gdb) run
----------------------------------------
@@ -783,7 +782,7 @@ $ LD_PRELOAD=/lib/libpthread.so.0 gdb /path/to/weechat-curses
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The full list is on this page: http://www.weechat.org/download
The full list is on this page: http://weechat.org/download
We do our best to run on as many platforms as possible. Help is welcome for
some OS' we don't have, to test WeeChat.
@@ -795,11 +794,11 @@ I want to help WeeChat developers. What can I do?
There's many tasks to do (testing, code, documentation, ...)
Please contact us via IRC or mail, look at support page:
http://www.weechat.org/support
http://weechat.org/dev/support
[[donate]]
Can I give money or other things to WeeChat developers?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can give us money to help development.
Details on http://www.weechat.org/donate
Details on http://weechat.org/about/donate
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -13,7 +13,7 @@ A recommended terminal emulator for X (but not mandatory) is rxvt-unicode
Run from your shell:
----------------------------------------
$ weechat-curses
$ weechat
----------------------------------------
@@ -306,7 +306,7 @@ Plugins are automatically loaded when found (please look at the WeeChat
documentation to load/unload plugins or scripts).
Many external scripts (from contributors) are available for WeeChat:
http://www.weechat.org/scripts
http://weechat.org/scripts
You can manage scripts in WeeChat with command `/script` (see `/help script`
for more info).
@@ -317,6 +317,6 @@ More documentation
------------------
You can now use WeeChat and read FAQ/documentation for any other questions:
http://www.weechat.org/doc
http://weechat.org/doc
Enjoy using WeeChat!
+85 -40
View File
@@ -113,9 +113,9 @@ init [<option>=<value>,[<option>=<value>,...]]
Arguments:
* 'option': one of following options:
** 'password' (required): password used to authenticate on 'relay' (option
** 'password': password used to authenticate on 'relay' (option
'relay.network.password' in WeeChat)
** 'compression' (optional): compression type:
** 'compression': compression type:
*** 'zlib': enable zlib compression for messages sent by 'relay'
*** 'off': disable compression
@@ -310,13 +310,13 @@ Arguments:
'buffers,upgrade,buffer,nicklist' for "*" and 'buffer,nicklist' for a buffer):
** 'buffers': receive signals about buffers (opened/closed, moved, renamed,
merged/unmerged, renamed); this can be used only with name "*"
(_new in version 0.4.1_)
_(new in version 0.4.1)_
** 'upgrade': receive signals about WeeChat upgrade (upgrade, upgrade ended);
this can be used only with name "*"
(_new in version 0.4.1_)
_(new in version 0.4.1)_
** 'buffer': receive signals about buffer (new lines, type changed, title
changed, local variable added/removed, and same signals as 'buffers' for the
buffer) (_updated in version 0.4.1_)
buffer) _(updated in version 0.4.1)_
** 'nicklist': receive nicklist after changes
Examples:
@@ -437,6 +437,29 @@ Returned objects (in this order):
| array of integers | arr int | { 123, 456, 789 }
|=====================================================
[[command_ping]]
ping
~~~~
_Added in version 0.4.2._
Send a ping to WeeChat which will reply with a message "_pong" and same arguments.
This command is useful to test that connection with WeeChat is still alive and
measure the network lag.
Syntax:
----------------------------------------
ping [<arguments>]
----------------------------------------
Example:
----------------------------------------
ping 1370802127000
----------------------------------------
[[command_quit]]
quit
~~~~
@@ -503,25 +526,26 @@ There are two different identifiers ('id'):
WeeChat reserved identifiers:
[width="100%",cols="5m,5,3,3,8",options="header"]
[width="100%",cols="5m,5,3,4,7",options="header"]
|=====================================================
| Identifier | Description | Received with sync | Hdata type | Recommended action in client
| _buffer_opened | Buffer opened | buffers / buffer | buffer | Open buffer
| _buffer_moved | Buffer moved | buffers / buffer | buffer | Move buffer
| _buffer_merged | Buffer merged | buffers / buffer | buffer | Merge buffer
| _buffer_unmerged | Buffer unmerged | buffers / buffer | buffer | Unmerge buffer
| _buffer_renamed | Buffer renamed | buffers / buffer | buffer | Rename buffer
| _buffer_title_changed | Title of buffer changed | buffers / buffer | buffer | Change title of buffer
| _buffer_type_changed | Type of buffer changed | buffer | buffer | Change type of buffer
| _buffer_localvar_added | Local variable added | buffer | buffer | Add local variable in buffer
| _buffer_localvar_changed | Local variable changed | buffer | buffer | Change local variable in buffer
| _buffer_localvar_removed | Local variable removed | buffer | buffer | Remove local variable from buffer
| _buffer_line_added | Line added in buffer | buffer | line | Display line in buffer
| _buffer_closing | Buffer closing | buffers / buffer | buffer | Close buffer
| _nicklist | Nicklist for a buffer | nicklist | nicklist_item | Replace nicklist
| _nicklist_diff | Nicklist diffs for a buffer | nicklist | nicklist_item | Update nicklist
| _upgrade | WeeChat is upgrading | upgrade | (empty) | Desync from WeeChat (or disconnect)
| _upgrade_ended | Upgrade of WeeChat done | upgrade | (empty) | Sync/resync with WeeChat
| Identifier | Description | Received with sync | Data sent | Recommended action in client
| _buffer_opened | Buffer opened | buffers / buffer | hdata: buffer | Open buffer
| _buffer_moved | Buffer moved | buffers / buffer | hdata: buffer | Move buffer
| _buffer_merged | Buffer merged | buffers / buffer | hdata: buffer | Merge buffer
| _buffer_unmerged | Buffer unmerged | buffers / buffer | hdata: buffer | Unmerge buffer
| _buffer_renamed | Buffer renamed | buffers / buffer | hdata: buffer | Rename buffer
| _buffer_title_changed | Title of buffer changed | buffers / buffer | hdata: buffer | Change title of buffer
| _buffer_type_changed | Type of buffer changed | buffer | hdata: buffer | Change type of buffer
| _buffer_localvar_added | Local variable added | buffer | hdata: buffer | Add local variable in buffer
| _buffer_localvar_changed | Local variable changed | buffer | hdata: buffer | Change local variable in buffer
| _buffer_localvar_removed | Local variable removed | buffer | hdata: buffer | Remove local variable from buffer
| _buffer_line_added | Line added in buffer | buffer | hdata: line | Display line in buffer
| _buffer_closing | Buffer closing | buffers / buffer | hdata: buffer | Close buffer
| _nicklist | Nicklist for a buffer | nicklist | hdata: nicklist_item | Replace nicklist
| _nicklist_diff | Nicklist diffs for a buffer | nicklist | hdata: nicklist_item | Update nicklist
| _pong | Answer to a "ping" | (always) | string: ping arguments | Measure network lag
| _upgrade | WeeChat is upgrading | upgrade | (empty) | Desync from WeeChat (or disconnect)
| _upgrade_ended | Upgrade of WeeChat done | upgrade | (empty) | Sync/resync with WeeChat
|=====================================================
[[message_buffer_opened]]
@@ -530,7 +554,7 @@ _buffer_opened
It is sent to the client when the signal "buffer_opened" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -573,7 +597,7 @@ _buffer_moved
It is sent to the client when the signal "buffer_moved" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -606,7 +630,7 @@ _buffer_merged
It is sent to the client when the signal "buffer_merged" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -639,7 +663,7 @@ _buffer_unmerged
It is sent to the client when the signal "buffer_unmerged" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -672,7 +696,7 @@ _buffer_renamed
It is sent to the client when the signal "buffer_renamed" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -707,7 +731,7 @@ _buffer_title_changed
It is sent to the client when the signal "buffer_title_changed" is sent by
WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -738,7 +762,7 @@ _buffer_type_changed
It is sent to the client when the signal "buffer_type_changed" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -771,7 +795,7 @@ _buffer_localvar_added
It is sent to the client when the signal "buffer_localvar_added" is sent by
WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -805,7 +829,7 @@ _buffer_localvar_changed
It is sent to the client when the signal "buffer_localvar_changed" is sent by
WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -839,7 +863,7 @@ _buffer_localvar_removed
It is sent to the client when the signal "buffer_localvar_removed" is sent by
WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -871,7 +895,7 @@ _buffer_line_added
It is sent to the client when the signal "buffer_line_added" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -913,7 +937,7 @@ _buffer_closing
It is sent to the client when the signal "buffer_closing" is sent by WeeChat.
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -946,7 +970,7 @@ added/removed/changed). The message contains full nicklist.
When small updates are made on a nicklist (for example just add one nick),
another message with identifier '_nicklist_diff' is sent (see below).
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
@@ -1035,12 +1059,12 @@ It is sent to the client when small updates are made on a nicklist (groups/nicks
added/removed/changed). The message contains nicklist differences (between old
nicklist and current one).
Data sent in the hdata:
Data sent as hdata:
[width="60%",cols="3m,2,7",options="header"]
|=====================================================
| Name | Type | Description
| _diff | char | type of diff (see below)
| _diff | char | Type of diff (see below)
| group | char | 1 for a group, 0 for a nick
| visible | char | 1 if group/nick is displayed, otherwise 0
| level | integer | Level of group (0 for a nick)
@@ -1121,6 +1145,19 @@ hda:
prefix_color: ''
----------------------------------------
[[message_pong]]
_pong
^^^^^
_New in version 0.4.2._
It is sent to the client when WeeChat receives a "ping" message.
Data sent as string: arguments received in the ping message.
The recommended action in client is to measure network lag and disconnect if
network lag is high.
[[message_upgrade]]
_upgrade
^^^^^^^^
@@ -1129,7 +1166,7 @@ _New in version 0.3.8._
It is sent to the client when WeeChat is starting upgrade process.
There is no data in the hdata.
There is no data in the message.
The recommended action in client is to desynchronize from WeeChat (send command
'desync'), or to disconnect from WeeChat (because after upgrade, all pointers
@@ -1147,7 +1184,7 @@ _New in version 0.3.8._
It is sent to the client when WeeChat has finished the upgrade process.
There is no data in the hdata.
There is no data in the message.
The recommended action in client is to resynchronize with WeeChat: resend all
commands sent on startup after the 'init'.
@@ -1569,6 +1606,14 @@ create buffers ║ msg: hda buffer ║
║ ║ ◄─────────────────────────╢ (hooked by relay)
║ ◄─────────────────────────────────────╢ signal XXX ║
update buffers ║ msg: id: "_buffer_..." ║ ║
║ ║ ║
║ ........ ║ ........ ║
║ ║ ║
╟─────────────────────────────────────► ║ ║
║ cmd: ping ... ║ ║
║ ║ ║
║ ◄─────────────────────────────────────╢ ║
measure lag ║ msg: id: "_pong" ... ║ ║
║ ║ ║
║ ........ ║ ........ ║
║ ║ ║
+4 -4
View File
@@ -6,7 +6,7 @@ Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
Latest version of this document can be found on this page:
http://www.weechat.org/doc
http://weechat.org/doc
[[introduction]]
@@ -548,7 +548,7 @@ Examples:
[source,python]
----------------------------------------
# execute command "/help" on core buffer
# execute command "/help" on current buffer (result is on core buffer)
weechat.command("", "/help")
# send "hello" to #weechat IRC channel (users on channel will see message)
@@ -736,12 +736,12 @@ def weechat_process_cb(data, command, rc, out, err):
weechat.prnt("", "Current WeeChat stable is: %s" % weechat_version)
return weechat.WEECHAT_RC_OK
weechat.hook_process("url:http://weechat.org/info/stable/",
weechat.hook_process("url:http://weechat.org/dev/info/stable/",
30 * 1000, "weechat_process_cb", "")
----------------------------------------
[TIP]
All infos available about WeeChat are on page http://weechat.org/info
All infos available about WeeChat are on page http://weechat.org/dev/info
Example of URL transfer with an option: download latest WeeChat development
package in file '/tmp/weechat-devel.tar.gz':
+19 -15
View File
@@ -36,7 +36,9 @@ info, to know exactly where is problem in WeeChat.
If you're using the 'bash' shell, add following line to your `~/.bashrc`:
ulimit -c unlimited
----------------------------------------
ulimit -c unlimited
----------------------------------------
[[download]]
@@ -57,48 +59,48 @@ Get and build sources
First create a directory, for example 'weechat-git':
---------------------
----------------------------------------
$ mkdir ~/weechat-git
$ cd ~/weechat-git
---------------------
----------------------------------------
If you have git installed, you can just clone the git repository (recommended
way):
--------------------------------------------
----------------------------------------
$ git clone git://git.sv.gnu.org/weechat.git
$ cd weechat
--------------------------------------------
----------------------------------------
NOTE: Later, you can run "`git pull`" in this directory, to get deltas with
the latest updates.
Otherwise you can download and unpack 'devel' package:
-----------------------------------------------------------------
----------------------------------------
$ wget http://www.weechat.org/files/src/weechat-devel.tar.bz2
$ tar xvjf weechat-devel.tar.bz2
$ cd weechat-devel
-----------------------------------------------------------------
----------------------------------------
To build sources, cmake is recommended:
--------------------------------------------------------------
----------------------------------------
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=$HOME/weechat-git -DCMAKE_BUILD_TYPE=Debug
$ cmake .. -DPREFIX=$HOME/weechat-git -DWEECHAT_HOME=~/.weechat-dev -DCMAKE_BUILD_TYPE=Debug
$ make
$ make install
--------------------------------------------------------------
----------------------------------------
If you don't have cmake, it's still possible to use autotools:
----------------------------------------------------------
----------------------------------------
$ ./autogen.sh
$ ./configure --prefix=$HOME/weechat-git
$ ./configure --prefix=$HOME/weechat-git WEECHAT_HOME=~/.weechat-dev
$ make
$ make install
----------------------------------------------------------
----------------------------------------
[[install_binary_package]]
Install binary package
@@ -107,7 +109,7 @@ Install binary package
According to your Linux distribution:
* Debian: http://debian.flashtux.org/
* Gentoo: http://www.weechat.org/download
* Gentoo: http://weechat.org/download
* ArchLinux: PKGBUILD from http://aur.archlinux.org/
* other: we don't know! Eheh.
@@ -121,7 +123,9 @@ version), with option `--dir`.
Command is:
~/weechat-git/bin/weechat-curses --dir ~/.weechat-dev
----------------------------------------
$ ~/weechat-git/bin/weechat
----------------------------------------
If you're still awake you should see the familiar interface and brag about
having the newest possible version of WeeChat. ;)
+404 -134
View File
@@ -6,7 +6,7 @@ Sébastien Helleu <flashcode@flashtux.org>
This manual documents WeeChat chat client, it is part of WeeChat.
Latest version of this document can be found on this page:
http://www.weechat.org/doc
http://weechat.org/doc
[[introduction]]
@@ -34,7 +34,7 @@ Main features are:
* multi-platform (GNU/Linux, *BSD, MacOS X, Windows and other)
* 100% GPL, free software
WeeChat homepage is here: http://www.weechat.org/
WeeChat homepage is here: http://weechat.org/
[[pre-requisites]]
Pre-requisites
@@ -86,24 +86,26 @@ compile WeeChat.
[width="100%",cols="5,^3,^3,13",options="header"]
|========================================
| Package ^(1)^ | Version | Required | Feature
| cmake | | *yes* | build (autotools still possible, but cmake is recommended)
| libncursesw5-dev ^(2)^ | | *yes* | ncurses interface
| libcurl4-gnutls-dev | | *yes* | URL transfer
| zlib1g-dev | | *yes* | compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | internationalization (translation of messages; base language is English)
| ca-certificates | | | certificates for SSL connections
| libaspell-dev | | | aspell plugin
| python-dev | ≥ 2.5 ^(3)^ | | python plugin
| libperl-dev | | | perl plugin
| ruby1.9.1-dev | ≥ 1.8 | | ruby plugin
| liblua5.1-0-dev | | | lua plugin
| tcl-dev | ≥ 8.5 | | tcl plugin
| guile-2.0-dev | ≥ 2.0 | | guile (scheme) plugin
| asciidoc | ≥ 8.5.0 | | build documentation (HTML files)
| source-highlight | | | syntax highlight for sources in HTML documentation
| Package ^(1)^ | Version | Required | Feature
| cmake | | *yes* | Build (autotools still possible, but cmake is recommended)
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface
| libcurl4-gnutls-dev | | *yes* | URL transfer
| zlib1g-dev | | *yes* | Compression of packets in relay plugin (weechat protocol), script plugin
| libgcrypt11-dev | | *yes* | Secured data, IRC SASL authentication (DH-BLOWFISH/DH-AES), script plugin
| libgnutls-dev | ≥ 2.2.0 | | SSL connection to IRC server, support of SSL in relay plugin
| gettext | | | Internationalization (translation of messages; base language is English)
| ca-certificates | | | Certificates for SSL connections
| libaspell-dev or libenchant-dev | | | Aspell plugin
| python-dev | ≥ 2.5 ^(3)^ | | Python plugin
| libperl-dev | | | Perl plugin
| ruby1.9.1-dev | ≥ 1.8 | | Ruby plugin
| liblua5.1-0-dev | | | Lua plugin
| tcl-dev | ≥ 8.5 | | Tcl plugin
| guile-2.0-dev | ≥ 2.0 | | Guile (scheme) plugin
| asciidoc | ≥ 8.5.0 | | Build man page and documentation
| source-highlight | | | Syntax highlight for sources in documentation
| xsltproc,
docbook-xml, docbook-xsl | | | Build of man page
|========================================
[NOTE]
@@ -138,6 +140,121 @@ $ make
$ make install
----------------------------------------
Options can be used for cmake, with format: "-DOPTION=VALUE".
List of commonly used options:
[width="100%",cols="2m,2,5m,12",options="header"]
|========================================
| Option | Values | Default value | Description
| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | |
The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are
running development version of WeeChat.
| PREFIX | directory | /usr/local |
The directory where WeeChat will be installed.
| WEECHAT_HOME | directory | ~/.weechat |
The default home directory when running WeeChat.
| CA_FILE | file | /etc/ssl/certs/ca-certificates.crt |
File containing the certificate authorities.
This is the default value of option
<<option_weechat.network.gnutls_ca_file,weechat.network.gnutls_ca_file>>.
| ENABLE_ALIAS | `ON`, `OFF` | ON |
Compile <<alias_plugin,Alias plugin>>.
| ENABLE_ASPELL | `ON`, `OFF` | ON |
Compile <<aspell_plugin,Aspell plugin>>.
| ENABLE_CHARSET | `ON`, `OFF` | ON |
Compile <<charset_plugin,Charset plugin>>.
| ENABLE_MAN | `ON`, `OFF` | OFF |
Compile man page.
| ENABLE_DOC | `ON`, `OFF` | OFF |
Compile documentation (it takes a long time, recommended only if you build
a binary package embedding documentation or if you can't browse documentation
online).
| ENABLE_ENCHANT | `ON`, `OFF` | OFF |
Compile <<aspell_plugin,Aspell plugin>> with Enchant.
| ENABLE_FIFO | `ON`, `OFF` | ON |
Compile <<fifo_plugin,Fifo plugin>>.
| ENABLE_GNUTLS | `ON`, `OFF` | ON |
Enable Gnutls (for SSL).
| ENABLE_GUILE | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Guile plugin>> (Scheme).
| ENABLE_IRC | `ON`, `OFF` | ON |
Compile <<irc_plugin,IRC plugin>>.
| ENABLE_LARGEFILE | `ON`, `OFF` | ON |
Support of large files.
| ENABLE_LOGGER | `ON`, `OFF` | ON |
Compile <<logger_plugin,Logger plugin>>.
| ENABLE_LUA | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Lua plugin>>.
| ENABLE_NCURSES | `ON`, `OFF` | ON |
Compile Ncurses interface.
| ENABLE_NLS | `ON`, `OFF` | ON |
Enable NLS (translations).
| ENABLE_PERL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Perl plugin>>.
| ENABLE_PYTHON | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Python plugin>>.
| ENABLE_PYTHON3 | `ON`, `OFF` | OFF |
Compile <<scripts_plugins,Python plugin>> using Python 3 (*NOT* recommended
because many scripts are not compatible with Python 3).
| ENABLE_RELAY | `ON`, `OFF` | ON |
Compile <<relay_plugin,Relay plugin>>.
| ENABLE_RMODIFIER | `ON`, `OFF` | ON |
Compile <<rmodifier_plugin,Rmodifier plugin>>.
| ENABLE_RUBY | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Ruby plugin>>.
| ENABLE_SCRIPT | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Script plugin>>.
| ENABLE_SCRIPTS | `ON`, `OFF` | ON |
Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl,
Guile).
| ENABLE_TCL | `ON`, `OFF` | ON |
Compile <<scripts_plugins,Tcl plugin>>.
| ENABLE_XFER | `ON`, `OFF` | ON |
Compile <<xfer_plugin,Xfer plugin>>.
|========================================
The other options can be displayed with this command:
----------------------------------------
$ cmake -LA
----------------------------------------
Or with Curses interface:
----------------------------------------
$ ccmake ..
----------------------------------------
[[compile_with_autotools]]
Compile with autotools
^^^^^^^^^^^^^^^^^^^^^^
@@ -165,6 +282,13 @@ $ make
$ make install
----------------------------------------
Options can be used for 'configure' script, they can be displayed with this
command:
----------------------------------------
$ ./configure --help
----------------------------------------
[[git_sources]]
Git sources
~~~~~~~~~~~
@@ -241,16 +365,16 @@ When WeeChat crashes, your system will create a file 'core' or 'core.12345'
This file is created in directory where you have run WeeChat (this is *not*
directory where WeeChat is installed!).
For example if 'weechat-curses' is installed in '/usr/bin/' and 'core' file is
For example if 'weechat' is installed in '/usr/bin/' and 'core' file is
in '/home/xxx/', then run gdb with this command:
----------------------------------------
gdb /usr/bin/weechat-curses /home/xxx/core
gdb /usr/bin/weechat /home/xxx/core
----------------------------------------
[NOTE]
If you installed binary package 'weechat-dbg' (for example under Debian), then
you can use this path for WeeChat binary: '/usr/lib/debug/usr/bin/weechat-curses'
you can use this path for WeeChat binary: '/usr/lib/debug/usr/bin/weechat'
Then under gdb, use command `bt full` to display backtrace.
You will see something like that:
@@ -291,10 +415,10 @@ Debug a running WeeChat
^^^^^^^^^^^^^^^^^^^^^^^
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):
gdb with process id (replace '12345' with PID of weechat process):
----------------------------------------
gdb /usr/bin/weechat-curses 12345
gdb /usr/bin/weechat 12345
----------------------------------------
Then like for a crash, use command `bt full`:
@@ -313,45 +437,12 @@ Running WeeChat
Command line arguments:
-a, --no-connect::
Disable auto-connect to servers when WeeChat is starting.
-c, --colors::
Display default colors in terminal.
-d, --dir 'path'::
Set path as home for WeeChat (used for configuration files, logs, user
plugins and scripts), default value is '~/.weechat' (note: directory is
created if not found by WeeChat).
-h, --help::
Display help.
-k, --keys::
Display WeeChat default keys.
-l, --license::
Display WeeChat license.
-p, --no-plugin::
Disable plugins auto-load.
-r, --run-command::
Run command(s) after startup (many commands can be separated by semicolons).
-s, --no-script::
Disable scripts auto-load.
-v, --version::
Display WeeChat version.
plugin:option::
Option for plugin (see doc for each plugin).
include::cmdline_options.en.txt[]
To start WeeChat, issue this command:
----------------------------------------
$ weechat-curses
$ weechat
----------------------------------------
When you run WeeChat for the first time, a default configuration file is
@@ -413,18 +504,18 @@ Bar 'status' has following default items:
[width="100%",cols="^3,^3l,10",options="header"]
|========================================
| Item | Example | Description
| time | [12:55] | time
| buffer_count | [6] | number of opened buffers
| buffer_plugin | [irc/freenode] | plugin of current buffer (irc plugin can add IRC server name used by buffer)
| buffer_number | 3 | current buffer number
| buffer_name | #test | current buffer name
| time | [12:55] | Time
| buffer_count | [6] | Number of opened buffers
| buffer_plugin | [irc/freenode] | Plugin of current buffer (irc plugin can add IRC server name used by buffer)
| buffer_number | 3 | Current buffer number
| buffer_name | #test | Current buffer name
| buffer_modes | +n | IRC channel modes
| buffer_nicklist_count | {4} | number of nicks in nicklist
| buffer_filter | * | filtering indicator: `*` means some lines are filtered (hidden), empty value means all lines are displayed
| lag | [Lag: 2.5] | lag indicator, in seconds (hidden if lag is low)
| hotlist | [Act: 4:#abc(2,5), 6] | list of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on '#abc', one unread message on buffer #6)
| completion | abc(2) def(5) | list of words for completion, with number of possible completions for each word
| scroll | -MORE(50)- | scroll indicator, with number of lines below last line displayed
| buffer_nicklist_count | {4} | Number of nicks in nicklist
| buffer_filter | * | Filtering indicator: `*` means some lines are filtered (hidden), empty value means all lines are displayed
| lag | [Lag: 2.5] | Lag indicator, in seconds (hidden if lag is low)
| hotlist | [Act: 4:#abc(2,5), 6] | List of buffers with activity (unread messages) (in example, 2 highlights and 5 unread messages on '#abc', one unread message on buffer #6)
| completion | abc(2) def(5) | List of words for completion, with number of possible completions for each word
| scroll | -MORE(50)- | Scroll indicator, with number of lines below last line displayed
|========================================
Bar 'input' has following default items:
@@ -432,11 +523,11 @@ Bar 'input' has following default items:
[width="100%",cols="^3,^6l,8",options="header"]
|========================================
| Item | Example | Description
| input_paste | [Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No] | question to user for pasting lines
| input_prompt | [@Flashy] | input prompt (nick for irc plugin)
| away | (away) | away indicator
| input_search | [Text search] | text search indicator
| input_text | hi peter! | input text
| input_paste | [Paste 7 lines ? [ctrl-Y] Yes [ctrl-N] No] | Question to user for pasting lines
| input_prompt | [@Flashy] | Input prompt (nick for irc plugin)
| away | (away) | Away indicator
| input_search | [Search (~ str,msg)] | Search indicator ("`~`": case insensitive, "`==`": case sensitive, "`str`": search string, "`regex`": search regular expression, "`msg`": search in messages, "`pre`": search in prefixes, "`pre\|msg`": search in prefixes and messages)
| input_text | hi peter! | Input text
|========================================
[[buffers_and_windows]]
@@ -640,6 +731,10 @@ The option 'items' is a string with a list of bar items, separated by a comma
The list of bar items is displayed with command `/bar listitems`.
Before or after item name, you can use chars (that are not alphanumeric, "-" or
"_"). They will be displayed before/after item with the delimiters color
defined in bar (option 'color_delim').
Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
........................................
@@ -648,6 +743,20 @@ Example of bar with items "[time],buffer_number+:+buffer_plugin+.+buffer_name":
└─────────────────────────────────────────────────────────────────────────────────────────┘
........................................
A special syntax can be used to force the buffer used when displaying the bar
item: "@buffer:item" (where "buffer" is the full name of buffer and "item" is
the name of a bar item).
This is useful in root bars, to display item for a specific buffer which is
not displayed in the current window (or even not displayed at all).
Example: nicklist of bitlbee in a root bar (if the bar is called
'bitlist' and if bitlbee server is called 'bitlbee'):
----------------------------------------
/set weechat.bar.bitlist.items "@irc.bitlbee.&bitlbee:buffer_nicklist"
----------------------------------------
[[bar_filling]]
Filling
^^^^^^^
@@ -936,7 +1045,9 @@ text in buffer).
[width="100%",cols="^.^3,.^10,.^5l",options="header"]
|========================================
| Key | Description | Command
| @k(C-)@k(r) | Switch exact case for search | /input search_switch_case
| @k(C-)@k(r) | Switch search type: string (default), regular expression | /input search_switch_regex
| @k(A-)@k(c) | Switch exact case for search | /input search_switch_case
| @k(Tab) | Switch search in: messages (default), prefixes, prefixes + messages | /input search_switch_where
| @k(↑) | Search previous line | /input search_previous
| @k(↓) | Search next line | /input search_next
| @k(Enter) .3+| Stop search .3+| /input search_stop
@@ -1069,9 +1180,9 @@ List of modifiers:
[width="50%",cols="3m,4",options="header"]
|========================================
| Modifier | Description
| ctrl | key @k(-C-)
| alt | key @k(-A-)
| ctrl-alt | keys @k(-C-) and @k(-A-)
| ctrl | Key @k(-C-)
| alt | Key @k(-A-)
| ctrl-alt | Keys @k(-C-) and @k(-A-)
|========================================
List of buttons/wheel:
@@ -1079,12 +1190,12 @@ 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)
| 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):
@@ -1107,8 +1218,8 @@ List of incomplete events (only for buttons, useful for plugins/scripts):
[width="50%",cols="3m,4",options="header"]
|========================================
| Event | Description
| event-down | button was pressed but not released yet
| event-drag | mouse was moved with button pressed down
| event-down | Button was pressed but not released yet
| event-drag | Mouse was moved with button pressed down
|========================================
Example of events:
@@ -1250,7 +1361,7 @@ for colors in WeeChat:
^(1)^ Even if your terminal supports more than 256 pairs, only 256 pairs can be
used in WeeChat, because of a ncurses limitation.
You can run `weechat-curses --colors` or use command `/color` in WeeChat to
You can run `weechat --colors` or use command `/color` in WeeChat to
display limits for your environment.
Some recommended values for 'TERM' if you want 256 colors:
@@ -1285,23 +1396,23 @@ Basic colors in WeeChat are:
[width="50%",cols="^3m,8",options="header"]
|========================================
| Name | Color
| default | default terminal color (transparent for background)
| black | black
| darkgray | dark gray
| red | dark red
| lightred | light red
| green | dark green
| lightgreen | light green
| brown | brown
| yellow | yellow
| blue | dark blue
| lightblue | light blue
| magenta | dark magenta
| lightmagenta | light magenta
| cyan | dark cyan
| lightcyan | light cyan
| gray | gray
| white | white
| default | Default terminal color (transparent for background)
| black | Black
| darkgray | Dark gray
| red | Dark red
| lightred | Light red
| green | Dark green
| lightgreen | Light green
| brown | Brown
| yellow | Yellow
| blue | Dark blue
| lightblue | Light blue
| magenta | Dark magenta
| lightmagenta | Light magenta
| cyan | Dark cyan
| lightcyan | Light cyan
| gray | Gray
| white | White
|========================================
[[colors_extended]]
@@ -1377,15 +1488,66 @@ Example of bold with terminal foreground color:
/set weechat.color.status_time *99999
----------------------------------------
[[options_and_commands]]
Options and commands
~~~~~~~~~~~~~~~~~~~~
[[sec_options]]
Secured data options (sec.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| crypt | /set sec.crypt.* | Options for encryption
| data | <<command_weechat_secure,/secure>> | Secured data
|========================================
Options:
include::autogen/user/sec_options.txt[]
[[weechat_options]]
WeeChat options (weechat.conf)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| debug | <<command_weechat_debug,/debug set>> +
/set weechat.debug.* | Debug level, for core and plugins (options can be added/removed in section)
| startup | /set weechat.startup.* | Startup options
| look | /set weechat.look.* | Look and feel
| palette | <<command_weechat_color,/color alias>> +
/set weechat.palette.* | Color aliases (options can be added/removed in section)
| color | /set weechat.color.* | Colors
| completion | /set weechat.completion.* | Completion options
| history | /set weechat.history.* | History options (commands and buffers)
| proxy | <<command_weechat_proxy,/proxy>> +
/set weechat.proxy.* | Proxy options
| network | /set weechat.network.* | Network/SSL options
| bar | <<command_weechat_bar,/bar>> +
/set weechat.bar.* | Bar options
| layout | <<command_weechat_layout,/layout>> | Layouts
| notify | <<command_weechat_buffer,/buffer notify>> | Notify levels for buffers (options can be added/removed in section)
| filter | <<command_weechat_filter,/filter>> | Filters
| key | <<command_weechat_key,/key>> | Keys in default context
| key_search | <<command_weechat_key,/key>> | Keys in search context
| key_cursor | <<command_weechat_key,/key>> | Keys in cursor context
| key_mouse | <<command_weechat_key,/key>> | Keys in mouse context
|========================================
Options:
include::autogen/user/weechat_options.txt[]
[[weechat_commands]]
WeeChat commands
~~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^^
include::autogen/user/weechat_commands.txt[]
@@ -1393,13 +1555,6 @@ include::autogen/user/weechat_commands.txt[]
Plugins
-------
To learn more about plugin or script development (through API), please read
'WeeChat Plugin API Reference' or 'WeeChat Scripting Guide'.
[[plugins_in_weechat]]
Plugins in WeeChat
~~~~~~~~~~~~~~~~~~
A plugin is a dynamic library, written in C and compiled, which is loaded by
WeeChat.
Under GNU/Linux, the file has ".so" extension, ".dll" under Windows.
@@ -1433,12 +1588,12 @@ Default plugins are:
| alias | Define alias for commands
| aspell | Spell checking for command line
| charset | Charset decoding/encoding for buffers
| demo | Demo plugin (not compiled by default)
| fifo | FIFO pipe used to remotely send commands to WeeChat
| irc | IRC chat protocol
| logger | Log buffers to files
| relay | Relay data via network (IRC proxy)
| relay | Relay data via network
| rmodifier | Alter modifier strings with regular expressions
| script | Scripts manager
| python | Python scripting API
| perl | Perl scripting API
| ruby | Ruby scripting API
@@ -1448,6 +1603,9 @@ Default plugins are:
| xfer | File transfer and direct chat
|========================================
To learn more about plugin or script development (through API), please read
'WeeChat Plugin API Reference' or 'WeeChat Scripting Guide'.
[[alias_plugin]]
Alias plugin
~~~~~~~~~~~~
@@ -1472,6 +1630,20 @@ many languages by buffer.
Options (aspell.conf)
^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| color | /set aspell.color.* | Colors
| check | /set aspell.check.* | Options to control spell checking
| dict | <<command_aspell_aspell,/aspell setdict>> +
/set aspell.dict.* | Dictionaries used by buffer (options can be added/removed in section)
| option | /set aspell.option.* | <<aspell_speller_options,Speller options>> (options can be added/removed in section)
|========================================
Options:
include::autogen/user/aspell_options.txt[]
[[aspell_commands]]
@@ -1567,6 +1739,20 @@ charset: terminal: ISO-8859-15, internal: UTF-8
Options (charset.conf)
^^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| default | /set charset.default.* | Default decoding/encoding charset
| decode | <<command_charset_charset,/charset decode>> +
/set charset.decode.* | Decoding charset by buffer (options can be added/removed in section)
| encode | <<command_charset_charset,/charset encode>> +
/set charset.encode.* | Encoding charset by buffer (options can be added/removed in section)
|========================================
Options:
include::autogen/user/charset_options.txt[]
[[charset_commands]]
@@ -1713,13 +1899,31 @@ Example to join '#weechat' and '#toto' on server 'irc.freenode.net' server,
default port (6667), with nick 'nono':
----------------------------------------
$ weechat-curses irc://nono@irc.freenode.net/#weechat,#toto
$ weechat irc://nono@irc.freenode.net/#weechat,#toto
----------------------------------------
[[irc_options]]
Options (irc.conf)
^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set irc.look.* | Look and feel
| color | /set irc.color.* | Colors
| network | /set irc.network.* | Network options
| msgbuffer | /set irc.msgbuffer.* | <<irc_target_buffer,Target buffer for IRC messages>> (options can be added/removed in section)
| ctcp | /set irc.ctcp.* | <<irc_ctcp_replies,CTCP replies>> (options can be added/removed in section)
| ignore | <<command_irc_ignore,/ignore>> | Ignore people
| server_default | /set irc.server_default.* | Default values for servers (used when options in server are not defined)
| server | <<command_irc_server,/server>> +
/set irc.server.* | Servers
|========================================
Options:
include::autogen/user/irc_options.txt[]
[[irc_commands]]
@@ -1960,23 +2164,23 @@ when replying to CTCP:
[width="100%",cols="^2l,4,8l",options="header"]
|========================================
| Code | Description | Value/example
| $clientinfo | list of supported CTCP | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat version | 0.4.0-dev
| $versiongit | WeeChat version + git version | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | git version | v0.3.9-104-g7eb5cc4
| $compilation | WeeChat compilation date | Dec 16 2012
| $osinfo | info about OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat site | http://www.weechat.org/
| $download | WeeChat site, download page | http://www.weechat.org/download
| $time | current date/time | Sun, 16 Dec 2012 10:40:48 +0100
| $username | user name on IRC server | name
| $realname | real name on IRC server | John Doe
| Code | Description | Value/example
| $clientinfo | List of supported CTCP | ACTION DCC CLIENTINFO FINGER PING SOURCE TIME USERINFO VERSION
| $version | WeeChat version | 0.4.0-dev
| $versiongit | WeeChat version + git version ^(1)^ | 0.4.0-dev (git: v0.3.9-104-g7eb5cc4)
| $git | Git version ^(1)^ | v0.3.9-104-g7eb5cc4
| $compilation | WeeChat compilation date | Dec 16 2012
| $osinfo | Info about OS | Linux 2.6.32-5-amd64 / x86_64
| $site | WeeChat site | http://www.weechat.org/
| $download | WeeChat site, download page | http://www.weechat.org/download
| $time | Current date/time | Sun, 16 Dec 2012 10:40:48 +0100
| $username | User name on IRC server | name
| $realname | Real name on IRC server | John Doe
|========================================
[NOTE]
The git version is the output of command `git describe`. It is known only if
WeeChat has been compiled inside the git repository and if git was installed.
^(1)^ The git version is the output of command `git describe`. It is known only
if WeeChat has been compiled inside the git repository and if git was installed.
If CTCP options are not defined (by default), CTCP replies are:
@@ -2131,6 +2335,20 @@ about what and how it is saved.
Options (logger.conf)
^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set logger.look.* | Look and feel
| color | /set logger.color.* | Colors
| file | /set logger.file.* | Options for log files
| level | /set logger.level.* | Log level by buffer (options can be added/removed in section)
| mask | /set logger.mask.* | Filename mask by buffer (options can be added/removed in section)
|========================================
Options:
include::autogen/user/logger_options.txt[]
[[logger_commands]]
@@ -2278,6 +2496,21 @@ The Relay plugin is used to relay data via network, using different protocols:
Options (relay.conf)
^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set relay.look.* | Look and feel
| color | /set relay.color.* | Colors
| network | /set relay.network.* | Network options
| irc | /set relay.irc.* | Options specific to irc protocol (irc proxy)
| port | <<command_relay_relay,/relay add>> +
/set relay.port.* | Ports used for relay (irc and weechat protocols) (options can be added/removed in section)
|========================================
Options:
include::autogen/user/relay_options.txt[]
[[relay_commands]]
@@ -2404,6 +2637,18 @@ these passwords by `*`.
Options (rmodifier.conf)
^^^^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set rmodifier.look.* | Look and feel
| modifier | <<command_rmodifier_rmodifier,/rmodifier add>> +
/set rmodifier.modifier.* | Rmodifiers
|========================================
Options:
include::autogen/user/rmodifier_options.txt[]
[[rmodifier_commands]]
@@ -2461,7 +2706,7 @@ These plugins can load, execute and unload scripts for these languages.
Another plugin called "script" is a scripts manager and is used to load/unload
scripts of any language, and install/remove scripts of WeeChat scripts
repository, which are visible at this URL: http://www.weechat.org/scripts
repository, which are visible at this URL: http://weechat.org/scripts
For more information about how to write scripts, or WeeChat API for
scripts, please read 'WeeChat Scripting Guide'.
@@ -2470,6 +2715,18 @@ scripts, please read 'WeeChat Scripting Guide'.
Script options (script.conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set script.look.* | Look and feel
| color | /set script.color.* | Colors
| scripts | /set script.scripts.* | Options for download of scripts
|========================================
Options:
include::autogen/user/script_options.txt[]
[[script_commands]]
@@ -2526,7 +2783,20 @@ Xfer plugin brings:
[[xfer_options]]
Options (xfer.conf)
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^
Sections:
[width="100%",cols="3m,6m,16",options="header"]
|========================================
| Section | Control command | Description
| look | /set xfer.look.* | Look and feel
| color | /set xfer.color.* | Colors
| network | /set xfer.network.* | Network options
| file | /set xfer.file.* | Options for files sent/received
|========================================
Options:
include::autogen/user/xfer_options.txt[]
+14 -10
View File
@@ -17,13 +17,17 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=es -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt
COMMENT "Building weechat_quickstart.es.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=es -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.es.txt
COMMENT "Building weechat_quickstart.es.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-es ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.es.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+27 -5
View File
@@ -22,21 +22,43 @@ docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat_quickstart.es.txt
all-local: weechat_quickstart.es.html
if MAN
man_targets =
man_install =
man_uninstall =
endif
if DOC
doc_targets = weechat_quickstart.es.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# quickstart
weechat_quickstart.es.html: weechat_quickstart.es.txt
$(ASCIIDOC) -a lang=es -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -n -o weechat_quickstart.es.html $(abs_top_srcdir)/doc/es/weechat_quickstart.es.txt
# install docs
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/es/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/es/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/es/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/es/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.es.html
-rmdir $(DESTDIR)$(docdir)
+3 -3
View File
@@ -15,7 +15,7 @@ los atajas de teclados predeterminados).
Run from your shell:
----------------------------------------
$ weechat-curses
$ weechat
----------------------------------------
@@ -327,7 +327,7 @@ Los plugins se cargan de manera automática cuando son encontrados por WeeChat
plugins y scripts).
Muchos scripts externos (de contribuidores) están disponibles para WeeChat en:
http://www.weechat.org/scripts
http://weechat.org/scripts
// TRANSLATION MISSING
You can manage scripts in WeeChat with command `/script` (see `/help script`
@@ -339,6 +339,6 @@ Más documentación
-----------------
Ahora puede usar WeeChat y leer las FAQ/documentación para cada pregunta
en: http://www.weechat.org/doc
en: http://weechat.org/doc
Disfrute de WeeChat!
+81 -62
View File
@@ -17,70 +17,89 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.fr.html"
)
ADD_CUSTOM_TARGET(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF (ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${A2X_EXECUTABLE} ARGS -a lang=fr -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt
COMMENT "Building weechat.1 (fr)"
)
ADD_CUSTOM_TARGET(doc-man-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/fr/man1)
ENDIF (ENABLE_MAN)
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.fr.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
COMMENT "Building weechat_scripting.fr.html"
)
ADD_CUSTOM_TARGET(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.fr.html"
)
ADD_CUSTOM_TARGET(doc-user-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
COMMENT "Building weechat_faq.fr.html"
)
ADD_CUSTOM_TARGET(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=4 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.fr.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
COMMENT "Building weechat_quickstart.fr.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.fr.txt
COMMENT "Building weechat_scripting.fr.html"
)
ADD_CUSTOM_TARGET(doc-scripting-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
COMMENT "Building weechat_tester.fr.html"
)
ADD_CUSTOM_TARGET(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.fr.txt
COMMENT "Building weechat_faq.fr.html"
)
ADD_CUSTOM_TARGET(doc-faq-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.fr.txt
COMMENT "Building weechat_quickstart.fr.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a lang=fr -a toc -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.fr.txt
COMMENT "Building weechat_tester.fr.html"
)
ADD_CUSTOM_TARGET(doc-tester-fr ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.fr.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
+35 -6
View File
@@ -21,6 +21,8 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.fr.txt \
cmdline_options.fr.txt \
weechat_user.fr.txt \
weechat_plugin_api.fr.txt \
weechat_scripting.fr.txt \
@@ -30,15 +32,29 @@ EXTRA_DIST = CMakeLists.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
all-local: weechat_user.fr.html \
if MAN
man_targets = weechat.1
man_install = install-man
man_uninstall = uninstall-man
endif
if DOC
doc_targets = weechat_user.fr.html \
weechat_plugin_api.fr.html \
weechat_scripting.fr.html \
weechat_faq.fr.html \
weechat_quickstart.fr.html \
weechat_tester.fr.html
doc_install = install-doc
doc_uninstall = uninstall-doc
endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.fr.txt cmdline_options.fr.txt
$(A2X) -a lang=fr -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L -D . $(abs_top_srcdir)/doc/fr/weechat.1.fr.txt
# user's guide
weechat_user.fr.html: weechat_user.fr.txt $(wildcard autogen/user/*.txt)
weechat_user.fr.html: weechat_user.fr.txt cmdline_options.fr.txt $(wildcard autogen/user/*.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 -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
@@ -61,19 +77,32 @@ weechat_quickstart.fr.html: weechat_quickstart.fr.txt
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
# install man/docs
install-data-hook:
install-data-hook: $(man_install) $(doc_install)
install-man:
$(mkinstalldirs) $(DESTDIR)$(mandir)/fr/man1/
$(INSTALL_DATA) *.1 $(DESTDIR)$(mandir)/fr/man1/
install-doc:
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# uninstall docs
# uninstall man/docs
uninstall-hook:
uninstall-hook: $(man_uninstall) $(doc_uninstall)
uninstall-man:
$(RM) $(DESTDIR)$(mandir)/fr/man1/weechat.1
-rmdir $(DESTDIR)$(mandir)/fr/man1
uninstall-doc:
$(RM) $(DESTDIR)$(docdir)/*.fr.html
-rmdir $(DESTDIR)$(docdir)
# clean
clean-local:
-rm -f weechat.1
-rm -f *.html
@@ -120,6 +120,8 @@
| weechat | proxies_options | options pour les proxies
| weechat | secured_data | noms de données sécurisées (fichier sec.conf, section data)
| weechat | weechat_commands | commandes weechat
| weechat | windows_numbers | numéros des fenêtres
+154 -9
View File
@@ -1,7 +1,23 @@
[width="100%",cols="^1,^2,5,5,5,5",options="header"]
[width="100%",cols="^1,^2,4,8,4,4",options="header"]
|========================================
| Extension | Nom | Description | Variables | Mise à jour autorisée | Listes
| guile | guile_callback | callback d'un script |
'script' (pointer, hdata: "guile_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "guile_callback") +
'next_callback' (pointer, hdata: "guile_callback") |
|
-
| guile | guile_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -12,7 +28,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "guile_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "guile_script") +
'next_script' (pointer, hdata: "guile_script") |
@@ -206,6 +222,22 @@
'irc_servers' +
'last_irc_server'
| lua | lua_callback | callback d'un script |
'script' (pointer, hdata: "lua_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "lua_callback") +
'next_callback' (pointer, hdata: "lua_callback") |
|
-
| lua | lua_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -216,7 +248,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "lua_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "lua_script") +
'next_script' (pointer, hdata: "lua_script") |
@@ -224,6 +256,22 @@
'last_script' +
'scripts'
| perl | perl_callback | callback d'un script |
'script' (pointer, hdata: "perl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "perl_callback") +
'next_callback' (pointer, hdata: "perl_callback") |
|
-
| perl | perl_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -234,7 +282,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "perl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "perl_script") +
'next_script' (pointer, hdata: "perl_script") |
@@ -242,6 +290,22 @@
'last_script' +
'scripts'
| python | python_callback | callback d'un script |
'script' (pointer, hdata: "python_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "python_callback") +
'next_callback' (pointer, hdata: "python_callback") |
|
-
| python | python_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -252,7 +316,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "python_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "python_script") +
'next_script' (pointer, hdata: "python_script") |
@@ -260,6 +324,22 @@
'last_script' +
'scripts'
| ruby | ruby_callback | callback d'un script |
'script' (pointer, hdata: "ruby_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "ruby_callback") +
'next_callback' (pointer, hdata: "ruby_callback") |
|
-
| ruby | ruby_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -270,7 +350,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "ruby_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "ruby_script") +
'next_script' (pointer, hdata: "ruby_script") |
@@ -306,6 +386,22 @@
'last_script_repo' +
'scripts_repo'
| tcl | tcl_callback | callback d'un script |
'script' (pointer, hdata: "tcl_script") +
'function' (string) +
'data' (string) +
'config_file' (pointer, hdata: "config_file") +
'config_section' (pointer, hdata: "config_section") +
'config_option' (pointer, hdata: "config_option") +
'hook' (pointer) +
'buffer' (pointer, hdata: "buffer") +
'bar_item' (pointer, hdata: "bar_item") +
'upgrade_file' (pointer) +
'prev_callback' (pointer, hdata: "tcl_callback") +
'next_callback' (pointer, hdata: "tcl_callback") |
|
-
| tcl | tcl_script | liste des scripts |
'filename' (string) +
'interpreter' (pointer) +
@@ -316,7 +412,7 @@
'description' (string) +
'shutdown_func' (string) +
'charset' (string) +
'callbacks' (pointer) +
'callbacks' (pointer, hdata: "tcl_callback") +
'unloading' (integer) +
'prev_script' (pointer, hdata: "tcl_script") +
'next_script' (pointer, hdata: "tcl_script") |
@@ -330,6 +426,7 @@
'items_count' (integer) +
'items_subcount' (pointer) +
'items_array' (pointer) +
'items_buffer' (pointer) +
'items_prefix' (pointer) +
'items_name' (pointer) +
'items_suffix' (pointer) +
@@ -433,6 +530,9 @@
'num_history' (integer) +
'text_search' (integer) +
'text_search_exact' (integer) +
'text_search_regex' (integer) +
'text_search_regex_compiled' (pointer) +
'text_search_where' (integer) +
'text_search_found' (integer) +
'text_search_input' (string) +
'highlight_words' (string) +
@@ -619,6 +719,41 @@
'last_gui_key_mouse' +
'last_gui_key_search'
| weechat | layout | disposition |
'name' (string) +
'layout_buffers' (pointer, hdata: "layout_buffer") +
'last_layout_buffer' (pointer, hdata: "layout_buffer") +
'layout_windows' (pointer, hdata: "layout_window") +
'internal_id' (integer) +
'internal_id_current_window' (integer) +
'prev_layout' (pointer, hdata: "layout") +
'next_layout' (pointer, hdata: "layout") |
|
'gui_layout_current' +
'gui_layouts' +
'last_gui_layout'
| weechat | layout_buffer | disposition de tampon |
'plugin_name' (string) +
'buffer_name' (string) +
'number' (integer) +
'prev_layout' (pointer, hdata: "layout_buffer") +
'next_layout' (pointer, hdata: "layout_buffer") |
|
-
| weechat | layout_window | disposition de fenêtre |
'internal_id' (integer) +
'parent_node' (pointer, hdata: "layout_window") +
'split_pct' (integer) +
'split_horiz' (integer) +
'child1' (pointer, hdata: "layout_window") +
'child2' (pointer, hdata: "layout_window") +
'plugin_name' (string) +
'buffer_name' (string) |
|
-
| weechat | line | structure avec une ligne |
'data' (pointer, hdata: "line_data") +
'prev_line' (pointer, hdata: "line") +
@@ -655,7 +790,9 @@
'first_line_not_read' (integer) +
'lines_hidden' (integer) +
'buffer_max_length' (integer) +
'prefix_max_length' (integer) |
'buffer_max_length_refresh' (integer) +
'prefix_max_length' (integer) +
'prefix_max_length_refresh' (integer) |
|
-
@@ -702,6 +839,15 @@
'last_weechat_plugin' +
'weechat_plugins'
| weechat | proxy | proxy |
'name' (string) +
'options' (pointer) +
'prev_proxy' (pointer, hdata: "proxy") +
'next_proxy' (pointer, hdata: "proxy") |
|
'last_weechat_proxy' +
'weechat_proxies'
| weechat | window | fenêtre |
'number' (integer) +
'win_x' (integer) +
@@ -740,7 +886,6 @@
'scrolling' (integer) +
'start_col' (integer) +
'lines_after' (integer) +
'reset_allowed' (integer) +
'prev_scroll' (pointer, hdata: "window_scroll") +
'next_scroll' (pointer, hdata: "window_scroll") |
|
+5 -1
View File
@@ -48,18 +48,22 @@
| weechat | history | historique des commandes | pointeur vers le tampon (si non défini, retourne l'historique global) (optionnel) | -
| weechat | hook | liste des hooks | - | type,paramètres (le type est command/timer/.., paramètres pour avoir seulement quelques hooks (peut démarrer ou se terminer par "*" comme joker), les deux sont optionnels)
| weechat | hook | liste des hooks | pointeur vers le hook (optionnel) | type,paramètres (le type est command/timer/.., paramètres pour avoir seulement quelques hooks (peut démarrer ou se terminer par "*" comme joker), les deux sont optionnels)
| weechat | hotlist | liste des tampons dans la hotlist | - | -
| weechat | key | liste des associations de touches | - | contexte ("default", "search", "cursor" ou "mouse") (optionnel)
| weechat | layout | liste des dispositions | - | -
| weechat | nicklist | pseudos dans la liste des pseudos pour un tampon | pointeur vers le tampon | nick_xxx ou group_xxx pour avoir seulement le pseudo/groupe xxx (optionnel)
| weechat | option | liste des options | - | nom d'option (peut démarrer ou se terminer par "*" comme joker) (optionnel)
| weechat | plugin | liste des extensions | pointeur vers l'extension (optionnel) | nom d'extension (peut démarrer ou se terminer par "*" comme joker) (optionnel)
| weechat | proxy | liste des proxies | pointeur vers le proxy (optionnel) | nom de proxy (peut démarrer ou se terminer par "*" comme joker) (optionnel)
| weechat | url_options | options pour l'URL | - | -
| weechat | window | liste des fenêtres | pointeur vers la fenêtre (optionnel) | "current" pour la fenêtre courante ou un numéro de fenêtre (optionnel)
+10
View File
@@ -48,6 +48,12 @@
| address_scope | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
| tcp_keepintvl | long |
| netrc | long | ignored, optional, required
| netrc_file | string |
@@ -126,6 +132,8 @@
| mail_from | string |
| mail_auth | string |
| tftp_blksize | long |
| ftpport | string |
@@ -270,6 +278,8 @@
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| gssapi_delegation | long | none, policy_flag, flag
+7 -2
View File
@@ -33,8 +33,13 @@
** type: entier
** valeurs: 0 .. 2147483647 (valeur par défaut: `2`)
* [[option_aspell.look.color]] *aspell.look.color*
** description: `couleur utilisée pour les mots mal orthographiés`
* [[option_aspell.color.misspelled]] *aspell.color.misspelled*
** description: `couleur du texte pour les mots mal orthographiés (barre de saisie)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `lightred`)
* [[option_aspell.color.suggestions]] *aspell.color.suggestions*
** description: `couleur du texte pour les suggestions sur un mot mal orthographié (barre de statut)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `default`)
-36
View File
@@ -1,36 +0,0 @@
[[command_demo_demo_buffer]]
[command]*`demo_buffer`* ouvrir un nouveau tampon::
........................................
/demo_buffer <nom>
........................................
[[command_demo_demo_info]]
[command]*`demo_info`* lire et afficher une info::
........................................
/demo_info <info> [<paramètres>]
info: info à afficher
paramètres: paramètres optionnels pour l'info
Sans paramètre, cette commande affiche la liste des infos disponibles
........................................
[[command_demo_demo_infolist]]
[command]*`demo_infolist`* lire et afficher une infolist::
........................................
/demo_infolist <infolist> [<paramètres>]
infolist: infolist à afficher
paramètres: paramètres optionnels pour l'infolist
Sans paramètre, cette commande affiche la liste des infolists disponibles
........................................
[[command_demo_demo_printf]]
[command]*`demo_printf`* afficher des messages sur le tampon courant::
........................................
/demo_printf <texte>
texte: affiche ce texte
........................................
+30 -6
View File
@@ -14,7 +14,7 @@ cible: serveur
-current: exécuter la commande pour les canaux du serveur courant seulement
-exclude: exclure certains canaux ('*' est autorisé au début ou à la fin du nom du canal, pour exclure plusieurs canaux)
commande: commande à exécuter
paramètres: paramètres pour la commande
paramètres: paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
Exemples:
exécuter '/me teste' sur tous les canaux:
@@ -32,13 +32,15 @@ Exemples:
-exclude: exclude certains serveurs ('*' est autorisé en début ou fin du nom du serveur, pour exclure plusieurs serveurs)
commande: commande à exécuter
paramètres: paramètres pour la commande
paramètres: paramètres pour la commande (les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)
Exemples:
changer de pseudo sur tous les serveurs:
/allserv nick newnick
positionner l'absence sur tous les serveurs:
/allserv away Je suis absent
faire un whois sur mon pseudo sur tous les serveurs:
/allserv whois $nick
........................................
[[command_irc_ban]]
@@ -119,18 +121,29 @@ Exemples:
[command]*`dehalfop`* retirer le statut de demi-opérateur du canal à/aux pseudo(s)::
........................................
/dehalfop <pseudo> [<pseudo>...]
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: retirer le statut de demi-opérateur de tout le monde sur le canal excepté vous-même
........................................
[[command_irc_deop]]
[command]*`deop`* retirer le statut d'opérateur du canal à/aux pseudo(s)::
........................................
/deop <pseudo> [<pseudo>...]
* -yes
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: retirer le statut d'opérateur de tout le monde sur le canal excepté vous-même
........................................
[[command_irc_devoice]]
[command]*`devoice`* retirer la voix du/des pseudo(s)::
........................................
/devoice <pseudo> [<pseudo>...]
* -yes
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: retirer la voix de tout le monde sur le canal
........................................
[[command_irc_die]]
@@ -156,6 +169,10 @@ cible: nom du serveur
[command]*`halfop`* donner le statut de demi-opérateur à un/des pseudo(s)::
........................................
/halfop <pseudo> [<pseudo>...]
* -yes
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: donner le statut de demi-opérateur à tout le monde sur le canal
........................................
[[command_irc_ignore]]
@@ -399,7 +416,7 @@ serveur: envoyer à ce serveur (nom interne)
del <pseudo>|-all [<serveur>]
add: ajouter une notification
pasudo: pseudo
pseudo: pseudo
serveur: nom interne du serveur (par défaut le serveur courant)
-away: notifier quand le message d'absence est changé (en faisant un whois sur le pseudo)
del: supprimer une notification
@@ -417,9 +434,13 @@ Exemples:
........................................
[[command_irc_op]]
[command]*`op`* donner le statut opérateur à un/des pseudo(s)::
[command]*`op`* donner le statut d'opérateur à un/des pseudo(s)::
........................................
/op <pseudo> [<pseudo>...]
* -yes
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: donner le statut d'opérateur à tout le monde sur le canal
........................................
[[command_irc_oper]]
@@ -461,7 +482,7 @@ démon2: faire suivre le message à ce démon
[[command_irc_query]]
[command]*`query`* envoyer un message privé à un pseudo::
........................................
/query [-server <serveur>] <pseudo> [<texte>]
/query [-server <serveur>] <pseudo>[,<pseudo>...] [<texte>]
serveur: envoyer à ce serveur (nom interne)
pseudo: pseudo pour la conversation privée
@@ -526,7 +547,7 @@ pseudo: pseudo
........................................
[[command_irc_samode]]
[command]*`samode`* changer le mode du canal, sans avoir le statut opérateur::
[command]*`samode`* changer le mode du canal, sans avoir le statut d'opérateur::
........................................
/samode <canal> <mode>
@@ -717,6 +738,9 @@ serveur: nom du serveur
[command]*`voice`* donner la voix à/aux pseudo(s)::
........................................
/voice <pseudo> [<pseudo>...]
pseudo: pseudo ou masque (peut démarrer ou se terminer par "*" comme joker)
*: donner la voix à tout le monde sur le canal
........................................
[[command_irc_wallchops]]
+24 -9
View File
@@ -218,6 +218,11 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.look.nick_color_hash]] *irc.look.nick_color_hash*
** description: `algorithme de hash utilisé pour trouver la couleur du pseudo: djb2 = variante de djb2 (la position des lettres compte: les anagrammes d'un pseudo ont une couleur différente), sum = somme des lettres`
** type: entier
** valeurs: djb2, sum (valeur par défaut: `sum`)
* [[option_irc.look.nick_color_stop_chars]] *irc.look.nick_color_stop_chars*
** description: `caractères utilisés pour l'arrêt dans le pseudo lors du calcul de la couleur avec les lettres du pseudo (au moins un caractère en dehors de cette liste doit être dans la chaîne avant de s'arrêter) (exemple: le pseudo "|nick|away" avec "|" dans les caractères retournera la couleur du pseudo "|nick")`
** type: chaîne
@@ -248,13 +253,18 @@
** type: entier
** valeurs: auto, never, always (valeur par défaut: `auto`)
* [[option_irc.look.notice_welcome_redirect]] *irc.look.notice_welcome_redirect*
** description: `rediriger automatiquement les notices de bienvenue sur le canal vers le tampon du canal; de telles notices ont le pseudo comme cible mais le nom du canal au début du message de notice, par exemple les notices envoyées par le serveur freenode qui ressemblent à: "[#canal] Bienvenue sur ce canal..."`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.notify_tags_ison]] *irc.look.notify_tags_ison*
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsqu'un pseudo a rejoint ou quitté le serveur (résultat de la commande ison), par exemple: "notify_highlight", "notify_message" ou "notify_private"`
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsqu'un pseudo a rejoint ou quitté le serveur (résultat de la commande ison), par exemple: "notify_message", "notify_private" ou "notify_highlight"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"notify_message"`)
* [[option_irc.look.notify_tags_whois]] *irc.look.notify_tags_whois*
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsque le statut d'absence d'un pseudo change (résultat de la commande whois), par exemple: "notify_highlight", "notify_message" ou "notify_private"`
** description: `liste des tags (séparés par des virgules) utilisés dans les messages affichés par notify lorsque le statut d'absence d'un pseudo change (résultat de la commande whois), par exemple: "notify_message", "notify_private" ou "notify_highlight"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"notify_message"`)
@@ -268,6 +278,11 @@
** type: entier
** valeurs: independent, merge_by_server, merge_all (valeur par défaut: `independent`)
* [[option_irc.look.pv_tags]] *irc.look.pv_tags*
** description: `liste des tags (séparés par des virgules) utilisés dans les messages privés, par exemple: "notify_message", "notify_private" ou "notify_highlight"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"notify_private"`)
* [[option_irc.look.raw_messages]] *irc.look.raw_messages*
** description: `nombre de messages bruts à sauvegarder en mémoire lorsque le tampon des données brutes est fermé (ces messages seront affichés lors de l'ouverture du tampon des données brutes)`
** type: entier
@@ -284,7 +299,7 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.smart_filter_delay]] *irc.look.smart_filter_delay*
** description: `délai pour filtrer les messages join/part/quit (en minutes)`
** description: `délai pour filtrer les messages join/part/quit (en minutes): si le pseudo n'a pas parlé durant les N dernières minutes, le join/part/quit est filtré`
** type: entier
** valeurs: 1 .. 10080 (valeur par défaut: `5`)
@@ -399,7 +414,7 @@
** valeurs: on, off (valeur par défaut: `off`)
* [[option_irc.server_default.autojoin]] *irc.server_default.autojoin*
** description: `liste des canaux (séparés par des virgules) à rejoindre lorsque connecté au serveur (exemple: "#chan1,#chan2,#chan3 key1,key2")`
** description: `liste des canaux (séparés par des virgules) à rejoindre lorsque connecté au serveur (exemple: "#chan1,#chan2,#chan3 key1,key2") (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -439,7 +454,7 @@
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.command]] *irc.server_default.command*
** description: `commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ";", utilisez "\;" pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur)`
** description: `commande(s) à exécuter lorsque connecté au serveur (plusieurs commandes doivent être séparées par ";", utilisez "\;" pour un point-virgule, les variables spéciales $nick, $channel et $server sont remplacées par leur valeur) (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -484,12 +499,12 @@
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.password]] *irc.server_default.password*
** description: `mot de passe pour le serveur`
** description: `mot de passe pour le serveur (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_irc.server_default.proxy]] *irc.server_default.proxy*
** description: `proxy utilisé pour ce serveur (optionnel)`
** description: `nom du proxy utilisé pour ce serveur (optionnel, le proxy doit être défini avec la commande /proxy)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -504,7 +519,7 @@
** valeurs: plain, dh-blowfish, dh-aes, external (valeur par défaut: `plain`)
* [[option_irc.server_default.sasl_password]] *irc.server_default.sasl_password*
** description: `mot de passe pour l'authentification SASL`
** description: `mot de passe pour l'authentification SASL (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -514,7 +529,7 @@
** valeurs: 1 .. 3600 (valeur par défaut: `15`)
* [[option_irc.server_default.sasl_username]] *irc.server_default.sasl_username*
** description: `nom d'utilisateur pour l'authentification SASL`
** description: `nom d'utilisateur pour l'authentification SASL (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
+2
View File
@@ -3,11 +3,13 @@
........................................
/logger list
set <niveau>
flush
disable
list: afficher le statut d'enregistrement pour les tampons ouverts
set: définir le niveau d'enregistrement pour le tampon courant
niveau: niveau pour les messages à enregistrer (0 = pas d'enregistrement, 1 = quelques messages (les plus importants) .. 9 = tous les messages)
flush: écrire tous les fichiers de log maintenant
disable: désactiver l'enregistrement pour le tampon courant (définir le niveau à 0)
Les options "logger.level.*" et "logger.mask.*" peuvent être utilisées pour définir le niveau ou le masque de nom de fichier pour un tampon, ou plusieurs tampons commençant par un nom.
+1 -1
View File
@@ -3,7 +3,7 @@
........................................
/relay list|listfull|listrelay
add [ipv4.][ipv6.][ssl.]<protocole.nom> <port>
[ipv4.][ipv6.][ssl.]del <protocole.nom>
del [ipv4.][ipv6.][ssl.]<protocole.nom>
raw
sslcertkey
+1 -1
View File
@@ -104,7 +104,7 @@
** valeurs: 1 .. 1024 (valeur par défaut: `5`)
* [[option_relay.network.password]] *relay.network.password*
** description: `mot de passe requis par les clients pour accéder à ce relai (une valeur vide indique que le mot de passe n'est pas nécessaire)`
** description: `mot de passe requis par les clients pour accéder à ce relai (une valeur vide indique que le mot de passe n'est pas nécessaire) (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -4,6 +4,7 @@
/rmodifier list|listdefault
add <nom> <modifiers> <groupes> <regex>
del <nom>|-all [<nom>...]
missing
default -yes
list: lister les rmodifiers
@@ -15,6 +16,7 @@ listdefault: lister les rmodifiers par défaut
regex: expression régulière (insensible à la casse, peut commencer par "(?-i)" pour devenir sensible à la casse)
del: supprimer un rmodifier
-all: supprimer tous les rmodifiers
missing: ajouter les rmodifiers manquants
default: restaurer les rmodifiers par défaut
Exemples:
+20
View File
@@ -0,0 +1,20 @@
* [[option_sec.crypt.cipher]] *sec.crypt.cipher*
** description: `chiffrement ("cipher") utilisé pour chiffrer les données (le nombre après l'algorithme est la taille de la clé en bits)`
** type: entier
** valeurs: aes128, aes192, aes256 (valeur par défaut: `aes256`)
* [[option_sec.crypt.hash_algo]] *sec.crypt.hash_algo*
** description: `algorithme de hash pour vérifier les données déchiffrées`
** type: entier
** valeurs: sha224, sha256, sha384, sha512 (valeur par défaut: `sha256`)
* [[option_sec.crypt.passphrase_file]] *sec.crypt.passphrase_file*
** description: `chemin vers un fichier contenant la phrase de chiffrement pour (dé)chiffrer les données sécurisées; cette option est utilisée seulement lors de la lecture du fichier sec.conf; seulement la première ligne du fichier est utilisée; ce fichier est utilisé seulement si la variable d'environnement "WEECHAT_PASSPHRASE" n'est pas définie (la variable d'environnement a une priorité plus haute); note de sécurité : il est recommandé de garder ce fichier en lecture seulement par vous et de le stocker en dehors du "home" WeeChat (par exemple dans votre "home"); exemple: "~/.weechat-passphrase"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_sec.crypt.salt]] *sec.crypt.salt*
** description: `utiliser du sel lors de la génération de la clé utilisée dans le chiffrement (recommandé pour un maximum de sécurité); lorsque cette option est activée, le contenu des données chiffrées dans le fichier sec.conf sera différent à chaque écriture du fichier; si vous utilisez le fichier sec.conf dans un système de contrôle de version, alors vous pouvez désactiver cette option pour avoir toujours le même contenu de fichier`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
+75 -26
View File
@@ -1,9 +1,9 @@
[[command_weechat_away]]
[command]*`away`* basculer le statut absent::
[command]*`away`* définir ou supprimer le statut d'absence::
........................................
/away [-all] [<message>]
-all: basculer le statut absent sur tous les serveurs connectés
-all: définir ou supprimer le statut d'absence sur tous les serveurs connectés
message: message pour l'absence (si pas de message donné, le statut d'absence est supprimé)
........................................
@@ -125,12 +125,14 @@ Exemples:
/color alias <couleur> <nom>
unalias <couleur>
reset
-o
alias: ajouter un alias pour une couleur
unalias: supprimer un alias pour une couleur
couleur: numéro de couleur (supérieur ou égal à 0, le max dépend du terminal, généralement 63 ou 255)
nom: nom d'alias pour la couleur (par exemple: "orange")
reset: réinitialiser toutes les paires de couleurs (requis quand il n'y a plus de paires de couleurs disponibles si la réinitialisation automatique est désactivée, voir l'option weechat.look.color_pairs_auto_reset)
-o: envoyer les infos terminal/couleurs sur le tampon courant comme entrée
Sans paramètre, cette commande affiche les couleurs dans un nouveau tampon.
@@ -173,7 +175,7 @@ Exemples:
........................................
[[command_weechat_debug]]
[command]*`debug`* contrôle du debug pour le coeur/les extensions::
[command]*`debug`* contrôle du debug pour le cœur/les extensions::
........................................
/debug list
set <extension> <niveau>
@@ -184,7 +186,7 @@ Exemples:
list: lister les extensions avec leur niveau de debug
set: définir le niveau de debug pour l'extension
extension: nom de l'extension ("core" pour le coeur de WeeChat)
extension: nom de l'extension ("core" pour le cœur de WeeChat)
niveau: niveau de debug pour l'extension
dump: afficher les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante)
buffer: afficher le contenu du tampon en valeurs hexadécimales dans le fichier log
@@ -205,9 +207,10 @@ infolists: afficher des infos sur les infolists
[command]*`eval`* évaluer une expression et envoyer le résultat au tampon::
........................................
/eval [-n] <expression>
[-n] <expression1> <opérateur> <expression2>
[-n] -c <expression1> <opérateur> <expression2>
-n: afficher le résultat sans envoyer au tampon (mode debug)
-c: évaluer comme une condition : utiliser les opérateurs et les parenthèses, retourner une valeur booléenne ("0" ou "1")
expression: expression à évaluer, les variables avec le format ${variable} sont remplacées (voir ci-dessous)
opérateur: un opérateur logique ou de comparaison :
- opérateurs logiques :
@@ -230,9 +233,10 @@ Pour forcer une comparaison de chaînes, ajoutez des guillemets autour de chaque
"50" > "100" ==> 1
Des variables sont remplacées dans l'expression, en utilisant le format ${variable}, la variable pouvant être, par ordre de priorité :
1. le nom d'une option (fichier.section.option)
2. le nom d'une variable locale du tampon
3. le nom d'un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
1. une couleur (format: color:xxx)
2. une option (format: fichier.section.option)
3. une variable locale du tampon
4. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
Le format du hdata peut être le suivant :
hdata.var1.var2...: démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
hdata[list].var1.var2...: démarrer avec un hdata en utilisant une liste, par exemple :
@@ -241,19 +245,19 @@ Le format du hdata peut être le suivant :
Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
Exemples:
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n ${window.buffer.number} > 2 ==> 0
/eval -n ${window.win_width} > 100 ==> 1
/eval -n (8 > 12) || (5 > 2) ==> 1
/eval -n (8 > 12) && (5 > 2) ==> 0
/eval -n abcd =~ ^ABC ==> 1
/eval -n abcd =~ (?-i)^ABC ==> 0
/eval -n abcd =~ (?-i)^abc ==> 1
/eval -n abcd !~ abc ==> 0
/eval -n ${weechat.look.scroll_amount} ==> 3
/eval -n ${window} ==> 0x2549aa0
/eval -n ${window.buffer} ==> 0x2549320
/eval -n ${window.buffer.full_name} ==> core.weechat
/eval -n ${window.buffer.number} ==> 1
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
/eval -n -c (8 > 12) && (5 > 2) ==> 0
/eval -n -c abcd =~ ^ABC ==> 1
/eval -n -c abcd =~ (?-i)^ABC ==> 0
/eval -n -c abcd =~ (?-i)^abc ==> 1
/eval -n -c abcd !~ abc ==> 0
........................................
[[command_weechat_filter]]
@@ -344,6 +348,8 @@ liste des actions:
complete_previous: compléter le mot avec la complétion précédente
search_text: chercher du texte dans le tampon
search_switch_case: basculer la casse exacte pour la recherche
search_switch_regex: basculer le type de recherche: chaîne/expression régulière
search_switch_where: basculer la recherche dans les messages/préfixes
search_previous: chercher la ligne précédente
search_next: chercher la ligne suivante
search_stop: arrêter la recherche
@@ -417,7 +423,7 @@ listdefault: afficher les touches par défaut
resetall: restaurer les touches aux valeurs par défaut et supprimer TOUTES les touches personnelles (utiliser avec précaution !)
missing: ajouter les touches manquantes (en utilisant les touches par défaut), pratique après installation d'une nouvelle version de WeeChat
Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande.
Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Échap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande.
Pour le contexte "mouse" (possible aussi pour le contexte "cursor"), la touche a le format: "@zone:touche" ou "@zone1>zone2:touche" où la zone peut être :
*: n'importe quelle zone à l'écran
@@ -608,6 +614,47 @@ fichier: fichier de configuration à sauvegarder (sans l'extension ".conf")
Sans paramètre, tous les fichiers (WeeChat et extensions) sont sauvegardés.
........................................
[[command_weechat_secure]]
[command]*`secure`* gestion des données sécurisées (mots de passe ou données privées chiffrés dans le fichier sec.conf)::
........................................
/secure passphrase <phrase de chiffrement>|-delete
decrypt <phrase de chiffrement>|-discard
set <nom> <valeur>
del <nom>
passphrase: modifier la phrase de chiffrement (sans phrase de chiffrement, les données sont stockées en texte brut dans le fichier sec.conf)
-delete: supprimer la phrase de chiffrement
decrypt: déchiffrer les données toujours chiffrées
-discard: jeter toutes les données encore chiffrées
set: ajouter ou modifier une donnée sécurisée
del: supprimer une donnée sécurisée
Sans paramètre, cette commande affiche les données sécurisées dans un nouveau tampon.
Lorsqu'une phrase de chiffrement est utilisée (données chiffrées), elle est demandée au démarrage de WeeChat.
Il est possible de définir la variable d'environnement WEECHAT_PASSPHRASE pour éviter la demande (cette même variable est utilisée par WeeChat sur le /upgrade).
Les données sécurisées avec le format ${sec.data.xxx} peuvent être utilisées dans :
- le paramètre de ligne de commande "--run-command"
- les options weechat.startup.command_{before|after}_plugins
- les options de proxy: username, password
- les options de serveur irc: autojoin, command, password, sasl_{username|password}
- l'option relay.network.password
- la commande /eval.
Exemples :
définir une phrase de chiffrement :
/secure passphrase ceci est ma phrase de chiffrement
chiffrer le mot de passe freenode SASL :
/secure set freenode motdepasse
/set irc.server.freenode.sasl_password "${sec.data.freenode}"
chiffrer le mot de passe oftc pour nickserv :
/secure set oftc motdepasse
/set irc.server.oftc.command "/msg nickserv identify ${sec.data.oftc}"
alias pour ghost du pseudo "pseudo" :
/alias ghost /eval /msg -server freenode nickserv ghost pseudo ${sec.data.freenode}
........................................
[[command_weechat_set]]
[command]*`set`* modifier des options de configuration::
........................................
@@ -659,6 +706,7 @@ Exemples:
/upgrade [<chemin_vers_binaire>|-quit]
chemin_vers_binaire: chemin vers le binaire WeeChat (par défaut le binaire courant)
-dummy: ne rien faire (option utilisée pour éviter une complétion accidentelle avec "-quit")
-quit: fermer *TOUTES* les connexions, sauver la session et quitter, ce qui rend possible une restauration différée (voir ci-dessous)
Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nouveau binaire WeeChat doit avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande.
@@ -666,10 +714,10 @@ Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nou
Note: les connexions SSL sont perdues durant la mise à jour, car le rechargement de session SSL n'est pas possible actuellement avec GnuTLS. Il y a une reconnexion automatique après la mise à jour.
Le processus de mise à jour comporte 4 étapes :
1. sauvegarder la session pour le coeur et les extensions (tampons, historique, ...)
1. sauvegarder la session pour le cœur et les extensions (tampons, historique, ...)
2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque)
3. sauvegarder la configuration WeeChat (weechat.conf)
4. exécuter le nouveau binaire WeeChat et recharger la session.<
4. exécuter le nouveau binaire WeeChat et recharger la session.
Avec l'option "-quit", le processus est légèrement différent :
1. fermer *TOUTES* les connexions
@@ -677,7 +725,7 @@ Avec l'option "-quit", le processus est légèrement différent :
3. décharger les extensions
4. sauvegarder la configuration WeeChat
5. quitter WeeChat
Et plus tard vous pouvez restaurer la session avec la commande: weechat-curses --upgrade
Et plus tard vous pouvez restaurer la session avec la commande: weechat --upgrade
IMPORTANT: vous devez restaurer la session avec exactement la même configuration (fichiers *.conf).
Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu du répertoire "~/.weechat".
........................................
@@ -738,7 +786,7 @@ Exemples:
refresh
scroll [-window <numéro>] [+/-]<valeur>[s|m|h|d|M|y]
scroll_horiz [-window <numéro>] [+/-]<valeur>[%]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numéro>]
scroll_up|scroll_down|scroll_top|scroll_bottom|scroll_beyond_end|scroll_previous_highlight|scroll_next_highlight|scroll_unread [-window <numéro>]
swap [-window <numéro>] [up|down|left|right]
zoom [-window <numéro>]
@@ -765,6 +813,7 @@ Exemples:
scroll_down: faire défiler de quelques lignes vers le bas
scroll_top: faire défiler jusqu'au début du tampon
scroll_bottom: faire défiler jusqu'en bas du tampon
scroll_beyond_end: faire défiler au-delà de la fin du tampon
scroll_previous_highlight: faire défiler jusqu'au highlight précédent
scroll_next_highlight: faire défiler jusqu'au highlight suivant
scroll_unread: faire défiler jusqu'au marqueur de données non lues
+61 -16
View File
@@ -23,6 +23,11 @@
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `white`)
* [[option_weechat.color.chat_day_change]] *weechat.color.chat_day_change*
** description: `couleur du texte pour le message affiché lorsque le jour a changé`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `cyan`)
* [[option_weechat.color.chat_delimiters]] *weechat.color.chat_delimiters*
** description: `couleur du texte pour les délimiteurs`
** type: couleur
@@ -188,6 +193,16 @@
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `cyan`)
* [[option_weechat.color.emphasized]] *weechat.color.emphasized*
** description: `couleur du texte pour le texte mis en valeur (par exemple lors de la recherche de texte); cette option est utilisée seulement si l'option weechat.look.emphasized_attributes est une chaîne vide (valeur par défaut)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `yellow`)
* [[option_weechat.color.emphasized_bg]] *weechat.color.emphasized_bg*
** description: `couleur du fond pour le texte mis en valeur (par exemple lors de la recherche de texte); cette option est utilisée seulement si l'option weechat.look.emphasized_attributes est une chaîne vide (valeur par défaut)`
** type: couleur
** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `magenta`)
* [[option_weechat.color.input_actions]] *weechat.color.input_actions*
** description: `couleur du texte pour les actions dans la ligne de saisie`
** type: couleur
@@ -399,7 +414,7 @@
** valeurs: none, highlight, message, all (valeur par défaut: `all`)
* [[option_weechat.look.buffer_time_format]] *weechat.look.buffer_time_format*
** description: `format de date/heure pour chaque ligne affichée dans les tampons (voir man strftime pour le format de date/heure), les couleurs sont autorisées avec le format "${couleur}", par exemple l'heure française: "${lightblue}%H${white}%M${lightred}%S"`
** description: `format de date/heure pour chaque ligne affichée dans les tampons (voir man strftime pour le format de date/heure) (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval); par exemple l'heure avec des niveaux de gris (requiert le support de 256 couleurs): "${color:252}%H${color:245}%M${color:240}%S"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%H:%M:%S"`)
@@ -411,7 +426,7 @@
* [[option_weechat.look.color_inactive_buffer]] *weechat.look.color_inactive_buffer*
** description: `utiliser une couleur différente pour les lignes dans un tampon inactif (si la ligne est d'un tampon mélangé et le tampon n'est pas sélectionné)`
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.color_inactive_message]] *weechat.look.color_inactive_message*
** description: `utiliser une couleur différente pour un message inactif (quand la fenêtre n'est pas la fenêtre courante, ou si la ligne est d'un tampon mélangé et le tampon n'est pas sélectionné)`
@@ -436,7 +451,7 @@
* [[option_weechat.look.color_inactive_window]] *weechat.look.color_inactive_window*
** description: `utiliser une couleur différente pour les lignes dans une fenêtre inactive (quand la fenêtre n'est pas la fenêtre courante)`
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.color_nick_offline]] *weechat.look.color_nick_offline*
** description: `utiliser une couleur différente pour les pseudos déconnectés (qui ne sont plus dans la liste de pseudos)`
@@ -468,23 +483,33 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.day_change_time_format]] *weechat.look.day_change_time_format*
** description: `format de date pour la date affichée quand le jour a changé`
* [[option_weechat.look.day_change_message_1date]] *weechat.look.day_change_message_1date*
** description: `message affiché lorsque le jour a changé, avec une date affichée (par exemple au début d'un tampon) (voir man strftime pour le format de date/heure) (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%a, %d %b %Y"`)
** valeurs: toute chaîne (valeur par défaut: `"-- %a, %d %b %Y --"`)
* [[option_weechat.look.day_change_message_2dates]] *weechat.look.day_change_message_2dates*
** description: `message affiché lorsque le jour a changé, avec deux dates affichées (entre deux messages); les formats pour la seconde date doivent démarrer par deux "%" car strftime est appelé deux fois sur cette chaîne (voir man strftime pour le format de date/heure) (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"-- %%a, %%d %%b %%Y (%a, %d %b %Y) --"`)
* [[option_weechat.look.eat_newline_glitch]] *weechat.look.eat_newline_glitch*
** description: `si activé, le eat_newline_glitch sera positionné à 0; cela est utilisé pour ne pas ajouter de nouvelle ligne à la fin de chaque ligne, et donc ne pas couper le texte quand vous copiez/collez du texte depuis WeeChat vers une autre application (cette option est désactivée par défaut car elle peut causer de sérieux problèmes d'affichages)`
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
* [[option_weechat.look.emphasized_attributes]] *weechat.look.emphasized_attributes*
** description: `attributs pour le texte mis en valeur: un ou plusieurs caractères d'attributs ("*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné); si la chaîne est vide, les couleurs weechat.color.emphasized* sont utilisées`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.look.highlight]] *weechat.look.highlight*
** description: `liste des mots pour la notification séparés par des virgules; la comparaison est insensible à la casse (utilisez "(?-i)" au début des mots pour les rendre sensibles à la casse), les mots peuvent commencer ou se terminer par "*" pour une comparaison partielle; exemple: "test,(?-i)*toto*,flash*"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.look.highlight_regex]] *weechat.look.highlight_regex*
** description: `expression régulière utilisée pour vérifier si un message a un "highlight" ou non, au moins une correspondance dans la chaîne doit être entourée de caractères de mot (alpha-numérique, "-", "_" ou "|"), l'expression régulière est insensible à la casse (utilisez "(?-i)" au début pour la rendre sensible à la casse), exemples: "flashcode|flashy", "(?-i)FlashCode|flashy"`
** description: `expression régulière utilisée pour vérifier si un message a un "highlight" ou non, au moins une correspondance dans la chaîne doit être entourée de caractères de mot (alphanumérique, "-", "_" ou "|"), l'expression régulière est insensible à la casse (utilisez "(?-i)" au début pour la rendre sensible à la casse), exemples: "flashcode|flashy", "(?-i)FlashCode|flashy"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
@@ -533,6 +558,11 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `off`)
* [[option_weechat.look.hotlist_prefix]] *weechat.look.hotlist_prefix*
** description: `chaîne affichée au début de la hotlist`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"H: "`)
* [[option_weechat.look.hotlist_short_names]] *weechat.look.hotlist_short_names*
** description: `si défini, utilise des noms courts pour afficher les noms de tampons dans la hotlist (commence après le premier '.' dans le nom)`
** type: booléen
@@ -543,6 +573,11 @@
** type: entier
** valeurs: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (valeur par défaut: `group_time_asc`)
* [[option_weechat.look.hotlist_suffix]] *weechat.look.hotlist_suffix*
** description: `chaîne affichée à la fin de la hotlist`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.look.hotlist_unique_numbers]] *weechat.look.hotlist_unique_numbers*
** description: `garde seulement des numéros uniques dans la hotlist (cela s'applique seulement aux éléments de la hotlist où le nom n'est PAS affiché après le numéro)`
** type: booléen
@@ -574,7 +609,7 @@
** valeurs: toute chaîne (valeur par défaut: `"*"`)
* [[option_weechat.look.item_time_format]] *weechat.look.item_time_format*
** description: `format de date/heure pour l'objet de barre \"time\" (voir man strftime pour le format de date/heure)`
** description: `format de date/heure pour l'objet de barre "time" (voir man strftime pour le format de date/heure)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%H:%M"`)
@@ -593,6 +628,11 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.key_bind_safe]] *weechat.look.key_bind_safe*
** description: `autoriser seulement l'association de touches "sûres" (commençant par un code ctrl ou meta)`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.mouse]] *weechat.look.mouse*
** description: `activer le support de la souris`
** type: booléen
@@ -629,7 +669,7 @@
** valeurs: -1 .. 2147483647 (valeur par défaut: `1`)
* [[option_weechat.look.prefix_action]] *weechat.look.prefix_action*
** description: `préfixe pour les messages d'action, les couleurs sont autorisées avec le format "${couleur}"`
** description: `préfixe pour les messages d'action (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `" *"`)
@@ -679,22 +719,22 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.prefix_error]] *weechat.look.prefix_error*
** description: `préfixe pour les messages d'erreur, les couleurs sont autorisées avec le format "${couleur}"`
** description: `préfixe pour les messages d'erreur (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"=!="`)
* [[option_weechat.look.prefix_join]] *weechat.look.prefix_join*
** description: `préfixe pour les messages d'arrivée, les couleurs sont autorisées avec le format "${couleur}"`
** description: `préfixe pour les messages d'arrivée (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"-->"`)
* [[option_weechat.look.prefix_network]] *weechat.look.prefix_network*
** description: `préfixe pour les messages réseau, les couleurs sont autorisées avec le format "${couleur}"`
** description: `préfixe pour les messages réseau (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"--"`)
* [[option_weechat.look.prefix_quit]] *weechat.look.prefix_quit*
** description: `préfixe pour les messages de départ, les couleurs sont autorisées avec le format "${couleur}"`
** description: `préfixe pour les messages de départ (note: le contenu est évalué, donc vous pouvez utiliser des couleurs avec le format "${color:xxx}", voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"<--"`)
@@ -769,7 +809,7 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.time_format]] *weechat.look.time_format*
** description: `format de date/heure pour les dates converties en chaînes et affichées dans les messages`
** description: `format de date/heure pour les dates converties en chaînes et affichées dans les messages (voir man strftime pour le format de date/heure)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"%a, %d %b %Y %T"`)
@@ -798,6 +838,11 @@
** type: entier
** valeurs: 1 .. 2147483647 (valeur par défaut: `30`)
* [[option_weechat.network.proxy_curl]] *weechat.network.proxy_curl*
** description: `nom du proxy utilisé pour télécharger les URLs avec Curl (utilisé pour télécharger la liste des scripts et dans les scripts appelant la fonction hook_process); le proxy doit être défini avec la commande /proxy`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.plugin.autoload]] *weechat.plugin.autoload*
** description: `liste des extensions à charger automatiquement au démarrage (séparées par des virgules), "*" signifie toutes les extensions trouvées, un nom commençant par "!" est une valeur négative pour empêcher une extension d'être chargée, les noms peuvent commencer ou se terminer par "*" pour indiquer plusieurs extensions (exemples: "*" ou "*,!lua,!tcl")`
** type: chaîne
@@ -824,12 +869,12 @@
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins*
** description: `commande exécutée quand WeeChat démarre, après le chargement des extensions`
** description: `commande exécutée quand WeeChat démarre, après le chargement des extensions (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
* [[option_weechat.startup.command_before_plugins]] *weechat.startup.command_before_plugins*
** description: `commande exécutée quand WeeChat démarre, avant le chargement des extensions`
** description: `commande exécutée quand WeeChat démarre, avant le chargement des extensions (note: le contenu est évalué, voir /help eval)`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `""`)
+5
View File
@@ -98,6 +98,11 @@
** type: entier
** valeurs: 0 .. 256 (valeur par défaut: `20`)
* [[option_xfer.look.pv_tags]] *xfer.look.pv_tags*
** description: `liste des tags (séparés par des virgules) utilisés dans les messages privés, par exemple: "notify_message", "notify_private" ou "notify_highlight"`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"notify_private"`)
* [[option_xfer.network.blocksize]] *xfer.network.blocksize*
** description: `taille de bloc pour les paquets envoyés, en octets`
** type: entier
+37
View File
@@ -0,0 +1,37 @@
*-a*, *--no-connect*::
Supprimer la connexion automatique aux serveurs lors du démarrage.
*-c*, *--colors*::
Afficher les couleurs par défaut du terminal.
*-d*, *--dir* '<répertoire>'::
Définir le répertoire comme étant la base de WeeChat
(utilisé pour les fichiers de configuration, logs, extensions
et scripts de l'utilisateur), la valeur par défaut est '~/.weechat' (note :
le répertoire est créé s'il n'est pas trouvé par WeeChat).
*-h*, *--help*::
Afficher l'aide.
*-l*, *--license*::
Afficher la licence de WeeChat.
*-p*, *--no-plugin*::
Supprimer le chargement automatique des extensions au démarrage.
*-r*, *--run-command* '<commande>'::
Lancer la/les commande(s) après le démarrage (plusieurs commandes peuvent
être séparées par des points-virgules).
*-s*, *--no-script*::
Supprimer le chargement automatique des scripts au démarrage.
*--upgrade*::
Mettre à jour WeeChat en utilisant les fichiers de session générés avec la
commande `/upgrade -quit`.
*-v*, *--version*::
Afficher la version de WeeChat.
*extension:option*::
Option pour une extension.
+118
View File
@@ -0,0 +1,118 @@
WEECHAT(1)
==========
:doctype: manpage
NOM
---
weechat - le client de discussion extensible
SYNOPSIS
--------
[verse]
'weechat' [-a|--no-connect] [-d|--dir <répertoire>] [-p|--no-plugin] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
'weechat' [-c|--colors]
'weechat' [-h|--help]
'weechat' [-k|--keys]
'weechat' [-l|--license]
'weechat' [-v|--version]
DESCRIPTION
-----------
WeeChat est un client de discussion rapide, léger et extensible.
Il est modulaire (cœur léger avec des extensions), multi-protocoles (IRC et
Jabber), extensible avec du C et des scripts écrits en différents langages.
OPTIONS
-------
include::cmdline_options.fr.txt[]
OPTIONS D'EXTENSION
-------------------
Pour une documentation complète sur les options des extensions, merci de
consulter la documentation des extensions dans le
http://weechat.org/doc[guide utilisateur de WeeChat].
Avec l'extension irc, vous pouvez vous connecter à un serveur de manière
temporaire avec une URL, comme ceci :
irc[6][s]://[[pseudo][:motdepasse]@]serveur[:port][/#canal1[,#canal2...]]
Pour rejoindre le canal IRC de support WeeChat avec le pseudo "monpseudo" :
irc://monpseudo@irc.freenode.net/#weechat
Les adresses IPv6 peuvent être entourées par des crochets pour ajouter un port
après, par exemple :
irc://monpseudo@[2001:db8:0:85a3::ac1f:8001]:6668/#test
FICHIERS
--------
$HOME/.weechat/weechat.conf::
fichier de configuration principal de WeeChat
$HOME/.weechat/plugins.conf::
fichier de configuration des extensions
$HOME/.weechat/alias.conf::
fichier de configuration pour l'extension 'alias'
$HOME/.weechat/aspell.conf::
fichier de configuration pour l'extension 'aspell'
$HOME/.weechat/charset.conf::
fichier de configuration pour l'extension 'charset'
$HOME/.weechat/irc.conf::
fichier de configuration pour l'extension 'irc'
$HOME/.weechat/logger.conf::
fichier de configuration pour l'extension 'logger'
$HOME/.weechat/relay.conf::
fichier de configuration pour l'extension 'relay'
$HOME/.weechat/rmodifier.conf::
fichier de configuration pour l'extension 'rmodifier'
$HOME/.weechat/script.conf::
fichier de configuration pour l'extension 'script'
$HOME/.weechat/xfer.conf::
fichier de configuration pour l'extension 'xfer'
$HOME/.weechat/weechat.log::
fichier de log de WeeChat
AUTEURS
-------
WeeChat est écrit par Sébastien Helleu et des contributeurs (la liste complète
est dans le fichier AUTHORS).
Copyright (C) 2003-2013 Sébastien Helleu <flashcode@flashtux.org>
WeeChat est un logiciel libre; vous pouvez le redistribuer et/ou le modifier
sous les termes de la GNU General Public License telle que publiée par la
Free Software Foundation; soit la version 3 de la licence, ou (selon votre
choix) toute version ultérieure.
Merci de consulter le fichier COPYING pour plus d'informations.
Site web : <http://weechat.org/>
SIGNALER DES BUGS
-----------------
Merci de signaler les bugs ou demandes de nouvelles fonctionnalités sur le site
Savannah :
* bugs : <http://savannah.nongnu.org/bugs/?group=weechat>
* demandes de nouvelles fonctionnalités : <http://savannah.nongnu.org/task/?group=weechat>

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