2016-10-04 22:26:37 +00:00
|
|
|
.. _usage:
|
|
|
|
|
2013-04-12 18:52:28 +00:00
|
|
|
Usage
|
|
|
|
=====
|
|
|
|
|
|
|
|
This page is the main page of the documentation for poezio, explaining how to
|
|
|
|
use it and describing its interfaces.
|
|
|
|
|
|
|
|
Poezio is composed of tabs which can be of various types. Each tab type has
|
|
|
|
a distinct interface, list of commands and list of key shortcuts, in addition
|
|
|
|
to the global commands and key shortcuts.
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
Tab list
|
|
|
|
~~~~~~~~
|
2013-04-12 18:52:28 +00:00
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
There are two ways of showing the open tabs:
|
2013-04-12 18:52:28 +00:00
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
Horizontal list
|
|
|
|
^^^^^^^^^^^^^^^
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
This is the default method.
|
|
|
|
|
|
|
|
On all tabs, you get a line showing the the list of all opened tabs. Each tab
|
|
|
|
has a number, each time you open a new tab, it gets the next available number.
|
|
|
|
|
|
|
|
.. figure:: ./images/tab_bar.png
|
|
|
|
:alt: Example of 5 opened tabs
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
Vertical list
|
|
|
|
^^^^^^^^^^^^^
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
On all tabs, you get a pane on the left side of the screen that shows a list
|
|
|
|
of the opened tabs. As stated above, each tab has a number, and each time you
|
|
|
|
open a new tab, it gets the next available number.
|
|
|
|
|
|
|
|
.. figure:: ./images/vert_tabs.png
|
|
|
|
:alt: Example of the vertical tab bar
|
|
|
|
|
|
|
|
|
|
|
|
This mode is enabled by setting the
|
|
|
|
:term:`enable_vertical_tab_list` option to ``true`` in the
|
|
|
|
configuration file.
|
|
|
|
|
|
|
|
Options for the tab list
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
The following options are used to configure the behavior of the tab list:
|
|
|
|
|
|
|
|
- :term:`enable_vertical_tab_list`
|
|
|
|
- :term:`vertical_tab_list_size`
|
|
|
|
- :term:`vertical_tab_list_sort`
|
|
|
|
- :term:`show_tab_names`
|
|
|
|
- :term:`show_tab_numbers`
|
|
|
|
- :term:`show_inactive_tabs`
|
|
|
|
- :term:`use_tab_nicks`
|
|
|
|
|
|
|
|
Generalities
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
|
|
|
:ref:`global-commands`
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Global shortcuts <global-keys>`
|
|
|
|
|
2016-10-03 22:40:56 +00:00
|
|
|
The tab numbered **0** is always the **Contact list** tab, the other tabs can be of any
|
2013-04-12 18:52:28 +00:00
|
|
|
type.
|
|
|
|
|
|
|
|
.. figure:: ./images/tab_bar.png
|
|
|
|
:alt: Example of 5 opened tabs
|
|
|
|
|
|
|
|
The status of a tab is represented by its color:
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
* **Blue** (tab **0**): an inactive tab of any type, nothing new to see
|
2013-04-12 18:52:28 +00:00
|
|
|
there.
|
2014-09-26 12:18:21 +00:00
|
|
|
* **Purple** (tab **1**): a :ref:`muctab` with at least one new
|
2013-04-12 18:52:28 +00:00
|
|
|
unread message.
|
2014-09-26 12:18:21 +00:00
|
|
|
* **Green** (tab **2**): a tab of a private conversation (:ref:`privatetab` or :ref:`conversationtab`)
|
2013-04-12 18:52:28 +00:00
|
|
|
with a new message to read.
|
|
|
|
* **Cyan** (tab **3**): the current tab.
|
|
|
|
* **Red** (tab **4**): a :ref:`muctab` with at least one new highlight
|
|
|
|
message.
|
|
|
|
|
|
|
|
You can go from one tab to another in many ways:
|
|
|
|
|
2018-02-20 20:52:55 +00:00
|
|
|
* ``Ctrl+n`` (next tab) and ``Ctrl+p`` (previous tab)
|
2013-04-12 18:52:28 +00:00
|
|
|
* :term:`/win` command
|
|
|
|
* :term:`/next` and :term:`/prev` commands
|
2018-02-20 20:52:55 +00:00
|
|
|
* ``Alt`` + a number (to go to the tab with that number)
|
|
|
|
* ``Alt+j`` followed by a two-digits number (same)
|
2013-04-12 18:52:28 +00:00
|
|
|
* ``Alt+e``, this will jump to the next tab with the highest priority. Priority
|
|
|
|
applies in this order: private message > highlight message > normal message.
|
2018-02-20 20:52:55 +00:00
|
|
|
* :term:`/close` command to close a tab and go back to the previous one
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. _rostertab:
|
|
|
|
|
2016-10-03 22:40:56 +00:00
|
|
|
Contact list tab
|
|
|
|
~~~~~~~~~~~~~~~~
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
:ref:`Specific commands <rostertab-commands>`
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Specific shortcuts <rostertab-keys>`
|
|
|
|
|
2016-10-04 22:26:37 +00:00
|
|
|
.. note:: The contact list also called a roster in XMPP terms.
|
|
|
|
|
2013-04-12 18:52:28 +00:00
|
|
|
This is a unique tab, always numbered **0**. It contains the list of your
|
2014-09-26 12:18:21 +00:00
|
|
|
contacts. You can add (:term:`/add`, :term:`/accept`), remove
|
|
|
|
(:term:`/remove`) and search contacts from there, and you can open
|
|
|
|
a conversation with them (``Enter`` key).
|
2013-04-12 18:52:28 +00:00
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
Use the **direction arrows** (↑↓) to browse the list, the ``Space`` key to
|
|
|
|
fold or unfold a group or a contact.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. figure:: ./images/roster.png
|
2016-10-03 22:40:56 +00:00
|
|
|
:alt: The contact list tab
|
2013-04-12 18:52:28 +00:00
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
#. Area where information messages are displayed.
|
|
|
|
#. Actual list of contacts. The first level is group, the second is the
|
|
|
|
contacts and the third is the resources of your online contacts.
|
2016-10-03 22:54:57 +00:00
|
|
|
#. More information about the selected contact.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. _muctab:
|
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
Chatroom tab
|
|
|
|
~~~~~~~~~~~~
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
:ref:`Specific commands <muctab-commands>`
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Specific shortcuts <muctab-keys>`
|
|
|
|
|
|
|
|
:ref:`Chat shortcuts <chattab-keys>`
|
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
.. note:: A chatroom is also called a MUC (for Multi-User-Chat) in XMPP terms.
|
|
|
|
|
2013-04-12 18:52:28 +00:00
|
|
|
This tab contains a multi-user conversation.
|
|
|
|
|
|
|
|
.. figure:: ./images/muc.png
|
2016-10-03 22:26:54 +00:00
|
|
|
:alt: The chatroom tab
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
#. The conversation window, this is where all the messages and events
|
|
|
|
related to the muc will be displayed. It can be scrolled up and down with
|
|
|
|
``PageUp`` and ``PageDown``.
|
|
|
|
#. The participant list. Participants are listed by their role first, and
|
|
|
|
then alphabetically.
|
|
|
|
The status of each participant is symbolized using the **color** of the
|
|
|
|
character on the left of its nick.
|
|
|
|
That character also shows the chatstate of each participant:
|
|
|
|
|
|
|
|
- ``|``: inactive
|
|
|
|
- ``X``: composing
|
|
|
|
- ``A``: active
|
|
|
|
- ``p``: paused
|
|
|
|
|
|
|
|
The roles and affiliations of the participants are symbolized by the char
|
|
|
|
before the nick and its color.
|
|
|
|
The characters define the affiliations, and they mean:
|
|
|
|
|
|
|
|
- ``~``: Owner
|
|
|
|
- ``&``: Admin
|
|
|
|
- ``+``: Member
|
|
|
|
- ``-``: None
|
|
|
|
|
|
|
|
And their color define their roles, and they mean:
|
|
|
|
|
|
|
|
- **Red** : moderator
|
|
|
|
- **Blue**: participant
|
|
|
|
- **Grey**: visitor
|
|
|
|
|
2018-02-20 20:52:55 +00:00
|
|
|
The nicks have a fixed color assigned using XEP-0392_.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
#. Your information in that chatroom (the name of the room, your nick, your role
|
2013-04-12 18:52:28 +00:00
|
|
|
and affiliation).
|
|
|
|
#. The topic of the room.
|
|
|
|
|
|
|
|
You can configure the room (if you have the rights to do it) using the
|
|
|
|
:term:`/configure` command, open a private conversation with someone using the
|
|
|
|
:term:`/query` command, change or view the topic using the :term:`/topic` command…
|
|
|
|
|
|
|
|
.. _privatetab:
|
|
|
|
|
|
|
|
Private tab
|
|
|
|
~~~~~~~~~~~
|
|
|
|
:ref:`Specific commands <privatetab-commands>`
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Chat shortcuts <chattab-keys>`
|
|
|
|
|
2013-04-12 18:52:28 +00:00
|
|
|
This is the tab opened with the :term:`/query` command in a :ref:`muctab`, letting you talk in private
|
|
|
|
with a participant of a multi-user chat.
|
|
|
|
|
|
|
|
.. figure:: ./images/private.png
|
|
|
|
:alt: The private tab
|
|
|
|
|
|
|
|
This is just a simple one to one conversation, with a line showing the status,
|
|
|
|
name and chatstate of the participant.
|
|
|
|
|
|
|
|
.. _conversationtab:
|
|
|
|
|
|
|
|
Conversation tab
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
:ref:`Specific commands <conversationtab-commands>`
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Chat shortcuts <chattab-keys>`
|
|
|
|
|
2016-10-03 22:40:56 +00:00
|
|
|
A tab opened by interacting with the contact list or :term:`/message`,
|
|
|
|
to talk in private with one of your contacts.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. figure:: ./images/conversation.png
|
|
|
|
:alt: The conversation tab
|
|
|
|
|
|
|
|
This is also just a simple one to one conversation, with a line showing the status,
|
|
|
|
name and chatstate of the participant, as well as a line at the top showing the
|
|
|
|
status message of the contact. Plugins may add some elements to the status line.
|
|
|
|
|
|
|
|
.. _dataformtab:
|
|
|
|
|
|
|
|
Dataforms tab
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
2015-01-03 22:14:37 +00:00
|
|
|
:ref:`Specific shortcuts <forms-keys>`
|
2014-09-26 12:18:21 +00:00
|
|
|
|
2014-04-23 19:34:05 +00:00
|
|
|
This tab lets you view a form received from a remote entity, edit the values and
|
2016-10-03 22:26:54 +00:00
|
|
|
send everything back. It is mostly used to configure chatrooms with the
|
2014-04-23 19:34:05 +00:00
|
|
|
:term:`/configure` command but can actually be used for almost anything.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. figure:: ./images/data_forms.png
|
|
|
|
:alt: The dataform tab
|
|
|
|
|
|
|
|
Use the ``Up`` and ``Down`` keys to go from one field to the other, and edit the
|
|
|
|
value using the ``Space``, ``Left`` or ``Right`` keys, or by entering text.
|
|
|
|
|
|
|
|
You can then send the completed form using ``Ctrl+y`` or cancel using ``Ctrl+g``.
|
|
|
|
|
|
|
|
.. _listtab:
|
|
|
|
|
|
|
|
List tab
|
|
|
|
~~~~~~~~
|
|
|
|
|
2014-09-26 12:18:21 +00:00
|
|
|
:ref:`Specific shortcuts <muclisttab-keys>`
|
|
|
|
|
2016-10-03 22:26:54 +00:00
|
|
|
This tab lists all public rooms on a chatroom service (with the :term:`/list` command).
|
2014-04-23 19:34:05 +00:00
|
|
|
It is currently very limited but will be improved in the future. There currently
|
|
|
|
is no way to search a room.
|
2013-04-12 18:52:28 +00:00
|
|
|
|
|
|
|
.. figure:: ./images/list.png
|
|
|
|
:alt: The list tab
|
|
|
|
|
|
|
|
Use the ``Up`` and ``Down`` or ``PageUp`` and ``PageDown`` keys to browse the list, and
|
|
|
|
use ``Enter`` or ``j`` to join the selected room.
|
|
|
|
|
|
|
|
You can sort the rooms by moving the direction arrows (``←`` or ``→``) and pressing
|
|
|
|
``Space`` when you are on the appropriate column.
|
2016-08-20 21:57:12 +00:00
|
|
|
|
2016-08-20 22:20:17 +00:00
|
|
|
.. _confirmtab:
|
|
|
|
|
2016-08-20 21:57:12 +00:00
|
|
|
Confirm tab
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
This kind of tab is used to prompt a binary choice to the user due to external
|
|
|
|
events, such as a certificate change:
|
|
|
|
|
|
|
|
.. figure:: ./images/cert_warning.png
|
|
|
|
:alt: Certificate warning prompt tab
|
|
|
|
|
|
|
|
Or a XEP-0070_ validation:
|
|
|
|
|
|
|
|
.. figure:: ./images/xep_0070.png
|
|
|
|
:alt: XEP-0070 validation tab
|
|
|
|
|
2016-08-20 22:19:12 +00:00
|
|
|
.. _bookmarks tab:
|
2016-08-20 22:13:32 +00:00
|
|
|
|
|
|
|
Bookmarks tab
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
This tab can be obtained using :term:`/bookmarks`, it is a graphical interface
|
|
|
|
for managing bookmarks. You can edit the bookmark address itself, its password,
|
|
|
|
the storage backend, and the autojoin status. Note that local bookmarks always
|
|
|
|
have autojoin set to True.
|
|
|
|
|
|
|
|
.. figure:: images/bookmark_tab.png
|
|
|
|
:alt: Bookmarks tab screenshot
|
|
|
|
|
2016-08-20 21:57:12 +00:00
|
|
|
.. _XEP-0070: https://xmpp.org/extensions/xep-0070.html
|
2018-02-20 20:52:55 +00:00
|
|
|
.. _XEP-0392: https://xmpp.org/extensions/xep-0392.html
|