C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ttyname() problems

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language
View previous topic :: View next topic  
Author Message
Jon Bryan
Guest





PostPosted: Sun Jan 16, 2005 11:05 pm    Post subject: ttyname() problems Reply with quote



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

Back to top
Keith Thompson
Guest





PostPosted: Sun Jan 16, 2005 11:44 pm    Post subject: Re: ttyname() problems Reply with quote



Jon Bryan <jgbryan (AT) gmail (DOT) com> writes:
Quote:
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) [email]kst-u (AT) mib (DOT) org[/email] <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.

Back to top
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C Language All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group