From: Michael Prokop Date: Wed, 21 Mar 2007 14:39:55 +0000 (+0100) Subject: grml*screen-scripts: use vt-is-UTF8 with quiet option X-Git-Tag: 0.9.33 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=refs%2Ftags%2F0.9.33;p=grml-scripts-core.git grml*screen-scripts: use vt-is-UTF8 with quiet option --- diff --git a/debian/changelog b/debian/changelog index f8c7abe..b76cd08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-scripts (0.9.33) unstable; urgency=low + + * grml*screen-scripts: use vt-is-UTF8 with quiet option, otherwise + detection of non-UTF8 terminals fails for us. Thanks for the + bug report, Gebi! + + -- Michael Prokop Wed, 21 Mar 2007 15:39:10 +0100 + grml-scripts (0.9.32) unstable; urgency=low * Added alignmargins (adjust the margins and the position of the printed diff --git a/usr_bin/grml-init-screen b/usr_bin/grml-init-screen index 8a08114..db22b67 100755 --- a/usr_bin/grml-init-screen +++ b/usr_bin/grml-init-screen @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Feb 17 12:14:46 CET 2007 [mika] +# Latest change: Mit Mär 21 15:39:07 CET 2007 [mika] ################################################################################ # export variable USER for use withing GNU screen: @@ -18,7 +18,7 @@ # now start screen: cd $HOME # do we have a utf8 enabled terminal? - [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 && UTF='-U' + [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 -q && UTF='-U' /usr/bin/screen $UTF -c /etc/grml/screenrc ; exec /bin/zsh ## END OF FILE ################################################################# diff --git a/usr_bin/grml-screen b/usr_bin/grml-screen index 500e89b..cd40503 100755 --- a/usr_bin/grml-screen +++ b/usr_bin/grml-screen @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Feb 17 12:15:05 CET 2007 [mika] +# Latest change: Mit Mär 21 15:39:00 CET 2007 [mika] ################################################################################ # export variable USER for use withing GNU screen: @@ -18,7 +18,7 @@ # now run screen with config cd $HOME # important for e.g. hardcopy-feature # do we have a utf8 enabled terminal? - [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 && UTF='-U' + [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 -q && UTF='-U' if [ `id -u` = 0 ] ; then exec screen $UTF -c /etc/grml/screenrc elif [ -r "$HOME/.screenrc" ] ; then