version 1.9, 2003/05/16 19:28:59 |
version 1.10, 2003/05/20 03:08:55 |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
showcpos(f, n) |
showcpos(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *clp; |
LINE *clp; |
long nchar; |
long nchar; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
twiddle(f, n) |
twiddle(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *dotp; |
LINE *dotp; |
int doto, cr; |
int doto, cr; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
openline(f, n) |
openline(int f, int n) |
int f, n; |
|
{ |
{ |
int i; |
int i; |
int s; |
int s; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
newline(f, n) |
newline(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *lp; |
LINE *lp; |
int s; |
int s; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
deblank(f, n) |
deblank(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *lp1, *lp2; |
LINE *lp1, *lp2; |
RSIZE nld; |
RSIZE nld; |
|
|
* Delete any whitespace around dot, then insert a space. |
* Delete any whitespace around dot, then insert a space. |
*/ |
*/ |
int |
int |
justone(f, n) |
justone(int f, int n) |
int f, n; |
|
{ |
{ |
(void)delwhite(f, n); |
(void)delwhite(f, n); |
return linsert(1, ' '); |
return linsert(1, ' '); |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
delwhite(f, n) |
delwhite(int f, int n) |
int f, n; |
|
{ |
{ |
int col, c, s; |
int col, c, s; |
|
|
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
indent(f, n) |
indent(int f, int n) |
int f, n; |
|
{ |
{ |
int nicol; |
int nicol; |
int c; |
int c; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
forwdel(f, n) |
forwdel(int f, int n) |
int f, n; |
|
{ |
{ |
if (n < 0) |
if (n < 0) |
return backdel(f | FFRAND, -n); |
return backdel(f | FFRAND, -n); |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
backdel(f, n) |
backdel(int f, int n) |
int f, n; |
|
{ |
{ |
int s; |
int s; |
|
|
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
killline(f, n) |
killline(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *nextp; |
LINE *nextp; |
RSIZE chunk; |
RSIZE chunk; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
yank(f, n) |
yank(int f, int n) |
int f, n; |
|
{ |
{ |
LINE *lp; |
LINE *lp; |
int c, i, nline; |
int c, i, nline; |
|
|
#ifdef NOTAB |
#ifdef NOTAB |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
space_to_tabstop(f, n) |
space_to_tabstop(int f, int n) |
int f, n; |
|
{ |
{ |
if (n < 0) |
if (n < 0) |
return FALSE; |
return FALSE; |