=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/col/col.1,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/col/col.1 1998/09/23 04:32:37 1.3 --- src/usr.bin/col/col.1 1999/06/05 01:21:21 1.4 *************** *** 1,4 **** ! .\" $OpenBSD: col.1,v 1.3 1998/09/23 04:32:37 aaron Exp $ .\" $NetBSD: col.1,v 1.4 1995/03/26 05:25:52 glass Exp $ .\" .\" Copyright (c) 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: col.1,v 1.4 1999/06/05 01:21:21 aaron Exp $ .\" $NetBSD: col.1,v 1.4 1995/03/26 05:25:52 glass Exp $ .\" .\" Copyright (c) 1990, 1993 *************** *** 48,73 **** .Op Fl bfx .Op Fl l Ar num .Sh DESCRIPTION ! .Nm col ! filters out reverse (and half reverse) line feeds so that the output is ! in the correct order with only forward and half forward line ! feeds, and replaces white-space characters with tabs where possible. This can be useful in processing the output of .Xr nroff 1 and .Xr tbl 1 . .Pp ! .Nm col reads from the standard input and writes to the standard output. .Pp The options are as follows: ! .Bl -tag -width "-l num " .It Fl b Do not output any backspaces, printing only the last character written to each column position. .It Fl f ! Forward half line feeds are permitted (``fine'' mode). ! Normally characters printed on a half line boundary are printed on the following line. .It Fl x Output multiple spaces instead of tabs. --- 48,75 ---- .Op Fl bfx .Op Fl l Ar num .Sh DESCRIPTION ! .Nm ! filters out reverse (and half-reverse) line feeds so that the output is ! in the correct order with only forward and half-forward line ! feeds, and replaces whitespace characters with tabs where possible. This can be useful in processing the output of .Xr nroff 1 and .Xr tbl 1 . .Pp ! .Nm reads from the standard input and writes to the standard output. .Pp The options are as follows: ! .Bl -tag -width "-l num" .It Fl b Do not output any backspaces, printing only the last character written to each column position. .It Fl f ! Forward half-line feeds are permitted ! .Pf ( Ns Dq fine ! mode). ! Normally characters printed on a half-line boundary are printed on the following line. .It Fl x Output multiple spaces instead of tabs. *************** *** 79,122 **** .El .Pp The control sequences for carriage motion that ! .Nm col understands and their decimal values are listed in the following table: .Pp .Bl -tag -width "carriage return" -compact .It ESC\-7 ! reverse line feed (escape then 7) .It ESC\-8 ! half reverse line feed (escape then 8) .It ESC\-9 ! half forward line feed (escape then 9) .It backspace ! moves back one column (8); ignored in the first column .It carriage return (13) .It newline ! forward line feed (10); also does carriage return .It shift in ! shift to normal character set (15) .It shift out ! shift to alternate character set (14) .It space ! moves forward one column (32) .It tab ! moves forward to next tab stop (9) .It vertical tab ! reverse line feed (11) .El .Pp All unrecognized control characters and escape sequences are discarded. .Pp ! .Nm col keeps track of the character set as characters are read and makes sure the character set is correct when they are output. .Pp If the input attempts to back up to the last flushed line, ! .Nm col will display a warning message. .Sh SEE ALSO .Xr expand 1 , --- 81,124 ---- .El .Pp The control sequences for carriage motion that ! .Nm understands and their decimal values are listed in the following table: .Pp .Bl -tag -width "carriage return" -compact .It ESC\-7 ! Reverse line feed (escape then 7). .It ESC\-8 ! Half reverse line feed (escape then 8). .It ESC\-9 ! Half forward line feed (escape then 9). .It backspace ! Moves back one column (8); ignored in the first column. .It carriage return (13) .It newline ! Forward line feed (10); also does carriage return. .It shift in ! Shift to normal character set (15). .It shift out ! Shift to alternate character set (14). .It space ! Moves forward one column (32). .It tab ! Moves forward to next tab stop (9). .It vertical tab ! Reverse line feed (11). .El .Pp All unrecognized control characters and escape sequences are discarded. .Pp ! .Nm keeps track of the character set as characters are read and makes sure the character set is correct when they are output. .Pp If the input attempts to back up to the last flushed line, ! .Nm will display a warning message. .Sh SEE ALSO .Xr expand 1 , *************** *** 124,129 **** .Xr tbl 1 .Sh HISTORY A ! .Nm col ! command appeared in .At v6 . --- 126,131 ---- .Xr tbl 1 .Sh HISTORY A ! .Nm ! command appeared in .At v6 .