version 1.9, 2001/09/04 23:35:59 |
version 1.10, 2001/11/19 19:02:16 |
|
|
|
|
cc_t * |
cc_t * |
tcval(func) |
tcval(func) |
register int func; |
int func; |
{ |
{ |
switch(func) { |
switch(func) { |
case SLC_IP: return(&termIntChar); |
case SLC_IP: return(&termIntChar); |
|
|
|
|
void |
void |
TerminalNewMode(f) |
TerminalNewMode(f) |
register int f; |
int f; |
{ |
{ |
static int prevmode = 0; |
static int prevmode = 0; |
#ifndef USE_TERMIO |
#ifndef USE_TERMIO |
|
|
long *ospeed; |
long *ospeed; |
{ |
{ |
#ifdef DECODE_BAUD |
#ifdef DECODE_BAUD |
register struct termspeeds *tp; |
struct termspeeds *tp; |
#endif /* DECODE_BAUD */ |
#endif /* DECODE_BAUD */ |
register long in, out; |
long in, out; |
|
|
out = cfgetospeed(&old_tc); |
out = cfgetospeed(&old_tc); |
in = cfgetispeed(&old_tc); |
in = cfgetispeed(&old_tc); |
|
|
process_rings(netin, netout, netex, ttyin, ttyout, poll) |
process_rings(netin, netout, netex, ttyin, ttyout, poll) |
int poll; /* If 0, then block until something to do */ |
int poll; /* If 0, then block until something to do */ |
{ |
{ |
register int c; |
int c; |
/* One wants to be a bit careful about setting returnValue |
/* One wants to be a bit careful about setting returnValue |
* to one, since a one implies we did some useful work, |
* to one, since a one implies we did some useful work, |
* and therefore probably won't be called to block next |
* and therefore probably won't be called to block next |