9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] docs vs code
@ 2005-01-06 20:23 Tim Newsham
  2005-01-06 21:06 ` Charles Forsyth
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Newsham @ 2005-01-06 20:23 UTC (permalink / raw)
  To: 9fans

Looks like the documents and the code are out of synch on this.
On windows using the 79c970 (which shares common ethernet code
with all the windows drivers) the driver doesnt behave in the same
way as documented in the manual.

The manual says setting the type to "1" should receive all packets.
If I set the type to 1 and read, I get nothing.

The manual says that if multiple connections are of the same type,
duplicates get sent to all readers.  However, the driver seems to
only allow one connection to be bound to a given type before returning
"device or object already in use."

Tim N.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] docs vs code
  2005-01-06 20:23 [9fans] docs vs code Tim Newsham
@ 2005-01-06 21:06 ` Charles Forsyth
  2005-01-07  1:22   ` Tim Newsham
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2005-01-06 21:06 UTC (permalink / raw)
  To: 9fans

>>The manual says setting the type to "1" should receive all packets.
>>If I set the type to 1 and read, I get nothing.

i suspect that's  -1 (minus 1), and that's what it says when i look at
the .pdf for the page.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] docs vs code
  2005-01-06 21:06 ` Charles Forsyth
@ 2005-01-07  1:22   ` Tim Newsham
  2005-01-13  0:31     ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Newsham @ 2005-01-07  1:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> >>The manual says setting the type to "1" should receive all packets.
> >>If I set the type to 1 and read, I get nothing.
>
> i suspect that's  -1 (minus 1), and that's what it says when i look at
> the .pdf for the page.

Ugh!  I read the manual page online:

  A type of ­1 enables the connection to receive copies of packets of
  all types. A type of ­2 enables the connection to receive copies of
  the first 64 bytes

and the ­ isn't rendered as anything visible.  *sigh*.

Tim N.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] docs vs code
  2005-01-07  1:22   ` Tim Newsham
@ 2005-01-13  0:31     ` Russ Cox
  2005-01-13  3:00       ` Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2005-01-13  0:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Ugh!  I read the manual page online:
> 
>   A type of ­1 enables the connection to receive copies of packets of
>   all types. A type of ­2 enables the connection to receive copies of
>   the first 64 bytes
> 
> and the ­ isn't rendered as anything visible.  *sigh*.

Fixed.  Apprently ­ is now a discretionary dash.
I changed them to –, which is clearly "correct"
though somehow it seems to end up smaller than just
a "-" on my screen.

Russ


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] docs vs code
  2005-01-13  0:31     ` Russ Cox
@ 2005-01-13  3:00       ` Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas @ 2005-01-13  3:00 UTC (permalink / raw)
  To: Russ Cox, Fans of the OS Plan 9 from Bell Labs

On Wed, Jan 12, 2005 at 07:31:47PM -0500, Russ Cox wrote:
> Fixed.  Apprently ­ is now a discretionary dash.
> I changed them to –, which is clearly "correct"
> though somehow it seems to end up smaller than just
> a "-" on my screen.

Hi Russ,

According to http://www.alistapart.com/articles/emen/ the minus
sign is −.  The article seems to have a bunch of other
interesting stuff as well.  Don't know if that helps or not, but
I figured I'd just toss it out there.

bb
-Thomas


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-13  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 20:23 [9fans] docs vs code Tim Newsham
2005-01-06 21:06 ` Charles Forsyth
2005-01-07  1:22   ` Tim Newsham
2005-01-13  0:31     ` Russ Cox
2005-01-13  3:00       ` Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).