col.1 (da52b4caaf187775f6b56a72c6b16e94ad728f7b) col.1 (7bc60a161677faa9fce8d0a5e50e66cc06c22245)
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Michael Rendell.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)col.1 8.1 (Berkeley) 6/29/93
32.\" $FreeBSD$
33.\"
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Michael Rendell.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)col.1 8.1 (Berkeley) 6/29/93
32.\" $FreeBSD$
33.\"
34.Dd August 4, 2004
34.Dd May 10, 2015
35.Dt COL 1
36.Os
37.Sh NAME
38.Nm col
39.Nd filter reverse line feeds from input
40.Sh SYNOPSIS
41.Nm
42.Op Fl bfhpx

--- 34 unchanged lines hidden (view full) ---

77Normally,
78.Nm
79will filter out any control sequences from the input other than those
80recognized and interpreted by itself, which are listed below.
81.It Fl x
82Output multiple spaces instead of tabs.
83.El
84.Pp
35.Dt COL 1
36.Os
37.Sh NAME
38.Nm col
39.Nd filter reverse line feeds from input
40.Sh SYNOPSIS
41.Nm
42.Op Fl bfhpx

--- 34 unchanged lines hidden (view full) ---

77Normally,
78.Nm
79will filter out any control sequences from the input other than those
80recognized and interpreted by itself, which are listed below.
81.It Fl x
82Output multiple spaces instead of tabs.
83.El
84.Pp
85The control sequences for carriage motion that
85In the input stream,
86.Nm
86.Nm
87understands and their decimal values are listed in the following
88table:
87understands both the escape sequences of the form escape-digit
88mandated by
89.St -susv2
90and the traditional
91.Bx
92format escape-control-character.
93The control sequences for carriage motion and their ASCII values
94are as follows:
89.Pp
90.Bl -tag -width "carriage return" -compact
95.Pp
96.Bl -tag -width "carriage return" -compact
97.It ESC\-BELL
98reverse line feed (escape then bell).
91.It ESC\-7
99.It ESC\-7
92reverse line feed (escape then 7)
100reverse line feed (escape then 7).
101.It ESC\-BACKSPACE
102half reverse line feed (escape then backspace).
93.It ESC\-8
103.It ESC\-8
94half reverse line feed (escape then 8)
104half reverse line feed (escape then 8).
105.It ESC\-TAB
106half forward line feed (escape than tab).
95.It ESC\-9
107.It ESC\-9
96half forward line feed (escape then 9)
108half forward line feed (escape then 9).
109In
110.Fl f
111mode, this sequence may also occur in the output stream.
97.It backspace
98moves back one column (8); ignored in the first column
99.It carriage return
100(13)
101.It newline
102forward line feed (10); also does carriage return
103.It shift in
104shift to normal character set (15)

--- 48 unchanged lines hidden ---
112.It backspace
113moves back one column (8); ignored in the first column
114.It carriage return
115(13)
116.It newline
117forward line feed (10); also does carriage return
118.It shift in
119shift to normal character set (15)

--- 48 unchanged lines hidden ---