I'm writing an Xlib tool in C on Debian Linux to detect certain Firefox dialog boxes and automatically click their "OK" buttons. For the moment, I just have a program that finds every X11 wind...
Hello,
I'm currently developing a device driver to support our custom made PCI board. I can read/write a buffer from/to our PCI device but the system does not use burst write cycles.
Does...
I am running following command:
sudo qemu -m 32 -kernel data/linux-2.6.23/arch/i386/boot/bzImage -append "root=/dev/hda" -hda linux_i386.img -boot c
it gives me following error in qemu win...
I'm new to Linux but have much experience with spyware removal in Windows. Just a few minutes ago, using Firefox, I got a pop-up going to a food recipe web site, warning me that I might have ...
I have a DELL PowerEdge SC 430 running Fedora my friend closed up his business and left them for me to re-format to XP and sell them for him. Problem is I cannot get this computer to boot to ...
Hi
How can I access the serial port from kernel space ? (from a driver)
From user space it's just like fd=open("/dev/ttyS0", ... )
But from kernel space it seems more difficult. I had...
I would like to know how to overwrite an existing text file
as i wrote the script likethis ....>> /home/abc.txt.
However, the text file keeps appending texts without overwrite the exsting ...
I have a script that generates a backup error log for several accounts we have. . What I need is to group errors based on a few static pieces of information.. The file has about 8,000 lines....
I have a bash script that I wrote. It works fine when I execute it from the shell. However, when I run the script via Cron it is not giving me the correct information. My curiosity is that ...
When I run a certain program it changes the font color of the terminal I'm starting it from. When the program exits it does not change the color back. Is there some way to reset or reload the ...
Hi Folks,
Whenever I try to open this file 'mtable' in VI editor, it shows this message. Can you tell me what is the correct way to avoid this error?
E325: ATTENTION
Found a swap file...
i was trying to use a function pthreads_setconcurrency()
defined in pthread.h
it says undefined function
the other functions work fine (pthread_create etc)
I wanted to start more than one...
In my application I need to load a module and then realease it. From the command line I can use insmod and rmmod to load and unload the module with no problem. But some how if I compile the co...
Hi
I would like to know what to do to port - in particular gcc - but some general rules or some information on how to port anything
to a new architecture.
any details would be great - ...
Hi, I'm trying to determine if a Function key (F1) has been pressed.
Using - dumpkeys - I know the key code for F1 is "\033[[A"
Now, I write a bash script like this
#!/bin/sh
echo ...
In the ksh script, I get the cur_date=$(date '+%Y%m%d%H%M') and save in a file.
Later I retrieve save_date=`cat filename`
to get the saved date.
I need to increment the save date to an ...
Hi All,
I am running one ksh script to increment counter by 1. after meeting some condition. my code is:
TODAY=`date '+%d%m%Y'`
echo "Connecting to sybase Database for current file count...
ok, this is kind of a simple question, but for some reason i either forgot how to do it under linux (posix), in any case i need to get a list of all the files in a directory. under windows i w...
Hello,
I try to cross compile the Apache source 2.0 for PowerPC (PPC)
I have all the cross compilation tools ready and I use them for compiling other sources:
ppc_8xx-gcc, ppc_8xx-ar, ppc_8...
Is it possible to use ftp to transfer a file from pc1 to pc2 with fix source location on pc1 and fix loaction on pc2 where it is to be copied/overwritten using any shell script or C program?
...
hello all,
I require a schedule_timeout function statement to have kernel module sleep for 5 minutes. I require to call a function from kernel module from interval of 5 minutes.
...
Greetings,
I have used "edquota" to limit my users quota to 50 mb, however as my quota files got corrupted, I had rebuilt them using "quotacheck -augvfcm". Now, when I "repquota -a", the re...
I would like to write a custom mode for xml in emacs. I want to be able to syntax highlight entities, attributes, and other portions of the xml document.
I am aware of psgml and its xml mod...
Hi,
I have some doubts in Inter Process Communication.
I have two programs which send and receive data using message queues. Those programs are woking nicely.
1. Now, if I place on...