version 1.7, 2003/06/03 02:56:08 |
version 1.8, 2003/06/10 22:20:46 |
|
|
int split_words = 0; |
int split_words = 0; |
|
|
int |
int |
main(argc, argv) |
main(int argc, char *argv[]) |
int argc; |
|
char **argv; |
|
{ |
{ |
int ch; |
int ch; |
int width; |
int width; |
|
|
* returns embedded in the input stream. |
* returns embedded in the input stream. |
*/ |
*/ |
static void |
static void |
fold(width) |
fold(int width) |
int width; |
|
{ |
{ |
static char *buf = NULL; |
static char *buf = NULL; |
static int buf_max = 0; |
static int buf_max = 0; |
|
|
* calculate the column position |
* calculate the column position |
*/ |
*/ |
static int |
static int |
new_column_position(col, ch) |
new_column_position(int col, int ch) |
int col; |
|
int ch; |
|
{ |
{ |
if (!count_bytes) { |
if (!count_bytes) { |
switch (ch) { |
switch (ch) { |