Search:

Type: Posts; User: sauronnikko; Keyword(s):

Search: Search took 0.16 seconds.

  1. Replies
    5
    Views
    366

    [other] Re: NTFS partition lost

    I did an update-grub but it didn't work. To do bootrec, I'd need to be able to use the console from the Windows 7 DVD, but remember that no menu appears, it just shows the background and stops...
  2. Replies
    5
    Views
    366

    [other] Re: NTFS partition lost

    Ok, from Super Grub I can get to Win 7. But the problem persists: when booting from the Hard Drive without any help from Super Grub, the PC reboots, and, in Ubuntu, I can't access my Windows...
  3. Replies
    5
    Views
    366

    [other] NTFS partition lost

    Hello. I'm using Windows 7 and Ubuntu in two differents partitions in my hard drive. I was on Windows 7 and decided to reboot. When the grub screen should have appeared, instead the computer rebooted...
  4. Replies
    0
    Views
    260

    [ubuntu] No sound after installing alsa driver

    Hello. I installed the alsa-driver from this page: http://www.alsa-project.org/main/index.php/Download. After that, I got no sound. I tried running alsamixer but it said "cannot open mixer: No such...
  5. [ubuntu] Intel GMA 3100 and GLX missing on display

    Hello. I have a NVIDIA graphic card which became damaged yesterday. I had to remove it and now I'm using my Intel GMA 3100 which came with the motherboard. Everything works fine, but when I try to...
  6. Replies
    9
    Views
    469

    Re: Replacing string in C

    It gives me Segmentation Fault in either case. Perhaps the solution is somewhat similar but I can't see it
  7. Replies
    9
    Views
    469

    Replacing string in C

    Hi. Let's say I have to strings in C:


    char *c1 = "Hello";
    char *c2 = "Bye";

    c2 will always be at most as large as c1. What if I want to replace the "Hello" in c1 with the contents of c2, so...
  8. Replies
    1
    Views
    329

    Parsing characters' problem in Python

    Hi. I'm trying to parse a file which has words with accent. For this, I use codecs.open ('nameoffile', 'r', 'utf-8'). Then, for every line in the open document, I do a re.search () to find if the...
  9. [ubuntu] Problem running XP after installing Ubuntu

    Hi. I installed Ubuntu 9.04 with the intention of dual-booting with Windows XP (SP3). I have a 500GB Hard Drive and chose to install Ubuntu "side by side" with XP, giving Ubuntu a little less than...
  10. Replies
    7
    Views
    1,697

    Re: Overwriting in Named Pipes (C)

    I wrote the programs as you did and everything worked fine. Thank you!
  11. Replies
    7
    Views
    1,697

    Re: Overwriting in Named Pipes (C)

    lloyd_b, you're absolutely right. It prints 3 times but it does not always print 3 times. Sometimes it prints once or twice. It's kind of a mistery. Perhaps you tried once and got that result, but if...
  12. Replies
    7
    Views
    1,697

    Re: Overwriting in Named Pipes (C)

    I'm not exactly sure if there's some overwriting involved but here is what's happening exactly:

    This is the reader program:



    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>...
  13. Replies
    7
    Views
    1,697

    Overwriting in Named Pipes (C)

    Hello. I wish to have two processes communicating with each other by named pipes. I create the named piped in process 1 using mkfifo(), and then I open it in process 1 and process 2. Process 1 shall...
  14. Re: Using signals between unrelated processes (C)

    Thank you. You were right, I needed to set up a signal handler for the process that was receiving the signal. Also, I know that other ways of communications such as pipes are better, but I was...
  15. Re: Using signals between unrelated processes (C)

    This is the signal handler function:

    void signalHandler (int sig) {
    printf ("PRINT\n");
    }

    This is where I install the signal handler (I do this in main):

    signal (SIGUSR1,...
  16. Using signals between unrelated processes (C)

    Hi. I'm having quite a headache trying to communicate two processes which have no relation (one is not the child of the other). I use SIGUSR1 for this purpose. i just want to send one signal from...
Results 1 to 16 of 16