% Color Definitions
\definecolor{darkgreen}{rgb}{0,.3,0}
\definecolor{gray}{rgb}{.8,.8,.8}
\definecolor{darkred}{rgb}{.5,0,0}
\definecolor{darkblue}{rgb}{0,0,.5}
\definecolor{lightblue}{rgb}{0.7,0.9,1}
\definecolor{lightgreen}{rgb}{0.7,1.0,.7}

% Experimantal Defs
\makeatletter
  \newenvironment{indentation}[2]%
    {\par\setlength{\leftmargin}{#1}       \setlength{\rightmargin}{#2}%
     \advance\linewidth -\leftmargin       \advance\linewidth -\rightmargin%
     \advance\@totalleftmargin\leftmargin  \@setpar{{\@@par}}%
     \parshape 1\@totalleftmargin \linewidth\ignorespaces}{\par}%
\makeatother

% Device Definitions
\def\DEVICE{eth0} 
\def\IPADDR{{\normalsize{}192.168.1.4}}
\def\NETMASK{{\normalsize{}255.255.255.0}}
\def\BROADCAST{{\normalsize{}192.168.1.255}}
   
%\def\xspace{%
%  \ifx\@let@token\bgroup\else
%  \ifx\@let@token\egroup\else
%  \ifx\@let@token\/\else
%  \ifx\@let@token\ \else
%  \ifx\@let@token~\else
%  \ifx\@let@token.\else
%  \ifx\@let@token!\else
%  \ifx\@let@token,\else
%  \ifx\@let@token:\else
%  \ifx\@let@token;\else
%  \ifx\@let@token?\else
%  \ifx\@let@token/\else
%  \ifx\@let@token'\else
%  \ifx\@let@token)\else
%  \ifx\@let@token-\else
%  \ifx\@let@token\@xobeysp\else
%  \ifx\@let@token\space\else
%  \ifx\@let@token\@sptoken\else
%   \space
%   \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}

\def\group{users\null}
\def\home{/home/\user\xspace}

% \def\command#1{{\ttfamily\bfseries#1}}
% \def\file#1{{\bf#1}\xspace}
\def\br{\hfill\break}
% \def\command#1{\textbf{#1}}
\def\command#1{{\large\ttfamily\bfseries#1}}
\def\comment#1{{\small\emph#1}}
\def\file#1{\underline{\tt{}#1}}
\def\idea#1{{\small\emph#1}}
\def\key#1{$[$#1$]$}
\def\option#1{\hbox{\ttfamily\slshape#1}}
\def\program#1{{\large\ttfamily\bfseries#1}}
% \def\ptcsh#1{{\bf#1\null}\phantom{[tcsh]/home/\user: x}}
\def\term#1{{\em#1}}
\def\user{joe\null}
\def\tilde{\raisebox{.3ex}{$\sim$}\hspace{-0.15em}}

% Unix related def
\def\Linux{{\tt Linux}\xspace}
\def\Unix{{\tt UNIX}\xspace}
\def\computer#1{{\large\bf#1}\xspace}
% \def\bash#1{[bash]\user:{\bf#1}}
\def\bs#1{\texttt{\char`\\}#1}
\def\fim{{\vrule height8pt width6pt depth3pt}}
\def\gt{{\tt>}}
\def\lt{{\tt<}}
\def\pipe{\textbar}
\def\pipe{{\tt|}\xspace}
\def\redhat{{\normalsize\em RedHat}\xspace}
\def\mandrake{{\normalsize\em Mandrake}\xspace}
\def\turbolinux{{\normalsize\em TurboLinux}\xspace}
\def\remote{RemoteHost}
\def\local{LocalHost}
\def\localhost#1{{[\local]/home/\user:{\bf#1\null}}}
\def\remotehost#1{{[\remote]/home/\user:{\bf#1\null}}}
\def\rootsh#1{{\large\tt\colorbox{yellow}{\textcolor{darkred}{{\tt<}{\bf{}Super}{\tt>:}}}{\bf#1}}}
\def\root{{\bf{}root}\xspace}
\def\rv#1{{\colorbox{black}{\color{white}#1}}}
\def\shell#1{{/home/\user: {\bf#1\null}}}
\def\unshell#1{{\bf#1\null}\phantom{/home/\user: x}}
\def\stderr{\term{stderr}}
\def\stdin{\term{stdin}}
\def\stdout{\term{stdout}}
% \def\tcsh#1{{[tcsh]/home/\user: {\bf#1\null}}}
\def\bash#1{{\large\tt\colorbox{lightblue}{\textcolor{darkblue}{{\tt<}{\bf{}bash}{\tt>:}}}{\bf#1}}}
\def\tcsh#1{{\large\tt\colorbox{lightgreen}{{\tt<}{\bf{}tcsh}{\tt>:}}{\bf#1}}}
\def\zeppo{{\bf Zeppo}\xspace}
\def\groucho{{\bf Groucho\xspace}}
\def\astro{{\bf Astro\xspace}}
\def\man{{\bf{}man}}
\def\host#1{{\bf#1}}
\def\at{$@$\xspace}
   
   
% For Table Rules...
\newdimen\thickarrayrulewidth
  \thickarrayrulewidth=1pt
  \def\thickhline{\noalign{\hrule height\thickarrayrulewidth}}
\def\hhline{\noalign{\hrule height.35mm}} %%% thick hline
   
\def\heading#1{\vskip9pt{\bf\Large#1}\vskip-5pt}
\def\kbd#1{{\bf#1}\null}
\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.75\hsize\rightskip=1em
  \hskip1em\relax#1}\kbd{#2}\hfil}}
\def\dkey#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.2\hsize\rightskip=1em
  \hskip1em\relax\bf#1}\kbd{#2}\hfil}}
\def\gloss#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.3\hsize\rightskip=1.1em
  \hskip1em\relax{\bf#1}\ \dotfill}\kbd{#2}\hfil}}
%\def\defcom#1#2#3{\leavevmode\hbox to \hsize{\vtop
%  {\hsize=.35\hsize\rightskip=1em
%  \hskip1em\relax{\bf#1} \emph{#2}}{\rm#3}\hfil}}
\def\defsh#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.50\hsize\rightskip=1em
   \relax{\large\tt\colorbox{yellow}{\textcolor{darkred}{{\tt<}{\bf{}Super}{\tt>:}}}}{\large\bf#1}}{\# \tt#2}\hfil}}
\def\shcom#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.55\hsize\rightskip=1em
   \relax{/home/\user: }{\bf#1}}{\# \tt#2}\hfil}}
   
   
