Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

grml*screen-scripts: use vt-is-UTF8 with quiet option
authorMichael Prokop <mika@grml.org>
Wed Mar 21 15:39:55 2007 +0100 (20 months ago)
changeset 11005c9eb8a7f94
manifest05c9eb8a7f94
parent 1098b582be0f974
child 1119d3bff4a2772
tag0.9.33
grml*screen-scripts: use vt-is-UTF8 with quiet option
debian/changelog
usr_bin/grml-init-screen
usr_bin/grml-screen
--- a/debian/changelog Mon Mar 19 22:48:41 2007 +0100
+++ b/debian/changelog Wed Mar 21 15:39:55 2007 +0100
@@ -1,3 +1,11 @@ grml-scripts (0.9.32) unstable; urgency=
+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 <mika@grml.org> 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
--- a/usr_bin/grml-init-screen Mon Mar 19 22:48:41 2007 +0100
+++ b/usr_bin/grml-init-screen Wed Mar 21 15:39:55 2007 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# 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 #################################################################
--- a/usr_bin/grml-screen Mon Mar 19 22:48:41 2007 +0100
+++ b/usr_bin/grml-screen Wed Mar 21 15:39:55 2007 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# 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