devdraw: make it 3 times faster on OS X

This patch reverts the recent patch named "devdraw: fix for OS X 10.8", and fixes redrawing on OSX 10.8 differently, making scrolling under Acme 3 times faster.

R=rsc, mirtchovski
CC=plan9port.codebot
http://codereview.appspot.com/6452087

Committer: Russ Cox <rsc@swtch.com>
dial(3): update dialparse

R=rsc
http://codereview.appspot.com/6455083
vacfs: fix create srv with ORCLOSE on plan 9

In the current code, the srv file is removed
just after the main thread exits, while the
srv thread is still running, which is not
the expected behavior.
We moved the srv creation just before the
procrfork, in order that the srv file will
not be removed until the srv thread exits.

R=rsc
http://codereview.appspot.com/6397047
lib9/getnetconn: add support for IPv6

R=rsc
http://codereview.appspot.com/6457077
disk/mkfs,disk/mkext: fix mkdir conflict

R=rsc
http://codereview.appspot.com/6445076
srv(4), mount: update v9fs usage

The v9fs usage is documented on
https://www.kernel.org/doc/Documentation/filesystems/9p.txt

R=rsc
http://codereview.appspot.com/6445072
lib9/dial: fix addrlen in connect() and bind()

On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6489072

Committer: Russ Cox <rsc@swtch.com>
lib9: fix announce on OS X

R=rsc
http://codereview.appspot.com/6495109
9pfuse: osxfuse support

R=rsc
http://codereview.appspot.com/6503093
lib9: remove ss_len manipulation in _p9dialparse

Not all systems have ss_len, and we've never set it before.

R=rsc
http://codereview.appspot.com/6497102
lib/acme.rc: remove noscroll

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6346079

Committer: Russ Cox <rsc@swtch.com>
9pfuse: fix memory leak, avoid memory explosion

Change is to handle FUSE_FORGET in main loop instead of separate thread for each as 10s of thousands can come in at once.
Fixes issue 104.

R=0intro, rsc
http://codereview.appspot.com/6498081

Committer: Russ Cox <rsc@swtch.com>
lib9/p9dialparse: fix segfault on gethostbyname

In some situations, gethostbyname can
return an empty address list.

R=rsc
http://codereview.appspot.com/6443097
libdraw: add visibleclicks mode

R=rsc
http://codereview.appspot.com/6501137
sam: add $% as an alias for $samfile

R=r
http://codereview.appspot.com/6488137
snarfer: disable during build

Don't want to require X11 during OS X build anymore.

R=rsc
http://codereview.appspot.com/6531045
acme: mouse movement for Del

If the mouse was in the tag of the old window,
it was most likely pointing at Del. If bringing up a
new window from below and not moving the mouse
somewhere else, adjust it so that it ends up pointing
at Del in the replacement window's tag too.
This makes it easy to Del a sequence of windows in
a column, from top to bottom.

http://www.youtube.com/watch?v=ET8w6RT6u5M

R=r
http://codereview.appspot.com/6558047
src/cmd: Add a repurposed import(4), called `9import', to the ports.

The code is adapted from Plan 9's import(4); this allows us to speak
that protocol. We don't currently support AAN (in the works) or
TLS/SSL.

Thanks to David for help with the man page, testing, and development.

R=0intro, rsc
CC=plan9port.codebot
http://codereview.appspot.com/6458100

Committer: Russ Cox <rsc@swtch.com>
fortunes: new one

R=rsc
http://codereview.appspot.com/6554081
acme: correct writes of runes on auspicious byte boundaries

R=rsc, r
CC=plan9port.codebot
http://codereview.appspot.com/6586067

Committer: Russ Cox <rsc@swtch.com>