poezio/doc/en/usage.txt

344 lines
12 KiB
Text
Raw Normal View History

2011-11-08 12:26:31 +00:00
Usage
=====
2011-11-08 18:58:10 +00:00
This page is the main page of the documentation for poezio, explaining how to
use it and describing its interfaces.
2011-11-08 18:39:12 +00:00
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.
2011-11-08 19:07:24 +00:00
Tabs
----
2011-11-08 19:21:59 +00:00
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.
2011-11-08 19:07:24 +00:00
2011-11-08 19:21:59 +00:00
image::../images/tab_bar.png[title="Example of 5 opened tabs"]
The tab numbered _0_ is always the _roster_ tab, the other tabs can be of any
type.
2011-11-08 19:07:24 +00:00
The status of a tab is represented by its color:
2011-11-08 19:21:59 +00:00
* *[navy]#blue#* (tab _0_): an inactive tab of any type, nothing new to see
there.
* *[purple]#purple#* (tab _1_): a MultiUserChat tab with at least one new
unread message.
* *[green]#green#* (tab _2_): a tab of a private conversation with a new
message to read.
2011-11-08 19:07:24 +00:00
* *[teal]#cyan#* (tab _3_): the current tab.
2011-11-08 19:21:59 +00:00
* *[red]#red#* (tab _4_): a MultiUserChat tab with at least one new hightlight
message.
2011-11-08 19:07:24 +00:00
You can go from one tab to another in many ways:
* Ctrl+n and Ctrl+p
* <<command-win, win>> command
* <<command-next, next>> and <<command-prev, prev>> commands
* Alt+ a number
* Alt+j followed by a two-digits number
2011-11-08 19:21:59 +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.
2011-11-08 19:07:24 +00:00
2011-11-08 19:38:14 +00:00
Roster tab
~~~~~~~~~~
This is a unique tab, always numbered _0_. It contains the list of your
contacts. You can add/remove/edit/search contacts from there, and you can open
a conversation with one of them.
Use the _arrows_ to browse the list, the _space_ key to fold or unfold a group
or a contact.
image::../images/roster.png["The roster tab", title="The roster tab"]
* _1_: The area where information messages are displayed.
* _2_: The actual list of contacts. The first level is group, the second is the
* contacts and the third is the resources of you online contacts.
* _3_: More informations about the selected contact.
2011-11-08 20:06:39 +00:00
MultiUserChat tab
~~~~~~~~~~~~~~~~~
This tab contains a multi-users conversation.
image::../images/muc.png["The MUC tab", title="The MUC tab"]
* _1_: 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.
* _2_: The participant list. Participants are listed by their role first, and
then alphabetically.
In the default theme, The nick colors mean:
- Red: moderator
- Blue: participant
- gray: visitor +
+
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
* _3_: Your information in that MUC (the name of the room, your nick, your role
and affiliation).
* _4_: The topic of the room.
You can configure the room (if you have the rights to do it) using the
_/configure_ command, open a private conversation with someone using the
_/query_ command, change or view the topic using the _/topic_ command…
Private tab
~~~~~~~~~~~
This is the tab opened with the _/query_ command, letting you talk in private
with a participant of a multi-users chat.
2011-11-08 20:06:39 +00:00
2011-11-08 22:12:03 +00:00
image::../images/private.png["The private tab", title="The private tab"]
This is just a simple one to one conversation, with a line showing the status,
name and chatstate of the participant.
Conversation tab
~~~~~~~~~~~~~~~~
A tab opened from the roster, to talk in private with one of your contacts.
image::../images/conversation.png["The conversation tab", title="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.
Dataforms tab
~~~~~~~~~~~~~
This tab lets you view a form receive from a remote entity, edit the values and
send everything back. It is mostly used to configure MUCs with the _/configure_
command but can actually be used for almost anything.
image::../images/data_forms.png["The dataform tab", title="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_.
List tab
~~~~~~~~
This tab lists all public rooms on a MUC service. It is currently very limited
but will be improved in the future. There currently is no way to search a room
or even to sort them.
image::../images/list.png["The list tab", title="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.
2011-11-08 20:06:39 +00:00
2011-11-08 12:26:31 +00:00
Commands
--------
2011-11-08 18:39:12 +00:00
Commands start with the _/_ character and can take a list of any number
of arguments, separated by spaces. If an argument should contain a space,
you can use the _"_ character to surround this argument.
2011-11-08 12:26:31 +00:00
2011-11-08 18:39:12 +00:00
The commands described in this page are shown like this:
2011-11-08 12:26:31 +00:00
2011-11-08 18:39:12 +00:00
===========================================================
2011-11-08 12:26:31 +00:00
/command <mandatory argument> [optional argument]
2011-11-08 18:39:12 +00:00
===========================================================
2011-11-08 12:26:31 +00:00
2011-11-08 22:39:48 +00:00
You can get the same help as below with the _/help_ command.
2011-11-08 12:26:31 +00:00
Global commands
2011-11-08 18:39:12 +00:00
~~~~~~~~~~~~~~~
2011-11-08 12:26:31 +00:00
These commands work in *any* tab.
2011-11-08 22:39:48 +00:00
*/help [command]*:: If called without an argument, this command will list the
available commands. If it has a valid command as an argument, this command
will show the usage and the help for the given command.
2011-11-08 18:58:10 +00:00
*/join [room_name][@server][/nick] [password]*:: Join the specified room. You
can specify a nickname after a slash (/). If no nickname is specified, you
will use the default_nick in the configuration file. You can omit the room
name: you will then join the room you're looking at (useful if you were
kicked). You can also provide a room_name without specifying a server, the
server of the room you're currently in will be used. You can also provide a
password to join the room.
2011-11-08 12:26:31 +00:00
- Examples:
* /join room@server.tld
* /join room@server.tld/John
* /join room2
* /join /me_again
* /join
* /join room@server.tld/my_nick password
* /join / password
*/exit*:: Just disconnect from the server and exit poezio.
*/quit*:: Like /exit.
2011-11-08 19:07:24 +00:00
[[command-next]]
2011-11-08 12:26:31 +00:00
*/next*:: Go to the next room.
2011-11-08 19:07:24 +00:00
[[command-prev]]
2011-11-08 12:26:31 +00:00
*/prev*:: Go to the previous room.
2011-11-08 19:07:24 +00:00
[[command-win]]
2011-11-08 12:26:31 +00:00
*/win <number>*:: Go to the specified room.
*/w <number>*:: Like /win.
2011-11-08 18:58:10 +00:00
*/status <availability> [status message]*:: Set your availability and
(optionaly) your status message. The <availability> argument is one of
"available, chat, away, afk, dnd, busy, xa" and the optional [status] argument
will be your status message.'
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/bookmark [roomname][/nick]*:: Bookmark the specified room (you will then
auto-join it on each poezio start). This commands uses almost the same syntax
as /join. Type /help join for syntax examples. Note that when typing /bookmark
on its own, the room will be bookmarked with the nickname you're currently
using in this room (instead of default_nick).
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/set <option> [value]*:: Sets the value to the option in your configuration
file. You can, for example, change your default nickname by doing "/set
default_nick toto" or your resource with "/set resource blabla". You can also
set an empty value (nothing) by providing no [value] after <option>.
2011-11-08 12:26:31 +00:00
*/theme*:: Reload the theme defined in the config file.
2011-11-08 18:58:10 +00:00
*/list [server.tld]*:: Get the list of public chatrooms in the specified server
.
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/message <jid> [optional message]*:: Open a conversation with the specified
JID (event if it is not in our roster), and send a message to him, if
specified.
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/version <jid>*:: Get the software version of the given JID (usually its XMPP
client and Operating System).
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/server_cycle [server.tld] [message]*:: Disconnect and reconnect in all the
rooms of server.tld.
2011-11-08 12:26:31 +00:00
2011-11-08 18:58:10 +00:00
*/bind <key> <eq>*:: Bind a key to another key or to a "command". For example,
"/bind ^H KEY_UP" makes Control + h behave the same way as the Up key. See the
link:keys.html[key bindings documentation page] for more details.
2011-11-08 12:26:31 +00:00
2011-11-08 18:38:50 +00:00
NOTE: The following command will work everywhere, except in the Roster tab.
*/close*:: Close the tab.
2011-11-08 18:10:19 +00:00
Chat tab commands
2011-11-08 18:39:12 +00:00
~~~~~~~~~~~~~~~~~
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
These commands will work in any conversation tab (MultiUserChat, Private, or
Conversation tabs).
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/say <message>*:: Just send the message (only useful it you want your message
2011-11-08 22:12:03 +00:00
to begin with a _/_). Note that you can also send message starting with a _/_
2011-11-08 18:58:10 +00:00
by starting it with _//_.
2011-11-08 18:10:19 +00:00
MultiUserChat tab commands
2011-11-08 18:39:12 +00:00
~~~~~~~~~~~~~~~~~~~~~~~~~~
2011-11-08 18:10:19 +00:00
*/ignore <nickname>*:: Ignore a specified nickname.
*/unignore <nickname>*:: Remove the specified nickname from the ignore list.
2011-11-08 18:58:10 +00:00
*/kick <nick> [reason]*:: Kick the user with the specified nickname. You can
also give an optional reason.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/topic <subject>*:: Change the subject of the room. You might want to knwow
that entering "/topic [tab]" will autocomplete the topic.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/query <nick> [message]*:: Open a private conversation with <nick>. This nick
has to be present in the room youre currently in. If you specified a message
after the nickname, it will be sent to this user.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/part [message]*:: Disconnect you from a room. You can specify an optional
message.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/close [message]*:: Disconnect you from a room (if you are connected) and
close the tab. You can specify an optional message if you are still connected.
2011-11-08 18:10:19 +00:00
*/nick <nickname>*:: Change your nickname in the current room.
2011-11-08 18:58:10 +00:00
*/recolor*:: Re-assign a color to all the participants in the current room,
based on the last time they talked. Use this if the participants currently
talking have too many identical colors.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/cycle [message]*:: Leave the current room an rejoint it immediatly. You can
specify an optional quit message.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/info <nickname>*:: Display some information about the user in the room:
his/her role, affiliation, status, and status message.
2011-11-08 18:10:19 +00:00
2011-11-08 18:58:10 +00:00
*/version <nickname or jid>*:: Get the software version of the given nick in
room or the given jid (usually its XMPP client and Operating System).
2011-11-08 18:10:19 +00:00
*/configure*:: Configure the current room through a form.
2011-11-08 18:58:10 +00:00
*/names*:: Get the list of the users in the room, their number, and the list
of the people assuming different roles.
2011-11-08 18:10:19 +00:00
*/clear*:: Clear the current buffer.
Private tab commands
2011-11-08 18:39:12 +00:00
~~~~~~~~~~~~~~~~~~~~
*/info*:: Display some info about this user in the MultiUserChat.
*/unquery*:: Close the tab.
2011-11-08 18:58:10 +00:00
*/version*:: Get the software version of the current interlocutor (usually its
XMPP client and Operating System).
Normal Conversation tab commands
2011-11-08 18:39:12 +00:00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/info*:: Display the status of this contact.
*/unquery*:: Close the tab.
2011-11-08 18:58:10 +00:00
*/version*:: Get the software version of the current interlocutor (usually its
XMPP client and Operating System).
2011-11-08 18:38:50 +00:00
Roster tab commands
~~~~~~~~~~~~~~~~~~~
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/accept [jid]*:: Authorize the provided JID (or the selected contact in the
roster) to see your presence.
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/deny [jid]*:: Prevent the provided JID (or the selected contact in the
roster) from seeing your presence.
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/add <jid>*:: Add the specified JID to your roster and authorize him to see
your presence. If he accepts you, the subscription will be mutual (and if he
doesnt, you can still /deny him).
2011-11-08 18:38:50 +00:00
*/name <jid> <name>*:: Set the given JIDs name.
2011-11-08 18:58:10 +00:00
*/groupadd <jid> <group>*:: Add the given JID to the given group (if the group
does not exist, it will be created).
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/groupremove <jid> <group>*:: Remove the given JID from the given group (if
the group is empty after that, it will get deleted).
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/remove [jid]*:: Remove the specified JID from your roster. This will
2011-11-08 22:12:03 +00:00
unsubscribe you from its presence, cancel its subscription to yours, and
remove the item from your roster.
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
NOTE: The following commands do not comply with any XEP or whatever, but they
can still prove useful when you are migrating to an other JID.
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/export [/path/to/file]*:: Export your contacts into /path/to/file if
specified, or $HOME/poezio_contacts if not.
2011-11-08 18:38:50 +00:00
2011-11-08 18:58:10 +00:00
*/import [/path/to/file]*:: Import your contacts from /path/to/file if
specified, or $HOME/poezio_contacts if not.
2011-11-08 18:38:50 +00:00