1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
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);
|