summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-18 22:29:48 +0000
committerKarl Berry <karl@freefriends.org>2016-03-18 22:29:48 +0000
commitc8204d24b633703982454406ad573ab81160bbd0 (patch)
tree490d6937dbd92db77f7fad29922f3fc146aef13c
parent543c04aa3c6efd6959d7f0091ceb0619015ca62c (diff)
termCtl clear, rather than reset (from Ken Brown)
git-svn-id: svn://tug.org/texlive/trunk@40066 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/texlive/tl_scripts/ChangeLog6
-rwxr-xr-xBuild/source/texk/texlive/tl_scripts/texconfig-dialog.sh5
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
}