Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

termio.c File Reference

#include "win.h"
#include <string.h>
#include <termio.h>
#include <fcntl.h>

Go to the source code of this file.

Defines

#define MYCMASK   0377
#define BACKSPACE   8
#define TAB   9
#define LINE_FEED   10
#define CARRIAGE_RETURN   13
#define REFRESH   18
#define KILL_LINE   21
#define KILL_WORD   23
#define DEL   127
#define IDLESTRNGCNT_MAX   255

Functions

 get_timeout ()
 getchar_ub ()
 process_char (c) char c

Variables

struct termios ios0 ios1
char idlestrng [256]
int fd
int idlestrngcnt


Define Documentation

#define BACKSPACE   8
 

Definition at line 19 of file termio.c.

#define CARRIAGE_RETURN   13
 

Definition at line 22 of file termio.c.

#define DEL   127
 

Definition at line 26 of file termio.c.

#define IDLESTRNGCNT_MAX   255
 

Definition at line 28 of file termio.c.

#define KILL_LINE   21
 

Definition at line 24 of file termio.c.

#define KILL_WORD   23
 

Definition at line 25 of file termio.c.

#define LINE_FEED   10
 

Definition at line 21 of file termio.c.

#define MYCMASK   0377
 

Definition at line 18 of file termio.c.

#define REFRESH   18
 

Definition at line 23 of file termio.c.

#define TAB   9
 

Definition at line 20 of file termio.c.


Function Documentation

get_timeout ( )
 

Definition at line 40 of file termio.c.

getchar_ub ( )
 

Definition at line 57 of file termio.c.

Referenced by get_timeout().

process_char ( c )
 

Referenced by get_timeout().


Variable Documentation

int fd
 

Definition at line 38 of file termio.c.

char idlestrng[256]
 

Definition at line 37 of file termio.c.

int idlestrngcnt
 

Definition at line 38 of file termio.c.

struct termios ios0 ios1
 

Definition at line 34 of file termio.c.


Generated at Sun Feb 24 09:57:31 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001