Merge commit '008b34be09d7b9c3e7a18d3ce9ef8b5c4f4ff8b8'
[unleashed.git] / share / man / man1 / dumpcs.1
blobae5f6242b23a143f89d33c3edcb7c6a542dc9276
1 '\" te
2 .\"  Copyright (c) 1996, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH DUMPCS 1 "Dec 20, 1996"
7 .SH NAME
8 dumpcs \- show codeset table for the current locale
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBdumpcs\fR [\fB-0123vw\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBdumpcs\fR shows a list of printable characters for the user's current
19 locale, along with their hexadecimal code values. The display device is assumed
20 to be capable of displaying characters for a given locale. With no option,
21 \fBdumpcs\fR displays the entire list of printable characters for the current
22 locale.
23 .sp
24 .LP
25 With one or more numeric options specified, it shows \fBEUC\fR codeset(s) for
26 the current locale according to the numbers specified, and in order of codeset
27 number. Each non-printable character is represented by an asterisk "*" and
28 enough \fBASCII\fR space character(s) to fill that codeset's column width.
29 .SH OPTIONS
30 .sp
31 .ne 2
32 .na
33 \fB\fB-0\fR \fR
34 .ad
35 .RS 7n
36 Show \fBASCII\fR (or \fBEUC\fR primary) codeset.
37 .RE
39 .sp
40 .ne 2
41 .na
42 \fB\fB-1\fR \fR
43 .ad
44 .RS 7n
45 Show \fBEUC\fR codeset 1, if used for the current locale.
46 .RE
48 .sp
49 .ne 2
50 .na
51 \fB\fB-2\fR \fR
52 .ad
53 .RS 7n
54 Show \fBEUC\fR codeset 2, if used for the current locale.
55 .RE
57 .sp
58 .ne 2
59 .na
60 \fB\fB-3\fR \fR
61 .ad
62 .RS 7n
63 Show \fBEUC\fR codeset 3, if used for the current locale.
64 .RE
66 .sp
67 .ne 2
68 .na
69 \fB\fB-v\fR \fR
70 .ad
71 .RS 7n
72 "Verbose". Normally, ranges of non-printable characters are collapsed into a
73 single line. This option produces one line for each non-printable character.
74 .RE
76 .sp
77 .ne 2
78 .na
79 \fB\fB-w\fR \fR
80 .ad
81 .RS 7n
82 Replace code values with corresponding wide character values (process codes).
83 .RE
85 .SH ENVIRONMENT VARIABLES
86 .sp
87 .LP
88 The environment variables \fBLC_CTYPE\fR and \fBLANG\fR control the character
89 classification throughout \fBdumpcs\fR. On entry to \fBdumpcs\fR, these
90 environment variables are checked in that order. This implies that a new
91 setting for \fBLANG\fR does not override the setting of \fBLC_CTYPE\fR. When
92 none of the values is valid, the character classification defaults to the
93 POSIX.1 "C" locale.
94 .SH SEE ALSO
95 .sp
96 .LP
97 \fBlocaledef\fR(1), \fBattributes\fR(5)
98 .SH NOTES
99 .sp
101 \fBdumpcs\fR can only handle \fBEUC\fR locales.