DVTM
Each process spawned by dvtm will have this variable set to the dvtm version it is running under.
Dynamic virtual terminal manager
dvtm [-v]
[-M]
[-m
modifier]
[-d
delay]
[-h
lines]
[-t
title]
[-s
status-fifo]
[-c
cmd-fifo]
[command ...]
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.
-v
Print version information to standard output and exit.
-M
Toggle default mouse grabbing upon startup. Use this to allow normal mouse operation under X.
-m modifierSet command modifier at runtime.
-d delaySet the delay ncurses waits before deciding if a character that might be part of an escape sequence is actually part of an escape sequence.
-h linesSet the scrollback history buffer size at runtime.
-t titleSet a static terminal title and don't change it to the one of the currently focused window.
-s status-fifoOpen or create the named pipe status-fifo read its content and display it in the statusbar. See the dvtm-status script for an usage example.
-c cmd-fifoOpen or create the named pipe cmd-fifo and look for commands to execute which were defined in config.h.
Execute command(s), each in a separate window.
ModEach keybinding begins with Mod which defaults to ^g, but can be changed in config.h or with the -m command line option.
Mod-cCreate a new shell window.
Mod-CCreate a new shell window using the current working directory of the focused window.
Mod-x-xClose focused window.
Mod-lIncreases the master area width about 5% (all except grid and fullscreen layout).
Mod-hDecreases the master area width about 5% (all except grid and fullscreen layout).
Mod-iIncrease number of windows displayed in the master area.
Mod-dDecrease number of windows displayed in the master area.
Mod-jFocus next window.
Mod-kFocus previous window.
Mod-JFocus next non minimized window.
Mod-KFocus previous non minimized window.
Mod-nFocus the n-th window.
Mod-TabFocus previously selected window.
Mod-.Toggle minimization of current window.
Mod-mMaximize current window (change to fullscreen layout).
Shift-PageUpMod-PageUpScroll up.
Shift-PageDownMod-PageDownScroll down.
Mod-SpaceToggle between defined layouts (affects all windows).
Mod-EnterZooms/cycles current window to/from master area.
Mod-fChange to vertical stack tiling layout.
Mod-bChange to bottom stack tiling layout.
Mod-gChange to grid layout.
Mod-sShow/hide the status bar.
Mod-SToggle position of the status bar between top and bottom.
Mod-rMod-^LRedraw whole screen.
Mod-aToggle keyboard multiplexing mode, if activated keypresses are sent to all visible windows.
Mod-MToggle dvtm mouse grabbing.
Mod-eEnter copy mode (see section below for further information).
Mod-/Enter copy mode and start searching forward (assumes a vi-like editor).
Mod-pPaste last copied text from copy mode at current cursor position.
Mod-?Show this manual page.
Mod-ModSend the Mod key.
Mod-F[1..n]Mod-v-[1..n]View all windows with nth tag.
Mod-0View all windows with any tag.
Mod-v-TabToggles to the previously selected tags.
Mod-V-[1..n]Add/remove all windows with nth tag to/from the view.
Mod-t-[1..n]Apply nth tag to focused window.
Mod-T-[1..n]Add/remove nth tag to/from focused window.
Mod-q-qQuit dvtm.
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 gives easy access to past output by piping it to an editor. What ever the editor prints to stdout upon exiting will be stored in an internal register and can be pasted into other clients (via Mod-p )
DVTM
Each process spawned by dvtm will have this variable set to the dvtm version it is running under.
DVTM_WINDOW_ID
Each process also has access to its constant and unique window id.
DVTM_CMD_FIFO
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.
DVTM_TERM
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.
DVTM_EDITOR
When entering the copymode dvtm pipes the whole scroll back buffer to DVTM_EDITOR which is launched with - (indicating to read from stdin) as its only argument. If DVTM_EDITOR is not set EDITOR is checked, if this is also not set the default value specified in config.h is used instead.
See the dvtm-status script as an example of how to display text in the status bar.
dvtm is customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple.
10 releases since Debian 5.0 (Lenny); the text changed 7 times.
-M since Debian 8 (Jessie).
-c until Debian 13 (Trixie);
-d until Debian 13 (Trixie);
-h until Debian 13 (Trixie);
-m until Debian 13 (Trixie);
-s until Debian 13 (Trixie);
-t until Debian 13 (Trixie).