I took a different approach. I made two scripts. One to do the work. The other to make dots. I figure the worker script may want to do more than one thing while the dots are moving. And I minimize the load on the system...
Hi,
I got a unix script which copies a file from my AIX machine to a file server using SCP command. I am calling this script 3 times in my process after a time interval say 5mins. My issue here is like most of the time its not sending the file at the first time run while other 2 will work fine.... (10 Replies)
Hi,
I have the following code which fails with return value 1.
sprintf(tmp, "rm -rf %s/* 2>/dev/null\n", dest);
rc = system( tmp );
rc is 1
The files exist and the paths are correct. I can do a manual copy but the application fails. All the calls to system() function fail with the same... (6 Replies)
I'm trying to understand if it's possible to create a set of variables that are numbered based on another variable (using eval) in a loop, and then call on it before the loop ends.
As an example I've written a script called question (The fist command is to show what is the contents of the... (2 Replies)
Hi Im running this script, which is supposed to find the max value build some tables and then stop running once all the tables are built. Thing is , it keeps assigning a null value to $h and then $g is null so it keep building tables i.e. testupdateNUL. How can I stop this? Here is what I have:
... (4 Replies)
Hi all
I'm trying to use someone else's software, which has a realloc that fails in it. This is probably due to memory limitations, as it only happens when I use this software on huge datasets.
First question : how to diagnose if it's a soft or hard limitation? I mean, if it's due to my... (10 Replies)
Not sure in which forum to post this. I'm trying here, in Programming.
I'm working on a PC with Intel Duo processor & 2GB of ram. OS is Ubuntu 10.04.
I'm having problems with a C++ program that makes extensive use of realloc(). It happens that as soon as the overall memory allocated(OS +... (14 Replies)
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
The below while loop is in ksh on a SunOs server: SPARC-Enterprise 5.10
The ksh version is: Version M-11/16/88i
The intention of the below while loop is to read through a list of file names in files.txt and
delete each file from a server, one at a time. The delete works, the problem is that if... (6 Replies)
Hi,
I want to read file multiple times. Right now i am using while loop but that is not working.
ex.
While read line
do
while read line2
do
echo stmt1
#processing some data based on data.,
done < file2.txt
done < file1.txt # This will have 10... (4 Replies)
Here's my code:
awk -F '' 'NR==FNR {
if (/time/ && $5>10)
A=$2" "$3":"$4":"($5-01)
else if (/time/ && $5<01)
A=$2" "$3":"$4-01":"(59-$5)
else if (/time/ && $5<=10)
A=$2" "$3":"$4":0"($5-01)
else if (/close/) {
B=0
n1=n2;
... (2 Replies)
Discussion started by: klane
2 Replies
LEARN ABOUT REDHAT
tek4957
TEK4957(4x)TEK4957(4x)NAME
tek4957 - Tektronix 4957 input driver
SYNOPSIS
Section "InputDevice"
Identifier "idevname"
Driver "tek4957"
Option "Device" "devpath"
...
EndSection
DESCRIPTION
tek4957 is an XFree86 input driver for the Tektronix 4957 tablet.
The tek4957 driver functions as a pointer input device, and may be used as the X server's core pointer.
CONFIGURATION DETAILS
Please refer to XF86Config(5x) for general configuration details and for options that can be used with all input drivers. This section
only covers configuration details specific to this driver.
Option "Device" "devpath"
sets the path to the special file which represents serial line where the tablet is plugged, for example /dev/ttyS0. This
option is mandatory.
Option "DeviceName" "name"
sets the name of the X device.
Option "Speed" "number"
sets the sampling rate, from 1 to 6. Default is 6, maximum speed.
Option "Resolution" "number"
sets the resolution.
0 : 2340 dots : 1/200 inch
1 : 2972 dots : 1/10 mm
2 : 11700 dots : 1/1000 inch
3 : 11887 dots : 1/40 mm
4 : 5850 dots : 1/500 inch
5 : 5944 dots : 1/20 mm : default
6 : 4680 dots : 1/400 inch
7 : 1170 dots : 1/100 inch
8 : 12 dots : 1 inch
9 : 24 dots : 1/2 inch
Option "TopX" "number"
X coordinate of the top corner of the active zone. ( Default = 0 )
Option "TopY" "number"
Y coordinate of the top corner of the active zone. ( Default = 0 )
Option "BottomX" "Inumber"
X coordinate of the bottom corner of the active zone. ( Default = full scale )
Option "BottomY" "number"
Y coordinate of the bottom corner of the active zone. ( Default = full scale )
BUGS / LIMITATIONS
Currently, only "Absolute" mode is supported ( Sorry )
SEE ALSO XFree86(1), XF86Config(5x), xf86config(1), Xserver(1), X(7x).
AUTHORS
Olivier DANET <odanet@caramail.com>
XFree86 Version Version 4.3.0 TEK4957(4x)