9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] X on Plan 9
@ 2001-04-19 21:58 anothy
  2001-04-19 22:14 ` Scott Schwartz
  2001-04-23  9:55 ` David Rubin
  0 siblings, 2 replies; 40+ messages in thread
From: anothy @ 2001-04-19 21:58 UTC (permalink / raw)
  To: 9fans

//i added 'look' to it, but rob said it made
//the button 2 menu too long.

oo! i've been thinking about giving that a shot in rio. while i can
certainly understand the "keep the menu short" argument, i'd be all
to happy to dump cut, paste, and snarf from my button 2 menu (i use
chording exclusively for that). don't suppose you've given that
change a shot in rio already?

i agree the various chat protocols arn't well documented (and what
documentation there is doesn't often match reality). i'd looked at
just doing my own version for Plan 9, but got quite frustrate with
that fact very quickly. even napster's client had a better defined
protocol - i took a first pass at that, and had something that at
least headed in the right direction.

9wm and 9term are a poor substitute for rio, yes, but i like them
much more than [ftm]*wm and xterm, for example. and they're a lot
closer to their targets than wily is to its.

ideally, i'd get another machine to run Unix locally, and run these
apps on that. but cash is tight right now. dual-booting isn't an
acceptable option as it means taking down Plan 9, where i do the
overwhelming majority of my work/play.
-α.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-25 10:41 rob pike
  0 siblings, 0 replies; 40+ messages in thread
From: rob pike @ 2001-04-25 10:41 UTC (permalink / raw)
  To: 9fans

The paper people are referring to was written in 1989 and
was a step on the path to 8½ and rio.

	A Concurrent Window System
	    Rob Pike
	    Computing Systems, Spring 1989
	    Vol 2 #2, pp 133-153
	    http://plan9.bell-labs.com/cm/cs/doc/89/1-a.ps.gz

-rob



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-25  2:04 okamoto
  2001-04-25  2:49 ` Scott Schwartz
  2001-04-26 16:40 ` Douglas A. Gwyn
  0 siblings, 2 replies; 40+ messages in thread
From: okamoto @ 2001-04-25  2:04 UTC (permalink / raw)
  To: 9fans

>I am confused on this issue. Plan9 generally makes claims along the lines of
>"easier to reason about..." and "[cleaner/simpler] programming style"

If you are serious, you can read many papers comming with Plan 9 distribution,
I suppose.   On the event-driven issue, I think there is a Rob's paper in his
web page (sorry, I looked around my computer, but I have only printed one now).
The point is how we can make it real, not rather than whether we can do or not.
If the programming style to practice it is simpler, we will get many goods from it.
I think this was said here by Rob before...

Kenji



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-23 11:20 forsyth
  2001-04-24 15:02 ` David Rubin
  0 siblings, 1 reply; 40+ messages in thread
From: forsyth @ 2001-04-23 11:20 UTC (permalink / raw)
  To: 9fans

>>What do you mean by "non event-driven?"

i supposed he meant `not using callbacks' (ie, quasi-interrupts on each
event) to drive the computation, but instead using communicating
sequential processes to express the interaction of computer and
events in the environment, allowing the use
of a more reasonable programming style (in the sense that you can
reason about them and the effects on data structures and values).
i've found callback-based programs typically shrink when converted, but i
suppose that's not necessarily true.



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-21  7:48 geoff.9fans
  0 siblings, 0 replies; 40+ messages in thread
From: geoff.9fans @ 2001-04-21  7:48 UTC (permalink / raw)
  To: 9fans

Russ's Palm file servers are definitely preferable to what I've got.
I ported the pilot-xfer stuff (v0.9.3 or 0.9.4) using APE but it
was flakey due to the use of alarm signals to implement protocol time-outs
and possibly due to problems in APE (e.g., select() poisons fds so
that they can't be dupped).  I then ported it to native Plan 9,
cleaning it up in the process.  I think I'd deleted over 35% of the
source by line count when I last looked but more code deserves to be
deleted; there was silly stuff like an emulation of BSD sockets in it.

There are a few remaining embarrassments: my protocol time-out code
consumes processes at a rate that seems excessive to me, and there
remains a window in which a full packet may have been read and yet
it will be discarded if a time-out occurs; the thoughput on the serial
line is lower than seems reasonable, though I haven't compared it with
the Windows Palm desktop hot sync; and the program leaves processes
behind when it exits, which inteferes with later uses of the program.
This last looks like some form of memory corruption that I fear was
in the code when I got it.  I haven't had much time to spend on this
lately; the obvious next step is to try the various debugging hooks
in malloc.

So what I have works, for small values of ``work''.  It's sufficient
for dumping and restoring Palm files (``databases''), so I no longer
need to use Windows nor Linux for those tasks, and that's gratifying.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  8:04 forsyth
  0 siblings, 0 replies; 40+ messages in thread
From: forsyth @ 2001-04-20  8:04 UTC (permalink / raw)
  To: 9fans

>>One app I use vnc for these days is xfig.
>>For me it's easier to draw figures using the mouse
>>than it is using a language.

yes, i find drawing programs to be useful time-savers.
after spending a good while trying to draw things
using the mouse i typically realise that what i'm doing is
much more efficiently automated by a language,
at which point i get my work done with time to spare.
not enough time, but that's a different problem.



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  6:59 nemo
  0 siblings, 0 replies; 40+ messages in thread
From: nemo @ 2001-04-20  6:59 UTC (permalink / raw)
  To: 9fans

One app I use vnc for these days is xfig.
For me it's easier to draw figures using the mouse
than it is using a language.

But I prefer to get one done following the design guidelines
of Plan 9 than get a port done. One of my students is
implementing a `kind of xfig' that reads commands from
stdin and mix that w/ mouse events to let you draw stuff.
It will probably write figures to disk using pic.




^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  3:39 anothy
  0 siblings, 0 replies; 40+ messages in thread
From: anothy @ 2001-04-20  3:39 UTC (permalink / raw)
  To: 9fans

//geoff collyer ported the unix tools for palm...

yes, i've seen them, but to the best of my knowledge (and i
could well be wrong here, and would be happy to find i am),
that doesn't allow for importing and exporting to arbitrary
text files. as near as i can tell, that still involves some
sort of "conduit" into some host app like Outlook™.

i saw the tools you'd been working on, and they looked quite
promising. i think that would be my prefered option here.
i'd be interested in helping improve that.

i'd also used your icq client (and helped fix a bug with
status reporting or something), but - much to my dismay - the
most popular one of these clients among my target audience is
AIM. for that, last i checked only one of their two protocols
was published, and they were phasing out support for that, as
well as engaging in various other checks to inhibit 3rd party
clients from connecting.
-α.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  3:32 anothy
  0 siblings, 0 replies; 40+ messages in thread
From: anothy @ 2001-04-20  3:32 UTC (permalink / raw)
  To: 9fans

//How about running Plan 9 under vmware?

questions about whether that currently _works_ or not
aside, that seems kinda backwards. what i care most
about is Plan 9 - that's what i enjoy using, that's
what i find most productive, that's the environment i
want to code and design for. it seems silly to put it
under emulation (as good as vmware may be, i refuse
to believe it's as good as raw hardware) under
something else i see as an "extra".
-α.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  3:02 Russ Cox
  0 siblings, 0 replies; 40+ messages in thread
From: Russ Cox @ 2001-04-20  3:02 UTC (permalink / raw)
  To: 9fans

geoff collyer ported the unix tools for palm communication.
perhaps he'll pipe up about posting them.

i have a native set (that presents the whole thing as a file
system) that has serial communication and database
manipulation dead on but i got into trouble keeping various
views of the data consistent when one changed.  i know
how to do it, just haven't finished it.

similarly, i have a messaging-only icq client i wrote
three years ago.  i have enough documentation about
the icq spec, and the aim spec is public anyway.  i think
it would be a great demonstration of the plan 9 approach
to tool building to make an underlying file server and
then build an acme interface (and perhaps others, like
a text one) on top of that.

if anyone wants to hack on either of these i'd be happy
to give them out, lend advice, etc.  i just don't have time
to write side programs anymore.  i'm hopeful that will change
a little in the fall, as i'm finishing many long-running (multiple
year) projects this spring.

russ



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-20  0:56 okamoto
  0 siblings, 0 replies; 40+ messages in thread
From: okamoto @ 2001-04-20  0:56 UTC (permalink / raw)
  To: 9fans

>what are those applications?  just curious.

In my case, those are ISIS, GRASS etc.

Kenji



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-19 19:33 forsyth
  0 siblings, 0 replies; 40+ messages in thread
From: forsyth @ 2001-04-19 19:33 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

>>	Palm emulator
>>at least until i figure out how to import/export from/to
>>regular text files. painful remotely, since i have to dump
>>the Palm's memory, move it over my slow modem, use vnc over
>>that same slow modem to use the (slow) emulator, and move
>>stuff back.

i have got something but i haven't completely converted it back from Alef yet.
i need it soon to sync my wife's replacement handspring.


[-- Attachment #2: Type: message/rfc822, Size: 2854 bytes --]

From: anothy@cosym.net
To: 9fans@cse.psu.edu
Subject: Re: [9fans] X on Plan 9
Date: Thu, 19 Apr 2001 15:03:58 -0400
Message-ID: <20010419190406.44567199E3@mail.cse.psu.edu>

okay, here goes: X apps i care about, and breifly why:
	Netscape
no, i don't plan on porting this locally, but i find Charon
to be great for ~95% of the web pages i look at. one notable
exception is my bank; when i need to get there, i use vnc.
	Everybuddy
an ICQ/AIM/etc. client. i know it's juvenile, but i work
with high school kids alot, and this is huge with them. i'd
been using this via vnc.
	Palm emulator
at least until i figure out how to import/export from/to
regular text files. painful remotely, since i have to dump
the Palm's memory, move it over my slow modem, use vnc over
that same slow modem to use the (slow) emulator, and move
stuff back.
	xpic
which, incidently, i've already seen ported to Plan 9. i'd
been using this via vnc (but not much).
	xv
only because most of (all?) the tools in 2nd edition's 9.1
are missing in 3rd edition. i've been using this via vnc.
	some mp3 player
which was just a wrapper to mpg123, which's already been
ported. this was why, a while ago, i asked about the Labs
folk releasing their audio players, even without the PAC
bits - it'd be easy enough to plug mpg123 into them. and i
really like agui. i've been doing without this, since
playing audio over a remote box's speaker isn't useful.
	9wm and 9term
only because i have to use X at all. i used to also use
framemaker and staroffice, but i havn't had any reason to
for over a year. i think that's it. when i had a Unix box,
there were a few games, too, but i don't remember which.
-.

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-19 19:03 anothy
  2001-04-19 21:27 ` Boyd Roberts
  2001-04-19 22:26 ` Ronald G Minnich
  0 siblings, 2 replies; 40+ messages in thread
From: anothy @ 2001-04-19 19:03 UTC (permalink / raw)
  To: 9fans

okay, here goes: X apps i care about, and breifly why:
	Netscape
no, i don't plan on porting this locally, but i find Charon
to be great for ~95% of the web pages i look at. one notable
exception is my bank; when i need to get there, i use vnc.
	Everybuddy
an ICQ/AIM/etc. client. i know it's juvenile, but i work
with high school kids alot, and this is huge with them. i'd
been using this via vnc.
	Palm emulator
at least until i figure out how to import/export from/to
regular text files. painful remotely, since i have to dump
the Palm's memory, move it over my slow modem, use vnc over
that same slow modem to use the (slow) emulator, and move
stuff back.
	xpic
which, incidently, i've already seen ported to Plan 9. i'd
been using this via vnc (but not much).
	xv
only because most of (all?) the tools in 2nd edition's 9.1
are missing in 3rd edition. i've been using this via vnc.
	some mp3 player
which was just a wrapper to mpg123, which's already been
ported. this was why, a while ago, i asked about the Labs
folk releasing their audio players, even without the PAC
bits - it'd be easy enough to plug mpg123 into them. and i
really like agui. i've been doing without this, since
playing audio over a remote box's speaker isn't useful.
	9wm and 9term
only because i have to use X at all. i used to also use
framemaker and staroffice, but i havn't had any reason to
for over a year. i think that's it. when i had a Unix box,
there were a few games, too, but i don't remember which.
-α.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-19  7:41 forsyth
  0 siblings, 0 replies; 40+ messages in thread
From: forsyth @ 2001-04-19  7:41 UTC (permalink / raw)
  To: 9fans

what are those applications?  just curious.



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-19  4:00 okamoto
  2001-04-23  9:54 ` David Rubin
  0 siblings, 1 reply; 40+ messages in thread
From: okamoto @ 2001-04-19  4:00 UTC (permalink / raw)
  To: 9fans

I understand your point, because we are running useful X applications
here too, which is the very reason why we still have several linux machines.
Those applications are, unfortunately, fairly large usually.  ^_^

This is a very difficult point where I have no conclusion, especially after
I saw control library, which encourages us one step ahead to non
event-driven GUI programming environment...

Kenji



^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-19  3:03 anothy
  0 siblings, 0 replies; 40+ messages in thread
From: anothy @ 2001-04-19  3:03 UTC (permalink / raw)
  To: 9fans

because, as i said, i have about a half-dozen X apps
that i use (or do without their functionality). the
quality/enjoyability of my computing time would be
greatly increased if i could use these locally. now,
i use most on a remote Solaris box using vnc, but
that's painful from home, over my 56K modem (to far
for DSL; no cable modem in my town). were i far more
daring, i'd look at porting them to /dev/draw, but
that's an even more daunting task - even the few of
these programs that were written with any sort of
portability in mind wern't written with _that_ kind
of portability in mind.
-α.


^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: [9fans] X on Plan 9
@ 2001-04-18 23:50 Russ Cox
  2001-04-19  0:11 ` Alexander Viro
  0 siblings, 1 reply; 40+ messages in thread
From: Russ Cox @ 2001-04-18 23:50 UTC (permalink / raw)
  To: 9fans

> Going the other way round might be interesting - X client running on
> UNIX box and acting as 9P server. I.e. exporting an equivalent of
> /dev/cons, /dev/consctl, vga(3), mouse(3) and draw(3). For one thing,

Umm, this is drawterm by another name, no?

Russ


^ permalink raw reply	[flat|nested] 40+ messages in thread
* [9fans] X on Plan 9
@ 2001-04-18 22:56 anothy
  2001-04-18 23:12 ` Andrey A Mirtchovski
                   ` (2 more replies)
  0 siblings, 3 replies; 40+ messages in thread
From: anothy @ 2001-04-18 22:56 UTC (permalink / raw)
  To: 9fans

the APE paper (i think) mentions that APE has been used to
build X11 on Plan 9, but that it's not included in the
distribution because it's too much work to maintain. i
imagine the presence of the very good vnc client also helps
negate the need for X for most people.

however, shame me as it does to admit it, i'd still find a
local X server very useful. there are about a half-dozen X
programs i find useful, and i'm not up to porting them all
the Plan 9's /dev/draw.

so... understanding that it's totally unsupported... can
whoever did the work in the Labs either share whatever
changes were made? i assume that, at least, X had to be told
how to talk to /dev/draw. i suspect various things also
needed to be done to convince it to 'configure' properly.

if nobody has any info, i'm going to give it a shot myself,
but X is an intimidating (read: freakin' huge!) body of
crap^Wcode, and i'd rather not duplicate work someone else's
already done.
-α.


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

end of thread, other threads:[~2001-04-26 16:40 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-19 21:58 [9fans] X on Plan 9 anothy
2001-04-19 22:14 ` Scott Schwartz
2001-04-19 22:32   ` Boyd Roberts
2001-04-19 22:35   ` Boyd Roberts
2001-04-19 23:06   ` Dan Cross
2001-04-23  9:55 ` David Rubin
2001-04-23 10:19   ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2001-04-25 10:41 rob pike
2001-04-25  2:04 okamoto
2001-04-25  2:49 ` Scott Schwartz
2001-04-26 16:40 ` Douglas A. Gwyn
2001-04-23 11:20 forsyth
2001-04-24 15:02 ` David Rubin
2001-04-25  2:17   ` Boyd Roberts
2001-04-21  7:48 geoff.9fans
2001-04-20  8:04 forsyth
2001-04-20  6:59 nemo
2001-04-20  3:39 anothy
2001-04-20  3:32 anothy
2001-04-20  3:02 Russ Cox
2001-04-20  0:56 okamoto
2001-04-19 19:33 forsyth
2001-04-19 19:03 anothy
2001-04-19 21:27 ` Boyd Roberts
2001-04-19 22:26 ` Ronald G Minnich
2001-04-23  9:55   ` Douglas A. Gwyn
2001-04-23 11:12     ` Boyd Roberts
2001-04-19  7:41 forsyth
2001-04-19  4:00 okamoto
2001-04-23  9:54 ` David Rubin
2001-04-23 11:10   ` Boyd Roberts
2001-04-19  3:03 anothy
2001-04-18 23:50 Russ Cox
2001-04-19  0:11 ` Alexander Viro
2001-04-19  0:14   ` Boyd Roberts
2001-04-18 22:56 anothy
2001-04-18 23:12 ` Andrey A Mirtchovski
2001-04-19  0:15   ` Andrey A Mirtchovski
2001-04-18 23:41 ` Alexander Viro
2001-04-24  9:00 ` bob

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).