from the quill of [EMAIL PROTECTED] on scroll
<[EMAIL PROTECTED]>
>
> No. Sorry, been down that path and it runs over a cliff.
That bad huh?
> if the :rw flag is set and the device is not a file then it opens it
> RW.
And if that flag is not set, it opens it RO? So every printer that can
do bidirectional (i.e. give status etc.) has an :rw in the printcap?
Sorry for my stupid questions, I am just trying to understand.
> Now sockets are always RW,
Meaning if the printer is connected via a network connection rather than
a serial/parallel/usb connection right?
> so even if you use FCNTL to get the
> flags, you get a RW indication. However, sometimes the device
> does not always return status information,
Indeed.
> so you have to tell
> the lower levels that it does not.
With a printcap flag? Is there a :ro flag too then?
> No, perhaps not. I will look at this again. But it may only be on
> Linux systems, which is still better than nothing.
We Linux enthusiasts would simply say "who cares if no other *NIX
supports it or not -- tough titties for them". :-)
Thanx for entertaining my queries Patrick.
b.
--
Brian J. Murrell InterLinx Support Services, Inc.
North Vancouver, B.C. 604 983 UNIX
Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------