Mercurial > dropbear
comparison cli-chansession.c @ 301:fb3678bdb8c7
merge of 6ace12c71fc2773210f2f3d374c96622ca54fe48
and 84eb6fedc6df0666f8053b9018bf16635dbfb257
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:44 +0000 |
parents | baea1d43e7eb |
children | 1876c6bb084b |
comparison
equal
deleted
inserted
replaced
298:7dad470ad4aa | 301:fb3678bdb8c7 |
---|---|
160 TRACE(("leave cli_tty_cleanup")) | 160 TRACE(("leave cli_tty_cleanup")) |
161 } | 161 } |
162 | 162 |
163 static void put_termcodes() { | 163 static void put_termcodes() { |
164 | 164 |
165 TRACE(("enter put_termcodes")) | |
166 | |
167 struct termios tio; | 165 struct termios tio; |
168 unsigned int sshcode; | 166 unsigned int sshcode; |
169 const struct TermCode *termcode; | 167 const struct TermCode *termcode; |
170 unsigned int value; | 168 unsigned int value; |
171 unsigned int mapcode; | 169 unsigned int mapcode; |
170 | |
171 TRACE(("enter put_termcodes")) | |
172 | 172 |
173 unsigned int bufpos1, bufpos2; | 173 unsigned int bufpos1, bufpos2; |
174 | 174 |
175 if (tcgetattr(STDIN_FILENO, &tio) == -1) { | 175 if (tcgetattr(STDIN_FILENO, &tio) == -1) { |
176 dropbear_log(LOG_WARNING, "Failed reading termmodes"); | 176 dropbear_log(LOG_WARNING, "Failed reading termmodes"); |