Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmregistersegmentencoding(3x) [osf1 man page]

XmRegisterSegmentEncoding(3X)											     XmRegisterSegmentEncoding(3X)

NAME
XmRegisterSegmentEncoding - A compound string function that registers a compound text encoding format for a specified font list element tag SYNOPSIS
#include <Xm/Xm.h> char * XmRegisterSegmentEncoding (fontlist_tag, ct_encoding) char *fontlist_tag; char *ct_encoding; DESCRIPTION
XmRegisterSegmentEncoding registers a compound text encoding format with the specified font list element tag. The XmCvtXmStringToCT func- tion uses this registry to map the font list tags of compound string segments to compound text encoding formats. Registering a font list tag that already exists in the registry overwrites the original entry. You can unregister a font list tag by passing a NULL value for the ct_encoding parameter. Specifies the font list element tag to be registered. The tag must be a NULL-terminated ISO8859-1 string. Speci- fies the compound text character set to be used for segments with the font list tag. The value must be a NULL-terminated ISO8859-1 string. A value of XmFONTLIST_DEFAULT_TAG maps the specified font list tag to the code set of the locale. RETURN VALUE
Returns NULL for a new font list tag or the old ct_encoding value for an already registered font list tag. The application is responsible for freeing the storage associated with the returned data (if any) by calling XtFree. SEE ALSO
XmCvtXmStringToCT(3X), XmFontList(3X), XmMapSegmentEncoding(3X), XmString(3X) XmRegisterSegmentEncoding(3X)

Check Out this Related Man Page

XmRegisterSegmentEncoding(library call) 								   XmRegisterSegmentEncoding(library call)

NAME
XmRegisterSegmentEncoding -- A compound string function that registers a compound text encoding format for a specified font list element tag SYNOPSIS
#include <Xm/Xm.h> char * XmRegisterSegmentEncoding( char *fontlist_tag, char *ct_encoding); DESCRIPTION
XmRegisterSegmentEncoding registers a compound text encoding format with the specified font list element tag. The XmCvtXmStringToCT func- tion uses this registry to map the font list tags of compound string segments to compound text encoding formats. Registering a font list tag that already exists in the registry overwrites the original entry. You can unregister a font list tag by passing a NULL value for the ct_encoding parameter. fontlist_tag Specifies the font list element tag to be registered. The tag must be a NULL-terminated ISO8859-1 string. ct_encoding Specifies the compound text character set to be used for segments with the font list tag. The value must be a NULL-terminated ISO8859-1 string. A value of XmFONTLIST_DEFAULT_TAG maps the specified font list tag to the code set of the locale. RETURN
Returns NULL for a new font list tag or the old ct_encoding value for an already registered font list tag. The application is responsible for freeing the storage associated with the returned data (if any) by calling XtFree. RELATED
XmCvtXmStringToCT(3), XmFontList(3), XmMapSegmentEncoding(3), and XmString(3). XmRegisterSegmentEncoding(library call)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Does Sed Search/Replace Work For Multiple Matches On The Same Line?

Hello, I would like to delete all the footnotes in all my htm files. Hence, I have to delete the whole font tag pairs, i.e. deleting everything between the begin/end font tags. I create a testfile, of which data parts of all four lines are the same except for the number of font tag pairs,... (3 Replies)
Discussion started by: cibalo
3 Replies

2. Shell Programming and Scripting

Search and Append

All, I stuck up for the logic, how to implement the below thing in script. -Search for <a class="string-array"> line and in next line of search string append with <string>java</string> in a xml file The problem here is, <a class="string-array"> occurs multiple places in the xml. I just... (13 Replies)
Discussion started by: vino_hymi
13 Replies

3. Shell Programming and Scripting

Help with allocated text content based on specific rules...

Input file format: /tag="ABL" /note="abl homolog 2 /tag="ABLIM1" /note="actin binding LIM 1 /tag="ABP1" /note="amiloride binding protein 1 (amine oxidase (copper- containing)) /tag="ABR" /note="active BCR-related /tag="AC003042.1" /note="SDR family member 11 precursor . . . (4 Replies)
Discussion started by: perl_beginner
4 Replies

4. UNIX for Advanced & Expert Users

How to extract info from text file between the tags

Hi, I have a text file with member information... B]Name is in H1 tag Title is in H2 tag Email is in <a id="ctl00_ContentPlaceHolder3_repeaterItems_ctl01_lbnEmailMe" href="javascript:__doPostBack('ctl00$ContentPlaceHolder3$repeaterItems$ctl01$lbnEmailMe','')">someone@company.com</a> Location:... (6 Replies)
Discussion started by: igurv
6 Replies

5. Shell Programming and Scripting

Extracting a string from html tag

Hi I am new to string extractions in shell script... I am trying to extract a string such as #1753 from html tag looks like below. <a class="model-link tl-tr" href="lastSuccessfulBuild/">Last successful build (#1753), 40 min ago</a> and want the value as 1753 Could someone help me to... (3 Replies)
Discussion started by: hicharbo
3 Replies

6. UNIX for Beginners Questions & Answers

Change text font to greater one in this very good MOTIF texteditor ?

Hi, i have here found a very good texteditor source code programmed in the MOTIF GUI language. For myself i need NOTHING else to program. To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code. The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies