Find file
Fetching contributors…
Cannot retrieve contributors at this time
148 lines (144 sloc) 3.17 KB
dvtm \- dynamic virtual terminal manager
.B dvtm
.RB [ \-v ] \ [ \-m \ mod ] \ [ \-s \ status-fifo ] \ [cmd...]
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.
.B \-v
prints version information to standard output, then exits.
.B \-m mod
set default modifier at runtime.
.B \-d escdelay
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.
.B \-h nnn
set the scrollback history buffer size at runtime.
.B \-s status-fifo
if status-fifo is a named pipe, its content is read and displayed. See the dvtm-status script
for an usage example.
.B [cmd...]
Execute cmd after dvtm is started.
.SS Keyboard commands
.B Mod
Each keybinding begins with Mod which defaults to ^g but can be changed in config.h or with
the -m command line option.
.B Mod\-c
Create a new shell window.
.B Mod\-x
Close focused window.
.B Mod\-l
Increases the master area width about 5% (all except grid and fullscreen layout).
.B Mod\-h
Decreases the master area width about 5% (all except grid and fullscreen layout).
.B Mod\-j
Focus next window.
.B Mod\-k
Focus previous window.
.B Mod\-[1..n]
Focus the
.BR nth
.B Mod\-.
Toggle minimization of current window.
.B Mod\-u
Focus next non minimized window.
.B Mod\-i
Focus prev non minimized window.
.B Mod\-m
Maximize current window (change to fullscreen layout).
.B Mod\-PageUp
Scroll up.
.B Mod\-PageDown
Scroll down.
.B Mod\-Space
Toggle between defined layouts (affects all windows).
.B Mod\-Enter
Zooms/cycles current window to/from master area.
.B Mod\-t
Change to vertical stack tiling layout.
.B Mod\-b
Change to bottom stack tiling layout.
.B Mod\-g
Change to grid layout.
.B Mod\-s
Shows/hides the status bar.
.B Mod\-r
Redraw whole screen.
.B Mod\-G
Escape the next typed key.
.B Mod\-a
Toggle keyboard multiplexing mode, if activated keypresses are sent to all non minimized windows.
.B Mod\-X
Lock screen.
.B Mod\-B
Toggle bell (off by default).
.B Mod\-M
Toggle dvtm mouse grabbing.
.B Mod\-q
Quit dvtm.
.SS Mouse commands
.B Copy and Paste
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, or use Mod\-M to toggle mouse support dynamically.
.B Button1 click
Select window.
.B Button1 double click
Select window and toggle maximization.
.B Button2 click
Zooms/cycles current window to/from master area.
.B Button3 click
Toggle minimization of current window.
See the dvtm-status script as an example.
dvtm is customized by creating a custom config.h and (re)compiling the source
code. This keeps it fast, secure and simple.
dvtm is written by Marc Andre Tanner <mat at>