BSD 4_3_Tahoe development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 23 Sep 1986 17:56:42 +0000 (09:56 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 23 Sep 1986 17:56:42 +0000 (09:56 -0800)
Work on file usr/src/new/dipress/src/bin/qip

Synthesized-from: CSRG/cd2/4.3tahoe

usr/src/new/dipress/src/bin/qip [new file with mode: 0644]

diff --git a/usr/src/new/dipress/src/bin/qip b/usr/src/new/dipress/src/bin/qip
new file mode 100644 (file)
index 0000000..8d22ea4
--- /dev/null
@@ -0,0 +1,53 @@
+#! /bin/csh
+# (C) Copyright 1985, 1986  Xerox Corp.
+#
+# This is a shell script that can be used to simulate the MDQS queuing
+# command "qip".  Dipress and maha only use the following options:
+#
+#    -nc               don't make a copy of this file
+#    -nk               don't keep the file after printing it (delete it)
+#    -c copies         number of copies requested
+#    -t banner         set the banner message on the break page
+#    -x Fname          the name it should be filed on
+#
+#
+set flags=() noglob fonts=() device=8044 outputname=()
+unset copies
+unset title
+unset extended
+unset delete
+set copy
+top:
+if ($#argv > 0) then
+       switch ($argv[1])
+
+       case -nc:
+               unset copy
+               shift argv
+               goto top
+
+       case -nk:
+               set delete
+               shift argv
+               goto top
+
+       case -c:
+               shift argv
+               set copies=$argv[1]
+               shift argv
+               goto top
+
+       case -t:
+               shift argv
+               set title=$argv[1]
+               shift argv
+               goto top
+
+       case -x:
+               shift argv
+               set extended=$argv[1]
+               shift argv
+               goto top
+       endsw
+endif
+echo "insert your command here"