Diffstat (limited to 'noncore/apps/opie-console/MyPty.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/MyPty.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/MyPty.cpp b/noncore/apps/opie-console/MyPty.cpp index 315ea4a..27ba9ff 100644 --- a/noncore/apps/opie-console/MyPty.cpp +++ b/noncore/apps/opie-console/MyPty.cpp | |||
@@ -63,16 +63,12 @@ | |||
63 | nessesary to make everything work as it should. | 63 | nessesary to make everything work as it should. |
64 | */ | 64 | */ |
65 | 65 | ||
66 | #include "procctl.h" | 66 | #include "procctl.h" |
67 | #include "MyPty.h" | 67 | #include "MyPty.h" |
68 | 68 | ||
69 | /* OPIE */ | ||
70 | #include <opie2/odebug.h> | ||
71 | using namespace Opie::Core; | ||
72 | |||
73 | /* QT */ | 69 | /* QT */ |
74 | #include <qsocketnotifier.h> | 70 | #include <qsocketnotifier.h> |
75 | #include <qfile.h> | 71 | #include <qfile.h> |
76 | 72 | ||
77 | /* STD */ | 73 | /* STD */ |
78 | #include <stdlib.h> | 74 | #include <stdlib.h> |
@@ -99,13 +95,12 @@ using namespace Opie::Core; | |||
99 | Informs the client program about the | 95 | Informs the client program about the |
100 | actual size of the window. | 96 | actual size of the window. |
101 | */ | 97 | */ |
102 | 98 | ||
103 | void MyPty::setSize(int lines, int columns) | 99 | void MyPty::setSize(int lines, int columns) |
104 | { | 100 | { |
105 | owarn << "setting size" << oendl; | ||
106 | struct winsize wsize; | 101 | struct winsize wsize; |
107 | wsize.ws_row = (unsigned short)lines; | 102 | wsize.ws_row = (unsigned short)lines; |
108 | wsize.ws_col = (unsigned short)columns; | 103 | wsize.ws_col = (unsigned short)columns; |
109 | if(m_fd < 0) return; | 104 | if(m_fd < 0) return; |
110 | ioctl(m_fd,TIOCSWINSZ,(char *)&wsize); | 105 | ioctl(m_fd,TIOCSWINSZ,(char *)&wsize); |
111 | } | 106 | } |