First  |  Prev |  Next  |  Last
Pages: 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
Generate SIGIO
Hi, I am tring to use the following code (test on Linux 2.6.16, glibc 2.4) to generate SIGIO, but there is no signal. Is there anything wrong? #include <stdio.h> #include <signal.h> #include <fcntl.h> void handle (int sig) { printf ("GET SIGIO\n"); } int main (void) { fcntl (0, F_SETFL, FA... 3 Sep 2006 22:25
UNIX SLIP
Hello All, under windows, I can create a new connection, and choose SLIP:Unix Connection. I am trying to connect my WinXP to Suse Enterprise Server. Any ideas? Or maybe the right forum to post this question. Thanks. ... 2 Sep 2006 07:53
How to write a file lock
Hi All, How can I lock a file (mandatory) while opening? When I lock the file, anyone else should not be able to access particualr file. That should be file system transparent, i.e. works in nfs, ufs etc. Or do I have to use to my own file locking procedure?? are there any unix api to achive file locking, eith... 1 Sep 2006 13:22
about stdout redirect programming
Hi all, I want to close stdout in my program, after deal with something, I want to restore stdout, so, I make a test program to validate. code is below: ------------------------- include <stdio.h> #include <errno.h> void main() { int orig_stdout; /* Duplicate the stdout file handle and store i... 4 Sep 2006 02:36
Qt: slots and signals
Hi there, What's right way to connect slots and signals? For example, I created a form using Qt Designer, so I've got something like formMain.ui, now I wanna connect the CLICK signal from a button on that form to my own slot. Look at this: class CMainFormShell: public QObject { Q_OBJECT protected: QMa... 1 Sep 2006 06:51
sed
Hello, I am writing a shell script, (kshell), and I am using sed. sed '_<head></head>_<head>Something</head>_' > $file This works fine, and it replaces the text. The problem is that I want to insert a java script , but its a big chunk, and the method above doesnt work when it exceeds one line. It gives me "u... 24 Aug 2006 21:10
terminal/serial programming question, seem to be dropping data
Hi, I'm working on a program that "blasts" 2500 packets over a serial wire to a remote host that is simply waiting to receive the pattern data. Each packet is defined to be 255 bytes in length. In debugging my program, I have the received packets dumped to a file for inspection, and all is well until about pac... 25 Aug 2006 15:00
remote file copy
Hi all, I am using RHEL 4.0. I want to move a file from one system to another using commands. Please help me out with the complete step by step procedure with the syntaxes. This is very urgent. Thanks in advance...... ... 23 Aug 2006 06:15
read/execute a file
hi all i compile some fortran subroutines to create .o files and then create an executable file called 'main' using following command. (hp unix) " f90 -o main mainmod.o main.o addstf.o dcoup.o impedance.o sourcnods.o thdfe.o calban.o der3ds.o inputj.o redvk.o st4r8.o trifac.o damper.o fnct.o solstp.o step.o" e... 23 Aug 2006 03:37
Text Output to Shell
Hi, I am working as an teaching assistant for a computer networking class and have been assigned to write the server side of a small networking application meant as an assignment for the students. The application is meant to fulfill the following objectives : 1. Function as the server side of the application. ... 24 Aug 2006 02:23
First  |  Prev |  Next  |  Last
Pages: 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234