Difference between pages "User:Jhuebel" and "Weechat"

From Funtoo
(Difference between pages)
Jump to: navigation, search
(Created page with "{{Person |Full name=Jason Huebel |Email=jhuebel@gmail.com |Nick=jhuebel |Geoloc=30.163407, -93.867885 |Location name=Orange, Texas, United States of America |Roles={{Role |Rol...")
 
m
 
Line 1: Line 1:
{{Person
+
== Introduction ==
|Full name=Jason Huebel
+
WeeChat is a terminal based chat client. It can be scripted with Python, Perl, Ruby, Lua, C, Tcl, and Scheme.
|Email=jhuebel@gmail.com
+
 
|Nick=jhuebel
+
== More Information ==
|Geoloc=30.163407, -93.867885
+
[http://www.weechat.org/files/doc/stable/weechat_user.en.html User's Guide]
|Location name=Orange, Texas, United States of America
+
 
|Roles={{Role
+
[http://www.weechat.org/scripts/ Plugins]
|Role type=User
+
 
|Role desc=Retired Gentoo/amd64 Lead Developer
+
== Installation ==
}}
+
 
|Maintains=
+
<pre style="color:green"># emerge weechat</pre>
|Blogs={{Blog
+
 
|Name=Jason Huebel
+
If you are going to use plugins, make sure to add the USE flags corresponding to the language of the plugins you wish to use.
|URL=http://jasonhuebel.name
+
 
}}
+
== Configuration ==
}}
+
 
Placeholder. More to come.
+
Configuration can be done in three ways.
 +
* '''iset''': A script used within WeeChat
 +
* '''/set''' and '''/window''': Using input commands to change options within WeeChat
 +
* '''.conf''': Using the .conf files that are in ~/.weechat.
 +
 
 +
For the sake of this wiki, the '''/set''' and '''/window''' commands will be used for configuration.
 +
=== Windows ===
 +
This is just an example of how windows can be split. If a user wants 24 windows, that is possible.
 +
The percentage used is relative to the current window being split:
 +
<pre style="color:green">/window splith 20</pre>
 +
This gives you a horizontal split at 20% on the top and 80% on the bottom
 +
<pre style="color:green">/window 1</pre>
 +
<pre style="color:green">/window splitv 50</pre>
 +
This will split the bottom screen into two horizontal windows.
 +
<pre style="color:green">/window 2</pre>
 +
<pre style="color:green">/window splitv 50</pre>
 +
This will split the top screen into two horizontal windows.
 +
 
 +
The window will now be broken into 4 sections dependent upon the percentage used during the splits.
 +
 
 +
{| border="1"
 +
| Window 2
 +
| Window 4
 +
|-
 +
| Window 1
 +
| Window 3
 +
|}
 +
=== Bars ===
 +
Use the /bar command to manipulate bars.
 +
 
 +
To list current bars:
 +
<pre style="color:green">/bar</pre>
 +
For example, to add a root inputbar:
 +
<pre style="color:green">/bar add rootinput root bottom 1 0 [buffer_name]+[input_prompt],input_text</pre>
 +
<pre style="color:green">/set weechat.bar.rootinput.color_bg black</pre>
 +
<pre style="color:green">/bar del input</pre>
 +
 
 +
Check the user guide for more configurations and bar types.  
 +
 
 +
=== Scripts ===
 +
Use the /script command to go to the script list.
 +
 
 +
To install a script:
 +
<pre style="color:green">/script install <name of script></pre>
 +
or
 +
using the keybinds of the script buffer, Alt+i to install.
 +
 
 +
The title screen has more information on the keybinds/commands that are available.
 +
 
 +
[[Category:IRC]]

Revision as of 14:33, 2 July 2013

Introduction

WeeChat is a terminal based chat client. It can be scripted with Python, Perl, Ruby, Lua, C, Tcl, and Scheme.

More Information

User's Guide

Plugins

Installation

# emerge weechat

If you are going to use plugins, make sure to add the USE flags corresponding to the language of the plugins you wish to use.

Configuration

Configuration can be done in three ways.

  • iset: A script used within WeeChat
  • /set and /window: Using input commands to change options within WeeChat
  • .conf: Using the .conf files that are in ~/.weechat.

For the sake of this wiki, the /set and /window commands will be used for configuration.

Windows

This is just an example of how windows can be split. If a user wants 24 windows, that is possible. The percentage used is relative to the current window being split:

/window splith 20

This gives you a horizontal split at 20% on the top and 80% on the bottom

/window 1
/window splitv 50

This will split the bottom screen into two horizontal windows.

/window 2
/window splitv 50

This will split the top screen into two horizontal windows.

The window will now be broken into 4 sections dependent upon the percentage used during the splits.

Window 2 Window 4
Window 1 Window 3

Bars

Use the /bar command to manipulate bars.

To list current bars:

/bar

For example, to add a root inputbar:

/bar add rootinput root bottom 1 0 [buffer_name]+[input_prompt],input_text
/set weechat.bar.rootinput.color_bg black
/bar del input

Check the user guide for more configurations and bar types.

Scripts

Use the /script command to go to the script list.

To install a script:

/script install <name of script>

or using the keybinds of the script buffer, Alt+i to install.

The title screen has more information on the keybinds/commands that are available.