Difference between pages "Package:Tmux" and "Package:Valgrind"

(Difference between pages)
 
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Terminal multiplexer
+
|Summary=An Open Source memory debugger for GNU/Linux.
|CatPkg=app-misc/tmux
+
|CatPkg=dev-util/valgrind
 
|Maintainer=
 
|Maintainer=
|Homepage=http://tmux.sourceforge.net/
+
|Homepage=http://www.valgrind.org
 
}}
 
}}
Tmux is a terminal multiplexer (just as [[Package:Screen (Terminal Multiplexer)|screen]], which is generally installed by default on servers). It enables you to run multiple terminals in one. You can arrange them in multiple tabs that you can split into multiple panes as well.
 
 
== USE flags ==
 
 
{| class="wikitable"
 
|-
 
! Name !! Default !! Recommended !! Description
 
|-
 
| debug || No ||  || Adds extra debug codepaths <i>(~description needs to be detailed for this specific ebuild)</i>
 
|-
 
| selinux || No || No || Enables Security Enhanced Linux support. <em>You must not set this use flag manually or breakage will occur!</em> (See [[SELinux]])
 
|-
 
| vim-syntax || No || || Provides syntax plugin for [[Package:Vim|Vim]] in tmux configuration files
 
|}
 
 
== Installation ==
 
 
<console>
 
###i## emerge -a tmux
 
</console>
 
 
== Getting Started ==
 
 
To launch Tmux, run <code>tmux</code> in a terminal. This should clear your current terminal and display a <i>status bar</i> on the bottom. In this status bar, you should see something like <i>"[0] 0:bash*"</i>. This means you are on session 0 (<b>[0]</b>), window 0 (<b>0:</b>) and you run "bash".
 
 
Tmux uses <b><code>Ctrl+b</code></b> as default prefix. This means that before issuing any command you will have to hit <b><code>Ctrl+b</code></b> to tell tmux you are asking <i>it</i>. For instance, type <b><code>Ctrl+b</code></b> and then <b><code>%</code></b>. This should split vertically the window to add a new pane. Now issue <b><code>Ctrl+b "</code></b>, this will split the new pane horizontally to create a new pane. You can switch against panes with <b><code>Ctrl+b Left/Up/Right/Down</code></b> (Left/Up/Right/Down being the arrow keys).
 
 
Another cool stuff is windows. Splitting your window into panes is good, but for readability purpose, you can't indefinitely split your window. So you can open a new window (which would behave more like a tab) by issuing <b><code>Ctrl+b c</code></b>. Your current window will be replaced by a brand new one. However you will notice that your status bar now looks like this <i>"[0] 0:bash- 1:bash*"</i>. The minus symbol (<b>-</b>) means this is the last visited window. The asterisk symbol (<b>*</b>) means this is the current window. You can add panes to this window as well. To go back to the first window, issue <b><code>Ctrl+b 0</code></b>. Generally speaking, issue <b><code>Ctrl+b <window-id></code></b> to go to the window <i><window-id></i>.
 
 
You can do much more with tmux, but this is the minimum to know if you want to quickly get started.
 
  
 +
{{PageNeedsUpdates}}
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 22:09, September 12, 2014

dev-util/valgrind


Source Repository:Gentoo Portage Tree
Homepage

Summary: An Open Source memory debugger for GNU/Linux.

Valgrind