Commit | Line | Data |
---|---|---|
56c27552 | 1 | #!/bin/sh |
338bc554 | 2 | # @(#)plot.sh 4.5 (Berkeley) %G% |
50d0fb3e | 3 | # |
56c27552 | 4 | PATH=/bin:/usr/bin:/usr/ucb |
50d0fb3e SL |
5 | case $1 in |
6 | -T*) t=$1 | |
7 | shift ;; | |
8 | *) t=-T$TERM | |
9 | esac | |
10 | case $t in | |
56c27552 RC |
11 | -T450) exec t450 $*;; |
12 | -T300) exec t300 $*;; | |
13 | -T300S|-T300s) exec t300s $*;; | |
14 | -Tver) exec lpr -Pversatec -g $*;; | |
15 | -Tvar) exec lpr -Pvarian -g $*;; | |
50d0fb3e | 16 | -Ttek|-T4014|-T) exec tek $* ;; |
6eed6196 | 17 | -T4013) exec t4013 $* ;; |
56c27552 RC |
18 | -Tbitgraph|-Tbg) exec bgplot $*;; |
19 | -Tgigi|-Tvt125) exec gigiplot $*;; | |
20 | -Taed) exec aedplot $*;; | |
21 | -Thp7221|-Thp7|-Th7) exec hp7221plot $*;; | |
22 | -Thp|-T2648|-T2648a|-Thp2648|-Thp2648a|h8) | |
23 | exec hpplot $*;; | |
f6695ed0 | 24 | -Tip|-Timagen) exec implot $*;; |
338bc554 | 25 | -Tgrn) exec grnplot $*;; |
56c27552 RC |
26 | -Tcrt) exec crtplot $*;; |
27 | -Tdumb|un|unknown) exec dumbplot $*;; | |
28 | *) exec crtplot $*;; | |
50d0fb3e | 29 | esac |