https://gitlab.synchro.net/main/sbbs/-/commit/84fd9628756f2ee301a42cd6
Modified Files:
src/sbbs3/jsexec.c
Log Message:
Only change the terminal/tty state if both the input AND output are TTY
... so when the output is redirected (e.g. to 'more' or 'less') we don't leave the terminal in a bad state when terminating.
Fixes issue #999
--- SBBSecho 3.30-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)