Diffstat (limited to 'noncore/apps/opie-console/MyPty.cpp') (more/less context) (ignore 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 | |||
@@ -61,20 +61,16 @@ | |||
61 | 61 | ||
62 | There's a sinister ioctl(2), signal(2) and job control stuff | 62 | There's a sinister ioctl(2), signal(2) and job control stuff |
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> |
79 | #include <stdio.h> | 75 | #include <stdio.h> |
80 | #include <signal.h> | 76 | #include <signal.h> |
@@ -97,17 +93,16 @@ using namespace Opie::Core; | |||
97 | 93 | ||
98 | /*! | 94 | /*! |
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 | } |
112 | 107 | ||
113 | 108 | ||