#!/bin/sh -e
# X terminals (m17n support)

# line 2 and 3 starting with # are shown as menu description.
# This is because this is executable.

# Debian menu is created as if the out put text of this executable script 
# below is here as normal file.

for XLANG in C \
 $(grep -v -e '^#' -e '^$' /etc/locale.gen | awk '{ print $1 ; }' | sort ) ; do
  echo "?package(m17n-env):\
 needs=\"x11\"\
 section=\"XShells/xterm-m17n\"\
 command=\"x-terminal-emulator-m17n $XLANG \" \
 title=\"$XLANG\""
done