Search results

  1. R

    set default permission

    slur, unfortunately umask is not an environment variable so your suggestion doesn't work in this context.
  2. R

    C++ compilation with ProjectBuilder

    For a quick start you can choose the "Legacy Makefile" project type, let it refer to your Makefile and add all your source and header files. This should work, you should even be able to use the debugger.
  3. R

    Installing Unix command line tool to OSX

    Follow-ups: a) It is however not recommended to include the current directory '.' in your PATH for security reasons. b) After creating/modifying ~/.MacOSX/environment.plist you are required to log out and log in again.
  4. R

    Installing Unix command line tool to OSX

    The cause is probably that both /usr/local/bin and the current directory are not part of your PATH (by default they are not). So just invoke your program by either giving the full qualified path (/usr/local/bin/ChordPro instead of just ChordPro) or - in case /usr/local/bin is the current...
  5. R

    Writing a program that will send commands to another shell

    Use popen() instead of system() to launch ssh. This will establish a pipe which you can use to send data to and receive data from.
  6. R

    Jaguar vs. Linux: Same code, different output!?

    Your problem doesn't have anything to do with platform differences. It is just a race condition. Your program relies on the fact that the child process reads the file after the parent process has finished writing it. This, however, is not guarantteed at all. Also, you cannot rely on...
  7. R

    delete key?

    Welcome to the PB club :cool: Anyway - who cares what most people do? :D
  8. R

    Spaces in project name...

    You should avoid spaces in your source files. If you do, you will have to escape them with \ (backslash) or quote them. Also, shell meta characters such as /*[] and so on will cause problems.
  9. R

    New Web site for Fink Beginners...

    Very nice, thank you!
  10. R

    mySQL broken after 10.2.4 update

    This is an incompatibility of your mysql executable with the new 10.2.4 system library. You can only overcome it by either recompiling mysql on 10.2.4 or obtaining a new mysql version which has been compiled appropriately. I just checked the mysql site - there doesn't seem a binary update...
  11. R

    FAQ on Apple's X11 server

    Just installed the new X11 0.2.1. The good news: The system's keymapping is now correctly supported so my "shell script hack" is no longer necessary... ...except you're using the ssh-agent as I do. In this case it can still be helpful (I didnt't find an "official" way to start it with X11 -...
  12. R

    My computer works funny after waking from sleep

    Incompatible USB or FireWire devices can prevent the system from correctly entering sleep mode. However, don't know if this applies to your situation.
  13. R

    FAQ on Apple's X11 server

    the commands are: DISPLAY=:0.0 export DISPLAY if you put this into .profile in your home directory it will be present in any terminal window automatically
  14. R

    File paths and fopen()

    What is the output of your printf("Error opening the file ? The exact reason why fopen() failed is given in errno. #include <string.h> #include <errno.h> ... if (!InFile) { int l_errno = errno; printf("unable to open '%s': %s (errno=%d)\n", DataFile, strerror(l_errno)...
  15. R

    spinning rainbow??

    THANK YOU! I've been looking for this for weeks!
  16. R

    OSXvnc

    A VNC server goes very deep into the system and of course can cause kernel panics. Which versions (OSX, OSXvnc) are you using?
  17. R

    Looking for help with our IRC client

    Wait a minute. When you use cvs, the cvs system creates a subdirectory named CVS in each of your project's directories. These CVS subdirectories basically contain three files: "Root" which holds the CVSROOT definition, "Repository" which indicates the relative position of the directory within...
  18. R

    Looking for help with our IRC client

    Oh yes, it does! It took me some time to find out, but it really does well. The only prerequisite is that you check-in the yourproject.pbproj as well. That is, within the yourproject.pbproj (which actually is a directory) there must be a CVS subdirectory containing the Root and Repository...
Back
Top