Search:

Type: Posts; User: oncemyway

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,000

    using su with pseudo terminal

    Hello-

    I am trying to automate a call to su. Unfortunately, su requires input from a terminal. I have seen examples of how to create a pseudo terminal and I understand that su will accept input...
  2. Replies
    3
    Views
    6,512

    getchar buffer size

    hello-

    i am calling getchar, and i know usually that you have to hit enter to flush the buffer and read the data with getchar. however, i see that if i input 2k characters interactively, getchar...
  3. Replies
    14
    Views
    6,974

    thanks for the help guys, i got it to work with...

    thanks for the help guys, i got it to work with pipes.

    it worked for me to do write-only and read the output on the screen.

    just a quick question, if pipes are one-way, can you set up two pipes...
  4. Replies
    14
    Views
    6,974

    provide input to another program

    hello-

    i have program that accepts input via getchar() and performs a task after receiving that input. i know i can redirect stdin like so: a.out < inputfile to give input, but i am looking for a...
Results 1 to 4 of 4