9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Everyone,
I need a little help in manipulating a file. This is what I need.
I need to move each line barring the top 3 lines, to the right by a 8 (or some specified number ) of places.
Example BEGIN:
Vertices
Edges
Archs
1443 4042
862 4821
254 1177I want to move the... (3 Replies)
Discussion started by: scigeek
3 Replies
2. Shell Programming and Scripting
Dear All,
I need to script to change TTL of all zone file in my DNS and aslo i require the serial to be updated to reduce my work load.
Regards
Vicky (0 Replies)
Discussion started by: search4u2003
0 Replies
3. Shell Programming and Scripting
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies
4. Shell Programming and Scripting
Dear Friends,
I have a script below mentioned, it is running OK on Linux platform but somehow now i have to use SOLARIS 10 for this script, When i run this script i have some error messages also given below.
Can any of you help me with this, i will be very thankful to him.
... (6 Replies)
Discussion started by: Danish Shakil
6 Replies
5. Linux
Hi,
please suggest me the possible reasons for application to get hang ????
Thanks and Regards
Anand P (1 Reply)
Discussion started by: Anand Prakash
1 Replies
6. Solaris
Hi,
Iam relatively new to Shell scripting.
............
.........
Cur_log_file=`ls -lrt LOGFILE* | grep 'Jun 30' | tail -1`
...............
..................
Iam trying to find some log file name to check their status, using above script line.
If the log file is not avaible then rest of... (3 Replies)
Discussion started by: Lokesha
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Please help me in the following query
need a command to get all the files in the present directory except the next day file
format :: abc_<DD>.log
$ls -l
abc_10.log
abc_10.log
abc_11.log
Now i need the output in abc.list which should contains
$more abc.list
abc_10.log... (5 Replies)
Discussion started by: thaduka
5 Replies
8. Programming
hi i am new to c programming and found this on the net could someone tell me what it actually does, many thanks in advance cheers
#include <fcntl.h>
main()
{
int fd;
fd = open("in1", O_RDONLY);
printf("%d\n", fd);
}
and this too please
#include <fcntl.h>
main()
{
int... (1 Reply)
Discussion started by: ruffenator
1 Replies
9. UNIX for Dummies Questions & Answers
I am new to unix, and have just taken over maintenance/admin of a unix system. I am trying to restore a full backup of one of the consoles on the system. The tape backup device appears to be recognized as it is an option to restore from. After choosing the tape backup and loading the tape, a... (3 Replies)
Discussion started by: ecoli69
3 Replies
XGetICValues() XGetICValues()
Name
XGetICValues - get input context attributes.
Synopsis
char *XGetICValues(ic, ...)
XIC ic;
Arguments
ic Specifies the input context.
... Specifies the variable length argument list to set or get XIC values.
Returns
NULL if no error occurred; otherwise, the name of the first attribute that could not be obtained.
Availability
Release 5 and later.
Description
XGetICValues() queries the values of input context attributes. The first argument is the input context, and it is followed by a NULL-ter-
minated variable-length argument list of attribute name/value pairs. The standard attributes and their types are listed in the tables
below.
Input Context Attributes
Name Type Notes
XNInputStyle XIMStyle Required at IC creation; may not be
changed.
XNClientWindow Window Must be set before IC use; may not be
changed.
XNFocusWindow Window Changes may cause geometry negotiation.
XNResourceName char *
XNResourceClass char *
XNGeometryCallback XIMCallback *
XNFilterEvents unsigned long Read-only attribute; may not be set.
XNPreeditAttributes XVaNestedList See sub-attributes below.
XNStatusAttributes XVaNestedList See sub-attributes below.
Pre-edit and Status Area Sub-attributes
Name Type Notes
XNArea XRectangle *
XNAreaNeeded XRectangle *
XNSpotLocation XPoint * Required at IC
creation for
XIMPreeditPosi-
tion style.
XNColormap Colormap
XNStdColormap Atom
XNForeground unsigned long
XNBackground unsigned long
XNBackgroundPixmap Pixmap
XNFontSet XFontSet Required at IC
creation;
changes may
cause geometry
negotiation.
XNLineSpacing int Changes may
cause geometry
negotiation.
XNCursor Cursor
XNPreeditStartCallback XIMCallback * Required at IC
creation for
XIMPreeditCall-
backs style.
XNPreeditDoneCallback XIMCallback * Required at IC
creation for
XIMPreeditCall-
backs style.
XNPreeditDrawCallback XIMCallback * Required at IC
creation for
XIMPreeditCall-
backs style.
XNPreeditCaretCallback XIMCallback * Required at IC
creation for
XIMPreeditCall-
backs style.
XNStatusStartCallback XIMCallback * Required at IC
creation for
XIMStatusCall-
backs style.
XNStatusDoneCallback XIMCallback * Required at IC
creation for
XIMStatusCall-
backs style.
XNStatusDrawCallback XIMCallback * Required at IC
creation for
XIMStatusCall-
backs style.
In addition to the attribute names above, the special name XNVaNestedList indicates that the following argument is a XVaNestedList of attribute
name/value pairs. When a nested list is encountered in an argument list, the contents of the nested list are processed as if they appeared in the
original argument list at that point.
The XGetICValues() function returns NULL if no error occurred; otherwise, it returns the name of the first attribute that could not be
obtained. An attribute could be not obtained for any of the following reasons:
o The attribute name is not recognized.
o The input method encountered an implementation-dependent error.
Each attribute value argument to XGetICValues() (the argument that follows the attribute name) must be the address of a location into which
the value is to be stored. For attributes that are pointer types (XNArea, for example), XGetICValues() returns a pointer to a copy of the
attribute value. In this case, the client must free the memory allocated for that copy with XFree().
See Also
XCreateIC(), XOpenIM(), XSetICFocus(), XSetICValues(), XmbResetIC(), XwcResetIC().
Xlib - Input Contexts XGetICValues()