+/*
+ * Special case the qdss because there are 4 tty structs per qdss
+ * and only the first of each is used as a tty.
+ */
+#ifdef vax
+doqdss()
+{
+ int nqd;
+ register struct tty *tp;
+
+ if (kflg) {
+ nl[SNQD].n_value = clear(nl[SNQD].n_value);
+ nl[SQD].n_value = clear(nl[SQD].n_value);
+ }
+ lseek(fc, (long)nl[SNQD].n_value, 0);
+ read(fc, &nqd, sizeof(nqd));
+ printf("%d qd\n", nqd);
+ lseek(fc, (long)nl[SQD].n_value, 0);
+ read(fc, tty, nqd * sizeof(struct tty) * 4);
+ printf(mesg);
+ for (tp = tty; tp < &tty[nqd * 4]; tp += 4)
+ ttyprt(tp, tp - tty);
+}
+#endif
+