Mercurial > dropbear
comparison cli-chansession.c @ 302:973fccb59ea4 ucc-axis-hack
propagate from branch 'au.asn.ucc.matt.dropbear' (head 11034278bd1917bebcbdc69cf53b1891ce9db121)
to branch 'au.asn.ucc.matt.dropbear.ucc-axis-hack' (head 10a1f614fec73d0820c3f61160d9db409b9beb46)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:59:58 +0000 |
parents | baea1d43e7eb |
children | 1876c6bb084b |
comparison
equal
deleted
inserted
replaced
299:740e782679be | 302:973fccb59ea4 |
---|---|
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"); |