diff options
-rw-r--r-- | Build/source/texk/texlive/tl_scripts/ChangeLog | 6 | ||||
-rwxr-xr-x | Build/source/texk/texlive/tl_scripts/texconfig-dialog.sh | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/tl_scripts/ChangeLog b/Build/source/texk/texlive/tl_scripts/ChangeLog index 6177fe89265..e152f31dc37 100644 --- a/Build/source/texk/texlive/tl_scripts/ChangeLog +++ b/Build/source/texk/texlive/tl_scripts/ChangeLog @@ -1,3 +1,9 @@ +2016-03-18 Karl Berry <karl@tug.org> + + * texconfig-dialog.sh (cleanup): termCtl ctl rather than reset, + to avoid altering user's terminal settings. + http://tug.org/pipermail/tex-live/2016-March/037852.html + 2015-04-27 Karl Berry <karl@tug.org> * Makefile.am (xmans): new phony target. diff --git a/Build/source/texk/texlive/tl_scripts/texconfig-dialog.sh b/Build/source/texk/texlive/tl_scripts/texconfig-dialog.sh index dd0abbe9412..9cfe74c54c0 100755 --- a/Build/source/texk/texlive/tl_scripts/texconfig-dialog.sh +++ b/Build/source/texk/texlive/tl_scripts/texconfig-dialog.sh @@ -43,7 +43,10 @@ cleanup() rc=$1 $needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \ && { cd / && rm -rf "$tmpdir"; } - termCtl reset + # use clear rather than reset since we cannot easily save and restore + # the terminal settings, which is what would be ideal. See thread + # starting at http://tug.org/pipermail/tex-live/2016-March/037852.html. + termCtl clear (exit $rc); exit $rc } |