Subject: Re: printcap flag entries?
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: Brett Lymn <blymn@awadi.com.AU>
List: netbsd-help
Date: 01/16/1996 17:07:58
According to Brook Milligan:
>
>1.  Which of the various header files (and which sections) actually
>define the relevant numeric values?
>

OK - Just in case you don't know.... The numbers are in octal, what
you need to do is convert them into hex (or binary) and then go
through and match the bits set with those in
/usr/include/sys/ioctl_compat.h


>2.  The settings I have used in the past are:
>
>	:fc#0000374:

Clear most flags in sgtty structure...

>fs#0000003:\

Set the TANDEM bit (same as ixon) and CBREAK (half cooked mode)

>	:xc#0

clear no flags in the local structure...

>:xs#0040040:
>

Set  RAW (no I/O processing) and VTDELAY.

>Anyone with experience care to comment on whether these are
>appropriate?
>

They really depend on the printer...

>3.  I notice that I had an entry in printcap like the following:
>
>	:ms=ixon,-imaxbel,-ixany,-ixoff,-crtscts:\
>
>I don't remember how this got there (and I don't see any mention of ms
>in the printcap man page), but any comments on whether it might be
>useful/not useful are welcome.
>

Probably copied from a Sun.  I think they added an extension that
allowed you to symbolically manipulate the stty settings of the
printer tty.  I don't think that NetBSD allows that (didn't last time
I looked...)

-- 
Brett Lymn, Computer Systems Administrator, AWA Defence Industries
===============================================================================
  "Upgrading your memory gives you MORE RAM!" - ad in MacWAREHOUSE catalogue.