ampersand at beginning of a line in csh
What does an ampersand at the beginning of a line do in csh? It seems to be ignored (with no error message), but why? ...
What does an ampersand at the beginning of a line do in csh? It seems to be ignored (with no error message), but why? ...
Hi, My app now has been sealed as a product, which will be sold with a PC with linux system installed. How ever I will create a new user for the customers, but I want bind a interface-like app to the user, so when my custumers log in via terminals the selected app runs automatically, when connection ends, the app quit the same way. I kno...
Hi all, I have a script that makes snapshots on a Linux server using Xvfb, Firefox and ImageMagick. The script works fine and is piloted by a bash script, but currently I can obtain only snapshots of 1280x1024, that is the area of Xvfb. I also maximize the FF page, when opening a website, using some Javascript on a dummy page that is lo...
Developer environment: CentOS 4.7, Kdevelop 3.1.1, gcc 3.4.6 I run a java test client that loads a C++ shared library using JNI. There are three components in my application, Java client C++ shared library which acts as a JNI wrapper. (I will call it "wrapperlibrary") C++ shared library containing business objects. (I will call it "b...
Hello, I am running a daemon in Linux and I want to run this daemon under valgrind to find memory related errors. Since it is a daemon , I need to use trace-children = yes option. But this spawns many processes later on during its life time and I dont want them to run under valgrind. Is there a way to exclude certain children from runni...
Hi, I would like to know what is the way (if it is possible at all), to change the version information of a *.a files in Unix after the compilation. I know how to do it for Dll files in windows - but have no idea how to manage with it in Unix. Thank you all! ...
Hi, I'm a bit disappointed by what is happening to me. I'm not a maven expert (ie I just type mvn clean install as I was told) but as I installed a new kernel on my debian machine, it seems maven doesnt work anymore : on old kernel (2.6.26-1-amd64) it download all dependencies well. on new kernel (2.6.32-trunk-amd64) it fail downloadi...
Possible Duplicate: Tools to find included headers which are unused? I would like to check useless header file in c++ files(.h and .cpp) During developing, There are so many relations between files. So it cause compile time more longer. Can you tell me what's the tool that help me. Thank you. ...
Hey all im building this application in which i have a client represented by a thread, running in loop (until it receives the instruction to terminate) trying to access a critical section of data in the server. When the first client connects to the server, he owns the lock to that mutex. all the subsequent connections are put to a hold...
I want to create some memory to use for DMA transfers. (Using Linux 2.6.18-128.el5 #1 SMP) I have a API stack+kernel driver for my H/W that can do this for me, but its very very slow! If I use the API to create a DMA transfer, it allocates some memory very high up in System RAM (eg 0x7373a6f8 on one run). (I have the ICD of the device,...
I have created a script to run a test script on a batch of files,have been testing it overnight for two nights, however it just hangs at a certain point. I was wondering if the the commands.getstatusoutput() is the issue here since the test script is has a heavy logging mechanism. Update: How is using subprocess module functions diff...
According to Boost download instructions for Linux http://www.boost.org/doc/libs/1_42_0/more/getting_started/unix-variants.html I should extract the Boost library to some directory on my computer. I am working with Ubuntu, Eclipse and CDT. What is right directory to install Boost? Somewhere in /usr or in my home directory? ...
Hi all- I've got a makefile (developed for gmake on Linux) that I'm attempting to port to OSX, but it seems like sed doesn't want to cooperate. What I do is use GCC to autogenerate dependency files, and then tweak them a bit using sed. The relevant portion of the makefile: $(OBJ_DIR)/%.d: $(SRC_DIR)/%.cpp $(CPPC) -MM -MD $< -o $@ ...
I am wanting to test run a Single Sign On web authentication for my University (currently a student employee), I have been reading a lot about WebAuth used by other Universities. While I think the solutions are great, we are a very 'small time' University, but the current login system and authentication is horrible for the user experi...
I'm writing a linux deamon and as for now it works pretty well, but it leaks memory ( and it's bad - after few hours it segfaults after using 60% of the system's memory). The strange thing is, that I'm using only new/delete operators and have a try/catch block around the main function, so it's not an exception thrown by new - it just seg...
Hi Guys, I am trying to build an application for freebsd which links to a shared object "share.so" built on linux. I also have freebsd linux compatible libraries under /usr/compat/linux/lib. I am able to compile my application. But while linking to "share.so" I am getting bunch of errors as share.so(built on linux) needs to access librar...
Hey... I'm in way over my head and looking for a broader understanding of what it would take to feed alternate data into a mouse driver to control the pointer without moving the mouse. I have modified a driver (untested) to provide random data, but I need to be able to turn on/off the random mouse data and I don't think a simple scanf ...
I compiled an 64bit binary of ioquake3 and an SDL binary to go along with it and I noticed on Windows 7 64bit, operation, while relatively stable, it doesn't have top notch performance. An equivalent binary on 64bit Debian, runs definitely faster, and perfectly stable. And I'm thinking: with all the major manufacturers still dispatchin...
I'm looking for an online introduction to unit testing and TDD. I have virtually no experience with TDD, unit testing, or any other agile methodology. My development environment is C++ on Linux. If there's a quality introduction to unit testing and TDD that uses C++ as the example language, that'd be great. If not then a general intr...
Hello I would like to find out what is the total heap size that is in use at a certain time by a Java process and I have to use jmap. The output of jmap -heap <pid> gives me something like this: Attaching to process ID 2899, please wait... Debugger attached successfully. Server compiler detected. JVM v...