Thread: Making a terminal open other Terminals!

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    2

    Question Making a terminal open other Terminals!

    Hi, i need some help on this, im trying to make a C code under linux that when i run it in the terminal ask me a number (#) and then opens # terminals. And i need to stablish a way for them to communicate, so the consoles that i opened can send information to the original one. Any idea or clue of how to acomplish this or what should i look for to learn about it, i would really appreciate it. Thanks!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    fork
    execl
    pipe
    dup2

    These are the functions you need for creating additional processes, and establishing a communication link between them

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    2
    hi salem, those functions i know, but i was talking about making another terminal appear from which i can input some data that the original terminal can read. Thanks for the interest! any more ideas?

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    How about reading the man pages for the functions given?

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open Software License 3.0 Explained
    By laserlight in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-08-2008, 08:10 PM
  2. open empty file
    By mystic-d in forum C Programming
    Replies: 2
    Last Post: 11-16-2007, 10:27 AM
  3. open files in a loop in C
    By podiyan in forum C Programming
    Replies: 2
    Last Post: 10-19-2007, 01:50 AM
  4. Problems with open and save boxes
    By pinkcheese in forum Windows Programming
    Replies: 3
    Last Post: 05-21-2002, 06:03 PM
  5. Controlling terminal tty
    By pdstatha in forum C Programming
    Replies: 0
    Last Post: 04-02-2002, 03:57 AM