Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 1996 14:35:37 -0600
From:      Gary Aitken <garya@ics.com>
To:        freebsd-doc@freebsd.org
Subject:   mods for handbook/printing.sgml
Message-ID:  <31A61D99.37E4@ics.com>

next in thread | raw e-mail | index | archive | help
Having just spent a frustrating time configuring an ancient
serial printer, I propose making the following mods to the
printing section of the handbook.

I considered modifying the tty ioctl code to fix this problem,
but it's not clear doing so wouldn't trash out piles of other
stuff.  I'm not an expert on the tty driver and modifying it
to kill the RAW bit automatically might break who knows what.

==================== printing.sgml.diff =====================
 *** printing.sgml       Fri May 24 14:25:37 1996
--- printing.sgml.new   Fri May 24 14:20:07 1996
***************
*** 928,934 ****
              </descrip>
              For more information on the bits for the <tt/fc/,
              <tt/fs/, <tt/xc/, and <tt/xs/ capabilities, see the file
!             <tt>/usr/include/sys/ioctl_compat.h</tt>.

              When LPD opens the device specified by the <tt/lp/
              capability, it reads the flag bits in the <tt/sgttyb/
--- 928,937 ----
              </descrip>
              For more information on the bits for the <tt/fc/,
              <tt/fs/, <tt/xc/, and <tt/xs/ capabilities, see the file
!             <tt>/usr/include/sys/ioctl_compat.h</tt>.  Please
!             note that in order for any of the <tt/fc/, <tt/fs/,
!             <tt/xc/, or <tt/xs/ capabilities to take effect, the
!             RAW mode bit must be cleared as well (using <tt/fc/).

              When LPD opens the device specified by the <tt/lp/
              capability, it reads the flag bits in the <tt/sgttyb/
***************
*** 1161,1166 ****
--- 1164,1171 ----
                      <em/only/.  To enable this feature, set the
                      CRMOD bit in <tt/fs/ capability in the
                      <tt>/etc/printcap</tt> file for the printer.
+                     You may also need to clear the RAW bit in
+                     <tt/fc/.
 
                    <item>Send an <em/escape code/ to the printer to
                      have it temporarily treat LF characters
========================== end =========================
-- 
Gary Aitken		garya@ics.com		(business)
			garya@dreamchaser.org	(personal)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31A61D99.37E4>