jack@cadre.dsl.PITTSBURGH.EDU (Jack Nelson) (05/04/88)
Index: /usr/src/sys/pdpuba/dz.c 2.10BSD
Description:
LLITOUT doesn't work for dz board.
Repeat-By:
Procedure to repeat the problem: try using dz port
for laser printer with printcap bit set for litout: junk
Fix:
Description of how to fix the problem: use LITOUT, not LLITOUT
in dz.c, as the latter is the ioctl version, the former the
high word constant in the kernel.
Some of the other pdpuba drivers have the same problem; grep
for LLITOUT.
UUCP: { akgua | allegra | cmcl2 | idis | ihnp4 | mi-cec | pitt |
psuvax1 | sun | sunrise | vax135 } ! cadre ! nelslab ! jack
ARPA: jack@cadre.dsl.pittsburgh.edu
John P. Nelson, M.D., 3811 O'Hara St, Pittsburgh, PA 15213, t:412-624-1769
Dept. of Psychiatry, U. of Pittsburgh
Cut:----------
*** orgs/dz.c Tue Sep 1 02:00:21 1987
--- dz.c Wed Dec 16 12:57:41 1987
***************
*** 366,372 ****
return;
}
lpr = (dz_speeds[tp->t_ispeed]<<8) | (unit & 07);
! if (tp->t_flags & (RAW|LLITOUT|PASS8))
lpr |= BITS8;
else
lpr |= (BITS7|PENABLE);
--- 366,372 ----
return;
}
lpr = (dz_speeds[tp->t_ispeed]<<8) | (unit & 07);
! if (tp->t_flags & (RAW|LITOUT|PASS8))
lpr |= BITS8;
else
lpr |= (BITS7|PENABLE);
***************
*** 426,432 ****
}
if (tp->t_outq.c_cc == 0)
goto out;
! if (tp->t_flags & (RAW|LLITOUT))
cc = ndqb(&tp->t_outq, 0);
else {
cc = ndqb(&tp->t_outq, 0200);
--- 426,432 ----
}
if (tp->t_outq.c_cc == 0)
goto out;
! if (tp->t_flags & (RAW|LITOUT))
cc = ndqb(&tp->t_outq, 0);
else {
cc = ndqb(&tp->t_outq, 0200);
--
John P. Nelson, M.D., 3811 O'Hara St, Pittsburgh, PA 15213, t:412-624-1769 Dept. of Psychiatry, U. of Pittsburgh
UUCP: { akgua | allegra | cmcl2 | idis | ihnp4 | mi-cec | pitt | psuvax1 | sun | sunrise | vax135 } ! cadre ! jack
ARPA: jack@cadre.dsl.pittsburgh.edu