Jump to content

Weechat: Difference between revisions

174 bytes added ,  25 April 2015
no edit summary
No edit summary
Line 13: Line 13:
== Compiling Weechat ==
== Compiling Weechat ==


  git clone https://github.com/weechat/weechat
git clone https://github.com/weechat/weechat
  cd weechat
cd weechat
  mkdir build
mkdir build
  cd build
cd build
  cmake .. -DPREFIX=$HOME -DENABLE_NLS=OFF
cmake .. -DPREFIX=$HOME -DENABLE_NLS=OFF
  make
make
  make install
make install
 
==Customising Weechat ==
Weechat can be very basic when you first run it so here are some conf files to set it up with.
cp ~edu/wcconf/* ~/.weechat/
you need to set your nick for the server
vim ~/.weechat/irc.conf
change “nicks” field to your username


== Basic use ==
== Basic use ==
Line 29: Line 36:
When you start Weechat, you won't get connected to a server or channel. To connect to Redbrick's IRC sever, type:
When you start Weechat, you won't get connected to a server or channel. To connect to Redbrick's IRC sever, type:


  /connect irc.redbrick.dcu.ie
/connect irc.redbrick.dcu.ie


Then to join #lobby:
Then to join #lobby:


  /join #lobby
/join #lobby


As well as showing you how IRC clients (such as Weechat or Irssi or whatever) connect to stuff, this should also show you how to connect to other servers and channels outside of Redbrick.
As well as showing you how IRC clients (such as Weechat or Irssi or whatever) connect to stuff, this should also show you how to connect to other servers and channels outside of Redbrick.
Line 47: Line 54:
You can move buffers (chat windows) with /buffer move. In a channel, type:
You can move buffers (chat windows) with /buffer move. In a channel, type:


  /buffer move <num>
/buffer move <num>


(where <num> is any number you want). That channel is now accessible at Alt+<num>
(where <num> is any number you want). That channel is now accessible at Alt+<num>
Line 88: Line 95:


Weechat uses a handy aspell plugin to check your spelling. To enable it, either use iset or use
Weechat uses a handy aspell plugin to check your spelling. To enable it, either use iset or use
  /set aspell.check.enabled on
/set aspell.check.enabled on


Aspell has a few settings which you may find useful
Aspell has a few settings which you may find useful


  aspell.check.real_time on
aspell.check.real_time on
  aspell.check.word_min_length 2
aspell.check.word_min_length 2
  aspell.check.default_dict "en"
aspell.check.default_dict "en"
  aspell.check.suggestions 3
aspell.check.suggestions 3


Or alternatively if you use iset, search for aspell
Or alternatively if you use iset, search for aspell


The aspell plugin can also offer suggestions as of 0.4.0 and it can be added as an item to your status bar. The item should be added to weechat.bar.status.items. For instance:
The aspell plugin can also offer suggestions as of 0.4.0 and it can be added as an item to your status bar. The item should be added to weechat.bar.status.items. For instance:
  /set weechat.bar.status.items "time |,buffer_number+:buffer_name+(buffer_modes)+ |,buffer_nicklist_count |,hotlist |,[aspell_suggest]
/set weechat.bar.status.items "time |,buffer_number+:buffer_name+(buffer_modes)+ |,buffer_nicklist_count |,hotlist |,[aspell_suggest]
 
You should then see something like [http://creadak.tk/scrn.png this]