00001 /* This software is subject to the terms of the Common Public License 00002 You must accept the terms of this license to use this software. 00003 00004 Copyright (C) 2002, International Business Machines Corporation 00005 and others. All Rights Reserved. 00006 00007 Further information about Common Public License Version 0.5 is obtained 00008 from url http://oss.software.ibm.com/developer/opensource/license-cpl.html 00009 */ 00015 #ifndef __TTY__ 00016 #define __TTY__ 00017 #include <termios.h> 00018 #include <sys/types.h> 00019 #include "iterm/io.h" 00020 00030 TerminalIO* TtyTerminalIO_new(int width,int height, 00031 char *program_name, char *argv[]); 00032 00037 void TtyTerminalIO_destroy(TerminalIO *tio); 00038 00044 int TtyTerminalIO_get_associated_fd(TerminalIO *tio); 00045 #endif