 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jon Bryan Guest
|
Posted: Sun Jan 16, 2005 11:05 pm Post subject: ttyname() problems |
|
|
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
|
Posted: Sun Jan 16, 2005 11:44 pm Post subject: Re: ttyname() problems |
|
|
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 |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group
|