Thread View: comp.bugs.2bsd
1 messages
1 total messages
Started by Jack Nelson
Tue, 03 May 1988 19:08
dz litout bug
Author: Jack Nelson
Date: Tue, 03 May 1988 19:08
Date: Tue, 03 May 1988 19:08
60 lines
2279 bytes
2279 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads