ttyname() problems

J

Jon Bryan

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
 
K

Keith Thompson

Jon Bryan said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top