Search:

Type: Posts; User: heras

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    7,853

    Forgot about that. Kubuntu 7.10, so that's:...

    Forgot about that. Kubuntu 7.10, so that's:
    linux 2.6.22
    glibc 2.6.1
    gcc 4.1.3
    ncurses 5.6

    The new version behaves and behaves the same in both terminals.
  2. Replies
    19
    Views
    7,853

    The shell that is built into my editor has a...

    The shell that is built into my editor has a white back ground (by default, before running your code), my terminal starts out black. Both get messed up afterwards.
  3. Replies
    3
    Views
    1,963

    A quick search pointed out to me that it has been...

    A quick search pointed out to me that it has been suggested to you at least 3 times already:
    - not to use void main
    - do proper indentation
    but it does not appear to be registering.
  4. Replies
    14
    Views
    7,382

    Thanks. So I guess "good practice" depends on...

    Thanks.
    So I guess "good practice" depends on what kind of daemon you're making and what it does.
  5. Replies
    14
    Views
    7,382

    What will happen then when something tries to...

    What will happen then when something tries to write to any of the closed descriptors? As opposed to when you connect them to /dev/null like so:

    for (i=getdtablesize();i>=0;--i) close(i); /*...
  6. Another model, used by Trolltech for their Qt: -...

    Another model, used by Trolltech for their Qt:
    - Develope an open, free(GPL) and gratis tool kit. Get gratis help from communities such as that of KDE.
    - Sell licenses without the "restrictions" of...
  7. Thread: Broadband Speed?

    by heras
    Replies
    78
    Views
    15,841

    Ok. I thought you were suggesting that not...

    Ok. I thought you were suggesting that not reaching advertised speeds was due to other users on the networks as an only factor. My bad, probably.
  8. Thread: Broadband Speed?

    by heras
    Replies
    78
    Views
    15,841

    I doubt that that is the case. In stead I think...

    I doubt that that is the case. In stead I think it has to do with the fact that DSL speeds degrade sharply with increasing distance to the phone exchange.
  9. Replies
    5
    Views
    3,460

    A while back there was an interesting article...

    A while back there was an interesting article about the Open Graphics Project on kerneltrap.org. http://wiki.opengraphics.org./tiki-index.php?page=Development_Tools But I'm not sure how relevant that...
  10. Replies
    5
    Views
    9,776

    I'm not cutting it with just the man pages and my...

    I'm not cutting it with just the man pages and my least unsuccessful search, "sigaction example", hasn't helped me understand it much better. Some questions / assumptions:
    - SA_RESTART: "restarting...
  11. Replies
    5
    Views
    9,776

    I didn't realize the implementation difference,...

    I didn't realize the implementation difference, I'll stick to linux only man-pages from now on. And I'll try putting sigaction() in a wrapper function.
    Thank you both for the clarification.
    Cheers,...
  12. Replies
    5
    Views
    9,776

    Wrapping sigaction() in loop until != EINTR;

    Hi,
    In another thread brewbuck pointed out that sigaction() may return EINTR and that all such calls should be wrapped in a loop to retry until they no longer return EINTR. The code being discussed...
  13. Replies
    40
    Views
    8,138

    When I was a wee boy I used to program BASIC on...

    When I was a wee boy I used to program BASIC on my BBC Micro :'(
    Does that count? Nah, I didn't think so ...
    :D
  14. And after asking twice, I notice that I still...

    And after asking twice, I notice that I still haven't answered your question, sorry:

    My implementation comes from this FAQ without fully understanding it.

    Turns out I'm wrong. The below code...
  15. Thanks for the explanation, I think I understand...

    Thanks for the explanation, I think I understand :)
    Actually, the next thing I wanted to try is putting the functions in separate files, so by then it may be more relevant to consider this.
  16. Thanks, I'll try to move that stuff to main(). ...

    Thanks, I'll try to move that stuff to main().


    I think it makes sure that the source of whatever kind cannot be altered. Or was that const ... But I haven't yet rtfm of either static or const.
    ...
  17. So checking if (fp == NULL) is not enough? When I...

    So checking if (fp == NULL) is not enough? When I enter a non-existent file name, the program quits with "fopen: No such file or directory". Perhaps this would be better? (I don't know if this...
  18. Yay! It now does what I want, sort of. I have...

    Yay! It now does what I want, sort of. I have some questions though.

    - gcc -Wall doesn't care whether read_line() is int or char. I thought EOF is int, no?
    - Is there a point in freeing memory...
  19. Thread: Torrentspy Down

    by heras
    Replies
    18
    Views
    4,715

    You made a blanket statement (all too prevalent...

    You made a blanket statement (all too prevalent in such discussions) that I asked you to back up. I merely provided an example of why it's not that black and white.
  20. Thread: Torrentspy Down

    by heras
    Replies
    18
    Views
    4,715

    Do you have a source to go with that? Not this...

    Do you have a source to go with that? Not this one perhaps? fyi.
  21. Replies
    41
    Views
    6,118

    Your milage may vary.

    Your milage may vary.
  22. Replies
    41
    Views
    6,118

    That is not true.

    That is not true.
  23. :D Thanks matsp! That was an easier fix than I...

    :D
    Thanks matsp! That was an easier fix than I thought. xuftugulus, thanks for catching those bugs, I'll clean up the loop with proper checking.

    The off by 2 thing turns out to be related to the...
  24. Thread: Linux problems

    by heras
    Replies
    1
    Views
    1,570

    Sounds like "hours of fun"...

    Sounds like "hours of fun". Maybe you want to try a distro that has a package for this driver.
  25. Replies
    57
    Views
    10,205

    Instead of spying, you could save yourself the...

    Instead of spying, you could save yourself the trouble and use something like Dansguardian. There must be something similar for Windows platforms.
Results 1 to 25 of 44
Page 1 of 2 1 2