runidn − A script to allow applications to use internationalized domain names.
runidn [-e local-codeset] program-name [args..]
runidn enables applications to use internationalized domain names without recompilation. Just add ‘‘runidn’’ before the application-name, and the application can handle non-ASCII domain names. For example, you can do:
% runidn telnet non-ASCII-hostname
Before using runidn, you should set up properties related to internationalized DNS by configuring idnkit’s configuration file idn.conf. See idn.conf(5) which describes the configuration.
option is available:
Specify the application’s local codeset. If the option is not specified, runidn guesses the codeset from the current locale. See the ‘‘NOTE’’ section for more details about local codeset.
runidn is a small shell script that sets up an environment variable called ‘‘LD_PRELOAD’’, so that an application dynamically links a shared library ‘‘libidnkitres’’ before any other shared libraries.
The library ‘‘libidnkitres’’ provides a special version of resolver functions which implement features for handling internationalized domain names. runidn replaces the following functions with the special version:
By overriding them in the standard libraries with the special version provided by ‘‘libidnkitres’’, runidn enables applications to use internationalized domain names.
These API functions accept non-ASCII domain names encoded in the local codeset that the application is using. Also the result from these APIs may contain non-ASCII domain names.
The normalization and codeset conversion between application’s local codeset and the codeset used in DNS protocol data are handled automatically, so users/applications need not worry about them.
Properties of internationalized DNS (such as the normalization or the codeset used on DNS protocol data) can be configured with the idnkit’s configuration file (idn.conf). See idn.conf(5) for details.
Unless −e option is specified, runidn tries to guess the application’s local codeset from the application’s current locale. However, sometimes it cannot guess the codeset correctly, for example if the application does not set the locale appropriately by calling ‘setlocale()’. In that case, you can explicitly specify the local codeset by setting an environment variable ‘‘IDN_LOCAL_CODESET’’. See the section ‘‘LOCAL CODESET’’ in idn.conf(5) for details.
The idea of using ‘‘LD_PRELOAD’’ to replace some functions in the standard library was taken from ‘‘runsocks’’ script distributed as part of SOCKS5 reference implementation.
There are many cases where runidn does not work.
Your system must support ‘‘LD_PRELOAD’’ mechanism in the first place.
Due to security reasons, ‘‘LD_PRELOAD’’ mechanism is disabled for setuid programs in any sane systems. So runidn does not work for setuid programs such as ping or rsh.
If your application uses a function other than the ones runidn supports for name resolution, you lose.
More Linux Commands
gnutls_x509_crt_set_crq_extensions(3) - API function........
This function will set extensions from the given request to the certificate. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error va
setstate_r(3) - reentrant random number generator (ManPage)
These functions are the reentrant equivalents of the functions described in random(3). They are suitable for use in multithreaded programs where each thread nee
ether-wake(8) A tool to send a Wake-On-LAN Magic Packet.....
This manual page documents the usage of the ether-wake command. ether-wake is a program that generates and transmits a Wake-On-LAN (WOL) Magic Packet, used for
Tcl_ServiceEvent(3) - the event queue and notifier interface
The interfaces described here are used to customize the Tcl event loop. The two most common customizations are to add new sources of events and to merge Tcls ev
jmacs(1) - Joe's Own Editor (Commands - Linux man page).....
JOE is a powerful ASCII-text screen editor. It has a mode-less user interface which is similar to many user-friendly PC editors. Users of Micro-Pros WordStar or
gv2gxl(1) - GXL-GV converters (Commands - Linux man page)...
gxl2gv converts between graphs represented in GXL and in the GV language. Unless a conversion type is specified using a flag, gxl2gv will deduce the type of con
mode2(1) - shows the pulse/space length of infrared signals
mode2.1 - The main purpose of these programs is to check operation of your home-brew LIRC receiver hardware and to see the IR waveform of the remote controller
FcFontSetAdd(3) - Add to a font set - Linux manual page.....
Adds a pattern to a font set. Note that the pattern is not copied before being inserted into the set. Returns FcFalse if the pattern cannot be inserted into the
smart_agetty(1) - Emulate agetty for a non vga/framebuffer c
smart_agetty is a wrapper script around agetty. It accepts the following options: OPTIONS -i|-h|-L|-m|-n|-w|<options> Normal getty options. See $ man 8 agetty f
XkbKeyGroupsWidth(3) - Computes the maximum width associated
XkbKeyGroupsWidth.3 - The key width and number of groups associated with a key are used to form a small two-dimensional array of KeySyms for a key. This array m
scanf(3) - input format conversion - Linux manual page......
The scanf() family of functions scans input according to format as described below. This format may contain conversion specifications; the results from such con
podofoimpose(1) A powerful PDF imposition tool (Man Page)...
podofoimpose is one of the command line tools from the PoDoFo library that provide several useful operations to work with PDF files. It can do imposition of the