Making a terminal open other Terminals!

This is a discussion on Making a terminal open other Terminals! within the Linux Programming forums, part of the Platform Specific Boards category; Hi, i need some help on this, im trying to make a C code under linux that when i run ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    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, 07:10 PM
  2. open empty file
    By mystic-d in forum C Programming
    Replies: 2
    Last Post: 11-16-2007, 09: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, 02:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21