version 1.7, 2002/05/29 12:44:59 |
version 1.8, 2003/05/20 03:08:55 |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
backword(f, n) |
backword(int f, int n) |
int f, n; |
|
{ |
{ |
if (n < 0) |
if (n < 0) |
return forwword(f | FFRAND, -n); |
return forwword(f | FFRAND, -n); |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
forwword(f, n) |
forwword(int f, int n) |
int f, n; |
|
{ |
{ |
if (n < 0) |
if (n < 0) |
return backword(f | FFRAND, -n); |
return backword(f | FFRAND, -n); |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
upperword(f, n) |
upperword(int f, int n) |
int f, n; |
|
{ |
{ |
int c; |
int c; |
|
|
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
lowerword(f, n) |
lowerword(int f, int n) |
int f, n; |
|
{ |
{ |
int c; |
int c; |
|
|
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
capword(f, n) |
capword(int f, int n) |
int f, n; |
|
{ |
{ |
int c; |
int c; |
|
|
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
delfword(f, n) |
delfword(int f, int n) |
int f, n; |
|
{ |
{ |
RSIZE size; |
RSIZE size; |
LINE *dotp; |
LINE *dotp; |
|
|
*/ |
*/ |
/* ARGSUSED */ |
/* ARGSUSED */ |
int |
int |
delbword(f, n) |
delbword(int f, int n) |
int f, n; |
|
{ |
{ |
RSIZE size; |
RSIZE size; |
|
|
|
|
* part of a word. The word character list is hard coded. Should be setable. |
* part of a word. The word character list is hard coded. Should be setable. |
*/ |
*/ |
int |
int |
inword() |
inword(void) |
{ |
{ |
/* can't use lgetc in ISWORD due to bug in OSK cpp */ |
/* can't use lgetc in ISWORD due to bug in OSK cpp */ |
return curwp->w_doto != llength(curwp->w_dotp) && |
return curwp->w_doto != llength(curwp->w_dotp) && |