Primitivus¶
Primitivus is the TUI (Terminal User Interface) frontend of Libervia
Overview¶
Primitivus is a text based frontend. It is specially adapted for systems without
graphical environments (e.g. servers), for low bandwidth remote shells (e.g. ssh) or for
people who like straightforward interfaces without distracting images or animations.
For the moment, Primitivus implements one 2 one chat, group chat (also called MUC for Multi-Users Chat), and some related features (end 2 end encryption, bookmarks, gateways interaction, file sending, etc.).
Usage¶
Primitivus is modal (vi-like), one can switch from one mode to another in the same way as in vi/vim:
From any mode, press
[Esc]to switch to normal mode.From normal mode, press
:to switch to command mode.From normal mode, press
ito switch to insert mode – the one you use to write messages to your contacts.
Primitivus can be handled either with the mouse, in a very intuitive way, or with the keyboard. Below, the keyboard shortcuts are explained.
Keyboard handling¶
+means that 2 keys must be pressed at the same time. Example:CTRL + Nmeans thatyou must press Control key and
Nat the same time
,means that a key must be pressed after the previous combination. Example:CTRL + F, Mmeans that you must press control key andFat the same time, release them, then pressMkeys with
SHIFTalso work withoutSHIFTif[CapsLock]is set.
Main keys¶
[Tab]and/orCTRL + up/down arrowschange focus
CTRL + Xquit Primitivus
CTRL + F, 1orCTRL + F, Mfocus on the menu
CTRL + F, 2orCTRL + F, Bfocus on the roster or the chat window
CTRL + F, 3orCTRL + F, Efocus on the edition line
ALT + Mdisplay/hide the menu
CTRL + Nshow the next notification
CTRL + Shide/redisplay a pop-up window temporarily
CTRL + Denter debug mode (development versions only)
F2hide/display the roster
CTRL + Lrefresh the screen
Chat rooms¶
To use those keyboard shortcuts, your cursor must be in a chat room.
ALT + Jjoin a chat room
ALT + Phide/display the list of participants
ALT + Thide/display timestamps
ALT + Nuse/don’t use short nicks
ALT + Lhide/display frame decorations
ALT + S- change the room’s topic appearance by switching between:
one single line (the topic is cut if it’s too long)
the full topic
topic hidden
SHIFT + Ggo to the end (bottom) of your history (note that this is UPPERCASE
G)
Edition line¶
CTRL + Aor[Home]move the cursor at the beginning of the line
CTRL + Eor[End]move the cursor at the end of the line
CTRL + Kerase the line, starting at the cursor’s position
CTRL + Werase the last word
S + [Tab]invoke completion (dependent on the context)
up/down arrowsbrowse sent messages history
Contacts¶
ALT + Dhide/display offline contacts
ALT + Shide/display contacts’ status messages
Card game¶
[space]select a card
Commands¶
The following commands must be typed in command mode (type [Esc] to switch to normal
mode, then the : at the beginning of the command will switch to command mode).
:quitquit Primitivus
:messagesdisplay log messages (see also the logging configuration)
:history <size>set the number of lines of history to display in the chat window (
:history 0to clear the window):search <filter>do a full text search in this conversation/room. The room will be cleared an only messages corresponding to
<filter>will be show. Use:history <size>to restore normal history