Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src The tb(4) driver is gone, so should be the manual page.



details:   https://anonhg.NetBSD.org/src/rev/053ed23a8311
branches:  trunk
changeset: 587271:053ed23a8311
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Tue Jan 17 19:08:28 2006 +0000

description:
The tb(4) driver is gone, so should be the manual page.

diffstat:

 distrib/sets/lists/man/mi |    6 +-
 share/man/man4/Makefile   |    4 +-
 share/man/man4/tb.4       |  106 ----------------------------------------------
 3 files changed, 5 insertions(+), 111 deletions(-)

diffs (155 lines):

diff -r 651e5cbdd22f -r 053ed23a8311 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Tue Jan 17 18:38:12 2006 +0000
+++ b/distrib/sets/lists/man/mi Tue Jan 17 19:08:28 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.846 2006/01/13 23:32:26 peter Exp $
+# $NetBSD: mi,v 1.847 2006/01/17 19:08:28 jmmv Exp $
 ./etc/mtree/set.man                            man-sys-root
 ./usr/share/info/am-utils.info                 man-amd-info            info
 ./usr/share/info/as.info                       man-computil-info       bfd,info
@@ -1286,7 +1286,7 @@
 ./usr/share/man/cat4/sysbeep.0                 man-sys-catman          .cat
 ./usr/share/man/cat4/systrace.0                        man-sys-catman          .cat
 ./usr/share/man/cat4/tap.0                     man-sys-catman          .cat
-./usr/share/man/cat4/tb.0                      man-sys-catman          .cat
+./usr/share/man/cat4/tb.0                      man-obsolete            obsolete
 ./usr/share/man/cat4/tc.0                      man-sys-catman          .cat
 ./usr/share/man/cat4/tcds.0                    man-sys-catman          .cat
 ./usr/share/man/cat4/tcic.0                    man-sys-catman          .cat
@@ -3581,7 +3581,7 @@
 ./usr/share/man/man4/sysbeep.4                 man-sys-man             .man
 ./usr/share/man/man4/systrace.4                        man-sys-man             .man
 ./usr/share/man/man4/tap.4                     man-sys-man             .man
-./usr/share/man/man4/tb.4                      man-sys-man             .man
+./usr/share/man/man4/tb.4                      man-obsolete            obsolete
 ./usr/share/man/man4/tc.4                      man-sys-man             .man
 ./usr/share/man/man4/tcds.4                    man-sys-man             .man
 ./usr/share/man/man4/tcic.4                    man-sys-man             .man
diff -r 651e5cbdd22f -r 053ed23a8311 share/man/man4/Makefile
--- a/share/man/man4/Makefile   Tue Jan 17 18:38:12 2006 +0000
+++ b/share/man/man4/Makefile   Tue Jan 17 19:08:28 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.372 2006/01/04 21:52:17 xtraeme Exp $
+#      $NetBSD: Makefile,v 1.373 2006/01/17 19:08:29 jmmv Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 adc.4 adt7467c.4 adv.4 \
@@ -38,7 +38,7 @@
        shpcic.4 siop.4 sip.4 siside.4 sk.4 sl.4 slide.4 \
        sm.4 spc.4 speaker.4 spif.4 spp.4 sqphy.4 ss.4 \
        st.4 ste.4 stge.4 sti.4 stpcide.4 sv.4 strip.4 swwdog.4 systrace.4 \
-       tap.4 tb.4 tc.4 tcds.4 tcp.4 termios.4 tfb.4 ti.4 \
+       tap.4 tc.4 tcds.4 tcp.4 termios.4 tfb.4 ti.4 \
        tl.4 tlp.4 tlphy.4 tp.4 tr.4 tra.4 trm.4 tty.4 tun.4 \
        tqphy.4 twe.4 txp.4 ubsec.4 udp.4 uep.4 uha.4 uk.4 ukphy.4 \
        unix.4 userconf.4 veriexec.4 vga.4 vge.4 viaide.4 vinum.4 \
diff -r 651e5cbdd22f -r 053ed23a8311 share/man/man4/tb.4
--- a/share/man/man4/tb.4       Tue Jan 17 18:38:12 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-.\"    $NetBSD: tb.4,v 1.7 2003/08/07 10:31:03 agc Exp $
-.\"
-.\" Copyright (c) 1986, 1991 Regents of the University of California.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\" 3. Neither the name of the University nor the names of its contributors
-.\"    may be used to endorse or promote products derived from this software
-.\"    without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"     @(#)tb.4       6.4 (Berkeley) 3/27/91
-.\"
-.Dd March 27, 1991
-.Dt TB 4
-.Os
-.Sh NAME
-.Nm tb
-.Nd line discipline for digitizing devices
-.Sh SYNOPSIS
-.Cd pseudo-device tb
-.Sh DESCRIPTION
-This line discipline provides a polled interface to many common
-digitizing devices which are connected to a host through a serial line.
-When these devices stream data at high speed, the use of the
-line discipline is critical in minimizing the number of samples
-that would otherwise be lost due to buffer exhaustion in the
-.Xr tty 4
-handler.
-.Pp
-The line discipline is enabled by a sequence:
-.Bd -literal -offset indent
-#include \*[Lt]sys/tablet.h\*[Gt]
-int ldisc = TABLDISC, fildes; ...
-ioctl(fildes, TIOCSETD, \*[Am]ldisc);
-.Ed
-.Pp
-A typical application program then polls the digitizing device by
-reading a binary data structure which contains: the current X and
-Y positions (in the device coordinate space),
-up-down status of the buttons or pen stylus,
-proximity information (when available), and a count
-of the number of samples received from the input device
-since it was opened.  In addition, devices such as the
-.Tn GTCO
-append tilt and pressure information to the end of
-the aforementioned structure.  For the Polhemus 3-D digitizer
-the structure read is completely different. Refer to the
-include file for a complete description.
-.Pp
-While in tablet mode, normal teletype input and output functions take place.
-Thus, if an 8 bit output data path is desired, it is necessary
-to prepare the output line by putting it into
-.Tn RAW
-mode using
-.Xr ioctl 2 .
-This must be done
-.Em before
-changing the discipline with
-.Dv TIOCSETD ,
-as most
-.Xr ioctl 2
-calls are disabled while in tablet line-discipline mode.
-.Pp
-The line discipline supports
-.Xr ioctl 2
-requests to get/set the operating mode, and to get/set the tablet type
-and operating mode by
-.Em or Ns -ing
-the two values together.
-.Pp
-The line discipline supports digitizing devices which are
-compatible with Hitachi,
-.Tn GTCO ,
-or Polhemus protocol formats.
-For Hitachi there are several formats with that used in the
-newer model
-.Tn HDG-1111B
-the most common.
-.Sh DIAGNOSTICS
-None.
-.Sh SEE ALSO
-.Xr tty 4
-.Sh HISTORY
-The
-.Nm
-interface appeared in
-.Bx 4.3 .



Home | Main Index | Thread Index | Old Index