[comp.bugs.sys5] SVR4.0 V2.0 -- lp

witr@rwwa.COM (Robert Withrow) (04/21/91)

This is specifically for Intel SVR4.0 V2.0.

The documentation for lp(7) states that the /dev/lp(x) port operates
as documented in termio(7).  This is a *fib*, however, since no one
got around to telling the autopush(1) utility to push the terminal
line discipline module onto this device.  If you want the lp(7) driver
to operate as documented you want to add a line like this to your
/etc/ap/chan.ap file:

# major minor   lastminor       modules
    7     -1       0            ldterm ttcompat

-- 
---
 Robert Withrow, R.W. Withrow Associates, Swampscott MA 01907 USA
 Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM

guy@auspex.auspex.com (Guy Harris) (04/23/91)

>If you want the lp(7) driver to operate as documented you want to add
>a line like this to your /etc/ap/chan.ap file:

You can probably leave "ttcompat" off, unless you want to be able to
perform V7/BSD-style "ioctl()"s on "/dev/lp"....

witr@rwwa.COM (Robert Withrow) (04/23/91)

In article <7318@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes:
|You can probably leave "ttcompat" off, unless you want to be able to
|perform V7/BSD-style "ioctl()"s on "/dev/lp"....

I agree.  The reason why I included it is because AT&T included it for
the ASY(7) driver, the man page for which reads just like the one for
LP(7). 


-- 
---
 Robert Withrow, R.W. Withrow Associates, Swampscott MA 01907 USA
 Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM