+grml-scripts (0.9.26) unstable; urgency=low
+
+ * Added iso-term (wrapper script to run x-terminal-emulator in iso885915
+ mode).
+
+ -- Michael Prokop <mika@grml.org> Sat, 17 Mar 2007 19:59:09 +0100
+
grml-scripts (0.9.25) unstable; urgency=low
* zsh-login: do not run grml-quickconfig when booting with 'nocolor'
dh_installdocs
dh_installman manpages/grml-scripts.1 manpages/reread_partition_table.8 manpages/gtf.1 manpages/random-hostname.1 \
manpages/grml-setkeyboard.8 manpages/grml-setlang.8 manpages/getsf.1 manpages/grml-iptstate.8 manpages/qma.1 manpages/grml-swapon.8 \
- manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 manpages/grml-setservices.8 manpages/grml-quickconfig.8
+ manpages/grml2ram.8 manpages/gsuggest.1 manpages/dirvish-setup.8 manpages/grml-setservices.8 manpages/grml-quickconfig.8 \
+ manpages/iso-term.1
# cp --no-dereference man/*.1.gz debian/grml-scripts/usr/share/man/man1/
dh_link /usr/sbin/blacklist /usr/sbin/unblacklist \
/usr/share/man/man1/grml-scripts.1.gz /usr/share/man/man1/align.1.gz \
--- /dev/null
+.TH iso-term 1
+.SH "NAME"
+iso-term \- wrapper script to run x-terminal-emulator in iso885915 mode
+.SH SYNOPSIS
+.B iso-term
+.SH DESCRIPTION
+This manual page documents briefly the
+.B iso-term
+command.
+.SH OPTIONS
+iso-term does not support any options.
+.SH NOTES
+iso-term is a simple wrapper script to run x-terminal-emulator in iso885915 mode.
+This might be useful when you have to connect to a remote system which is running
+in iso885915 mode even though your local system uses utf-8.
+.SH USAGE EXAMPLES
+.TP
+.B iso-term
+Run x-terminal-emulator in iso mode.
+.SH AUTHOR
+iso-term was written by Michael Prokop <mika@grml.org>.
+.PP
+This manual page was written by Michael Prokop
+<mika@grml.org> for the grml project (but may be used by others).
--- /dev/null
+#!/bin/sh
+# Filename: iso-term
+# Purpose: wrapper script to run x-terminal-emulator in iso885915 mode
+# 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 Mär 17 19:56:13 CET 2007 [mika]
+################################################################################
+
+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
+ x-terminal-emulator
+else
+ x-terminal-emulator
+fi
+
+## END OF FILE #################################################################