Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

resgen(1) [debian man page]

resgen(resgen 1.0)														resgen(resgen 1.0)

NAME
resgen, resgen2 - Mono/CLI Resource Generator SYNOPSIS
resgen source.ext [dest.ext] resgen /compile source.ext[,dest.resources] [...] resgen2 DESCRIPTION
Convert a resource file from one format to another. The currently supported formats are text, resources, resx and po. .txt, .text Used to process text files, the format of the text file is of the form: key=value The value argument can contain special characters as long as they are escaped. The escape sequences currently supported are , , , \ (to get the escape sequence itself) and with resgen2 unicode escape sequences are supported with the uXXXX escape sequence, where XXXX is a four digit number. Lines that start with the # or ; character are considered comments and ignored. '.resources' This is the binary file format implemented by the System.Resources.ResourceReader class, part of mscorlib.dll '.resx' This is the binary file format implemented by the System.Resources.ResXResourceReader class. This class is not part of mscor- lib.dll, this class is part of System.Windows.Forms. '.po'. PO files are the source files used by the Unix gettext infrastructure that is typically used to internationalize applications. Lines starting with the '#' character are comment lines. The file contains many instance of strings like this: msgid KEY msgstr VALUE The KEY is typically the string to translate and the VALUE is the translation. On PO files instead of using codes as the KEY (as it is customary with resource files) the KEY is typically a complete english message that applications embed in their source code and will be used as a fallback if no translation resources are used. Since resources are key value pairs, the extended features in PO files are not supported (plurals and support for N-cases). To learn more about the po file format, use your info browser and point it to the "(gettext)PO Files" node. If the destination file is not specified, source.resources will be used. The /compile option takes a list of .resX or .txt files to convert to the output file name. OPTIONS
-compile This switch instructs resgen to compile multiple files. It must appear before any resources are specified on the command line. -usesourcepath This option is only available for resgen2, and it instructs resgen to resolve relative paths using the directory of the resx file as current directory. FILES
This program will load referenced assemblies from the Mono assembly cache. MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details. WEB SITE
Visit: http://www.mono-project.com for details SEE ALSO
mcs(1),mono(1),mono-config(5). resgen(resgen 1.0)

Check Out this Related Man Page

Mono(Mono 1.0)															    Mono(Mono 1.0)

NAME
mono-service, mono-service2 - Mono ServiceProcess host SYNOPSIS
mono-service [options] program.exe DESCRIPTION
The mono-service is a host to run services built with the ServiceProcess assembly. Use mono-service to run services that use the 1.0 assemblies and use mono-service2 to run services that use the 2.0 assemblies. Services can be paused by sending the SIGUSR1 signal to the process, and execution can be resumed by sending the SIGUSR2 signal. The ser- vice can be cleanly shutdown by sending the SIGTERM signal to the process. Mono programs started with mono-service run with the MONO_DISABLE_SHM variable set. This means that certain Mono features that depend on it are not available to services. The following options can be used to control the service: -d:DIRECTORY Use this option to specify the working directory for the service. The default is the current directory. -l:LOCKFILE Specifies the file to use for locking, the default is a filename constructed in /tmp based on the name of the program that hosts the service. -m:MESSAGE Name to show in the syslog. -n:NAME Use this to specify the service to be launched (if the program contains more than one service). The default is to run the first defined service. --debug Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background. Equivalent to --no-daemon --no-daemon Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background. Equivalent to --debug. CONTROL
You can control the service by sending signals to the process, you can use the following commands: Pausing service: kill -USR1 `cat <lock file>` Resuming service: kill -USR2 `cat <lock file>` Stopping the service: kill `cat <lock file>` EXAMPLES
Start the MyService.exe assembly, with a lock in /root/service-lock: mono-service -l:/root/service-lock MyService.exe DEBUGGING
Messages produced by the service are logged on syslog. MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-list for details. WEB SITE
Visit: http://www.mono-project.com for details SEE ALSO
mono(1) N:System.ServiceProcess Mono(Mono 1.0)
Man Page