2 # Filename: grml-init-screen
3 # Purpose: fix tty permissions and run screen and zsh afterwards
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2.
7 ################################################################################
9 # export variable USER for use withing GNU screen:
15 sudo chown $USER.tty $TTY
19 # do we have a utf8 enabled terminal?
20 [ -x /usr/bin/vt-is-UTF8 ] && /usr/bin/vt-is-UTF8 -q && UTF='-U'
21 /usr/bin/screen $UTF -c /etc/grml/screenrc ; exec /bin/zsh
23 ## END OF FILE #################################################################