Return to random.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.14, 2005/11/18 19:04:09 | version 1.15, 2005/11/18 20:56:53 | ||
---|---|---|---|
|
|
||
int | int | ||
showcpos(int f, int n) | showcpos(int f, int n) | ||
{ | { | ||
LINE *clp; | struct line *clp; | ||
long nchar, cchar; | long nchar, cchar; | ||
int nline, row; | int nline, row; | ||
int cline, cbyte; /* Current line/char/byte */ | int cline, cbyte; /* Current line/char/byte */ | ||
|
|
||
int | int | ||
twiddle(int f, int n) | twiddle(int f, int n) | ||
{ | { | ||
LINE *dotp; | struct line *dotp; | ||
int doto, cr; | int doto, cr; | ||
dotp = curwp->w_dotp; | dotp = curwp->w_dotp; | ||
|
|
||
int | int | ||
newline(int f, int n) | newline(int f, int n) | ||
{ | { | ||
LINE *lp; | struct line *lp; | ||
int s; | int s; | ||
if (n < 0) | if (n < 0) | ||
|
|
||
int | int | ||
deblank(int f, int n) | deblank(int f, int n) | ||
{ | { | ||
LINE *lp1, *lp2; | struct line *lp1, *lp2; | ||
RSIZE nld; | RSIZE nld; | ||
lp1 = curwp->w_dotp; | lp1 = curwp->w_dotp; | ||
|
|
||
int | int | ||
killline(int f, int n) | killline(int f, int n) | ||
{ | { | ||
LINE *nextp; | struct line *nextp; | ||
RSIZE chunk; | RSIZE chunk; | ||
int i, c; | int i, c; | ||
|
|
||
int | int | ||
yank(int f, int n) | yank(int f, int n) | ||
{ | { | ||
LINE *lp; | struct line *lp; | ||
int c, i, nline; | int c, i, nline; | ||
if (n < 0) | if (n < 0) |