10-02-2014
Hi,
The only time that I have managed to have any joy doing this type of exercise was by using expect, we did try to use VB and Access - but either we weren't good enough or we couldn't work out how to do it.
Regards
Dave
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a report which I am running from unix shell script using CONCSUB utility.
Just for testing I put the order number in shell script as ord_low and ord_high.
But Actually what is going to happen is that the order numbers will be in a file say a.txt
and this CONCSUB... (2 Replies)
Discussion started by: isingh786
2 Replies
2. Shell Programming and Scripting
I want to create an automated script which is called by another maually executed script.
The condition is that the no one should be able to manually execute the automated script.
The automated script can be on the same machine or it can be on a remote machine.
Can any one suggest a check in the... (1 Reply)
Discussion started by: adi_bang76
1 Replies
3. Shell Programming and Scripting
Hi,
I have an UNIX script which runs in every 20 mins of all the days scheduled through CRON.
But i need to modify the CRON entry such that it should run from 00:00 AM to 18:00 and again from 22:00 to 23:59 on Saturday. Remaning days, it should run as usual in every 20 mins.
Could... (1 Reply)
Discussion started by: rjanardhan83
1 Replies
4. Shell Programming and Scripting
Hi,
I have an UNIX script which runs in every 20 mins of all the days scheduled through CRON.
But i need to modify the CRON entry such that it should run from 00:00 AM to 18:00 and again from 22:30 to 23:59 on Saturday. Remaning days, it should run as usual in every 20 mins.
Could anybody... (1 Reply)
Discussion started by: rjanardhan83
1 Replies
5. UNIX and Linux Applications
Hi,
I want the Perl script with versions 5.8.2 and 5.8.5 starting with
#!/usr/bin/perl
The Perl program should read the excel file or text file line by line and taking into an array and search in the UNIX directories for reference file of .jsp or .js or .xsl with path .The Object names... (2 Replies)
Discussion started by: pasam
2 Replies
6. Shell Programming and Scripting
Hi,
I am using Send Keys to connect to UNIX server and invoke a script .
Is there an alternate way to connect to UNIX server using Excel macro and invoke a UNIX Shell script?
Anu (2 Replies)
Discussion started by: anandita.jha
2 Replies
7. Shell Programming and Scripting
Hi All,
I have the requirement in unix shell script.
I want to write the "ls -ltr" command out put to excel file as below.
Input :text file data :
drwxr-xr-x 5 root root 4096 Oct 2 12:26
drwxr-xr-x 2 apx aim 4096 Nov 29 18:40
drwxr-xr-x 5 root root 4096 Oct 2 12:26
drwxr-xr-x... (10 Replies)
Discussion started by: Balasankar
10 Replies
8. Shell Programming and Scripting
All,
I have an excel sheet Excel1.xls that has some entries.
I have one more excel sheet Excel2.xls that has entries only in those cells which are blank in Excel1.xls
These may be in different workbooks. They are totally independent made by 2 different users.
I have placed them in a... (1 Reply)
Discussion started by: Anamika08
1 Replies
9. Shell Programming and Scripting
Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies
10. Shell Programming and Scripting
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies
JOY(4) BSD Kernel Interfaces Manual JOY(4)
NAME
joy -- joystick device driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device joy
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
joy_load="YES"
In /boot/device.hints:
hint.joy.0.at="isa"
hint.joy.0.port="0x201"
hint.joy.1.at="isa"
hint.joy.1.port="0x201"
#include <sys/joystick.h>
DESCRIPTION
The joystick device driver allows applications to read the status of the PC joystick.
This device may be opened by only one process at a time.
The joystick status is read from a structure via a read() call. The structure is defined in the header file as follows:
struct joystick {
int x; /* x position */
int y; /* y position */
int b1; /* button 1 status */
int b2; /* button 2 status */
};
Positions are typically in the range 0-2000.
One line perl example:
perl -e 'open(JOY,"/dev/joy0")||die;while(1)
{sysread(JOY,$x,16);@j=unpack("iiii",$x);print "@j
";sleep(1);}'
ioctl calls
Several ioctl() calls are also available. They take an argument of type int *
JOY_SETTIMEOUT int *limit
Set the time limit (in microseconds) for reading the joystick status. Setting a value too small may prevent to get correct
values for the positions (which are then set to -2147483648), however this can be useful if one is only interested by the
buttons status.
JOY_GETTIMEOUT int *limit
Get the time limit (in microseconds) used for reading the joystick status.
JOY_SET_X_OFFSET int *offset
Set the value to be added to the X position when reading the joystick status.
JOY_SET_Y_OFFSET int *offset
Set the value to be added to the Y position when reading the joystick status.
JOY_GET_X_OFFSET int *offset
Get the value which is added to the X position when reading the joystick status.
JOY_GET_Y_OFFSET int *offset
Get the value which is added to the Y position when reading the joystick status.
TECHNICAL SPECIFICATIONS
The pinout of the DB-15 connector is as follow:
1 XY1 (+5v)
2 Switch 1
3 X1 (potentiometer #1)
4 Switch 1 (GND)
5 Switch 2 (GND)
6 Y1 (potentiometer #2)
7 Switch 2
8 N.C.
9 XY2 (+5v)
10 Switch 4
11 X2 (potentiometer #3)
12 Switch 3&4 (GND)
13 Y2 (potentiometer #4)
14 Switch 3
15 N.C.
Pots are normally 0-150k variable resistors (0-100k sometimes), and according to the IBM technical reference, the time is given by Time =
24.2e-6s + 0.011e-6s * R/Ohms
FILES
/dev/joy? joystick device files
HISTORY
The joy driver appeared in FreeBSD 2.0.5.
AUTHORS
Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
BSD
January 23, 1995 BSD