Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!sdcsvax!ucbvax!SDCSVAX.UCSD.EDU!muller%sdcc7 From: muller%sdcc7@SDCSVAX.UCSD.EDU (Keith Muller) Newsgroups: comp.laser-printers Subject: Re: Apple Laserwriter on a 4.3BSD VAX Message-ID: <8709052035.AA11992@brillig.umd.edu> Date: Tue, 1-Sep-87 12:58:26 EDT Article-I.D.: brillig.8709052035.AA11992 Posted: Tue Sep 1 12:58:26 1987 Date-Received: Sat, 12-Sep-87 18:59:59 EDT References: <8708292030.AA24230@brillig.umd.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California, San Diego Lines: 13 Approved: laser-lovers@brillig.umd.edu Summary: watch out for xc One thing that burned us is the xc flag to printcap. xc#0 does nothing. The xc flag is to "clear local bits". Looking at the code this becomes a ioctl(xx, TIOCLBIC, ....). From tty(4) : TIOCLBIC arg is a point to an int whose value is a mask containing the bits to be CLEARED in the local mode word In other words you put a 1 at each bit position you want cleared. This was causing our laserwriter to get in weird states (make sure the xc is before the xs in the printcap file, the same order applies to fc and fs). Keith Muller University of California, San Diego