File: dotextwrap.1

package info (click to toggle)
libtextwrap 0.1-13
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,416 kB
  • sloc: sh: 8,186; ansic: 322; makefile: 77; perl: 38
file content (47 lines) | stat: -rw-r--r-- 1,781 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.\" dotextwrap.1   -*- nroff -*-
.TH dotextwrap 1 "2003-08-24"
.SH NAME
dotextwrap \- line-folding (text-wrapping) filter program with i18n support
.SH SYNOPSIS
dotextwrap [<columns> [<tabs> [<header1> [<header2>]]]]
.\" ********************************************************************
.SH DESCRIPTION
\fBdotextwrap\fR is a small filter to wrap text or fold lines.  
Text-wrapping means formatting a given text by adding newline
characters at proper positions so that the text fits the given
width (or number of columns) of the terminal.
.P
Since this is a filter, it reads from standard input and writes
to standard output.
.P
Unlike other softwares, this supports internationalization.
.P
At first, this automatically detects the \fBcurrent LC_CTYPE locale\fR
and follows it.
.P
Next, this supports \fBmultibyte encodings\fR such as UTF-8 and EUC-JP.
In multibyte encodings, one character consists from one or more bytes.
.P
Third, this supports \fBfullwidth characters\fR such as CJK Ideogram,
Katakana, Hiragana, and Hangul.  These characters occupy two columns
per one character on the terminal.
.P
Forth, this supports \fBcombining characters\fR such as Thai and accents
for Latin scripts.  These characters occupy zero columns per one character
on the terminal.
.P
Fifth, this supports languages which do not use whitespaces between
words.  In these languages, lines can be folded at any places with
small amount of exception (such as before commas).
.\" ********************************************************************
.SH SEE ALSO
Manual pages of
\fBtextwrap\fR(3),
\fBsetlocale\fR(3),
\fBlocale\fR(7),
\fBcharsets\fR(7), and
\fBUTF-8\fR(7).
.\" ********************************************************************
.SH AUTHOR
Tomohiro KUBOTA <kubota@debian.org>.