xref: /csrg-svn/usr.bin/plot/plot.sh (revision 62169)
148287Sbostic#!/bin/sh -
213767Ssam#
348287Sbostic# %sccs.include.proprietary.sh%
448287Sbostic#
5*62169Sbostic#	@(#)plot.sh	8.1 (Berkeley) 06/06/93
648287Sbostic#
748287Sbostic
838488SbosticPATH=/bin:/usr/bin:/usr/libexec/plot
913767Ssamcase $1 in
1013767Ssam-T*)	t=$1
1113767Ssam	shift ;;
1213767Ssam*)	t=-T$TERM
1313767Ssamesac
1413767Ssamcase $t in
1538488Sbostic-T450)			exec t450 "$@";;
1638488Sbostic-T300)			exec t300 "$@";;
1738488Sbostic-T300S|-T300s)		exec t300s "$@";;
1838488Sbostic-Tver)			exec lpr -Pversatec -g "$@";;
1938488Sbostic-Tvar)			exec lpr -Pvarian -g "$@";;
2038488Sbostic-Ttek|-T4014|-T)	exec tek "$@" ;;
2138488Sbostic-T4013)			exec t4013 "$@" ;;
2238488Sbostic-Tbitgraph|-Tbg)	exec bgplot "$@";;
2338488Sbostic-Tgigi|-Tvt125)		exec gigiplot "$@";;
2438488Sbostic-Taed)			exec aedplot "$@";;
2538488Sbostic-Thp7221|-Thp7|-Th7)	exec hp7221plot "$@";;
2615508Sralph-Thp|-T2648|-T2648a|-Thp2648|-Thp2648a|h8)
2738488Sbostic			exec hpplot "$@";;
2838488Sbostic-Tip|-Timagen)		exec implot "$@";;
2938488Sbostic-Tgrn)			exec grnplot "$@";;
3038488Sbostic-Tcrt)			exec crtplot "$@";;
3138488Sbostic-Tdumb|un|unknown)	exec dumbplot "$@";;
3238488Sbostic*)  			exec crtplot "$@";;
3313767Ssamesac
34