When I need to configure terminal line settings when the terminal shell is available, I use
When I attach a debugger to a process that's running curses, the current tty settings get in the way of running the debugger (echo is off, newlines do not get translated). I'd like to be able turn on
onlcr, so I can properly use the debugger (
When I suspend this process (
z) to check the control settings with
stty, these terminal settings have not changed. I think that curses may save/restore these settings upon the suspend / resume signals.
Is there a way to remotely set the terminal settings with a active process without suspending to the parent shell?