about summary refs log tree commit diff stats
path: root/README.md
blob: 87d783aea6f90dcfd5b5f9c598506dedf16a7180 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Profanity
=========

Profanity is a console based jabber client inspired by Irssi,

Installation
------------

Dependencies: ncurses, libstrophe, glib, expat, xml2 and openssl.

Libstrophe can be found at:

    https://github.com/metajack/libstrophe

To run unit tests requires head-unit:

    https://github.com/boothj5/head-unit

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,
if you have trouble connecting, run with the -notls option:

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

The [ui] section contains preferences for user interface behaviour:

    beep:       Try to sound beep on incomming messages if the terminal supports it
    flash:      Try to make the terminal flash on incomming messages if the terminal supports it
    showsplash: Show the ascii logo on startup

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

The [colours] sections allows you to theme profanity.  Available colours are

    black, white, red, green, blue, yellow, cyan, magenta

Setting a colour to default, lets the terminal use whatever default it would use for foreground/background depending on the setting.

Using
-----

Commands in profanity all start with '/'.

To get a list of possible commands, and find our how to navigate around try:

    /help