#!/bin/sh # Substitute for OpenWindows winsysck command # Usually run from .openwin-init to find out what # window system protocols (x11/news) are available verbose=0 all=0 found=0 if [ $# -lt 1 ]; then echo "Usage: $0 [-v] [-a] [-display display] {x11|news|x11news|sunview}" exit 2 fi for f in $*; do case $f in -v) verbose=1 ;; -a) all=1 ;; -display) shift ;; x11) found=1 if [ $verbose = 1 ]; then echo x11 fi exit 0 ;; news|x11news|sunview) ;; esac done exit 1