getcap.c   config file processing

static struct capability *FindCap(const char *name);
void DefineCap(const char *name, initializer *func, const char *def_value);
void CapInit(void);
int ReadConfig(const char *filename);
int SetCapArg(const char *capName, const char *value);
bool BoolConf(const char *confstr);

term.c   TERM Processing

static void CleanUp(void);
static void ExitTerm(int signum);
static void ExitPty(int signum);
void MouseSetRfd(int mfd);
void MouseResetRfd(int mfd);
static void ConsoleHandler(void);
static void     ProcessArgs(int argc, const char *argv[]);
void    TermInit(int argc, const char *argv[]);
static int      TryTermReset(int argc, const char *argv[]);
void    TermRestart(int fd);
void    TermStart(void);
void ChangeOrigConsole();  /* When kon exits, this function is called */
void ChangeNewConsole();   /* When kon starts, this function is called */



vc.c   Console  Processing, Low Level
static inline   void    blatch(void *head, int n);
static inline   void    llatch(void *head, int n);
void    TextInsertChar(int n);
void    TextDeleteChar(int n);
void HardScroll();
void    InputAreaText();
void    TextRefresh(void);
static void SetTextMode(void);
void TextMode(void);
void GraphMode(void);
static void LeaveVC(int signum);
static void     EnterVC(int signum);
static void TextScrollUp(int line);
static void TextScrollDown(int line);
void TextWput1(u_char ch);
void TextWput2(u_char ch);
void TextWput(u_char ch1, u_char ch2);
void TextSput(u_char ch);
void TextClearAll(void);
void    TextClearEol(u_char mode);
void    TextClearEos(u_char mode);
static void     TextClearBand(u_int top, u_int btm);
void    TextMoveDown(int top, int btm, int line);
void    TextMoveUp(int top, int btm, int line);
void    ScrollUp(int line);
void    ScrollDown(int line);
void    TextReverse(int fx, int fy, int tx, int ty);
void    TextCopy(int fx, int fy, int tx, int ty);
void    TextPaste(void);
static void     ToggleCursor(struct cursorInfo *c);
static void     ShowCursor(struct cursorInfo *c, bool show);
static void     SaveScreen(bool save);
static void PollMouseCursor(void);
void    PollCursor(bool wakeup);


vt.c     Terminal Processing   High Level




utmp.c   Set/Reset /var/run/utmp
void    SetUtmp(char *tty);
void    ResetUtmp(char *tty);
 /*Linux Only */


lib/getcap.c   Utilities to manupilate Capabilities
  Get/Set Cap


*************************************************************************
vga.c   Low level register operations
void VgaSetRegisters(struct vgaRegs *regs);
static void VgaSetPELS(struct pelRegs *pels);
static void VgaGetPELS(struct pelRegs *pels);
static inline void VgaSetColor(u_char col);
void VgaInit(void);
void VgaTextMode(void);
void VgaGraphMode(void);
void Vga1Wput(u_char *code, u_char fc, u_char bc);
void VgaWput(u_char *code, u_char fc, u_char bc);
void VgaSput(u_char *code, u_char fc, u_char bc);
void Vga1Sput(u_char *code, u_char fc, u_char bc,u_int offset);
void VgaHardScrollUp(int line);
void VgaHardScrollDown(int line);
void VgaSetCursorAddress(struct cursorInfo *ci, u_int x, u_int y);
void VgaSetAddress(u_int p);
void VgaSetInputAddress(u_int p);
void VgaCursor(struct cursorInfo *ci);
void VgaClearAll(void);
void VgaClearInput(void);
void VgaScreenSaver(bool blank);
int VgaReadPels(const char *str);
int VgaReadNewRegs(const char *str, union videoTimings *video);
int VgaAttach(void);
void VgaDetach(void);
void SplitScreen(unsigned numLines);


***************************************************************************

child.c   Exec the child commands

void    ChildInit(void);
void    ChildCleanup(void);
void    ChildStart(FILE *errfp);

**************************************************************************

 fnld.c    Fond Loader

 void FontDetach(bool down);
 void FontAttach();



**************************************************************************
 child.c      Load Fld to load the fonts

 int     ConfigExecProg(const char *string);
 static int      ConfigStartup(const char *string);
 static void     RunStartupCmd(void);
 static int      ConfigMessage(const char *confstr);
 void    ChildInit(void);
 void    ChildCleanup(void);
 void    ChildStart(FILE *errfp);
 
