xref: /titanic_44/usr/src/man/man1/dumpcs.1 (revision ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab)
te
Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved
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.
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.
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]
DUMPCS 1 "Dec 20, 1996"
NAME
dumpcs - show codeset table for the current locale
SYNOPSIS

dumpcs [-0123vw]
DESCRIPTION

dumpcs shows a list of printable characters for the user's current locale, along with their hexadecimal code values. The display device is assumed to be capable of displaying characters for a given locale. With no option, dumpcs displays the entire list of printable characters for the current locale.

With one or more numeric options specified, it shows EUC codeset(s) for the current locale according to the numbers specified, and in order of codeset number. Each non-printable character is represented by an asterisk "*" and enough ASCII space character(s) to fill that codeset's column width.

OPTIONS
-0

Show ASCII (or EUC primary) codeset.

-1

Show EUC codeset 1, if used for the current locale.

-2

Show EUC codeset 2, if used for the current locale.

-3

Show EUC codeset 3, if used for the current locale.

-v

"Verbose". Normally, ranges of non-printable characters are collapsed into a single line. This option produces one line for each non-printable character.

-w

Replace code values with corresponding wide character values (process codes).

ENVIRONMENT VARIABLES

The environment variables LC_CTYPE and LANG control the character classification throughout dumpcs. On entry to dumpcs, these environment variables are checked in that order. This implies that a new setting for LANG does not override the setting of LC_CTYPE. When none of the values is valid, the character classification defaults to the POSIX.1 "C" locale.

SEE ALSO

localedef(1), attributes(5)

NOTES

dumpcs can only handle EUC locales.