Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Weechat - another IRC client

Weechat - another IRC client

Matthias Günther

June 01, 2016
Tweet

More Decks by Matthias Günther

Other Decks in Technology

Transcript

  1. Weechat -
    another IRC
    client

    View Slide

  2. Installation
    Either …
    $ git clone https://github.com/weechat/weechat.git && cd weechat
    $ mkdir build cd build
    cmake .. && make && sudo make install
    … or
    $ sudo apt-get install weechat

    View Slide

  3. Most beautiful
    starting screen
    06:18:26 | ___ __ ______________ _____
    06:18:26 | __ | / /___________ ____/__ /_______ __ /_
    06:18:26 | __ | /| / /_ _ \ _ \ / __ __ \ __ `/ __/
    06:18:26 | __ |/ |/ / / __/ __/ /___ _ / / / /_/ // /_
    06:18:26 | ____/|__/ \___/\___/\____/ /_/ /_/\__,_/ \__/
    06:18:26 | WeeChat 1.5 [compiled on May 4 2016 06:16:40]
    06:18:26 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    06:18:26 |
    06:18:26 | Welcome to WeeChat!
    06:18:26 |
    06:18:26 | If you are discovering WeeChat, it is recommended to read at least the quickstart guide, and the user's ...
    06:18:26 | All WeeChat docs are available at: https://weechat.org/doc
    06:18:26 |
    06:18:26 | Moreover, there is inline help with /help on all commands and options (use Tab key to complete the name).
    06:18:26 | The command /iset (script iset.pl) can help to customize WeeChat: /script install iset.pl
    ...

    View Slide

  4. Basic setup (server,
    nickname, connect,
    join channels)
    /server add freenode chat.freenode.net
    /set irc.server.freenode.nicks "wikimatze"
    /set irc.server.freenode.username "Matthias"
    /set irc.server.freenode.realname "Matthias Günther"
    /connect freenode
    /join #vimberlin

    View Slide

  5. Comfort with
    autoconnect servers
    and channels
    /set irc.server.freenode.autoconnect "on"
    /set irc.server.freenode.autojoin "#vimberlin,#padrino"

    View Slide

  6. Enabling SSL
    /set irc.server.freenode.ssl "on"
    /set irc.server.freenode.ssl_verify "on"
    /set weechat.network.gnutls_ca_file "/etc/ssl/certs/ca-certificates.crt"
    /set irc.server.freenode.addresses chat.freenode.net/6697

    View Slide

  7. Check if SSL is working

    View Slide

  8. Automate nickname
    authentication
    /set irc.server.freenode.command "/msg nickserv identify {your password}"
    /set irc.server.freenode.nicks "wikimatze"

    View Slide

  9. Plugins
    /script search
    /script install autosort.py

    View Slide

  10. Plugin: autosort.py
    grouping default groups
    your channels by server.
    https://weechat.org/scripts/
    source/autosort.py.html/

    View Slide

  11. Plugin: buffers.pl

    View Slide

  12. Configuring: Hide
    joining or leaving the
    channel (image)

    View Slide

  13. Configuring: Hide
    joining or leaving the
    channel (howto)
    /set weechat.look.buffer_notify_default message
    /set irc.look.smart_filter on
    /filter add irc_smart * irc_smart_filter *

    View Slide

  14. Configuring: Hide
    channel operations
    (image)

    View Slide

  15. Configuring: Hide
    channel operations
    (howto)
    /filter add irc_join_names * irc_366,irc_332,irc_333,irc_329,irc_324 *

    View Slide

  16. Look and feel:
    timeformat
    /set weechat.look.buffer_time_format
    /set weechat.look.buffer_time_format “%H:%M”

    View Slide

  17. Seeing strange
    symbols
    I couldn’t type in German
    symbols like Äüß. The solution
    was to install the libcursesw
    package:
    $ sudo apt-get install libncursesw5-dev

    View Slide

  18. Who am I
    @wikimatze
    writing @padrinobook
    running @vimberlin
    updating @padrinorb
    and organizing @vim_fest

    View Slide