Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xhpgeteurasiancvt(3x) [hpux man page]

XHPGetEurasianCvt(3X)													     XHPGetEurasianCvt(3X)

NAME
XHPGetEurasianCvt - return the convert routine for Eurasian keyboards SYNOPSIS
#include <X11/XHPlib.h> PFI XHPGetEurasianCvt(display) Display *display; DESCRIPTION
XHPGetEurasianCvt will return the convert routine required by XHPConvertLookup to convert keysyms to HP character codes. The display argument is used to identify the keymap currently associated with the display structure. Note that calling XHPGetEurasianCvt forces all convert routines for all character sets that correspond to HP keyboards to be linked with your code. If this is not desired, this routine should not be used. Users of this routine will also want to perform initialization of the keyboard previous to its use in XHPConvertLookup. A macro has been provided that will do this. This macro, XHPInputInit, should be called as part of the initialization of any client making use XHPGetEurasianCvt. XHPConvertLookup and XHPGetEurasianCvt are provided for backwards compatibility only; these routines will be discontinued in a future release of HP-UX. Users desiring the same capabilities as those provided by these routines should use XOpenIM, XCreateIC, and XmbLookupString. RETURN VALUE
XHPGetEurasianCvt returns a pointer to the convert routine if it succeeds; it returns zero upon failure. EXAMPLES
The following is an extract from an application that supports all the default character sets for HP's Eurasian keyboards. The call to XHPConvertLookup converts a keyevent to a keysym, and then into a string of characters. The function returned by XHPGetEurasianCvt tells XHPConvertLookup into which HP character set the string is to be encoded. Display *display; XComposeStatus *status; XHPInputInit(display, status); . . . count = XHPConvertLookup (event, buffer, nbytes, &keysym, status, XHPGetEurasianCvt(display)); ORIGIN
Hewlett-Packard Company SEE ALSO
XHPConvertLookup(3X), XHPInputChinese_s(3X), XHPInputChinese_t(3X), XHPInputJapanese(3X), XHPInputKorean(3X), XHPInputRoman8(3X), XHPSetKeyboardMapping(3X) X Version 11 Release 5 XHPGetEurasianCvt(3X)

Check Out this Related Man Page

XHPInputISO7sub(3X)													       XHPInputISO7sub(3X)

NAME
XHPInputISO7sub - map keysyms into ISO 7-bit substitution characters. SYNOPSIS
int XHPInputISO7sub(display, keysym, modifiers, buffer_return, bytes_buffer, status_in_out) Display *display; KeySym *keysym; unsigned int modifiers; char *buffer_return; int bytes_buffer; XComposeStatus *status_in_out; DESCRIPTION
display Specifies the connection to the X server. keysym Specifies the keysym that is to be converted into an ISO 7-bit substitution character. modifiers Specifies the modifiers to be applied to the keysym. buffer_return Returns the translated characters. bytes_buffer Specifies the length of the buffer. No more than bytes_buffer of translation are returned. status_in_out Specifies the XComposeStatus structure. XHPInputISO7sub will convert keysym into a ISO 7-bit substitution character, if appropriate. This routine will also process the control modifier. The return value is the length of the string returned in buffer_return. This routine is intended to be used in conjunction with XHPConvertLookup. status_in_out is used to hold the information necessary to perform 7-bit substitution input. This structure must contain null values before this routine is first invoked, and must remain unchanged between uses. XHPConvertLookup and XHPInputISO7sub are provided for backwards compatibility only; these routines will be discontinued in a future release of HP-UX. The operating system provides no direct support for processing ISO 7-bit substitution characters. Users of ISO 7-bit substitution character set should migrate their data to a supported 8-bit encoding, such as ISO 8859.1. Additionally, users desiring the same capabilities as those provided by these routines should use XOpenIM, XCreateIC, and XmbLookupString. ORIGIN
Hewlett-Packard Company SEE ALSO
XHPConvertLookup(3X) X Version 11 Release 5 XHPInputISO7sub(3X)
Man Page