@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel
set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} {
if {[catch {{*}$sttycmd -g <@$channel} previous_stty_state_$channel]} {
if {[catch {exec {*}$sttycmd -g <@$channel} previous_stty_state_$channel]} {
set previous_stty_state_$channel ""
}