Browse Source

console raw mode fix for unix

master
Julian Noble 3 months ago
parent
commit
2ee3c3c763
  1. 2
      src/bootsupport/modules/punk/console-0.1.1.tm
  2. 2
      src/modules/punk/console-999999.0a1.0.tm
  3. 2
      src/project_layouts/custom/_project/punk.project-0.1/src/bootsupport/modules/punk/console-0.1.1.tm
  4. 2
      src/project_layouts/custom/_project/punk.shell-0.1/src/bootsupport/modules/punk/console-0.1.1.tm
  5. 2
      src/vfs/_vfscommon/modules/punk/console-0.1.1.tm

2
src/bootsupport/modules/punk/console-0.1.1.tm

@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel variable previous_stty_state_$channel
set sttycmd [auto_execok stty] set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} { 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 "" set previous_stty_state_$channel ""
} }
} }

2
src/modules/punk/console-999999.0a1.0.tm

@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel variable previous_stty_state_$channel
set sttycmd [auto_execok stty] set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} { 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 "" set previous_stty_state_$channel ""
} }
} }

2
src/project_layouts/custom/_project/punk.project-0.1/src/bootsupport/modules/punk/console-0.1.1.tm

@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel variable previous_stty_state_$channel
set sttycmd [auto_execok stty] set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} { 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 "" set previous_stty_state_$channel ""
} }
} }

2
src/project_layouts/custom/_project/punk.shell-0.1/src/bootsupport/modules/punk/console-0.1.1.tm

@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel variable previous_stty_state_$channel
set sttycmd [auto_execok stty] set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} { 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 "" set previous_stty_state_$channel ""
} }
} }

2
src/vfs/_vfscommon/modules/punk/console-0.1.1.tm

@ -183,7 +183,7 @@ namespace eval punk::console {
variable previous_stty_state_$channel variable previous_stty_state_$channel
set sttycmd [auto_execok stty] set sttycmd [auto_execok stty]
if {[set previous_stty_state_$channel] eq ""} { 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 "" set previous_stty_state_$channel ""
} }
} }

Loading…
Cancel
Save