Microterm (µterm) è un semplice emulatore di terminale basato su VTE e scritto in C che sfrutta le librerie grafiche GTK.
Paranmetri di avvio
microterm [-h] [-v] [-d] [-c config] [-t title] [-w workdir] [-e command][-h] shows help [-v] shows version [-d] enables the debug messages [-c config] specifies the configuration file [-t title] sets the terminal title [-w workdir] sets the working directory [-e command] sets the command to execute in terminal
Hotkeys
È possibile configurare completamente le hotkeys nel file di configurazione utilizzando la sintassi
hotkey key_bindings_plus_separated function
per esempio:
hotkey Control+Shift+T new_tab hotkey Mod1+T new_tab
È possibile definire più hotkeys per la stessa funzione ma una sola funzione puà essere associata ad ogni hotkey.
Funzioni
Le funzioni valide sono:
- copy: copy selected text to clipboard
- paste: paste from clipboard
- reload: reload configuration file
- quit: close the application (close all terminals)
- font_inc: increase font size
- font_dec: decrease font size
- font_reset: reset font size to default
- split_v: split vertically with a new terminal on bottom
- split_h: split horizzontally with a new terminal on right
- new_tab: open a new terminal in a new tab
- prev: switch to the previous tab
- next: switch to the next tab
- close: close selected tab
- goto
n: go to specified tab - exec
command: send and execute command to current terminal - cmd: open command prompt
Nel repository su git è presente un file di configurazione di esempio con riportate le hotkeys definite nella precedente versione 1.0.
Nel file di configurazione di esempio è stato associato il tasto F2 all'invocazione del command prompt.