weechat-headless - Man Page

the extensible chat client (headless version)

Synopsis

weechat-headless [-a|--no-connect] [--daemon] [--stdout] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
weechat-headless [-c|--colors]
weechat-headless [-h|--help]
weechat-headless [-l|--license]
weechat-headless [-v|--version]

Description

WeeChat (Wee Enhanced Environment for Chat) is a free chat client, fast and light, designed for many operating systems. It is highly customizable and extensible with scripts.

The command weechat-headless runs WeeChat in a headless mode (no interface). It can be used for tests or to daemonize WeeChat with the option "--daemon".

Options

-a,  --no-connect

Disable auto-connect to servers when WeeChat is starting.

-c,  --colors

Display default colors in terminal.

--daemon

Run WeeChat in background, as a daemon (works only with the command weechat-headless).

--stdout

Display log messages on standard output instead of writing them in log file (works only with the command weechat-headless, not compatible with option "--daemon").

-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). If this option is not given, the environment variable WEECHAT_HOME is used (if not empty).

-t,  --temp-dir

Create a temporary WeeChat home directory and delete it on exit (incompatible with option "-d").
The name of the directory is automatically built by WeeChat, with this template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created in the first available directory in this list: environment variable "TMPDIR", "/tmp" (may be different according to the operating system), environment variable "HOME", current directory.
The temporary home directory has permissions 0700 (only owner can read, write and execute).

-h,  --help

Display help.

-l,  --license

Display WeeChat license.

-p,  --no-plugin

Disable plugins auto-load.

-P,  --plugins <plugins>

Load only these plugins at startup (see /help weechat.plugin.autoload). If this option is given, the option weechat.plugin.autoload is not used.

-r,  --run-command <command>

Run command(s) after startup; many commands can be separated by semicolons, this option can be given multiple times.

-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.

Debug Options

WARNING: these options are for debug purposes only, DO NOT USE IN PRODUCTION!

--no-dlclose

Do not call the function dlclose after plugins are unloaded. This is useful with tools like Valgrind to display stack for unloaded plugins.

--no-gnutls

Do not call the init and deinit functions of GnuTLS library. This is useful with tools like Valgrind and electric-fence, to prevent GnuTLS memory errors.

--no-gcrypt

Do not call the init and deinit functions of Gcrypt library. This is useful with tools like Valgrind, to prevent Gcrypt memory errors.

Plugin Options

For complete doc on plugin options, please look at plugins documentation in 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@chat.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/sec.conf

configuration file with secured data

$HOME/.weechat/alias.conf

configuration file for alias plugin

$HOME/.weechat/buflist.conf

configuration file for buflist plugin

$HOME/.weechat/charset.conf

configuration file for charset plugin

$HOME/.weechat/exec.conf

configuration file for exec plugin

$HOME/.weechat/fifo.conf

configuration file for fifo plugin

$HOME/.weechat/fset.conf

configuration file for fset plugin

$HOME/.weechat/guile.conf

configuration file for guile plugin

$HOME/.weechat/irc.conf

configuration file for irc plugin

$HOME/.weechat/javascript.conf

configuration file for javascript plugin

$HOME/.weechat/logger.conf

configuration file for logger plugin

$HOME/.weechat/lua.conf

configuration file for lua plugin

$HOME/.weechat/perl.conf

configuration file for perl plugin

$HOME/.weechat/php.conf

configuration file for php plugin

$HOME/.weechat/python.conf

configuration file for python plugin

$HOME/.weechat/relay.conf

configuration file for relay plugin

$HOME/.weechat/ruby.conf

configuration file for ruby plugin

$HOME/.weechat/script.conf

configuration file for script plugin

$HOME/.weechat/spell.conf

configuration file for spell plugin

$HOME/.weechat/tcl.conf

configuration file for tcl plugin

$HOME/.weechat/trigger.conf

configuration file for trigger plugin

$HOME/.weechat/xfer.conf

configuration file for xfer plugin

$HOME/.weechat/weechat.log

WeeChat log file

See Also

weechat(1)

Authors

This manpage was written by Sébastien Helleu.

Support / Reporting Bugs

For help or a bug report: https://weechat.org/about/support

Author

Sébastien Helleu

Referenced By

weechat(1).

2021-02-12 WeeChat 3.0.1 WeeChat Manual