#!/bin/sh # Filename: iso-term # Purpose: wrapper script to run x-terminal-emulator in iso885915 mode # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. ################################################################################ isutfenv() { case "$LANG $CHARSET $LANGUAGE" in (*utf*) return 0 ;; (*UTF*) return 0 ;; (*) return 1 ;; esac } if isutfenv ; then for ENV in $(env | grep UTF) ; do eval export "$(echo "$ENV" | sed 's/UTF-8/iso885915/')" done fi ZSH_NO_DEFAULT_LOCALE=1 x-terminal-emulator "$@" ## END OF FILE #################################################################