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 -- game adapter driver
SYNOPSIS
joy* at acpi?
joy* at eap?
joy* at eso?
joy0 at isa? port 0x201
joy* at isapnp?
joy* at ofisa?
joy* at pci?
joy* at pnpbios? index ?
DESCRIPTION
This driver provides access to the game adapter. The lower bit in the minor device number selects the joystick: 0 is the first joystick and
1 is the second.
The game control adapter allows up to two joysticks to be attached to the system. The adapter plus the driver convert the present resistive
value to a relative joystick position. On receipt of an output signal, four timing circuits are started. By determining the time required
for the circuit to time-out (a function of the resistance), the paddle position can be determined. The adapter could be used as a general
purpose I/O card with four analog (resistive) inputs plus four digital input points.
Applications may call ioctl(2) on a game adapter driver file descriptor to set and get the offsets of the two potentiometers and the maximum
time-out value for the circuit. The ioctl(2) commands are listed in <machine/joystick.h> and currently are:
JOY_SETTIMEOUT Sets the maximum time-out for the adapter.
JOY_GETTIMEOUT Returns the current maximum time-out.
JOY_SET_X_OFFSET Sets an offset on X value.
JOY_GET_X_OFFSET Returns the current X offset.
JOY_SET_Y_OFFSET Sets an offset on Y value.
JOY_GET_Y_OFFSET Returns the current Y offset.
All these commands take an integer parameter.
read(2) on the file descriptor returns a joystick structure:
struct joystick {
int x;
int y;
int b1;
int b2;
};
The fields have the following functions:
x current X coordinate of the joystick (or position of paddle 1)
y current Y coordinate of the joystick (or position of paddle 2)
b1 current state of button 1
b2 current state of button 2
The b1 and b2 fields in struct joystick are set to 1 if the corresponding button is down, 0 otherwise.
The x and y coordinates are supposed to be between 0 and 255 for a good joystick and a good adapter. Unfortunately, because of the hardware
hack that is used to measure the position (by measuring the time needed to discharge an RC circuit made from the joystick's potentiometer and
a capacitor on the adapter), calibration is needed to determine exactly what values are returned for a specific joystick/adapter combination.
Incorrect hardware can yield negative or values greater than 255.
A typical calibration procedure uses the values returned at lower left, center and upper right positions of the joystick to compute the rela-
tive position.
This calibration is not part of the driver.
FILES
/dev/joy0 first joystick
/dev/joy1 second joystick
SEE ALSO
acpi(4), eap(4), eso(4), isa(4), isapnp(4), ofisa(4), pci(4), pnpbios(4)
AUTHORS
Jean-Marc Zucconi wrote the FreeBSD driver. Matthieu Herrb ported it to NetBSD and wrote this manual page.
BSD
July 22, 2006 BSD