version 1.5, 1997/02/25 00:04:07 |
version 1.6, 2001/11/19 19:02:18 |
|
|
|
|
l_window(v, a) |
l_window(v, a) |
struct value *v; |
struct value *v; |
register struct value *a; |
struct value *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
int col, row, ncol, nrow, id, nline; |
int col, row, ncol, nrow, id, nline; |
|
|
int haspty, hasframe, mapnl, keepopen, smooth; |
int haspty, hasframe, mapnl, keepopen, smooth; |
char *shf, **sh; |
char *shf, **sh; |
char *argv[sizeof default_shell / sizeof *default_shell]; |
char *argv[sizeof default_shell / sizeof *default_shell]; |
register char **pp; |
char **pp; |
|
|
if ((id = findid()) < 0) |
if ((id = findid()) < 0) |
return; |
return; |
|
|
}; |
}; |
|
|
l_def_nline(v, a) |
l_def_nline(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_num = default_nline; |
v->v_num = default_nline; |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
|
|
}; |
}; |
|
|
l_smooth(v, a) |
l_smooth(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
|
|
|
|
}; |
}; |
|
|
l_def_smooth(v, a) |
l_def_smooth(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
v->v_num = default_smooth; |
v->v_num = default_smooth; |
|
|
}; |
}; |
|
|
l_select(v, a) |
l_select(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
|
|
|
|
}; |
}; |
|
|
l_debug(v, a) |
l_debug(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
v->v_num = debug; |
v->v_num = debug; |
|
|
}; |
}; |
|
|
l_escape(v, a) |
l_escape(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
char buf[2]; |
char buf[2]; |
|
|
|
|
/*ARGSUSED*/ |
/*ARGSUSED*/ |
l_label(v, a) |
l_label(v, a) |
struct value *v; |
struct value *v; |
register struct value *a; |
struct value *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
|
|
|
|
}; |
}; |
|
|
l_foreground(v, a) |
l_foreground(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
char flag; |
char flag; |
|
|
}; |
}; |
|
|
l_terse(v, a) |
l_terse(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
v->v_num = terse; |
v->v_num = terse; |
|
|
}; |
}; |
|
|
l_source(v, a) |
l_source(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
if (a->v_type != V_ERR && dosource(a->v_str) < 0) { |
if (a->v_type != V_ERR && dosource(a->v_str) < 0) { |
|
|
/*ARGSUSED*/ |
/*ARGSUSED*/ |
l_write(v, a) |
l_write(v, a) |
struct value *v; |
struct value *v; |
register struct value *a; |
struct value *a; |
{ |
{ |
char buf[20]; |
char buf[20]; |
struct ww *w; |
struct ww *w; |
|
|
/*ARGSUSED*/ |
/*ARGSUSED*/ |
l_close(v, a) |
l_close(v, a) |
struct value *v; |
struct value *v; |
register struct value *a; |
struct value *a; |
{ |
{ |
struct ww *w; |
struct ww *w; |
|
|
|
|
}; |
}; |
|
|
l_cursormodes(v, a) |
l_cursormodes(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
|
|
v->v_type = V_NUM; |
v->v_type = V_NUM; |
|
|
}; |
}; |
|
|
l_unset(v, a) |
l_unset(v, a) |
register struct value *v, *a; |
struct value *v, *a; |
{ |
{ |
v->v_type = V_NUM; |
v->v_type = V_NUM; |
switch (a->v_type) { |
switch (a->v_type) { |
|
|
|
|
struct ww * |
struct ww * |
vtowin(v, w) |
vtowin(v, w) |
register struct value *v; |
struct value *v; |
struct ww *w; |
struct ww *w; |
{ |
{ |
switch (v->v_type) { |
switch (v->v_type) { |
|
|
} |
} |
|
|
vtobool(v, def, err) |
vtobool(v, def, err) |
register struct value *v; |
struct value *v; |
char def, err; |
char def, err; |
{ |
{ |
switch (v->v_type) { |
switch (v->v_type) { |