<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{Focus\-Motion.c File Reference}
\label{FocusMotion_8c}\index{FocusMotion.c@{Focus\-Motion.c}}
{\tt \#include $&lt;$tcl.h$&gt;$}\par
{\tt \#include $&lt;$tk.h$&gt;$}\par
{\tt \#include $&lt;$sys/types.h$&gt;$}\par
{\tt \#include $&lt;$sys/stat.h$&gt;$}\par
{\tt \#include $&lt;$sys/time.h$&gt;$}\par
{\tt \#include $&lt;$fcntl.h$&gt;$}\par
{\tt \#include $&lt;$termios.h$&gt;$}\par
{\tt \#include $&lt;$stdio.h$&gt;$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf MAXBUF}\ 256
\item 
\#define {\bf MAXSTATBUF}\ 16
\item 
\#define {\bf BUSY}\ 66
\item 
\#define {\bf NOTBUSY}\ 98
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf printios} (struct termios $\ast$ios)
\item 
int {\bf checkstatus} (int {\bf fd})
\item 
int {\bf Focus\-Motion\_\-Init} (Tcl\_\-Interp $\ast$)
\item 
int {\bf Focus\-Motion\_\-Open\_\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Focus\-Motion\_\-Move\-Up\_\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Focus\-Motion\_\-Move\-Down\_\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
int {\bf fd}
\item 
int {\bf err} = 0
\item 
termios {\bf ttyios}
\item 
unsigned char {\bf ibuf} [MAXBUF]
\item 
unsigned char {\bf obuf} [MAXBUF]
\end{CompactItemize}


\subsection{Define Documentation}
\index{FocusMotion.c@{Focus\-Motion.c}!BUSY@{BUSY}}
\index{BUSY@{BUSY}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define BUSY\ 66}\label{FocusMotion_8c_a2}




Definition at line 13 of file Focus\-Motion.c.

Referenced by checkstatus, Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, and Focus\-Motion\_\-Open\_\-Cmd.\index{FocusMotion.c@{Focus\-Motion.c}!MAXBUF@{MAXBUF}}
\index{MAXBUF@{MAXBUF}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAXBUF\ 256}\label{FocusMotion_8c_a0}




Definition at line 10 of file Focus\-Motion.c.\index{FocusMotion.c@{Focus\-Motion.c}!MAXSTATBUF@{MAXSTATBUF}}
\index{MAXSTATBUF@{MAXSTATBUF}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAXSTATBUF\ 16}\label{FocusMotion_8c_a1}




Definition at line 11 of file Focus\-Motion.c.

Referenced by checkstatus.\index{FocusMotion.c@{Focus\-Motion.c}!NOTBUSY@{NOTBUSY}}
\index{NOTBUSY@{NOTBUSY}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define NOTBUSY\ 98}\label{FocusMotion_8c_a3}




Definition at line 14 of file Focus\-Motion.c.

Referenced by checkstatus.

\subsection{Function Documentation}
\index{FocusMotion.c@{Focus\-Motion.c}!checkstatus@{checkstatus}}
\index{checkstatus@{checkstatus}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int checkstatus (int {\em fd})}\label{FocusMotion_8c_a10}




Definition at line 182 of file Focus\-Motion.c.

References BUSY, fd, MAXSTATBUF, and NOTBUSY.

Referenced by Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, and Focus\-Motion\_\-Open\_\-Cmd.\index{FocusMotion.c@{Focus\-Motion.c}!FocusMotion_Init@{FocusMotion\_\-Init}}
\index{FocusMotion_Init@{FocusMotion\_\-Init}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Focus\-Motion\_\-Init (Tcl\_\-Interp $\ast$)}\label{FocusMotion_8c_a11}




Definition at line 410 of file Focus\-Motion.c.

References Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, and Focus\-Motion\_\-Open\_\-Cmd.

Referenced by Tcl\_\-App\-Init.\index{FocusMotion.c@{Focus\-Motion.c}!FocusMotion_MoveDown_Cmd@{FocusMotion\_\-MoveDown\_\-Cmd}}
\index{FocusMotion_MoveDown_Cmd@{FocusMotion\_\-MoveDown\_\-Cmd}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Focus\-Motion\_\-Move\-Down\_\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{FocusMotion_8c_a14}




Definition at line 133 of file Focus\-Motion.c.

References BUSY, checkstatus, err, fd, and obuf.

Referenced by Focus\-Motion\_\-Init.\index{FocusMotion.c@{Focus\-Motion.c}!FocusMotion_MoveUp_Cmd@{FocusMotion\_\-MoveUp\_\-Cmd}}
\index{FocusMotion_MoveUp_Cmd@{FocusMotion\_\-MoveUp\_\-Cmd}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Focus\-Motion\_\-Move\-Up\_\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{FocusMotion_8c_a13}




Definition at line 83 of file Focus\-Motion.c.

References BUSY, checkstatus, err, fd, and obuf.

Referenced by Focus\-Motion\_\-Init.\index{FocusMotion.c@{Focus\-Motion.c}!FocusMotion_Open_Cmd@{FocusMotion\_\-Open\_\-Cmd}}
\index{FocusMotion_Open_Cmd@{FocusMotion\_\-Open\_\-Cmd}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Focus\-Motion\_\-Open\_\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{FocusMotion_8c_a12}




Definition at line 30 of file Focus\-Motion.c.

References BUSY, checkstatus, err, fd, obuf, printios, and ttyios.

Referenced by Focus\-Motion\_\-Init.\index{FocusMotion.c@{Focus\-Motion.c}!printios@{printios}}
\index{printios@{printios}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void printios (struct termios $\ast$ {\em ios})}\label{FocusMotion_8c_a9}




Definition at line 221 of file Focus\-Motion.c.

Referenced by Focus\-Motion\_\-Open\_\-Cmd.

\subsection{Variable Documentation}
\index{FocusMotion.c@{Focus\-Motion.c}!err@{err}}
\index{err@{err}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int err = 0}\label{FocusMotion_8c_a5}




Definition at line 21 of file Focus\-Motion.c.

Referenced by closestage, findstage, Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, Focus\-Motion\_\-Open\_\-Cmd, GEOMCOEF, movestage, moveto, newxystage, openstage, showreg, Stage\-Motion\_\-Close\_\-Cmd, Stage\-Motion\_\-Move\_\-Cmd, Stage\-Motion\_\-Open\_\-Cmd, start, stop, and where.\index{FocusMotion.c@{Focus\-Motion.c}!fd@{fd}}
\index{fd@{fd}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int fd}\label{FocusMotion_8c_a4}




Definition at line 20 of file Focus\-Motion.c.

Referenced by checkstatus, Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, Focus\-Motion\_\-Open\_\-Cmd, showreg, and start.\index{FocusMotion.c@{Focus\-Motion.c}!ibuf@{ibuf}}
\index{ibuf@{ibuf}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char ibuf[MAXBUF]}\label{FocusMotion_8c_a7}




Definition at line 23 of file Focus\-Motion.c.\index{FocusMotion.c@{Focus\-Motion.c}!obuf@{obuf}}
\index{obuf@{obuf}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char obuf[MAXBUF]}\label{FocusMotion_8c_a8}




Definition at line 24 of file Focus\-Motion.c.

Referenced by Focus\-Motion\_\-Move\-Down\_\-Cmd, Focus\-Motion\_\-Move\-Up\_\-Cmd, and Focus\-Motion\_\-Open\_\-Cmd.\index{FocusMotion.c@{Focus\-Motion.c}!ttyios@{ttyios}}
\index{ttyios@{ttyios}!FocusMotion.c@{Focus\-Motion.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct termios ttyios}\label{FocusMotion_8c_a6}




Definition at line 22 of file Focus\-Motion.c.

Referenced by Focus\-Motion\_\-Open\_\-Cmd.</pre></body></html>