Scroll to navigation

DVTM(1) General Commands Manual DVTM(1)

NAME

dvtmdynamic virtual terminal manager

SYNOPSIS

dvtm [-v] [-M] [-m modifier] [-d delay] [-h lines] [-t title] [-s status-fifo] [-c cmd-fifo] [command ...]

DESCRIPTION

dvtm is a dynamic tiling window manager for the console.

As a console window manager it tries to make it easy to work with multiple console based applications.

Print version information to standard output and exit.
Toggle default mouse grabbing upon startup. Use this to allow normal mouse operation under X.
modifier
Set command modifier at runtime.
delay
Set the delay ncurses waits before deciding if a character that might be part of an escape sequence is actually part of an escape sequence.
lines
Set the scrollback history buffer size at runtime.
title
Set a static terminal title and don't change it to the one of the currently focused window.
status-fifo
Open or create the named pipe status-fifo read its content and display it in the statusbar. See the dvtm-status(1) script for an usage example.
cmd-fifo
Open or create the named pipe cmd-fifo and look for commands to execute which were defined in config.h.
command ...
Execute command (s), each in a separate window.

USAGE

Keyboard commands

Each keybinding begins with Mod which defaults to ^g but can be changed in config.h or with the -m command line option.

Create a new shell window.
Create a new shell window using the current working directory of the focused window.
Close focused window.
Increases the master area width about 5% (all except grid and fullscreen layout).
Decreases the master area width about 5% (all except grid and fullscreen layout).
Increase number of windows displayed in the master area.
Decrease number of windows displayed in the master area.
Focus next window.
Focus previous window.
Focus window below.
Focus window above.
Focus window to the left.
Focus window to the right.
Focus the [0..9]-th window.
Focus previously selected window.
Toggle minimization of current window.
Maximize current window (change to fullscreen layout).
 
Scroll up.
 
Scroll down.
Toggle between defined layouts (affects all windows).
Zooms/cycles current window to/from master area.
Change to vertical stack tiling layout.
Change to bottom stack tiling layout.
Change to grid layout.
Show/hide the status bar.
Toggle position of the status bar between top and bottom.
 
Redraw whole screen.
Toggle keyboard multiplexing mode, if activated keypresses are sent to all visible windows.
Toggle dvtm mouse grabbing.
Enter copy mode (see section below for further information).
Enter copy mode and start searching forward (assumes a vi-like editor).
Paste last copied text from copy mode at current cursor position.
Show this manual page.
Send the Mod key.
 
View all windows with n-th tag.
View all windows with any tag.
Toggles to the previously selected tags.
Add/remove all windows with nth tag to/from the view.
Apply nth tag to focused window.
Add/remove nth tag to/from focused window.
Quit dvtm.

Mouse commands

By default dvtm captures mouse events to provide the actions listed below. Unfortunately this interferes with the standard X copy and paste mechanism. To work around this you need to hold down Shift while selecting or pasting text. Alternatively you can disable mouse support at compile time, start dvtm with the -M flag or toggle mouse support during runtime with Mod-M.

Focus window.
Focus window and toggle maximization.
Zoom/cycle current window to/from master area.
Toggle minimization of current window.

Copy mode

Copy mode gives easy access to past output by piping it to dvtm-editor(1), opening an editor. What the editor writes will be stored in an internal register and can be pasted into other clients (via Mod-p ).

ENVIRONMENT VARIABLES

Each process spawned by dvtm will have this variable set to the dvtm version it is running under.
Each process also has access to its constant and unique window id.
If the -c command line argument was specified upon dvtm startup, this variable will be set to the file name of the named pipe. Thus allowing the process to send commands back to dvtm.
By default dvtm uses its own terminfo file and therefore sets TERM=dvtm within the client windows. This can be overridden by setting the DVTM_TERM environment variable to a valid terminal name before launching dvtm.
When entering the copymode dvtm pipes the whole scroll back buffer to dvtm-editor(1) which opens the content in DVTM_EDITOR, with fallbacks to VISUAL, EDITOR and vi(1) config.h is used instead.

EXAMPLE

See the dvtm-status(1) script as an example of how to display text in the status bar.

FILES

dvtm is customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple.

SEE ALSO

abduco(1), dvtm-status(1)

AUTHOR

dvtm is written
Marc André Tanner <mat at brain-dump.org>

December 27, 2016 dvtm 0.15+40.g311a8c0-1