.xserverrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 25 Jul 2013 19:06:23 +0300
changeset 629 e7af6e868864
parent 277 38c4ac60b6fb
permissions -rw-r--r--
Set isql like prompt and go on semicolon.

#!/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" "$@"
elif [ -f /etc/debian_version ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec X -nolisten tcp "$@"
fi