Warning: Use of undefined constant BLOGUPLOADDIR - assumed 'BLOGUPLOADDIR' (this will throw an Error in a future version of PHP) in /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php on line 71

Warning: Declaration of Post_Types_Order_Walker::start_lvl(&$output, $depth) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/post-types-order/post-types-order.php on line 344

Warning: Declaration of Post_Types_Order_Walker::end_lvl(&$output, $depth) should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/post-types-order/post-types-order.php on line 344

Warning: Declaration of Post_Types_Order_Walker::start_el(&$output, $page, $depth, $args) should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/post-types-order/post-types-order.php on line 344

Warning: Declaration of Post_Types_Order_Walker::end_el(&$output, $page, $depth) should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/post-types-order/post-types-order.php on line 344

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/enadeg5/public_html/wp-content/themes/Avada/framework/plugins/revslider/inc_php/base.class.php:71) in /home/enadeg5/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1648
{"id":54,"date":"2013-08-16T18:51:00","date_gmt":"2013-08-16T18:51:00","guid":{"rendered":"http:\/\/theipzone.com\/?p=54"},"modified":"2013-08-19T20:32:36","modified_gmt":"2013-08-19T20:32:36","slug":"tmux","status":"publish","type":"post","link":"http:\/\/theipzone.com\/blog\/2013\/08\/16\/tmux\/","title":{"rendered":"TMUX"},"content":{"rendered":"

Shell CMDS – <\/span><\/b>From any shell prompt:<\/o:p><\/span><\/p>\n

start new:
tmux<\/span> <\/o:p><\/span><\/p>\n

start new with session name:
tmux new -s myname<\/span> <\/o:p><\/span><\/p>\n

attach:
tmux a<\/span>  #  (or at, or attach) <\/o:p><\/span><\/p>\n

attach to named:
tmux a -t myname<\/span> <\/o:p><\/span><\/p>\n

list sessions:
tmux ls<\/span> <\/o:p><\/span><\/p>\n

kill session:
`<\/span> <\/o:p><\/span><\/p>\n

TMUX CMDS –<\/span><\/b> In tmux, hit the prefix ctrl+b and then: <\/o:p><\/span><\/p>\n

Sessions <\/o:p><\/span><\/b><\/p>\n

:new<CR>  new session
s  list sessions
$  name session <\/o:p><\/span><\/p>\n

Windows (tabs) <\/o:p><\/span><\/b><\/p>\n

c  new window
w  list windows
f  find window
,  name window
&  kill window <\/o:p><\/span><\/p>\n

Panes (splits) <\/o:p><\/span><\/b><\/p>\n

%  vertical split
”  horizontal split
o  swap panes
q  show pane numbers
x  kill pane
+  break pane into window (e.g. to select text by mouse to copy)
–  restore pane from window
<\/span>\u237d<\/span> <\/span> space – toggle between layouts
PREFIX q (Show pane numbers, when the numbers show up type the key to goto that pane)
PREFIX { (Move the current pane left)
PREFIX } (Move the current pane right) <\/o:p><\/span><\/p>\n

Resizing Panes <\/o:p><\/span><\/b><\/p>\n

You can also resize panes if you don\u2019t like the layout defaults. I use the mouse to resize <\/o:p><\/span><\/p>\n

PREFIX : resize-pane (By default it resizes the current pane down)
PREFIX : resize-pane -U (Resizes the current pane upward)
PREFIX : resize-pane -L (Resizes the current pane left)
PREFIX : resize-pane -R (Resizes the current pane right)
PREFIX : resize-pane 20 (Resizes the current pane down by 20 cells)
PREFIX : resize-pane -U 20 (Resizes the current pane upward by 20 cells)
PREFIX : resize-pane -L 20 (Resizes the current pane left by 20 cells)
PREFIX : resize-pane -R 20 (Resizes the current pane right by 20 cells)
PREFIX : resize-pane -t 2 20 (Resizes the pane with the id of 2 down by 20 cells)
PREFIX : resize-pane -t -L 20 (Resizes the pane with the id of 2 left by 20 cells) <\/o:p><\/span><\/p>\n

Misc <\/strong> <\/p>\n

d  detach
t  big clock
?  list shortcuts
:  prompt
z zoom <\/p>\n

How do I copy and paste when the mouse select plane is enabled?
To copy\/paste text in xterm running tmux on mac you simply hold down the option key and highlight the text you want to copy. On PC you hold down the shift key. If you are running split plane windows then you can zoom into the window you are interesting in copying text from using C-b z (prefix: z) <\/p>\n

If you are a mac user an easier approach is to use Iterm2 and then under the preference, go to the general tab and check the allow clipboard access to terminal apps. <\/p>\n

  <\/p>\n

CONFIGURATIONS OPTIONS:
<\/span><\/b># Just click it
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g mouse-resize-pane on <\/span><\/p>\n

# Sane scrolling
set -g mode-mouse on <\/p>\n

# Set the base index for windows to 1 instead of 0
set -g base-index 1 <\/o:p><\/span><\/p>\n

# Set the base index for panes to 1 instead of 0
setw -g pane-base-index 1 <\/o:p><\/span><\/p>\n

# set colors for the active window
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright <\/o:p><\/span><\/p>\n

# pane colors
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg red <\/o:p><\/span><\/p>\n

# Command \/ message line
set -g message-fg white
set -g message-bg black
set -g message-attr bright <\/o:p><\/span><\/p>\n

# better mnemonics for splitting panes!
bind | split-window -h
bind \\ split-window -h
bind – split-window -v
bind _ split-window -v <\/o:p><\/span><\/p>\n

# Justify Status bar
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on <\/o:p><\/span><\/p>\n

# toggle statusbar
bind-key s set status <\/o:p><\/span><\/p>\n

# scrollback buffer n lines
set -g history-limit 10000 <\/o:p><\/span><\/p>\n

# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on <\/o:p><\/span><\/p>\n

# reload settings
bind-key R source-file ~\/.tmux.conf <\/o:p><\/span><\/p>\n

# tell tmux to use 256 colour terminal
set -g default-terminal “screen-256color” <\/o:p><\/span><\/p>\n

# instructs tmux to expect UTF-8 sequences
setw -g utf8 on <\/o:p><\/span><\/p>\n

# listen for activity on all windows
set -g bell-action any <\/o:p><\/span><\/p>\n

# open a man page in new window
bind-key \/ command-prompt “split-window ‘exec man %%'” <\/span><\/p>\n

# Broadcast input
bind-key S setw synchronize-panes <\/p>\n

<\/o:p><\/span> <\/p>\n

Source:
<\/span><\/b>http:\/\/blog.yjl.im\/2009\/11\/migrating-to-tmux-from-gnuscreen.html<\/a>
http:\/\/blog.hawkhost.com\/2010\/06\/28\/tmux-the-terminal-multiplexer\/<\/a>
http:\/\/blog.hawkhost.com\/2010\/07\/02\/tmux-%E2%80%93-the-terminal-multiplexer-part-2\/<\/a>
http:\/\/www.dayid.org\/os\/notes\/tm.html<\/a>
https:\/\/gist.github.com\/shinzui\/866897<\/a>
https:\/\/gist.github.com\/MohamedAlaa\/2961058<\/a> <\/o:p><\/span><\/p>\n

 <\/o:p><\/span><\/p>\n

 <\/o:p><\/p>\n","protected":false},"excerpt":{"rendered":"

Shell CMDS – From any shell prompt: start new:tmux start new with session name:tmux new -s myname attach:tmux a  #  (or at, or attach) attach to named:tmux a -t myname list sessions:tmux ls kill session:` TMUX CMDS – In tmux, hit the prefix ctrl+b and then: Sessions :new<CR>  new sessions  list sessions$  name session Windows (tabs) c  new windoww  list windowsf  find window,  name window&  kill window Panes (splits) %  vertical split”  horizontal splito  swap panesq  show pane numbersx  kill pane+  break pane into window (e.g. to select text by mouse to copy)–  restore pane from window\u237d  space – toggle between layoutsPREFIX q (Show pane numbers, when the numbers show up type the key to goto that pane)PREFIX { (Move the current pane left)PREFIX } (Move the current pane right) Resizing Panes You can also resize panes if you don\u2019t like the layout defaults. I use the mouse to resize PREFIX : resize-pane (By default it resizes the current pane down)PREFIX : resize-pane -U (Resizes the current pane upward)PREFIX : resize-pane -L (Resizes the current pane left)PREFIX : resize-pane -R (Resizes the current pane right)PREFIX : resize-pane 20 (Resizes the current pane down by 20 cells)PREFIX : resize-pane -U 20 (Resizes the current pane upward by 20 cells)PREFIX : resize-pane -L 20 (Resizes the current pane left by 20 cells)PREFIX : resize-pane -R 20 (Resizes the current pane right by 20 cells)PREFIX : resize-pane -t 2 20 (Resizes the pane with the id of 2 down by 20 cells)PREFIX : resize-pane -t -L 20 (Resizes the pane with the id of 2 left by 20 cells) Misc d  detacht  big clock?  list shortcuts:  prompt z zoom How do I copy and paste when the mouse […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[17,19,15,18,14,16],"_links":{"self":[{"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":6,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":85,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/posts\/54\/revisions\/85"}],"wp:attachment":[{"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/theipzone.com\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}