Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

minput_set_spot(3m17n) [debian man page]

minput_set_spot(3m17n)						 The m17n Library					    minput_set_spot(3m17n)

NAME
minput_set_spot - Set the spot of the input context. SYNOPSIS
void minput_set_spot (MInputContext * ic, int x, int y, int ascent, int descent, int fontsize, MText * mt, int pos) DESCRIPTION
Set the spot of the input context. The minput_set_spot() function sets the spot of input context ic to coordinate (x, y ) with the height specified by ascent and descent. The semantics of these values depends on the input method driver. For instance, a driver designed to work in a CUI environment may use x and y as the column- and row numbers, and may ignore ascent and descent. A driver designed to work in a window system may interpret x and y as the pixel offsets relative to the origin of the client window, and may interpret ascent and descent as the ascent- and descent pixels of the line at (x. y ). fontsize specifies the fontsize of preedit text in 1/10 point. mt and pos are the M-text and the character position at the spot. mt may be NULL, in which case, the input method cannot get information about the text around the spot. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 minput_set_spot(3m17n)

Check Out this Related Man Page

mdraw_default_line_break(3m17n) 				 The m17n Library				   mdraw_default_line_break(3m17n)

NAME
mdraw_default_line_break - Calculate a line breaking position. SYNOPSIS
int mdraw_default_line_break (MText * mt, int pos, int from, int to, int line, int y) DESCRIPTION
Calculate a line breaking position. The function mdraw_default_line_break() calculates a line breaking position based on the line number line and the coordinate y, when a line is too long to fit within the width limit. pos is the position of the character next to the last one that fits within the limit. from is the position of the first character of the line, and to is the position of the last character displayed on the line if there were not width limit. line and y are reset to 0 when a line is broken by a newline character, and incremented each time when a long line is broken because of the width limit. RETURN VALUE
This function returns a character position to break the line. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 mdraw_default_line_break(3m17n)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl help please!

I want to write text to a file, but i want it inserted at a specific spot in the file. How would this be best performed? I want to insert this text: DAEMON_OPTIONS(`Name=NoMTA4, Family=inet, Addr=127.0.0.1')dnl FEATURE(`no_default_msa')dnl Inserted into this file below , anywhere before the... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

2. IP Networking

The "right" Way to Configure Reverse Zones?

I'm not sure where this really fits in the Unix.com forums, but this seemed to be a good spot for it. If not, please let me know: I've been trying to track down an issue that I've had for quite a while with reverse lookups. I've got a primary and secondary DNS that are authoritative for some... (8 Replies)
Discussion started by: deckard
8 Replies

3. UNIX for Dummies Questions & Answers

Conditionally joining lines in vi

I've done this before but I can't remember how. Too long away from vi. I want to do a search are replace, but I want the replace to be a join. Example see spot run see spot walk see spot run fast see spot hop %s/run$/<somehow perform a join with the next line>/g so the results... (0 Replies)
Discussion started by: ifermon
0 Replies

4. Shell Programming and Scripting

How do I search with regex in one spot?

Hello im new here and i shot stright with question. Mainly i wanna ask , how do i search with regexp in one spot and show the whole thing, what im trying to ask is , for eg. i do ls -l, and i see all the info for the dirs and dats. now say i wanna get all the dats that in their name they start... (2 Replies)
Discussion started by: Goroner
2 Replies

5. AIX

Unable to Create spot from mksysb

Hello All, Kindly need help in my problem i.e. I get this error when i create spot from mksysb. #0042-001 nim: processing error encountered on "master": 0042-001 m_mkspot: processing error encountered on "master": 0042-175 c_mkspot: An unexpected result was returned by the... (2 Replies)
Discussion started by: emerann
2 Replies

6. UNIX for Dummies Questions & Answers

Can anyone help me to spot my mistake?

Hi there can anyone help me to spot my mistake and please explain why it appears My code : #!/usr/bin/gawk -f BEGIN { bytes =0} { temp=$(grep "datafeed\.php" | cut -d" " -f8) bytes += temp} END { printf "Number of bytes: %d\n", bytes } when I am running ./q411 an411 an411: ... (6 Replies)
Discussion started by: FUTURE_EINSTEIN
6 Replies

7. Shell Programming and Scripting

awk to insert new line conditionally

Dear All, I have a file like: If $4=2001, a duplicated line will be inserted and $4 will be assigned value 2011; so that the new file would be: How to write awk to accomplish this? thank you very much! (5 Replies)
Discussion started by: littlewenwen
5 Replies