The problem I have is trying to match multiple lines using sed or egrep, so I did not quickly find a way to filter out the Explanation text. The rest was easy (plus I removed the stray number and the "New questions" phrase):
Leaving an incomplete solution because of the requirement for a multiline regex match:
In practice, I would do this in PERL or PHP because of the required multiline matches; but I'm sure someone else can do a much better command line than me.
I am about 2 months new to Linux, and have only limited experience with PCLinuxOS, (kde) and Redhat.
I am installing the latest version of PClinuxOS on my wife's PC right now but running into a problem I dont understand. I have never seen it before so i thought i'd ask how I can get around it.... (1 Reply)
hi all
plese clarify me in the following area.
1. What is the default NFS version in solaris 5.10. If it is 3, then why it asks me to specify "-o vers=3" keyword while i am mounting a share from a RHEL 5.1 Server?
2. Can someone give the link to download packages for accessing "ntfs"... (4 Replies)
Hello,
I am new to this forum and I am preparing for interview .Kindly can anybody send me Solaris 10 OS administration interview questions and answers (2 Replies)
Hey you guys,
There's a couple questions I cannot find the answers to anywhere in this book for my Operating Systems class, hopefully you guys could help. I believe we are in the Bourne shell.
1. Match each description to the appropriate type of variable
Used in shell programs
... (7 Replies)
Discussion started by: KyleBucket
7 Replies
6. Post Here to Contact Site Administrators and Moderators
I hope this is ok so I will ask if I may use this thread to ask questions about
programming.
May I use this thread to ask questions and answer questions?
If the answer is yes, this is a thread made for minimizing the amount of threads I post to
ask questions about programming. Please feel... (3 Replies)
Hi all,
I have a fat file which contains something like this:
************************************************
blahblahblah
blahblahblah
Myobject1 HOME (
homecontents01 (
some junk;
)
home contents02(
some junk;
)
... (7 Replies)
Hi Unix geniuses,
I need your help for the answers of few objective Q&A.
i dont know if my answers are correct or not.
So i really need your help to provide the answers which will help me in unix programming. (1 Reply)
Here are some answers to some of the recent questions I have received about UNIX.COM. So, I thought I would take time to answer them here in this post:
Is it expected that the original poster "thank" everyone who responds to his / her discussion thread?
It is always a good practice in all... (7 Replies)
Discussion started by: Neo
7 Replies
LEARN ABOUT HPUX
xchangepointercontrol
XChangePointerControl() XChangePointerControl()
Name
XChangePointerControl - change the pointer preferences.
Synopsis
XChangePointerControl(display, do_accel, do_threshold, accel_numerator, accel_denominator, threshold)
Display *display;
Bool do_accel, do_threshold;
int accel_numerator, accel_denominator;
int threshold;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
do_accel Specifies a boolean value that controls whether the values for the accel_numerator or accel_denominator are set. You can pass
one of these constants: True or False.
do_threshold
Specifies a boolean value that controls whether the value for the threshold is set. You can pass one of these constants: True
or False.
accel_numerator
Specifies the numerator for the acceleration multiplier.
accel_denominator
Specifies the denominator for the acceleration multiplier.
threshold Specifies the acceleration threshold. True or False.
Description
XChangePointerControl() defines how the pointing device functions. The acceleration is a fraction (accel_numerator/accel_denominator)
which specifies how many times faster than normal the sprite on the screen moves for a given pointer movement. Acceleration takes effect
only when a particular pointer motion is greater than threshold pixels at once, and only applies to the motion beyond threshold pixels.
The values for do_accel and do_threshold must be True for the pointer values to be set; otherwise, the parameters will be unchanged. Set-
ting any of the last three arguments to -1 restores the default for that argument.
The fraction may be rounded arbitrarily by the server.
Errors
BadValue accel_denominator is 0.
Negative value for do_accel or do_threshold.
See Also
XChangeActivePointerGrab(), XGetPointerControl(), XGetPointerMapping(), XGrabPointer(), XQueryPointer(), XSetPointerMapping(), XUngrab-
Pointer(), XWarpPointer().
Xlib - Pointers XChangePointerControl()