ttyname() problems

Discussion in 'C Programming' started by Jon Bryan, Jan 16, 2005.

  1. Jon Bryan

    Jon Bryan Guest

    Hello,
    I am writing a Terminal Emulator, and for the Window Title I want
    something like "termname -- shell -- ttysize -- ttyname." I have
    everything figured out except for how to find the ttyname. There is a
    function defined in unistd.h. I cannot get it to work right. Would
    someone please give me an example?

    Thanks
    ~ Jon Bryan
    Jon Bryan, Jan 16, 2005
    #1
    1. Advertising

  2. Jon Bryan <> writes:
    > I am writing a Terminal Emulator, and for the Window Title I
    > want something like "termname -- shell -- ttysize -- ttyname." I have
    > everything figured out except for how to find the ttyname. There is a
    > function defined in unistd.h. I cannot get it to work right. Would
    > someone please give me an example?


    Not here. Try comp.unix.programmer.

    --
    Keith Thompson (The_Other_Keith) <http://www.ghoti.net/~kst>
    San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
    We must do something. This is something. Therefore, we must do this.
    Keith Thompson, Jan 16, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Srinivas Kanakapally [MSFT]

    RE: Vs.net Server Explorer Diagram Problems

    Srinivas Kanakapally [MSFT], Jul 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    2,954
    Srinivas Kanakapally [MSFT]
    Jul 8, 2003
  2. BestNews
    Replies:
    0
    Views:
    3,157
    BestNews
    Aug 20, 2003
  3. Susan Baker
    Replies:
    2
    Views:
    806
    kelvSYC
    Jun 26, 2005
  4. Shelly

    Problems, problems for newbie

    Shelly, Sep 2, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    2,178
    Shelly
    Sep 3, 2007
  5. Sak Na rede
    Replies:
    0
    Views:
    412
    Sak Na rede
    Jan 30, 2009
Loading...

Share This Page