** extracting multiple .tar in a single call **
kaysoh$ for i in *.gz; do tar -xvf $i; done
if you are using .gz file then replace -xvf with -xzvf.
a. macports : http://www.macports.org/install.php
b. XQuartz : http://xquartz.macosforge.org/landing/
c. sudo port install ghostscript
d. sudo port install gv
e. add +/Applications on .bashrc
terminal — settings — keyboard tab
home : \033[1~end : \033[4~page-up : \033[5~page-down : \033[6~