Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XHPRoman8To(3X) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XLookupKeysym(3X)

XHPKeysymToRoman8(3X)  —  X Version 11

Release 5

NAME

XHPKeysymToRoman8, XHPRoman8ToKeysym - convert between X KeySyms and HP Roman8 characters

SYNTAX

int XHPKeysymToRoman8(keysym, r8_return)
KeySym keysym;
char *r8_return;
 KeySym XHPRoman8ToKeysym(r8_char)
char r8_char;

ARGUMENTS

keysym An X11 KeySym. 

r8_return A pointer to a location to receive the converted Roman 8 character corresponding to keysym, if any. 

r8_char An HP Roman 8 character. 

DESCRIPTION

XHPKeysymToRoman8 takes an X11 KeySym and converts it to an HP Roman 8 character. The character is returned to the location pointed to by r8_return. If no Roman 8 equivalent for keysym exists, then XHPKeysymToRoman8 returns 0 and *r8_return is unchanged. If the conversion succeeds, then XHPKeysymToRoman8 returns 1. 

XHPRoman8ToKeysym takes an HP Roman8 character and returns an X11 KeySym. 

Most of the KeySyms returned by XHPRoman8ToKeysym will be in the ISO Latin 1 set and TTY functions .  Two of the characters in the Roman 8 set (’S’ with caron and ’s’ with caron) convert to KeySyms in the ISO Latin 2 set.  Some KeySyms returned are unique to HP because Roman 8 contains characters that were not encoded in the KeySyms distributed by MIT. 

ORIGIN

Hewlett-Packard Company

SEE ALSO

XLookupKeysym(3X)
Programming With Xlib

Hewlett-Packard Company  —  HP-UX 9.0 August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026