Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,048

    Re: How Can I make a POSIX/C regex non-greedy?

    Yeah, the ? only works for Perl-based regexp, not for POSIX...
  2. Replies
    3
    Views
    1,048

    How Can I make a POSIX/C regex non-greedy?

    So I have a code where I am trying to extract a part of a url, the part between the http:// and the first /. Like this:




    #include <stdio.h>
    #include <stdlib.h>
    #include <sys/types.h>...
  3. Replies
    9
    Views
    1,432

    Re: Example of how to use the C read function

    Ah! I see where you're going with this now.

    The constraints of the exercise do not allow me to modify the ch_read function. However, I can append a special character to the original message to...
  4. Replies
    9
    Views
    1,432

    Re: Example of how to use the C read function

    The read() call will fail if there is no data to be read-i.e, all the characters from the message have been read in. So I somehow need to prevent the call to read() after the last character. If the...
  5. Replies
    9
    Views
    1,432

    Re: Example of how to use the C read function

    Given that I am still getting the entirety of the message (along with the error), my guess is that the ch_read function is being called on the null terminator at the end of msg.

    So, I add an if...
  6. Replies
    9
    Views
    1,432

    Re: Example of how to use the C read function

    Yes, you are correct of course.

    I saw that error some time after posting this, and meant to come back and update the thread. However, while it does fix the segfault, I still have a small issue. ...
  7. Replies
    9
    Views
    1,432

    Example of how to use the C read function

    Wracking my brain on this one. I have a C code like this:



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    int ch_read (char *foo)
    {
  8. Replies
    3
    Views
    3,548

    [ubuntu] Re: Ubuntu 10.04 Remote Desktop with xrdp

    Ttt
  9. Replies
    3
    Views
    3,548

    [ubuntu] Ubuntu 10.04 Remote Desktop with xrdp

    Hello, all,

    I am trying to enable rdp server on my ubuntu machine. I installed xrdp using apt-get, but when I try to connect (setting protocol to sesman-X11rdp) it authenticates, but dies with...
  10. Re: [Qt4] Send commands to process running in embedded xterm?

    Try to TTT one more time
  11. Re: [Qt4] Send commands to process running in embedded xterm?

    I am going to TTT this, found thread on google search, also looking for how to send commands to embedded xterm.
  12. Replies
    4
    Views
    2,028

    [ubuntu] Re: Tabbed telnet/ssh client for Ubuntu?

    Perfect! Exactly what I needed, thank you!
  13. Replies
    4
    Views
    2,028

    [ubuntu] Tabbed telnet/ssh client for Ubuntu?

    Hello,

    Curious as to whether there is a tabbed telnet/ssh client (Similar to Poderosa) for Ubuntu?

    Thanks.
  14. Replies
    8
    Views
    23,521

    [ubuntu] Re: Ubuntu 9.04: How to add to PATH?

    Ah. Thank you very much!
  15. Replies
    8
    Views
    23,521

    [ubuntu] Ubuntu 9.04: How to add to PATH?

    Hello,

    I am trying to install application perl2exe on my system. When I run


    ./setup

    on my system, I get this:
  16. Replies
    3
    Views
    504

    [ubuntu] Re: How to set up LAMP using Perl?

    The file is stored in a root-protected directory (/var/www, same directory as PHP files) so I did



    chmod ogu+x


    But still get error 403.
  17. Replies
    3
    Views
    504

    [ubuntu] Re: How to set up LAMP using Perl?

    Ok, so, incredibly stupidly, I forgot to



    chmod 700


    on my .cgi file. However, now when I try to run it, I get error 403 Forbidden.

    Any one can help with this?
  18. Replies
    3
    Views
    504

    [ubuntu] How to set up LAMP using Perl?

    So, I have my LAMP set up with PHP, which works great. If I point my browser at localhost/hello.php, I get my hello world program.

    Problem is, my PHP skills leave much to be desired. So how can...
  19. Replies
    3
    Views
    542

    [ubuntu] SSH into server from remote machine?

    Hello all,

    I recently installed Ubuntu server edition to my computer. Presently, I can access it via ssh if type:


    ssh username@server_ip_address

    My question is, can I make it so that I...
  20. [ubuntu] How to execute Java programs from the terminal?

    Hello,

    I have the following Java program:



    public class hello
    {
    public static void main(String args[])
    {
  21. Re: Merry Christmas to all newbies and gurus alike!!

    Yay for political incorrectness!!! Merry Christmas!
  22. Replies
    8
    Views
    26,131

    [ubuntu] Re: How to open .jnlp files in 64-bit ubuntu?

    If I try doing that, it does absolutely nothing...
  23. Replies
    8
    Views
    26,131

    [ubuntu] Re: How to open .jnlp files in 64-bit ubuntu?

    Hello,

    If I try to open the file in firefox, I get:

    /home/obriem5/Desktop/rpischeduler.jnlp could not be opened, because an unknown error occurred.

    Try saving to disk first and then opening...
  24. Replies
    8
    Views
    26,131

    [ubuntu] How to open .jnlp files in 64-bit ubuntu?

    Hello,

    I am running 64-bit Ubuntu 8.10. Is there any way to open .jnlp files? Presently, when I click on the file, nothing happens.

    Thank you.
  25. [ubuntu] Change to a directory name that is more than one word?

    Hello,

    I am curious, is there a way, using the cd terminal command, to change to a directory which has spaces in it's name?
Results 1 to 25 of 53
Page 1 of 3 1 2 3