+−#!/bin/sh +− +−# http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html +− +−if [ -n "$WINDIR" -o "$TERM" = cygwin ]; then +− # Probably under Cygwin. +− exec XWin -multiwindow -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle" +−else +− exec X +−fi