Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Hi all,
In my application i am trying to select some text & then give it to print. for this i am opening a stream using popen & then later closing using pclose.
Now this is working fine in my environment (solaris) but the pclose function is failing at my clients m/c. Even though print is... (3 Replies)
whoami | grep < $1 | echo $1
trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Hi falks,
I need to dispaly a list of only directories .
As it written in the manual ,the command to do it is 'ls -d'.
When i issue 'ls -d' i'm getting:
tornado.orca.ent:DB10g :/home/oracle/Create_Database > ls -d
.
Is anyone have any idea why id does not display directories ,or maybe... (11 Replies)
Hi
I am trying to use popen function with wrtie option to give inputs to ftp command.
#include "stdio.h"
int main(int argv ,char *argc)
{
int size=0;
char *buf;
FILE *fp;
fp = popen("ftp","w");
while(getline(&buf,&size,stdin) != -1)
write(fp,buf);... (0 Replies)
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT X11R4
syndaemon
syndaemon(1) General Commands Manual syndaemon(1)NAME
syndaemon - a program that monitors keyboard activity and disables the touchpad when the keyboard is being used.
SYNOPSIS
syndaemon [-i idle-time] [-m poll-inverval] [-d] [-p pid-file] [-t] [-k] [-K] [-R]
DESCRIPTION
Disabling the touchpad while typing avoids unwanted movements of the pointer that could lead to giving focus to the wrong window.
OPTIONS -i <idle-time>
How many seconds to wait after the last key press before enabling the touchpad. (default is 2.0s).
-m <poll-interval>
How many milliseconds to wait between two polling intervals. If this value is too low, it will cause unnecessary wake-ups. If this
value is too high, some key presses (press and release happen between two intervals) may not be noticed. This switch has no effect
when running with -R. Default is 200ms.
-d Start as a daemon, ie in the background.
-p <pid-file>
Create a pid file with the specified filename. A pid file will only be created if the program is started in daemon mode.
-t Only disable tapping and scrolling, not mouse movements, in response to keyboard activity.
-k Ignore modifier keys when monitoring keyboard activity.
-K Like -k but also ignore Modifier+Key combos.
-R Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state.
ENVIRONMENT VARIABLES
DISPLAY
Specifies the X server to contact.
EXIT CODES
If syndaemon exists with a return code other than 0, the error encountered is as below.
Exit code 1
Invalid commandline argument.
Exit code 2
The connection to the X sever could not be established or no touchpad device could be found.
Exit code 3
The fork into daemon mode failed or the pid file could not be created.
Exit code 4
XRECORD requested but not available or usable on the server.
CAVEATS
It doesn't make much sense to connect to a remote X server, because the daemon will then monitor the remote server for keyboard activity,
but will disable the touchpad on the local machine.
AUTHORS
Peter Osterlund <petero2@telia.com>.
This man page was written by Mattia Dongili <malattia@debian.org>
SEE ALSO Xorg(1), synclient(1), synaptics(4)X Version 11 xf86-input-synaptics 1.6.2 syndaemon(1)