Search:

Type: Posts; User: TuXaKoS

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Popen Write

    by TuXaKoS
    Replies
    5
    Views
    1,748

    i can't find an example.. could you give me one...

    i can't find an example.. could you give me one pls? :)
  2. Thread: Popen Write

    by TuXaKoS
    Replies
    5
    Views
    1,748

    thx for your answer, but how i write?

    thx for your answer, but how i write?
  3. Thread: Popen Write

    by TuXaKoS
    Replies
    5
    Views
    1,748

    Popen Write

    Hi,
    How can i use the popen to write something into the application that i call? The application requires to write "y" to continue. :/
  4. Replies
    7
    Views
    2,416

    The operating system is linux.. my mistake.. :$

    The operating system is linux.. my mistake.. :$
  5. Replies
    7
    Views
    2,416

    String and special characters (*)

    Hello,

    I'm writing a c program and i want to open some files using output*.cap.
    When i use "output*.cap" the compiler doesn't recognize * as wildcard character.
    How can i write "output*.cap"...
  6. Replies
    3
    Views
    2,151

    Ops sorry.. in Linux.

    Ops sorry.. in Linux.
  7. Replies
    3
    Views
    2,151

    Fork() and exec() help

    Hello,

    I want to execute a shell command and after a while terminate it. Is it posible? and how?
  8. Replies
    25
    Views
    10,686

    if you want the bass player you have to help me...

    if you want the bass player you have to help me :P. I'm sure there must be a way to bypass this s!@$!$@!.. :/
  9. Replies
    25
    Views
    10,686

    i don't want to change the source of airodump :/...

    i don't want to change the source of airodump :/ i need it as it comes with aircrack :/ any other solution? maybe if i use ioctl on my code?
  10. Replies
    25
    Views
    10,686

    MK27 here's the code from airodump source ...

    MK27 here's the code from airodump source


    /* update the window size */

    if( ioctl( 0, TIOCGWINSZ, &ws ) < 0 )
    {
    ws.ws_row = 25;
    ...
  11. Replies
    25
    Views
    10,686

    yes, nothing changed. i just make a gui for it :)

    yes, nothing changed. i just make a gui for it :)
  12. Replies
    25
    Views
    10,686

    yes, it use ioctl at the source of airodump :/...

    yes, it use ioctl at the source of airodump :/ but i can't change it from there because i need to use the airodump as it comes with aircrack-ng :/ any other idea?
  13. Replies
    25
    Views
    10,686

    hm.. i don't think that COLUMNS is the problem....

    hm.. i don't think that COLUMNS is the problem. :/ i use setenv to change it to 125. I use getenv before and after popen and it's still 125 but the output is only 80. :/

    i creater a buffer, char...
  14. Replies
    25
    Views
    10,686

    Yes, i have the source no command for formating...

    Yes, i have the source no command for formating :/ pff i need the whole output :/
  15. Replies
    25
    Views
    10,686

    Noep, nothing changed :/ maybe the problem is at...

    Noep, nothing changed :/ maybe the problem is at the buffer?

    i change the columns to 50. I use echo $COLUMNS it returns 50. I run the airodump-ng mon0 > tmp.txt and the columns change to 80 :/
  16. Replies
    25
    Views
    10,686

    could you give me an example? it's 2 am here in...

    could you give me an example? it's 2 am here in Greece, my mind myscles don't work at all :/
  17. Replies
    25
    Views
    10,686

    same thing. if the terminal is unmaximized i only...

    same thing. if the terminal is unmaximized i only get thom :/ how can i fix it? i want the whole output
  18. Replies
    25
    Views
    10,686

    i use this : fp2 = popen("/bin/bash -c...

    i use this :

    fp2 = popen("/bin/bash -c 'airodump-ng mon0 2>&1' ", "r");

    setvbuf ( fp2, NULL, _IOLBF, NULL);

    i read with this :

    fgets(path, PATH_MAX, fp2);
  19. Replies
    25
    Views
    10,686

    popen and /bin/bash -c

    Hello,

    I use fp = popen("/bin/bash -c command" , "r") to read the output of the command.
    The problem is that i don't take the whole output, i take only the output that an unmaximize shell window...
  20. Replies
    22
    Views
    5,794

    Nothing happens it shows the gui and just waiting...

    Nothing happens it shows the gui and just waiting for a signal. A button clicked or something like that. That's how glade works..
  21. Replies
    22
    Views
    5,794

    I don't have a main loop, the gui works only with...

    I don't have a main loop, the gui works only with signals i think :/
  22. Replies
    22
    Views
    5,794

    how? i mean the application that i call using...

    how? i mean the application that i call using popen is endless, every second it gives the avalaible wireless networks and some informations about them ( power, encryption, etc) i just want to take...
  23. Replies
    22
    Views
    5,794

    I see.. :/ but i want the gui to works. I have...

    I see.. :/ but i want the gui to works. I have an endless stream, I want to take line by line from the stream and put it into a treeview inside the gui. Really i don't know how is that possible :/...
  24. Replies
    22
    Views
    5,794

    Yes , but the gui becomes gray and i cant clicked...

    Yes , but the gui becomes gray and i cant clicked anything. It freeze.
  25. Replies
    22
    Views
    5,794

    could you give me an example? maybe using the...

    could you give me an example? maybe using the code i paste it above or something like that? :/
Results 1 to 25 of 43
Page 1 of 2 1 2