doc: fix punctuation in lists
This commit is contained in:
parent
b0c8f33dc1
commit
fa845c2e7c
@ -919,9 +919,9 @@ Options _weechat.look.prefix_align_more_ and
|
||||
_weechat.look.prefix_buffer_align_more_ have been converted from type boolean
|
||||
to string:
|
||||
|
||||
* if the value was on (default), new value is "+" and you can now customize
|
||||
this char
|
||||
* if the value was off, you have to set " " (string with one space)
|
||||
* If the value was on (default), new value is "+" and you can now customize
|
||||
this char.
|
||||
* If the value was off, you have to set " " (string with one space).
|
||||
|
||||
[[v0.3.8_paste_detection]]
|
||||
=== Paste detection
|
||||
@ -1056,12 +1056,12 @@ to see differences between your current keys and WeeChat default keys.
|
||||
|
||||
If you are using `/upgrade` from a previous release:
|
||||
|
||||
* some nick prefixes can be wrong, so it is recommended to do `/allchan names`
|
||||
* nick colors are defined with a new option _weechat.color.chat_nick_colors_,
|
||||
* Some nick prefixes can be wrong, so it is recommended to do `/allchan names`.
|
||||
* Nick colors are defined with a new option _weechat.color.chat_nick_colors_,
|
||||
therefore old options _weechat.color.chat_nick_color1..10_ will be lost when
|
||||
upgrading
|
||||
* nick colors in messages displayed will be wrong if you changed some nick
|
||||
colors (old default colors will be used)
|
||||
upgrading.
|
||||
* Nick colors in messages displayed will be wrong if you changed some nick
|
||||
colors (old default colors will be used).
|
||||
|
||||
[[v0.3.4_options]]
|
||||
=== Options
|
||||
@ -1153,15 +1153,15 @@ plugin API and is not compatible with previous versions.
|
||||
|
||||
Major differences:
|
||||
|
||||
* it is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
|
||||
* It is *NOT POSSIBLE* to use command `/upgrade` from a version 0.2.x to 0.3.x;
|
||||
you have to quit your old WeeChat, then run new version.
|
||||
* new configuration files (`*.conf`) are not compatible with old files
|
||||
* New configuration files (`*.conf`) are not compatible with old files
|
||||
(`*.rc`).
|
||||
* name of options is similar to old versions, but there is now one
|
||||
* Name of options is similar to old versions, but there is now one
|
||||
configuration file by plugin, and one file for WeeChat core; there is
|
||||
*no automatic conversion* for your old options to new configuration files,
|
||||
so you'll have to setup again your IRC servers and all other options.
|
||||
* plugin API has been rewritten and is not compatible with previous versions;
|
||||
* Plugin API has been rewritten and is not compatible with previous versions;
|
||||
accordingly, scripts and plugins must have been designed for version 0.3.x to
|
||||
be loaded into WeeChat.
|
||||
|
||||
|
@ -995,9 +995,9 @@ Where _component_ is one of following:
|
||||
|
||||
Some rules to follow:
|
||||
|
||||
* use only English
|
||||
* use infinitive form of verb
|
||||
* if commit is related to something in tracker, write it in parenthesis after
|
||||
* Use only English.
|
||||
* Use infinitive form of verb.
|
||||
* If commit is related to something in tracker, write it in parenthesis after
|
||||
the message, with this format:
|
||||
** GitHub: closes #123
|
||||
** Savannah: bug #12345, task #12345, patch #12345
|
||||
|
@ -86,22 +86,22 @@ https://weechat.org/doc
|
||||
|
||||
It's common issue, please read carefully and check *ALL* solutions below:
|
||||
|
||||
* 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
|
||||
* 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
|
||||
_ISO-XXXXXX_ or _UTF-8_ for terminal charset. If you see _ANSI_X3.4-1968_ or
|
||||
other values, your locale is probably wrong (fix your $LANG).
|
||||
* setup global decode value, for example:
|
||||
`/set charset.default.decode "ISO-8859-15"`
|
||||
* if you are using UTF-8 locale:
|
||||
** check that your terminal is UTF-8 ready (terminal recommended for UTF-8 is
|
||||
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)
|
||||
* Setup global decode value, for example:
|
||||
`/set charset.default.decode "ISO-8859-15"`.
|
||||
* If you are using UTF-8 locale:
|
||||
** Check that your terminal is UTF-8 ready (terminal recommended for UTF-8 is
|
||||
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
|
||||
@ -128,11 +128,11 @@ output of `echo $TERM` in your terminal).
|
||||
|
||||
Depending on where you launch WeeChat, you should have:
|
||||
|
||||
* if WeeChat runs locally or on a remote machine without screen nor tmux, it
|
||||
* If WeeChat runs locally or on a remote machine without screen nor tmux, it
|
||||
depends on the terminal used: _xterm_, _xterm-256color_, _rxvt-unicode_,
|
||||
_rxvt-256color_, ...
|
||||
* if WeeChat runs under screen, you should have _screen_ or _screen-256color_,
|
||||
* if WeeChat runs under tmux, you should have _tmux_, _tmux-256color_,
|
||||
* If WeeChat runs under screen, you should have _screen_ or _screen-256color_.
|
||||
* If WeeChat runs under tmux, you should have _tmux_, _tmux-256color_,
|
||||
_screen_ or _screen-256color_.
|
||||
|
||||
If needed, fix your TERM variable: `export TERM="xxx"`.
|
||||
@ -446,11 +446,11 @@ You can just disable bracketed paste mode:
|
||||
If you're using some terminals like xterm or uxterm, some meta keys does not
|
||||
work by default. You can add a line in file _~/.Xresources_:
|
||||
|
||||
* for xterm:
|
||||
* For xterm:
|
||||
----
|
||||
XTerm*metaSendsEscape: true
|
||||
----
|
||||
* for uxterm:
|
||||
* For uxterm:
|
||||
----
|
||||
UXTerm*metaSendsEscape: true
|
||||
----
|
||||
@ -807,45 +807,45 @@ You can, but this is *NOT* recommended.
|
||||
|
||||
Command `/set` in WeeChat is recommended:
|
||||
|
||||
* you can complete value with the Tab key
|
||||
* the value is checked, a message is displayed in case of error
|
||||
* the value is used immediately, you don't need to restart anything
|
||||
* You can complete value with the Tab key.
|
||||
* The value is checked, a message is displayed in case of error.
|
||||
* The value is used immediately, you don't need to restart anything.
|
||||
|
||||
If you still want to edit files by hand, you should be careful:
|
||||
|
||||
* if you put an invalid value for an option, WeeChat will display an error
|
||||
on load and discard the value (the default value for option will be used)
|
||||
* if WeeChat is running, you'll have to issue the command `/reload`, and if
|
||||
some settings were changed but not saved with `/save`, you will lose them
|
||||
* If you put an invalid value for an option, WeeChat will display an error
|
||||
on load and discard the value (the default value for option will be used).
|
||||
* If WeeChat is running, you'll have to issue the command `/reload`, and if
|
||||
some settings were changed but not saved with `/save`, you will lose them.
|
||||
|
||||
[[memory_usage]]
|
||||
=== How can I tweak WeeChat to consume less memory?
|
||||
|
||||
You can try following tips to consume less memory:
|
||||
|
||||
* use the latest stable version (it is supposed to have less memory leaks than
|
||||
older versions)
|
||||
* do not load some plugins if you don't use them, for example: aspell, fifo,
|
||||
logger, perl, python, ruby, lua, tcl, guile, javascript, xfer (used for DCC)
|
||||
* load only scripts that you really need
|
||||
* do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
_weechat.network.gnutls_ca_file_
|
||||
* reduce value of option _weechat.history.max_buffer_lines_number_ or set value
|
||||
of option _weechat.history.max_buffer_lines_minutes_
|
||||
* reduce value of option _weechat.history.max_commands_
|
||||
* Use the latest stable version (it is supposed to have less memory leaks than
|
||||
older versions).
|
||||
* Do not load some plugins if you don't use them, for example: aspell, fifo,
|
||||
logger, perl, python, ruby, lua, tcl, guile, javascript, xfer (used for DCC).
|
||||
* Load only scripts that you really need.
|
||||
* Do not load certificates if SSL is *NOT* used: set empty string in option
|
||||
_weechat.network.gnutls_ca_file_.
|
||||
* Reduce value of option _weechat.history.max_buffer_lines_number_ or set value
|
||||
of option _weechat.history.max_buffer_lines_minutes_.
|
||||
* Reduce value of option _weechat.history.max_commands_.
|
||||
|
||||
[[cpu_usage]]
|
||||
=== How can I tweak WeeChat to use less CPU?
|
||||
|
||||
You can follow same tips as for <<memory_usage,memory>>, and these ones:
|
||||
|
||||
* hide "nicklist" bar: `/bar hide nicklist`
|
||||
* remove display of seconds in status bar time:
|
||||
`/set weechat.look.item_time_format "%H:%M"` (this is the default value)
|
||||
* disable real time check of misspelled words in command line (if you enabled it):
|
||||
`/set aspell.check.real_time off`
|
||||
* set the _TZ_ variable (for example: `export TZ="Europe/Paris"`), to prevent
|
||||
frequent access to file _/etc/localtime_
|
||||
* Hide "nicklist" bar: `/bar hide nicklist`.
|
||||
* Remove display of seconds in status bar time:
|
||||
`/set weechat.look.item_time_format "%H:%M"` (this is the default value).
|
||||
* Disable real time check of misspelled words in command line (if you enabled it):
|
||||
`/set aspell.check.real_time off`.
|
||||
* Set the _TZ_ variable (for example: `export TZ="Europe/Paris"`), to prevent
|
||||
frequent access to file _/etc/localtime_.
|
||||
|
||||
[[security]]
|
||||
=== I am paranoid about security, which settings could I change to be even more secure?
|
||||
|
@ -14164,9 +14164,9 @@ Create a new hdata.
|
||||
Hdata is a fast way to read WeeChat or plugins data. It is similar to
|
||||
infolist, but there are some differences:
|
||||
|
||||
* it is faster and uses less memory: direct read of data without duplication
|
||||
* it may have different info than infolist: it contains only raw data in
|
||||
structures (infolist may add some extra data for convenience)
|
||||
* It is faster and uses less memory: direct read of data without duplication.
|
||||
* It may have different info than infolist: it contains only raw data in
|
||||
structures (infolist may add some extra data for convenience).
|
||||
====
|
||||
|
||||
Prototype:
|
||||
|
@ -51,19 +51,19 @@ You can use `/set` option with partial name and wildcard "*" at the beginning
|
||||
or end to display all options containing letters.
|
||||
For example:
|
||||
|
||||
* display all options (WeeChat and plugins):
|
||||
* Display all options (WeeChat and plugins):
|
||||
|
||||
----
|
||||
/set
|
||||
----
|
||||
|
||||
* display WeeChat options:
|
||||
* Display WeeChat options:
|
||||
|
||||
----
|
||||
/set weechat.*
|
||||
----
|
||||
|
||||
* display IRC plugin options:
|
||||
* Display IRC plugin options:
|
||||
|
||||
----
|
||||
/set irc.*
|
||||
|
@ -43,19 +43,19 @@ other languages.
|
||||
|
||||
==== Python
|
||||
|
||||
* You have to `import weechat`
|
||||
* You have to `import weechat`.
|
||||
* Functions `+print*+` are called `+prnt*+` in python (because _print_ is reserved
|
||||
keyword)
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...)`
|
||||
keyword).
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...)`.
|
||||
|
||||
==== Perl
|
||||
|
||||
* Functions are called with `weechat::xxx(arg1, arg2, ...);`
|
||||
* Functions are called with `weechat::xxx(arg1, arg2, ...);`.
|
||||
|
||||
==== Ruby
|
||||
|
||||
* You have to define _weechat_init_ and call _register_ inside
|
||||
* Functions are called with `Weechat.xxx(arg1, arg2, ...)`
|
||||
* You have to define _weechat_init_ and call _register_ inside.
|
||||
* Functions are called with `Weechat.xxx(arg1, arg2, ...)`.
|
||||
* Due to a limitation of Ruby (15 arguments max by function), the function
|
||||
`Weechat.config_new_option` receives the callbacks in an array of 6 strings
|
||||
(3 callbacks + 3 data strings), so a call to this function looks like:
|
||||
@ -68,15 +68,15 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
==== Lua
|
||||
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...)`
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...)`.
|
||||
|
||||
==== Tcl
|
||||
|
||||
* Functions are called with `weechat::xxx arg1 arg2 ...`
|
||||
* Functions are called with `weechat::xxx arg1 arg2 ...`.
|
||||
|
||||
==== Guile (scheme)
|
||||
|
||||
* Functions are called with `(weechat:xxx arg1 arg2 ...)`
|
||||
* Functions are called with `(weechat:xxx arg1 arg2 ...)`.
|
||||
* Following functions take one list of arguments (instead of many arguments
|
||||
for other functions), because number of arguments exceed number of allowed
|
||||
arguments in Guile:
|
||||
@ -86,7 +86,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
==== Javascript
|
||||
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...);`
|
||||
* Functions are called with `weechat.xxx(arg1, arg2, ...);`.
|
||||
|
||||
[[register_function]]
|
||||
=== Register function
|
||||
|
@ -49,8 +49,8 @@ Fresh code (with latest bugs and features) is stored in a GIT repository.
|
||||
|
||||
You may decide to build it manually (recommended way):
|
||||
|
||||
* the GIT version can be built and installed in parallel to the stable version,
|
||||
* you don't need root access, and you don't need to sacrifice the stable
|
||||
* The GIT version can be built and installed in parallel to the stable version.
|
||||
* You don't need root access, and you don't need to sacrifice the stable
|
||||
version of WeeChat.
|
||||
|
||||
[[get_sources]]
|
||||
|
@ -50,7 +50,7 @@ In order to install WeeChat, you need:
|
||||
* a running GNU/Linux system (with compiler tools for source
|
||||
package), or a compatible OS
|
||||
* _root_ privileges (to install WeeChat in a system directory)
|
||||
* some libraries (see <<dependencies,dependencies>>).
|
||||
* some libraries (see <<dependencies,dependencies>>)
|
||||
|
||||
[[install]]
|
||||
== Installation
|
||||
@ -335,9 +335,9 @@ Then follow instructions for source package (see
|
||||
If you experienced crashes, or if you want to report any future WeeChat crash,
|
||||
you have to:
|
||||
|
||||
* compile it with debug info (or install binary package with debug info)
|
||||
* enable _core_ files on your system
|
||||
* install gdb
|
||||
* Compile it with debug info (or install binary package with debug info).
|
||||
* Enable _core_ files on your system.
|
||||
* Install gdb.
|
||||
|
||||
[[debug_info]]
|
||||
==== Debug info
|
||||
@ -969,11 +969,11 @@ and selection of text (using the mouse).
|
||||
|
||||
The bare display has following features:
|
||||
|
||||
* it displays only the content of current buffer: no window split neither bars
|
||||
(no title, nicklist, status, input, ...)
|
||||
* the WeeChat mouse support is disabled (if it was enabled): you can use your
|
||||
mouse like you do in the terminal to click on URLs and select text
|
||||
* ncurses is not used, therefore URLs are not cut at the end of lines.
|
||||
* It displays only the content of current buffer: no window split neither bars
|
||||
(no title, nicklist, status, input, ...).
|
||||
* The WeeChat mouse support is disabled (if it was enabled): you can use your
|
||||
mouse like you do in the terminal to click on URLs and select text.
|
||||
* Ncurses is not used, therefore URLs are not cut at the end of lines.
|
||||
|
||||
The default key to enabled bare display is kbd:[Alt+l], and same key to exit (or
|
||||
by default anything changing the input will exit the bare display, see option
|
||||
@ -2588,25 +2588,25 @@ Message can be prefixed by server name to be specific to an irc server
|
||||
|
||||
Some examples:
|
||||
|
||||
* display result of `/whois` on private buffer:
|
||||
* Display result of `/whois` on private buffer:
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.whois private
|
||||
----
|
||||
|
||||
* restore default buffer for whois (server buffer):
|
||||
* Restore default buffer for whois (server buffer):
|
||||
|
||||
----
|
||||
/unset irc.msgbuffer.whois
|
||||
----
|
||||
|
||||
* display invitation on current buffer, only for "freenode" server:
|
||||
* Display invitation on current buffer, only for "freenode" server:
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.freenode.invite current
|
||||
----
|
||||
|
||||
* display message "303" (ison) on WeeChat "core" buffer:
|
||||
* Display message "303" (ison) on WeeChat "core" buffer:
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.303 weechat
|
||||
@ -2665,25 +2665,25 @@ but not join/part/quit.
|
||||
|
||||
Some examples:
|
||||
|
||||
* set level 3 for IRC channel #weechat:
|
||||
* Set level 3 for IRC channel #weechat:
|
||||
|
||||
----
|
||||
/set logger.level.irc.freenode.#weechat 3
|
||||
----
|
||||
|
||||
* set level 3 for freenode server buffer:
|
||||
* Set level 3 for freenode server buffer:
|
||||
|
||||
----
|
||||
/set logger.level.irc.server.freenode 3
|
||||
----
|
||||
|
||||
* set level 3 for all channels on server freenode:
|
||||
* Set level 3 for all channels on server freenode:
|
||||
|
||||
----
|
||||
/set logger.level.irc.freenode 3
|
||||
----
|
||||
|
||||
* set level 2 for all IRC buffers:
|
||||
* Set level 2 for all IRC buffers:
|
||||
|
||||
----
|
||||
/set logger.level.irc 2
|
||||
|
@ -1012,9 +1012,9 @@ Où _component_ est :
|
||||
|
||||
Quelques règles à suivre :
|
||||
|
||||
* utilisez seulement l'anglais
|
||||
* utilisez des verbes à l'infinitif
|
||||
* si le commit est relatif au tracker, écrivez-le entre parenthèses après le
|
||||
* Utilisez seulement l'anglais.
|
||||
* Utilisez des verbes à l'infinitif.
|
||||
* Si le commit est relatif au tracker, écrivez-le entre parenthèses après le
|
||||
message, avec ce format :
|
||||
** GitHub : closes #123
|
||||
** Savannah : bug #12345, task #12345, patch #12345
|
||||
|
@ -89,25 +89,25 @@ rapide : https://weechat.org/doc
|
||||
C'est un problème courant, merci de lire attentivement et vérifier *TOUS* les
|
||||
points ci-dessous :
|
||||
|
||||
* vérifiez que weechat est lié avec libncursesw (attention : nécessaire
|
||||
* Vérifiez que weechat est lié avec libncursesw (attention : nécessaire
|
||||
sur beaucoup de distributions, mais pas toutes) :
|
||||
`ldd /chemin/vers/weechat`
|
||||
* vérifiez que l'extension "charset" est chargée avec la commande `/plugin`
|
||||
`ldd /chemin/vers/weechat`.
|
||||
* Vérifiez que l'extension "charset" est chargée avec la commande `/plugin`
|
||||
(s'il ne l'est pas, vous devez peut-être installer le paquet
|
||||
"weechat-plugins")
|
||||
* vérifiez la sortie de la commande `/charset` (sur le tampon "core"), vous
|
||||
"weechat-plugins").
|
||||
* Vérifiez la sortie de la commande `/charset` (sur le tampon "core"), vous
|
||||
devriez voir _ISO-XXXXXX_ ou _UTF-8_ pour le charset du terminal. Si vous
|
||||
voyez _ANSI_X3.4-1968_ ou d'autres valeurs, votre locale est probablement
|
||||
erronée (corrigez votre $LANG).
|
||||
* affectez la valeur pour le décodage global, par exemple :
|
||||
`/set charset.default.decode "ISO-8859-15"`
|
||||
* si vous utilisez la locale UTF-8 :
|
||||
** vérifiez que votre terminal est compatible UTF-8
|
||||
(un terminal conseillé pour l'UTF-8 est rxvt-unicode)
|
||||
** si vous utilisez screen, vérifiez qu'il est lancé en mode UTF-8
|
||||
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen)
|
||||
* vérifiez que l'option _weechat.look.eat_newline_glitch_ est désactivée (cette
|
||||
option peut causer des problèmes d'affichage)
|
||||
* Affectez la valeur pour le décodage global, par exemple :
|
||||
`/set charset.default.decode "ISO-8859-15"`.
|
||||
* Si vous utilisez la locale UTF-8 :
|
||||
** Vérifiez que votre terminal est compatible UTF-8
|
||||
(un terminal conseillé pour l'UTF-8 est rxvt-unicode).
|
||||
** Si vous utilisez screen, vérifiez qu'il est lancé en mode UTF-8
|
||||
("`defutf8 on`" dans ~/.screenrc ou `screen -U` pour lancer screen).
|
||||
* Vérifiez que l'option _weechat.look.eat_newline_glitch_ est désactivée (cette
|
||||
option peut causer des problèmes d'affichage).
|
||||
|
||||
[NOTE]
|
||||
La locale UTF-8 est recommandée pour WeeChat. Si vous utilisez ISO ou une autre
|
||||
@ -135,11 +135,11 @@ sortie de `echo $TERM` dans votre terminal).
|
||||
|
||||
Selon la façon de lancer WeeChat, vous devriez avoir :
|
||||
|
||||
* si WeeChat tourne en local ou sur une machine distante sans screen ni tmux :
|
||||
* Si WeeChat tourne en local ou sur une machine distante sans screen ni tmux :
|
||||
cela dépend du terminal utilisé : _xterm_, _xterm-256color_, _rxvt-unicode_,
|
||||
_rxvt-256color_, etc...
|
||||
* si WeeChat tourne sous screen, vous devriez avoir _screen_ ou _screen-256color_,
|
||||
* si WeeChat tourne sous tmux, vous devriez avoir _tmux_, _tmux-256color_,
|
||||
* Si WeeChat tourne sous screen, vous devriez avoir _screen_ ou _screen-256color_.
|
||||
* Si WeeChat tourne sous tmux, vous devriez avoir _tmux_, _tmux-256color_,
|
||||
_screen_ ou _screen-256color_.
|
||||
|
||||
Si besoin, corrigez la variable TERM : `export TERM="xxx"`.
|
||||
@ -470,11 +470,11 @@ Si vous utilisez certains terminaux comme xterm ou uxterm, quelques touches
|
||||
meta ne fonctionnent pas par défaut. Vous pouvez ajouter cette ligne dans le
|
||||
fichier _~/.Xresources_ :
|
||||
|
||||
* pour xterm :
|
||||
* Pour xterm :
|
||||
----
|
||||
XTerm*metaSendsEscape: true
|
||||
----
|
||||
* pour uxterm :
|
||||
* Pour uxterm :
|
||||
----
|
||||
UXTerm*metaSendsEscape: true
|
||||
----
|
||||
@ -845,36 +845,36 @@ Vous pouvez, mais ce n'est *PAS* recommandé.
|
||||
|
||||
La commande `/set` in WeeChat est recommandée :
|
||||
|
||||
* vous pouvez compléter la valeur avec la touche Tab
|
||||
* la valeur est vérifiée, un message est affichée en cas d'erreur
|
||||
* la valeur est utilisée immédiatement, et vous n'avez pas besoin de redémarrer
|
||||
quoi que ce soit
|
||||
* Vous pouvez compléter la valeur avec la touche Tab.
|
||||
* La valeur est vérifiée, un message est affichée en cas d'erreur.
|
||||
* La valeur est utilisée immédiatement, et vous n'avez pas besoin de redémarrer
|
||||
quoi que ce soit.
|
||||
|
||||
Si vous souhaitez quand même éditer les fichiers à la main, vous devez faire
|
||||
attention :
|
||||
|
||||
* si vous mettez une valeur invalide pour une option, WeeChat affichera une
|
||||
* Si vous mettez une valeur invalide pour une option, WeeChat affichera une
|
||||
erreur au chargement et ne tiendra pas compte de la valeur (la valeur par
|
||||
défaut pour l'option sera utilisée)
|
||||
* si WeeChat tourne, vous devrez utiliser la commande `/reload`, et si des
|
||||
options ont été changées mais non sauvées avec `/save`, vous les perdrez
|
||||
défaut pour l'option sera utilisée).
|
||||
* Si WeeChat tourne, vous devrez utiliser la commande `/reload`, et si des
|
||||
options ont été changées mais non sauvées avec `/save`, vous les perdrez.
|
||||
|
||||
[[memory_usage]]
|
||||
=== Comment configurer WeeChat pour consommer moins de mémoire ?
|
||||
|
||||
Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
|
||||
|
||||
* utiliser la dernière version stable (elle est supposée avoir moins de fuites
|
||||
de mémoire que les versions plus anciennes)
|
||||
* ne pas charger les extensions si vous ne les utilisez pas, par exemple :
|
||||
* Utiliser la dernière version stable (elle est supposée avoir moins de fuites
|
||||
de mémoire que les versions plus anciennes).
|
||||
* Ne pas charger les extensions si vous ne les utilisez pas, par exemple :
|
||||
aspell, fifo, logger, perl, python, ruby, lua, tcl, guile, javascript,
|
||||
xfer (utilisé pour les DCC)
|
||||
* charger uniquement les scripts dont vous avez vraiment besoin
|
||||
* ne pas charger les certificats si SSL n'est *PAS* utilisé : affecter une
|
||||
chaîne vide pour l'option _weechat.network.gnutls_ca_file_
|
||||
* réduire la valeur de l'option _weechat.history.max_buffer_lines_number_ ou
|
||||
affecter une valeur à l'option _weechat.history.max_buffer_lines_minutes_
|
||||
* réduire la valeur de l'option _weechat.history.max_commands_
|
||||
xfer (utilisé pour les DCC).
|
||||
* Charger uniquement les scripts dont vous avez vraiment besoin.
|
||||
* Ne pas charger les certificats si SSL n'est *PAS* utilisé : affecter une
|
||||
chaîne vide pour l'option _weechat.network.gnutls_ca_file_.
|
||||
* Réduire la valeur de l'option _weechat.history.max_buffer_lines_number_ ou
|
||||
affecter une valeur à l'option _weechat.history.max_buffer_lines_minutes_.
|
||||
* Réduire la valeur de l'option _weechat.history.max_commands_.
|
||||
|
||||
[[cpu_usage]]
|
||||
=== Comment configurer WeeChat pour moins utiliser le processeur ?
|
||||
@ -882,13 +882,13 @@ Vous pouvez essayer les astuces suivantes pour consommer moins de mémoire :
|
||||
Vous pouvez suivre les mêmes astuces que pour la <<memory_usage,mémoire>>, et
|
||||
celles-ci :
|
||||
|
||||
* cacher la barre "nicklist" : `/bar hide nicklist`
|
||||
* supprimer l'affichage des secondes dans l'heure de la barre de statut :
|
||||
`/set weechat.look.item_time_format "%H:%M"` (ceci est la valeur par défaut)
|
||||
* désactiver la vérification en temps réel des mots mal orthographiés dans la
|
||||
ligne de commande (si vous l'avez activée) : `/set aspell.check.real_time off`
|
||||
* définir la variable _TZ_ (par exemple : `export TZ="Europe/Paris"`), pour
|
||||
éviter un accès fréquent au fichier _/etc/localtime_
|
||||
* Cacher la barre "nicklist" : `/bar hide nicklist`.
|
||||
* Supprimer l'affichage des secondes dans l'heure de la barre de statut :
|
||||
`/set weechat.look.item_time_format "%H:%M"` (ceci est la valeur par défaut).
|
||||
* Désactiver la vérification en temps réel des mots mal orthographiés dans la
|
||||
ligne de commande (si vous l'avez activée) : `/set aspell.check.real_time off`.
|
||||
* Définir la variable _TZ_ (par exemple : `export TZ="Europe/Paris"`), pour
|
||||
éviter un accès fréquent au fichier _/etc/localtime_.
|
||||
|
||||
[[security]]
|
||||
=== Je suis paranoïaque sur la sécurité, quels paramètres puis-je changer pour être encore plus sûr ?
|
||||
|
@ -14461,11 +14461,11 @@ Créer un "hdata".
|
||||
Le "hdata" est un moyen rapide de lire des données de WeeChat ou des extensions.
|
||||
Il est similaire à l'infolist, mais il y a quelques différences :
|
||||
|
||||
* il est plus rapide et utilise moins de mémoire : accès direct aux données sans
|
||||
duplication
|
||||
* il peut contenir des informations différentes de l'infolist : il contient
|
||||
* Il est plus rapide et utilise moins de mémoire : accès direct aux données sans
|
||||
duplication.
|
||||
* Il peut contenir des informations différentes de l'infolist : il contient
|
||||
seulement les données brutes des structures (l'infolist peut ajouter des
|
||||
données supplémentaires pour plus de commodité)
|
||||
données supplémentaires pour plus de commodité).
|
||||
====
|
||||
|
||||
Prototype :
|
||||
|
@ -55,19 +55,19 @@ ces lettres.
|
||||
Par exemple :
|
||||
|
||||
|
||||
* afficher toutes les options (WeeChat et extensions) :
|
||||
* Afficher toutes les options (WeeChat et extensions) :
|
||||
|
||||
----
|
||||
/set
|
||||
----
|
||||
|
||||
* afficher les options WeeChat :
|
||||
* Afficher les options WeeChat :
|
||||
|
||||
----
|
||||
/set weechat.*
|
||||
----
|
||||
|
||||
* afficher les options de l'extension IRC :
|
||||
* Afficher les options de l'extension IRC :
|
||||
|
||||
----
|
||||
/set irc.*
|
||||
|
@ -45,19 +45,19 @@ l'API est la même pour les autres langages.
|
||||
|
||||
==== Python
|
||||
|
||||
* Vous devez utiliser `import weechat`
|
||||
* Vous devez utiliser `import weechat`.
|
||||
* Les fonctions `+print*+` se nomment `+prnt*+` en python (car _print_ est un mot
|
||||
clé réservé)
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...)`
|
||||
clé réservé).
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...)`.
|
||||
|
||||
==== Perl
|
||||
|
||||
* Les fonctions sont appelées par `weechat::xxx(arg1, arg2, ...);`
|
||||
* Les fonctions sont appelées par `weechat::xxx(arg1, arg2, ...);`.
|
||||
|
||||
==== Ruby
|
||||
|
||||
* Vous devez définir _weechat_init_ et appeler _register_ dedans
|
||||
* Les fonctions sont appelées par `Weechat.xxx(arg1, arg2, ...)`
|
||||
* Vous devez définir _weechat_init_ et appeler _register_ dedans.
|
||||
* Les fonctions sont appelées par `Weechat.xxx(arg1, arg2, ...)`.
|
||||
* En raison d'une limitation de Ruby (15 paramètres maximum par fonction), la
|
||||
fonction `Weechat.config_new_option` reçoit les "callbacks" dans un tableau de
|
||||
6 chaînes de caractères (3 callbacks + 3 chaînes de données), donc un appel à
|
||||
@ -71,15 +71,15 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
==== Lua
|
||||
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...)`
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...)`.
|
||||
|
||||
==== Tcl
|
||||
|
||||
* Les fonctions sont appelées par `weechat::xxx arg1 arg2 ...`
|
||||
* Les fonctions sont appelées par `weechat::xxx arg1 arg2 ...`.
|
||||
|
||||
==== Guile (scheme)
|
||||
|
||||
* Les fonctions sont appelées par `(weechat:xxx arg1 arg2 ...)`
|
||||
* Les fonctions sont appelées par `(weechat:xxx arg1 arg2 ...)`.
|
||||
* Les fonctions suivantes prennent une liste de paramètres en entrée (au lieu
|
||||
de plusieurs paramètres pour les autres fonctions), car le nombre de
|
||||
paramètres excède la limite de Guile :
|
||||
@ -89,7 +89,7 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt
|
||||
|
||||
==== Javascript
|
||||
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...);`
|
||||
* Les fonctions sont appelées par `weechat.xxx(arg1, arg2, ...);`.
|
||||
|
||||
[[register_function]]
|
||||
=== Fonction register
|
||||
|
@ -55,9 +55,9 @@ GIT.
|
||||
|
||||
Vous pouvez décider de le construire manuellement (méthode recommandée) :
|
||||
|
||||
* la version GIT peut être construite et installée en parallèle de la version
|
||||
* La version GIT peut être construite et installée en parallèle de la version
|
||||
stable,
|
||||
* vous n'avez pas besoin d'accès root ni de sacrifier votre version stable de
|
||||
* Vous n'avez pas besoin d'accès root ni de sacrifier votre version stable de
|
||||
WeeChat.
|
||||
|
||||
[[get_sources]]
|
||||
|
@ -340,10 +340,10 @@ Suivez alors les instructions du paquet source (voir
|
||||
Si vous avez eu des plantages, ou si vous souhaitez rapporter tout plantage
|
||||
futur de WeeChat, vous devez :
|
||||
|
||||
* compiler avec les infos de debug (ou installer un paquet binaire avec les
|
||||
infos de debug)
|
||||
* activer les fichiers _core_ sur votre système
|
||||
* installer gdb
|
||||
* Compiler avec les infos de debug (ou installer un paquet binaire avec les
|
||||
infos de debug).
|
||||
* Activer les fichiers _core_ sur votre système.
|
||||
* Installer gdb.
|
||||
|
||||
[[debug_info]]
|
||||
==== Infos de debug
|
||||
@ -993,12 +993,12 @@ un clic facile sur les URLs longs et la sélection de texte (avec la souris).
|
||||
|
||||
L'affichage dépouillé a les caractéristiques suivantes :
|
||||
|
||||
* il n'affiche que le contenu du tampon courant : pas de découpage de fenêtres
|
||||
ni de barre (pas de titre, liste de pseudos, statut, ligne de commande, ...)
|
||||
* le support souris de WeeChat est désactivé (s'il avait été activé) : vous
|
||||
* Il n'affiche que le contenu du tampon courant : pas de découpage de fenêtres
|
||||
ni de barre (pas de titre, liste de pseudos, statut, ligne de commande, ...).
|
||||
* Le support souris de WeeChat est désactivé (s'il avait été activé) : vous
|
||||
pouvez utiliser votre souris comme vous le faites dans le terminal pour
|
||||
cliquer sur les URLs et sélectionner du texte
|
||||
* ncurses n'est pas utilisé, par conséquent les URLs ne sont pas coupés en fin
|
||||
cliquer sur les URLs et sélectionner du texte.
|
||||
* Ncurses n'est pas utilisé, par conséquent les URLs ne sont pas coupés en fin
|
||||
de ligne.
|
||||
|
||||
La touche par défaut pour activer l'affichage dépouillé est kbd:[Alt+l], et la
|
||||
@ -2155,25 +2155,25 @@ des suivantes :
|
||||
|
||||
Quelques exemples :
|
||||
|
||||
* changement du pseudo sur freenode en "autrepseudo" :
|
||||
* Changement du pseudo sur freenode en "autrepseudo" :
|
||||
|
||||
----
|
||||
$ echo 'irc.server.freenode */nick autrepseudo' >~/.weechat/weechat_fifo_12345
|
||||
----
|
||||
|
||||
* affichage de texte sur le canal IRC #weechat :
|
||||
* Affichage de texte sur le canal IRC #weechat :
|
||||
|
||||
----
|
||||
$ echo 'irc.freenode.#weechat *bonjour !' >~/.weechat/weechat_fifo_12345
|
||||
----
|
||||
|
||||
* affichage de texte sur le tampon courant :
|
||||
* Affichage de texte sur le tampon courant :
|
||||
|
||||
----
|
||||
$ echo '*bonjour !' >~/.weechat/weechat_fifo_12345
|
||||
----
|
||||
|
||||
* envoyer deux commandes pour décharger/recharger les scripts Python (vous devez
|
||||
* Envoyer deux commandes pour décharger/recharger les scripts Python (vous devez
|
||||
les séparer par "\n") :
|
||||
|
||||
----
|
||||
@ -2668,26 +2668,26 @@ serveur IRC (par exemple: `freenode.whois`).
|
||||
|
||||
Quelques exemples :
|
||||
|
||||
* afficher le résultat de `/whois` sur le tampon privé :
|
||||
* Afficher le résultat de `/whois` sur le tampon privé :
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.whois private
|
||||
----
|
||||
|
||||
* restaurer le tampon par défaut pour whois (tampon du serveur) :
|
||||
* Restaurer le tampon par défaut pour whois (tampon du serveur) :
|
||||
|
||||
----
|
||||
/unset irc.msgbuffer.whois
|
||||
----
|
||||
|
||||
* afficher une invitation sur le tampon courant, pour le serveur "freenode"
|
||||
* Afficher une invitation sur le tampon courant, pour le serveur "freenode"
|
||||
seulement :
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.freenode.invite current
|
||||
----
|
||||
|
||||
* afficher le message "303" (ison) sur le tampon "core" WeeChat :
|
||||
* Afficher le message "303" (ison) sur le tampon "core" WeeChat :
|
||||
|
||||
----
|
||||
/set irc.msgbuffer.303 weechat
|
||||
@ -2746,25 +2746,25 @@ tous les messages sauf les join/part/quit.
|
||||
|
||||
Quelques exemples :
|
||||
|
||||
* affecter le niveau 3 pour le canal IRC #weechat :
|
||||
* Affecter le niveau 3 pour le canal IRC #weechat :
|
||||
|
||||
----
|
||||
/set logger.level.irc.freenode.#weechat 3
|
||||
----
|
||||
|
||||
* affecter le niveau 3 pour le tampon serveur freenode :
|
||||
* Affecter le niveau 3 pour le tampon serveur freenode :
|
||||
|
||||
----
|
||||
/set logger.level.irc.server.freenode 3
|
||||
----
|
||||
|
||||
* affecter le niveau 3 pour tous les canaux sur le serveur freenode :
|
||||
* Affecter le niveau 3 pour tous les canaux sur le serveur freenode :
|
||||
|
||||
----
|
||||
/set logger.level.irc.freenode 3
|
||||
----
|
||||
|
||||
* affecter le niveau 2 pour tous les tampons IRC :
|
||||
* Affecter le niveau 2 pour tous les tampons IRC :
|
||||
|
||||
----
|
||||
/set logger.level.irc 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user