Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wmc(1) [suse man page]

WMC(1)							      Wine Developers Manual							    WMC(1)

NAME
wrc - Wine Message Compiler SYNOPSIS
wmc [options] [inputfile] DESCRIPTION
wmc compiles messages from inputfile into FormatMessage[AW] compatible format encapsulated in a resourcescript format. wmc outputs the data either in a standard .bin formatted binary file, or can generated inline resource data. wmc takes only one inputfile as argument (see BUGS). The inputfile normally has extension .mc. The messages are read from standard input if no inputfile is given. If the outputfile is not specified with -o, then wmc will write the output to inputfile.{rc,h}. The outputfile is named wmc.tab.{rc,h} if no inputfile was given. OPTIONS
-B x Set output byte-order x={n[ative], l[ittle], b[ig]}. Default is n[ative]. -c Set 'custom-bit' in message-code values. -d NON-FUNCTIONAL; Use decimal values in output -D Set debug flag. This results is a parser trace and a lot of extra messages. -h Print an informative usage message. -H file Write headerfile to file. Default is inputfile.h. -i Inline messagetable(s). This option skips the generation of all .bin files and writes all output into the .rc file. This encoding is parsable with wrc(1). -o file Output to file. Default is inputfile.rc. -u Assume that the inputfile is in unicode. -U Write resource output in unicode formatted messagetable(s). -v Show all supported codepages and languages. -V Print version end exit. -W Enable pedantic warnings. EXTENSIONS
The original syntax is extended to support codepages more smoothly. Normally, codepages are based on the DOS-codepage from the language setting. The original syntax only allows the destination codepage to be set. However, this is not enough for non-DOS systems which do not use unicode source-files. A new keyword Codepages is introduced to set both input and output codepages to anything one wants for each language. The syntax is similar to the other constructs: Codepages '=' '(' language '=' cpin ':' cpout ... ')' The language is the numerical language-ID or the alias set with LanguageNames. The input-codepage cpin and output-codepage cpout are the numerical codepage-IDs. There can be multiple mapping within the definition and the definition may occur more than once. AUTHORS
wmc was written by Bertho A. Stultiens. BUGS
The message compiler should be able to have multiple inputfiles and combine them into one outputfile. This would enable the splitting of languages into separate files. Unicode detection of the input is suboptimal, to say the least. It should recognize byte-order-marks (BOM) and decide what to do. Decimal output is completely lacking. Don't know whether it should be implemented because it is a, well, non-informative format change. It is recognized on the commandline for some form of compatibility. AVAILABILITY
wmc is part of the wine distribution, which is available through WineHQ, the wine development headquarters, at http://www.winehq.org/. SEE ALSO
wine(1), wrc(1) Wine 1.2-rc6 October 2005 WMC(1)

Check Out this Related Man Page

LOCALEDEF(1)						      General Commands Manual						      LOCALEDEF(1)

NAME
localedef - compile locale definition files SYNOPSIS
localedef [-f charmapfile] [-i inputfile] [--force] [--verbose] [--posix] [--quiet] outputpath localedef --version localedef --help DESCRIPTION
The localedef program reads the indicated charmap and input files, compiles them to a form usable by the locale(7) functions in the C library, and places the six output files in the outputpath directory. If no charmapfile is given, POSIX is used by default. If no inputfile is given, or if it is given as -, localedef reads from standard input. OPTIONS
Most options can have either short or long forms. If multiple short options are used, they can be combined in one word (e.g. -cv). If an option takes an argument, the argument can be given separately as the next word, or it can be written as option=argument. -f charmapfile, --charmap=charmapfile Specify the file that defines the symbolic character names that are used by the input file. If the file is in the default directory for character maps, it is not necessary to specify the full pathname. This default directory is printed by localedef --help. -i inputfile, --inputfile=inputfile Specify the locale definition file to compile. If inputfile is not absolute, localedef will also look in the directory specified by the environment variable I18NPATH and in the default directory for locale definition files. This default directory is printed by localedef --help. -c, --force Write the output files even if warnings were generated about the input file. -v, --verbose Generate extra warnings about errors that are normally ignored. --quiet Suppress all notifications and warnings, and report only fatal errors. --posix Be strictly POSIX conformant. Implies --verbose. This option currently has no other effect. Posix conformance is assumed if the environment variable POSIXLY_CORRECT is set. -u codeset, --code-set-name=codeset This option is accepted but ignored. -h, --help Print a usage summary and exit. Also prints the default paths used by localedef. -V, --version Print the version number, license, and disclaimer of warranty for localedef. ENVIRONMENT
POSIXLY_CORRECT The --posix flag is assumed if this environment variable is set. I18NPATH The default directory for locale definition files. FILES
/usr/share/i18n/charmaps Usual default charmap path. /usr/share/locale Usual default output path. See the output from localedef --help for the paths used in your version. outputpath/LC_COLLATE One of the output files. It describes the rules for comparing strings in the locale's alphabet. outputpath/LC_CTYPE One of the output files. It contains information about character cases and case conversions for the locale. outputpath/LC_MONETARY One of the output files. It describes the way monetary values should be formatted in the locale. outputpath/LC_MESSAGES/SYS_LC_MESSAGES One of the output files. It contains information about the language messages should be printed in, and what an affirmative or nega- tive answer looks like. outputpath/LC_NUMERIC One of the output files. It describes the rules for formatting numbers in the locale. outputpath/LC_TIME One of the output files. It describes the rules for formatting times and dates in the locale. SEE ALSO
locale(5), locale(7), locale(1) AUTHOR
The program was written by Ulrich Drepper. This manpage was written by Richard Braakman <dark@xs4all.nl> on behalf of the Debian GNU/Linux Project and anyone else who wants it. The manpage is not supported by the GNU libc maintainers and may be out of date. STANDARDS
This program conforms to the POSIX standard P1003.2 Red Hat Linux March 2001 LOCALEDEF(1)
Man Page