\oddsidemargin=-0.2in
\evensidemargin=-0.2in
\topmargin=-0.8in
\textheight=9.8in
\textwidth=7in

\def\Semester{Summer 1996}
\typeout{Style option 414 for \Semester}

\newlength{\box@width}
\def\Header#1#2{
        \markboth{#2---CS414, \Semester}{CS414, \Semester---#2}%
        \fboxrule=.5mm\fboxsep=1.2mm\box@width=\textwidth minus 5in%
        \addtolength{\box@width}{-4mm}% room for the rule
        \begin{center}
                \framebox{\parbox{\box@width}{\bf%
                Systems Programming and Operating Systems\hfill#2 \\%
                CS414, \Semester\hfill#1}}%
        \end{center}}

%\def\Header{\@ifnextchar[{\@Header}{\@Header[\today]}}

%+
% Commands for delimiting a problem
%-
\newcounter{Pr@bnum}                    % current problem number
\newcounter{Pr@bpoints}                 % total points so far
\newcounter{So@bnum}                    % Current solution number
\newif\ifPr@bNotUsed \Pr@bNotUsedtrue   % to keep track of probnumber inc'ing
\newif\ifEnum@Standard \Enum@Standardtrue

\def\Pr@blem[#1]{\par\refstepcounter{Pr@bnum}\addtocounter{Pr@bpoints}{#1}
\vspace{2ex}{\large {\bf Problem \thePr@bnum} 
\ifnum#1=0 {(ungraded)} \else {(#1 points)} \fi}\Pr@bNotUsedfalse%
\ifEnum@Standard{\Switch@enum \Enum@Standardfalse}\fi\par}

\def\Problem{\@ifnextchar[{\Pr@blem}{\Pr@blem[10]}}
\def\Probcontinued{{\large {\bf Problem \thePr@bnum} (continued)} \par}
\def\EndProblem{}
\def\Solution{\par\refstepcounter{So@bnum}}
\def\EndSolution{}
%+
% Have enumerate gives a lettered list rather than numbered.  And then
% it switches back to numbers within that.  We only do this if a
% Problem or Solution was entered, though.
%-
\def\Switch@enum{%
  \def\theenumi{{\bf\alph{enumi}}}\def\theenumii{{\bf\arabic{enumii}}}}

\usepackage{epsf}
\usepackage{psfig}
\usepackage{fullpage}
\usepackage{alltt}
\usepackage{color}
\usepackage{epic}
\usepackage{eepic}
\usepackage{amstex}
\usepackage{tabularx}
\newcommand{\bfm}[1]{\mbox{\bf #1}}
