screen + dvtm tiling window的脫機版
2010年4月28日 星期三 by Anati
dvtm真是的個好用的東西,補足了screen在layout上的不足,以往使用screen都需要開很多個shell之後在很多個shell中快速的切換,有的時候抄個東西就要換個畫面,實在非常的麻煩,然而dvtm補足這個部份,它可以將一個shell切成數個,並以tiling的方式layout出來,因此可以在同一個畫面上邊寫程式、debug、看執行結果
1. 安裝方式
# cd /usr/ports/sysutils/dvtm
# make install clean (若要修改keybind的話先make patch之後去改config.h檔)
2. 實際使用圖
3. Keyboard Command (原始程式)
Mod : 預設為 ^g, 更改於 config.h 或 -m 的方式
Mod-c : 新增一個 window.
Mod-x : 關閉目前 window.
Mod-l : 增加 5% 主視窗的寬度.
Mod-h : 減加 5% 主視窗的寬度.
Mod-j : 移到下一個視窗.
Mod-k : 移到上一個視窗.
Mod-[1..n] : 移到第 n 個視窗
Mod-. : Toggle minimization of current window.
Mod-u : Focus next non minimized window.
Mod-i : Focus prev non minimized window.
Mod-m : Maximize current window (change to fullscreen layout).
Mod-PageUp : Scroll up.
Mod-PageDown : Scroll down.
Mod-Space : Toggle between defined layouts (affects all windows).
Mod-Enter : Zooms/cycles current window to/from master area.
Mod-t : Change to vertical stack tiling layout.
Mod-b : Change to bottom stack tiling layout.
Mod-g : Change to grid layout.
Mod-s : Shows/hides the status bar.
Mod-r : Redraw whole screen.
Mod-G : Escape the next typed key.
Mod-X : Lock screen.
Mod-M : Toggle dvtm mouse grabbing. Mod-q Quit dvtm.
Mouse commands
Copy and Paste : 按 SHIFT 加左鍵反白要 Copy 的文字,SHIFT 加中鍵為貼上
Button1 click : Select window.
Button1 double click : Select window and toggle maximization.
Button2 click : Zooms/cycles current window to/from master area.
Button3 click : Toggle minimization of current window.
4. Keyboard Command (自訂改過config.h)
Mod = ^q
Mod-c = 新增一個視窗
Mod-x = 關閉一個視窗
Mod-j = 減少5%視窗寬度
Mod-l = 增加5%視窗寬度
Mod-1~n = 移動到第n個視窗
Mod-. = 視窗最小化
Mod-k or n = 移動到下個視窗
Mod-i or p = 移動到前個視窗
Mod-t = 變成tiling layout
Mod-b = 變成bottom layout
Mod-g = 變成grid layout
Mod-m = 變成max layout
Mod-r = 所有視窗重繪
Mod-X = 鎖定整個dvtm 先輸入密碼後按enter鎖定。重打一次回復
Mod-M = 啟動/關閉滑鼠
Mod-space = 切換layout
Mod-pageup = PageUP
Mod-pagedown= PageDown
Mouse commands
Copy and Pasts : 按SHIFT加左鍵反白要Copy的文字,SHIFT加中鍵為貼上
Button1 click : Select window.
Button1 double click : Select window and toggle maximization.
Button2 click : Zooms/cycles current window to/from master area.
Button3 click : Toggle minimization of current window.
1. 安裝方式
# cd /usr/ports/sysutils/dvtm
# make install clean (若要修改keybind的話先make patch之後去改config.h檔)
2. 實際使用圖
3. Keyboard Command (原始程式)
Mod : 預設為 ^g, 更改於 config.h 或 -m 的方式
Mod-c : 新增一個 window.
Mod-x : 關閉目前 window.
Mod-l : 增加 5% 主視窗的寬度.
Mod-h : 減加 5% 主視窗的寬度.
Mod-j : 移到下一個視窗.
Mod-k : 移到上一個視窗.
Mod-[1..n] : 移到第 n 個視窗
Mod-. : Toggle minimization of current window.
Mod-u : Focus next non minimized window.
Mod-i : Focus prev non minimized window.
Mod-m : Maximize current window (change to fullscreen layout).
Mod-PageUp : Scroll up.
Mod-PageDown : Scroll down.
Mod-Space : Toggle between defined layouts (affects all windows).
Mod-Enter : Zooms/cycles current window to/from master area.
Mod-t : Change to vertical stack tiling layout.
Mod-b : Change to bottom stack tiling layout.
Mod-g : Change to grid layout.
Mod-s : Shows/hides the status bar.
Mod-r : Redraw whole screen.
Mod-G : Escape the next typed key.
Mod-X : Lock screen.
Mod-M : Toggle dvtm mouse grabbing. Mod-q Quit dvtm.
Mouse commands
Copy and Paste : 按 SHIFT 加左鍵反白要 Copy 的文字,SHIFT 加中鍵為貼上
Button1 click : Select window.
Button1 double click : Select window and toggle maximization.
Button2 click : Zooms/cycles current window to/from master area.
Button3 click : Toggle minimization of current window.
4. Keyboard Command (自訂改過config.h)
Mod = ^q
Mod-c = 新增一個視窗
Mod-x = 關閉一個視窗
Mod-j = 減少5%視窗寬度
Mod-l = 增加5%視窗寬度
Mod-1~n = 移動到第n個視窗
Mod-. = 視窗最小化
Mod-k or n = 移動到下個視窗
Mod-i or p = 移動到前個視窗
Mod-t = 變成tiling layout
Mod-b = 變成bottom layout
Mod-g = 變成grid layout
Mod-m = 變成max layout
Mod-r = 所有視窗重繪
Mod-X = 鎖定整個dvtm 先輸入密碼後按enter鎖定。重打一次回復
Mod-M = 啟動/關閉滑鼠
Mod-space = 切換layout
Mod-pageup = PageUP
Mod-pagedown= PageDown
Mouse commands
Copy and Pasts : 按SHIFT加左鍵反白要Copy的文字,SHIFT加中鍵為貼上
Button1 click : Select window.
Button1 double click : Select window and toggle maximization.
Button2 click : Zooms/cycles current window to/from master area.
Button3 click : Toggle minimization of current window.