04-13-2008
i dont know whats the point era....but they gonna be on the exam....and the funny part is that he dont help us to solve the exercises...so that we can be ready for exams..he just gave us 30 tasks and he told us to practice and learn them to pass the exams....but for me that i dont have a clue on unix is really difficult..i ve got some answers from google search and from here but there are quite a lot....
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
i have made a script which makes some analyses on some differnet hosts.
but i have a problem to make this script more quicker ...
i would like to enter more a one hosts in the query
(in my script are this:
Pls enter the Hostname ...
read hostname
for i in $hostname
do
echo... (5 Replies)
Discussion started by: scottl
5 Replies
2. Shell Programming and Scripting
Hi, I am not experienced in shell scripts, I hope someone can give some hint for the following problem
I have html file like this
<html>
<body>
Some stuff
More stuff
<pre>
A
B
</pre>
Still more stuff
And more
<pre>
C
D
</pre>
Additional stuff
</body> (2 Replies)
Discussion started by: ccp
2 Replies
3. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
4. AIX
I would like to seek some expertise of all our AIX experts on board.
1) I would like know how to get a return exit code of a command. I found that there are exist code for each and every command run in AIX but I just can't get the return code from my scripts.
A=`cp /home/abc/abc.txt... (7 Replies)
Discussion started by: kwliew999
7 Replies
5. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Probably a real easy one for someone...I need to have a scheduled cp job run from crontab to copy certain files and directories to a shared NFS storage.
The script I have works fine, except I need to exclude certain directories to stop issues with symbolic links, can someone explain... (2 Replies)
Discussion started by: paul.duncalf
2 Replies
7. Shell Programming and Scripting
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Discussion started by: shashi369
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I really wan't to know that how to edit a shell script with out using an editor..
Is there any command? (4 Replies)
Discussion started by: buddhi
4 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to use the Ex editor and its commands in a script - more specifically within an if statement within a while loop.
Here are the basics of the loop:
cat $file1 | while read line
do
grep $line $file2
if ]
then
echo $line > $file2
elseex $file2
/ESI185... (4 Replies)
Discussion started by: luke222010
4 Replies
10. Shell Programming and Scripting
I have an existing shell script that I am trying to modify. I have about 10 lines of info I want to overwrite using text someone emailed to me. I guess what I am trying to do basically is like a copy/paste, but it's not working for me.
I am using Cygwin and vi editor.
I open the script and... (4 Replies)
Discussion started by: kimberlyg2007
4 Replies
LEARN ABOUT XFREE86
xgetdevicedontpropagatelist
XChangeDeviceDontPropagateList(3X11) X FUNCTIONS XChangeDeviceDontPropagateList(3X11)
NAME
XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList - query or change the dont-propagate-list for extension devices
SYNTAX
int XChangeDeviceDontPropagateList(Display *display, Window *window, int *count, XEventClass *event_list, int mode);
XEventClass *XGetDeviceDontPropagateList(Display *display, Window *window, int *count);
ARGUMENTS
display Specifies the connection to the X server.
window Specifies the window whose dont-propagate-list is to be queried or modified.
event_list Specifies a pointer to a list of event classes.
mode Specifies the mode. You can pass AddToList , or DeleteFromList.
count Specifies the number of event classes in the list.
DESCRIPTION
The XChangeDeviceDontPropagateList request modifies the list of events that should not be propagated to ancestors of the event window.
This request allows extension events to be added to or deleted from that list. By default, all events are propagated to ancestor windows.
Once modified, the list remains modified for the life of the window. Events are not removed from the list because the client that added
them has terminated.
Suppression of event propagation is not allowed for all input extension events. If a specified event class is one that cannot be sup-
pressed, a BadClass error will result. Events that can be suppressed include DeviceKeyPress, DeviceKeyRelease, DeviceButtonPress, Device-
ButtonRelease, DeviceMotionNotify, ProximityIn, and ProximityOut.
XChangeDeviceDontPropagateList can generate a BadDevice, BadClass, or BadValue error.
The XGetDeviceDontPropagateList request queries the list of events that should not be propagated to ancestors of the event window.
XGetDeviceDontPropagateList can generate a BadClass or BadWindow error.
DIAGNOSTICS
BadDevice An invalid device was specified. The specified device does not exist or has not been opened by this client via XOpenInputDe-
vice. This error may also occur if some other client has caused the specified device to become the X keyboard or X pointer
device via the XChangeKeyboardDevice or XChangePointerDevice requests.
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an
argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can gener-
ate this error.
BadWindow An invalid window id was specified.
BadClass An invalid event class was specified.
SEE ALSO
Programming With Xlib
XFree86 Version 4.7.0 XChangeDeviceDontPropagateList(3X11)