Dear all,
i need to send fake key events to my application, where the keysym to send is readen from a config file and saved to a vector<string>.
I use:
the problem is that the compiler does not like me passing a string ( kbdEventsVect[0]) to
sendKBEvent(), which instread needs a Keysym var as 2 argument.
The wired thing is that if I pass directly the string, everything works fine
Hi,
I have read some figures from a text file by getting the position and wish to do some checking, but it seem like it won't work.
eg. my figure is 0.68 it still go the the else statement,
it seems like it treat it as a text instead of number.
Anybody can Help ? Thanks.
# only... (3 Replies)
Hi,
i want to read a text file whose content(single line) will be a number like 1 or 2 or 3 ..... what i want to do is to read the file and increment the content of the file, using unix scripting.
Regards,
Senthil Kumar Siddhan. (2 Replies)
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Hi
I have a line/string as follows:
A=" 3498 NORDEA - INDX LINKED NORY"
which was converted into an array of characters:
p321$ echo "${ARR}"
3 4 9 8 N O R D E A - I N D X L I N K E D N O R Y
When I am trying print this array there are blank... (4 Replies)
Hi.
I will be very appreciated for help.
I need replace all characters into string with \ (backslash)
I mean if I have word abcdefg as input.
How I can convert it to \a\b\c\d\e\f\g
Thanks and best regards. Staas. (5 Replies)
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
I have a couple structure definitions in my input code. For example:
struct node {
int val;
struct node *next;
}; or
typedef struct {
int numer;
int denom;
} Rational; I used the following line to convert them into one line and copy it twice.
sed '/struct*{/{:l... (3 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
I read in two numbers from a user but the number is a string.
#!/bin/bash
read -p "Enter first number: " num1
read -p "Enter second number: " num2
I know you can use the the "expr" or "bc" command to automatically convert the string to a number then add them together. But I don't want to add... (10 Replies)
Discussion started by: Loc
10 Replies
LEARN ABOUT REDHAT
iscursorkey
IsCursorKey(3X11) XLIB FUNCTIONS IsCursorKey(3X11)NAME
IsCursorKey, IsFunctionKey, IsKeypadKey, IsMiscFunctionKey, IsModiferKey, IsPFKey, IsPrivateKeypadKey - keysym classification macros
SYNTAX
IsCursorKey(keysym)
IsFunctionKey(keysym)
IsKeypadKey(keysym)
IsMiscFunctionKey(keysym)
IsModifierKey(keysym)
IsPFKey(keysym)
IsPrivateKeypadKey(keysym)
ARGUMENTS
keysym Specifies the KeySym that is to be tested.
DESCRIPTION
The IsCursorKey macro returns True if the specified KeySym is a cursor key.
The IsFunctionKey macro returns True if the KeySym is a function key.
The IsKeypadKey macro returns True if the specified KeySym is a keypad key.
The IsMiscFunctionKey macro returns True if the specified KeySym is a miscellaneous function key.
The IsModiferKey macro returns True if the specified KeySym is a modifier key.
The IsPFKey macro returns True if the specified KeySym is a PF key.
The IsPrivateKeypadKey macro returns True if the specified KeySym is a vendor-private keypad key.
SEE ALSO AllPlanes(3X11), BlackPixelOfScreen(3X11), ImageByteOrder(3X11)
Xlib - C Language X Interface
X Version 11 Release 6.6 IsCursorKey(3X11)