cc_t
ip->t.c_cc[cp->sub] = (cc_t)val;
tios->c_cc[c] = (cc_t)v;
static cc_t *
cc_t *sptr; /* a pointer to the char in */
cc_t val; /* the value of the special character */
spcset(int, cc_t *, cc_t **),
add_slc(char, char, cc_t),
change_slc(int, int, cc_t),
add_slc(char func, char flag, cc_t val)
process_slc(u_int func, u_int flag, cc_t val)
change_slc(int func, int flag, cc_t val)
slctab[func].current.val = (cc_t)_POSIX_VDISABLE;
cc_t oldeofc = '\004';
if (*(slctab[i].sptr) == (cc_t)_POSIX_VDISABLE)
cc_t val;
val = (cc_t)*ptr++;
void process_slc(u_int, u_int, cc_t);
if (slctab[i].current.val == (cc_t)(_POSIX_VDISABLE))
*slctab[SLC_AO].sptr != (cc_t)(_POSIX_VDISABLE)) {
cc_t ch;
if (ch != (cc_t)(_POSIX_VDISABLE))
spcset(int func, cc_t *valp, cc_t **valpp)
#define defval(a) *valp = ((cc_t)a); *valpp = (cc_t *)0; return(SLC_DEFAULT);
cc_t c_cc[NCCS]; /* control chars */
extern const cc_t ttydefchars[NCCS];
const cc_t ttydefchars[NCCS] = {
static cc_t c_erase; /* Current erase char */
static cc_t c_kill; /* Current kill char */
static const char *control(cc_t);
escape = (cc_t)arg[0];
control(cc_t c)
if (c == (cc_t)_POSIX_VDISABLE) {
cc_t *charp; /* where it is located at */
{ "tracefile", "file to write trace information to", SetNetTrace, (cc_t *)NetTraceFile},
static cc_t
return (cc_t)((s && *s) ? special(s) : _POSIX_VDISABLE);
*(ct->charp) = (cc_t)value;
extern cc_t echoc; /* Toggle local echoing */
cc_t *tcval(int);
void slc_add_reply(unsigned int, unsigned int, cc_t);
# define _POSIX_VDISABLE ((cc_t)'\377')
extern cc_t escape; /* Escape to command mode */
extern cc_t rlogin; /* Rlogin mode escape character */
cc_t *
return((cc_t *)0);
cc_t esc;
tmp_tc.c_cc[VDSUSP] = (cc_t)(_POSIX_VDISABLE);
if (tmp_tc.c_cc[VEOL] == (cc_t)(_POSIX_VDISABLE))
else if (tmp_tc.c_cc[VEOL2] == (cc_t)(_POSIX_VDISABLE))
cc_t val;
cc_t *valp;
cc_t escape;
cc_t rlogin;
cc_t echoc;
if (spcp->val == (cc_t)(_POSIX_VDISABLE))
spcp->val = (cc_t)cp[SLC_VALUE];
spcp->val = (cc_t)cp[SLC_VALUE];
if (spcp->val == (cc_t)(_POSIX_VDISABLE))
slc_add_reply(unsigned int func, unsigned int flags, cc_t value)