From owner-freebsd-doc Fri May 24 13:37:43 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA25075 for doc-outgoing; Fri, 24 May 1996 13:37:43 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA25069 for <freebsd-doc@freebsd.org>; Fri, 24 May 1996 13:37:41 -0700 (PDT) Received: from nightmare.dreamchaser.org ([207.40.47.18]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id NAA13131 for <freebsd-doc@freebsd.org>; Fri, 24 May 1996 13:37:37 -0700 Received: from mofo (mofo.dreamchaser.org [206.230.42.91]) by nightmare.dreamchaser.org (8.6.12/8.6.12) with SMTP id OAA09192 for <freebsd-doc@freebsd.org>; Fri, 24 May 1996 14:35:40 -0600 Message-ID: <31A61D99.37E4@ics.com> Date: Fri, 24 May 1996 14:35:37 -0600 From: Gary Aitken <garya@ics.com> Organization: Integrated Computer Solutions X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4c) MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: mods for handbook/printing.sgml Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)