9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox rsc@plan9.bell-labs.com
Subject: [9fans] X device
Date: Wed, 26 Aug 1998 13:49:16 -0400	[thread overview]
Message-ID: <19980826174916.5gtvzC_uzzzhKYCEljqEzy3rY9TTPMNcmm-lv3tt45A@z> (raw)

> The other possibility that came to mind was implementing a
> VNC server for Plan9. That would allow users of Unix/Doze/NT/Mac
> to pull up a Plan9 system on their screens without having to
> have a copy of the OS to run..

Even though
> VNC goes to show that what the world really desires are Yet More
> Stupid Protocols.

it is a neat hack, in that it would be a pain to rewrite
most of the window systems (X, MS-Win) to generate any other
protocol, be it /dev/bitblt or something else.  Instead, what
they've done is very inelegant but appears to work decently.

I think that writing a VNC server for Plan 9 could be done
quite easily, actually: write something to translate /dev/bitblt
commands into a VNC transcript of sorts, and then send whatever
part of the transcript the client hasn't seen yet.  You could
run a different 8.5 for each VNC session.  The method I have
in mind would maintain the screen bitmap in memory (so that, say,
if the VNC client asked for the whole screen you could give it)
but also kept the VNC transcript.  Very little overhead...
Mouse cursor changes seem to be a problem, but overall it might
be an easier than trying to make 9x work (only because someone
already has a VNC X client).

It seems like a Plan 9 VNC client would be even simpler: I'm
guessing five to ten pages of code at most.

The real question is whether VNC actually feels decent enough
to use.  Is it a good enough hack?
I don't know the answer to that since I haven't tried it.

Russ




             reply	other threads:[~1998-08-26 17:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-26 17:49 Russ [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-06 16:50 miller
1998-08-26  8:59 forsyth
1998-08-26  8:18 Elliott.Hughes
1998-08-25 19:30 Scott
1998-08-25 18:56 Digby
1998-08-25 17:48 rob
1998-08-25 17:03 Digby
1998-08-25 16:13 rob
1998-08-25 14:24 Digby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19980826174916.5gtvzC_uzzzhKYCEljqEzy3rY9TTPMNcmm-lv3tt45A@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).