Commands

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.

The commands described in this page are shown like this:

/command <mandatory argument> [optional argument]

You can get the same help as below from inside poezio with the /help command.

Note

Use command parameters like this:

  • Do not use quotes if they are unnecessary (words without special chars or spaces)
  • If the command takes several arguments, you need to put quotes around arguments containing special chars such as backslashes or quotes
  • If the command always takes only one argument, then do not use quotes even for words containing special chars

Global commands

These commands work in any tab.

/impromptu

Usage: /impromptu <jid> [jid ..]

Invite specified JIDs into a newly created room.

New in version 0.13.

ivity Usage: /activity [<general> [specific] [comment]]

Send your current activity to your contacts (use the completion to cycle through all the general and specific possible activities).

Nothing means "stop broadcasting an activity".

d Usage: /mood [<mood> [comment]] Send your current mood to your contacts (use the completion to cycle through all the possible moods).

Nothing means "stop broadcasting a mood".

ing Usage: /gaming [<game name> [server address]]

Send your current gaming activity to your contacts.

Nothing means "stop broadcasting a gaming activity".

t_activity Usage: /activity <jid>

Show the last activity of a contact or a server (its uptime, in that case).

ver_cycle Usage: /server_cycle [server.tld] [message]

Disconnect and reconnect in all the rooms of server.tld.

d Usage: /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 key bindings documentation page for more details.

key Usage: /runkey <key>

Execute the action defined for key. For example, /runkey KEY_PPAGE will scroll up, or /runkey ^N will go to the next tab.

f Reminds you of who you are and what your status is.

oad Reload the config. You can achieve the same by sending SIGUSR1 to poezio.

se Close the tab.

Note

The /close command will work everywhere, except in the Contact list tab, which can’t be closed.

Chat tab commands

These commands will work in any conversation tab (MultiUserChat, Private, or
Conversation tabs).
/clear
Clear the current buffer.
/correct

Usage: /correct <corrected message>

Replace the content of the last sent message with corrected message.

/say

Usage: /say <message>

Just send the message (only useful it you want your message to begin with a /). Note that you can also send message starting with a / by starting it with //.

/xhtml

Usage: /xhtml <custom xhtml>

Send a custom xhtml message to the current tab.

MultiUserChat tab commands

/affiliation

Usage: /affiliation <nick> <affiliation>

Sets the affiliation of the participant designated by nick to the given affiliation (can be one of owner, admin, member, outcast and none).

/clear [Chatroom version]

Usage: /clear

Clear the messages buffer.

/color

Usage: /color <nick> <color>

Assign a color to the given nick. The nick and all its alias (nicks are considered identical if they only differ by the presence of one ore more _ character at the beginning or the end. For example _Foo and Foo___ are considered aliases of the nick Foo) will then always have the specified color, in all MultiUserChat tabs. This is true whatever the value of deterministic_nick_colors is.

Use the completion to get a list of all the available color values. Use the special color unset to remove the attributed color on this nick. You can also use random to attribute a random color.

/configure
Configure the current room through a form (Open a Dataforms tab).
/cycle

Usage: /cycle [message]

Leave the current room an rejoint it immediately. You can specify an optional quit message.

/ignore

Usage: /ignore <nickname>

Ignore a specified nickname.

/info

Usage: /info <nickname>

Display some information about the user in the room: their role, affiliation, status, and status message.

/invite [Chatroom version]

Usage: /invite <jid> [reason]

Invite jid to this room with reason (if provided).

/kick

Usage: /kick <nick> [reason]

Kick the user with the specified nickname. You can also give an optional reason.

/names
Get the list of the users in the room, their number, and the list of the people assuming different roles.
/nick

Usage: /nick <nickname>

Change your nickname in the current room.

/part

Usage: /part [message]

Disconnect you from a room. You can specify an optional message.

/query

Usage: /query <nick> [message]

Open a Private tab with <nick>. This nick has to be present in the room you’re currently in. If you specified a message after the nickname, it will be sent to this user.

/recolor

Usage: /recolor [random]

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. If a random argument is given, the participants will be shuffled before they are assigned a color.

/role

Usage: /affiliation <nick> <role>

Sets the role of the participant designated by nick to the given role (can be one of moderator, participant, visitor and none).

/topic

Usage: /topic [subject]

Change the subject of the room.

Using the auto-completion of this command writes the current topic in the input, to help the user make a small change to the topic without having to rewrite it all by hand.

If no subject is specified as an argument, the current topic is displayed, unchanged.

/unignore

Usage: /unignore <nickname>

Remove the specified nickname from the ignore list.

/version

Usage: /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).

Private tab commands

/info
Display some info about this user in the MultiUserChat.
/unquery
Close the tab.
/version
Get the software version of the current interlocutor (usually its XMPP client and Operating System).

Normal Conversation tab commands

/invite

Usage: /invite <jid> [jid ..]

Invite specified JIDs, with this contact, into a newly created room.

. versionadded:: 0.13

Contact list tab commands

/accept

Usage: /accept [jid]

Authorize the provided JID (or the selected contact in the contact list) to see your presence.

/add

Usage: /add <jid>

Add the specified JID to your contact list and authorize them to see your presence. If they accepts you, the subscription will be mutual (and if they don’t, you can still /remove them).

/deny

Usage: /deny [jid]

Prevent the provided JID (or the selected contact in the contact list) from seeing your presence.

/groupadd

Usage: /groupadd (<jid> <group>|<group>)

Add the given JID to the given group (if the group does not exist, it will be created). If no jid is provided, the currently selected item on the contact list (resource or JID) will be used.

/groupmove

Usage: /groupmove <jid> <old_group> <new_group>

Move the given JID from one group to another (the JID has to be in the first group, and the new group may not exist).

/groupremove

Usage: /groupremove <jid> <group>

Remove the given JID from the given group (if the group is empty after that, it will get deleted).

/name

Usage: /name <jid> <name>

Set the given JID’s name in your contact list.

/password

Usage: /password <password>

Change your password.

/reconnect
Disconnect from the remote server (if connected) and then connect to it again.
/remove

Usage: /remove [jid]

Remove the specified JID from your contact list. This will unsubscribe you from its presence, cancel its subscription to yours, and remove the item from your contact list.

Note

The following commands only exist if your server announces it supports them.

/block

Usage: /block [jid]

Block the following JID using simple blocking. You will not receive any of his messages and won’t be able to send some to him either.

/cert_add

Usage: /cert_add <name> <certificate file> [management]

Add a client X.509 certificate to the list of the certificates which grand access to your account. It must have an unique name the file must be in PEM format. [management] is true by default and specifies if the clients connecting with this particular certificate will be able to manage the list of authorized certificates.

/cert_disable

Usage: /cert_disable <name>

Remove a certificate from the authorized list. Clients currently connected with the certificate identified by <name> will however not be disconnected.

/cert_fetch

Usage: /cert_fetch <name> <path>

Download the public key of the authorized certificate identified by name from the XMPP server, and store it in <path>.

/cert_revoke

Usage: /cert_revoke <name>

Remove a certificate from the authorized list. Clients currently connected with the certificate identified by <name> will be disconnected.

/certs
List the remotely stored X.509 certificated allowed to connect to your accounts.
/list_blocks
List the blocked JIDs.
/unblock

Usage: /unblock [jid]

Unblock a previously blocked JID using simple blocking. You will be able to send and receive messages from him again.

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.

/export

Usage: /export [/path/to/file]

Export your contacts into /path/to/file if specified, or $HOME/poezio_contacts if not.

/import

Usage: /import [/path/to/file]

Import your contacts from /path/to/file if specified, or $HOME/poezio_contacts if not.

XML tab commands

/clear [XML tab version]
Clear the current buffer.
/dump

Usage: /dump <filename>

Write the content of the XML buffer into a file.

/filter_from

Usage: /filter_from <jid>

Filter by JID for from attribute.

/filter_id

Usage: /filter_id <id>

Filter by stanza id attribute.

/filter_jid

Usage: /filter_jid <jid>

Filter by JID, both to and from.

/filter_reset
Reset the stanza filters.
/filter_to

Usage: /filter_to <jid>

Filter by JID for the to attribute.

/filter_xmlmask

Usage: /filter_xmlmask <xml mask>

Filter using an XML mask

/filter_xpath

Usage: /filter_xpath <xpath>

Filter with an XPath selector.