head 1.5; access; symbols; locks alexis:1.5; strict; comment @# @; 1.5 date 98.03.01.14.56.44; author alexis; state Exp; branches; next 1.4; 1.4 date 97.10.26.18.54.19; author alexis; state Exp; branches; next 1.3; 1.3 date 97.10.26.12.12.35; author alexis; state Exp; branches; next 1.2; 1.2 date 97.10.26.10.14.46; author alexis; state Exp; branches; next 1.1; 1.1 date 97.10.22.21.45.53; author alexis; state Exp; branches; next ; desc @@ 1.5 log @added SCRIPTSHELLCMD_MARKER moved sndmsg from bin to sbin @ text @#!SCRIPTSHELLCMD_MARKER PROGNAME=`basename $0` VERSION="PATCHLEVEL_MARKER" RCS_ID_INTERNET_BUTTON='$Id: xppplcc.in,v 1.4 1997/10/26 18:54:19 alexis Exp alexis $' SNDMSG=LCLSBINDIR_MARKER/sndmsg XMESSAGE=/usr/bin/X11/xmessage usage() { echo "Usage: $PROGNAME [ -display ]" echo " $PROGNAME -V" exit 1 } while [ "X$1" != X ]; do case $1 in -display) DISPLAY=$2 shift ;; -V) echo "$PROGNAME version $VERSION" exit 0 ;; -*) usage ;; *) break ;; esac shift done [ "X$DISPLAY" = X ] && { echo "$PROGNAME: ERROR: you must set 'DISPLAY' or use '-display' option"; exit 1; } [ "X$1" != X ] && usage while :;do $XMESSAGE -bg black -fg green -geometry -0-0 -display $DISPLAY -title "Internet Connection" -buttons "Connect:2,Disconnect:3,Quit:4" " Click a word below " case $? in 2) $SNDMSG 0 ;; 3) $SNDMSG 5 ;; 4) exit ;; esac done @ 1.4 log @continued directory reorganisation @ text @d1 1 a1 1 #!/bin/sh d4 1 a4 1 RCS_ID_INTERNET_BUTTON='$Id: xppplcc.in,v 1.3 1997/10/26 12:12:35 alexis Exp alexis $' d6 1 a6 1 SNDMSG=LCLBINDIR_MARKER/sndmsg @ 1.3 log @stamped for release 1.0.6 @ text @d4 1 a4 1 RCS_ID_INTERNET_BUTTON='$Id: xppplcc.in,v 1.2 1997/10/26 10:14:46 alexis Exp alexis $' d6 1 a6 1 SNDMSG=LCLSBINDIR_MARKER/sndmsg @ 1.2 log @step @ text @d4 1 a4 1 RCS_ID_INTERNET_BUTTON='$Id: xppplcc.in,v 1.1 1997/10/22 21:45:53 alexis Exp alexis $' @ 1.1 log @Initial revision @ text @d4 1 a4 1 RCS_ID_INTERNET_BUTTON='$Id$' d6 1 a6 1 SNDMSG=SBINDIR_MARKER/sndmsg @