2012-06-18 20:02:18 -04:00
|
|
|
Profanity
|
|
|
|
=========
|
2012-02-08 19:51:41 -05:00
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
Profanity is a console based jabber client inspired by [Irssi](http://www.irssi.org/),
|
2012-05-20 09:14:38 -04:00
|
|
|
|
2012-06-18 20:02:18 -04:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Dependencies: ncurses, libstrophe, glib, expat, xml2 and openssl.
|
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
Libstrophe can be found at: https://github.com/metajack/libstrophe
|
2012-06-18 20:02:18 -04:00
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
To run unit tests requires head-unit: https://github.com/boothj5/head-unit
|
2012-02-02 20:36:57 -05:00
|
|
|
|
2012-06-18 20:02:18 -04:00
|
|
|
All other dependencies should have packages for your distribution.
|
|
|
|
|
|
|
|
Once depdendencies have been installed, run:
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
To build and install in the current directory.
|
|
|
|
|
|
|
|
Running
|
|
|
|
-------
|
|
|
|
|
|
|
|
./profanity
|
|
|
|
|
|
|
|
Some older jabber servers advertise SSL/TLS support but don't respond to the handshake,
|
2012-06-18 20:02:21 -04:00
|
|
|
if you have trouble connecting, run with the `-notls` option:
|
2012-06-18 20:02:18 -04:00
|
|
|
|
|
|
|
./profanity -notls
|
|
|
|
|
|
|
|
Preferences
|
|
|
|
-----------
|
|
|
|
|
|
|
|
User preferences are stored in
|
|
|
|
|
|
|
|
~/.profanity
|
|
|
|
|
|
|
|
The following example is described below:
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
beep=false
|
|
|
|
flash=true
|
|
|
|
showsplash=true
|
|
|
|
|
|
|
|
[connections]
|
|
|
|
logins=mylogin@jabber.org;otherlogin@gmail.com
|
|
|
|
|
|
|
|
[colours]
|
|
|
|
bkgnd=default
|
|
|
|
text=white
|
|
|
|
online=green
|
|
|
|
offline=red
|
|
|
|
err=red
|
|
|
|
inc=yellow
|
|
|
|
bar=green
|
|
|
|
bar_draw=black
|
|
|
|
bar_text=black
|
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
The `[ui]` section contains preferences for user interface behaviour:
|
2012-06-18 20:02:18 -04:00
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
beep: Try to sound beep on incoming messages if the terminal supports it
|
|
|
|
flash: Try to make the terminal flash on incoming messages if the terminal supports it
|
2012-06-18 20:02:18 -04:00
|
|
|
showsplash: Show the ascii logo on startup
|
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
The `[connections]` section contains a history of logins you've used already, so profanity can autocomplete them for you.
|
|
|
|
This section is populated automatically when you login with a new username.
|
2012-06-18 20:02:18 -04:00
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
The `[colours]` sections allows you to theme profanity. Available colours are
|
2012-06-18 20:02:18 -04:00
|
|
|
|
|
|
|
black, white, red, green, blue, yellow, cyan, magenta
|
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
Setting a colour to `default`, lets the terminal use whatever default it would use for foreground/background depending on the setting.
|
2012-06-18 20:02:18 -04:00
|
|
|
|
|
|
|
Using
|
|
|
|
-----
|
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
Commands in profanity all start with `/`.
|
2012-06-18 20:02:18 -04:00
|
|
|
|
2012-06-18 20:02:21 -04:00
|
|
|
To get a list of possible commands, and find out how to navigate around try:
|
2012-06-18 20:02:18 -04:00
|
|
|
|
|
|
|
/help
|