Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Peter A. Cejchan
i was overly emotional, sorry. i also overlooked that the debate is about drawterm, a non-plan9 program. doubly sorry. still, to my taste, to much effort is devoted to things outside the system... however, i am not an MBA, maybe, it is all right. wishing a fantastic day, ++pac

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread errno
Hey David, thanks for responding. The sci-fi you write below is exactly the sort of fiction I'd find very interesting in "9 space", and corresponds rather closely to what I premised in a past thread[1]. So, I believe we're speaking the same language; but the picture you've painted seems out-o

Re: [9fans] contrib/gui

2011-05-17 Thread Bakul Shah
On Mon, 16 May 2011 11:15:22 PDT Skip Tavakkolian wrote: > i think the hanging problem is because the ui and the network activity > are in the same thread. the ui comes back once the slow activity has > completed. It hangs on resizing or panning the window even where there is no network activit

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread David Leimbach
On Tue, May 17, 2011 at 4:58 PM, errno wrote: > On Tuesday, May 17, 2011 04:40:50 PM Jacob Todd wrote: > > Writing/porting web stuff to plan 9 will be hard. Writing > > something that accesses plan 9 from the web will be less > > hard. > > > > Correct; but also somewhat ancillary to the general a

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread errno
On Tuesday, May 17, 2011 04:40:50 PM Jacob Todd wrote: > Writing/porting web stuff to plan 9 will be hard. Writing > something that accesses plan 9 from the web will be less > hard. > Correct; but also somewhat ancillary to the general areas of concern: > Is it really all that often when a Pl

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Jacob Todd
Writing/porting web stuff to plan 9 will be hard. Writing something that accesses plan 9 from the web will be less hard. On May 17, 2011 6:53 PM, "errno" wrote: > On Tuesday, May 17, 2011 10:31:32 AM John Floren wrote: >> they want to let you connect to your Plan 9 system from a web >> browser, be

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread David Leimbach
JavaScript is not java... Sent from my iPhone On May 17, 2011, at 11:46 AM, a z wrote: > Ugh, I have to comment because to my noobness this sounds like an easy > project, and an easy project to over-think. Teach a java app how to draw > boxes like rio, and plug it in. Right? > > I would

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread errno
On Tuesday, May 17, 2011 10:31:32 AM John Floren wrote: > they want to let you connect to your Plan 9 system from a web > browser, because you can find a Javascript-supporting web browser > anywhere (except Plan 9) these days. > On Tuesday, May 17, 2011 12:00:15 AM Adrian Tritschler wrote: > Serv

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Skip Tavakkolian
other's have done what you're suggesting: http://code.google.com/p/styxbrowser/ also drawterm port to iphone was one of last year's successful gsoc projects. that's not the point though; the point is to have something that runs natively in the browser. if chrome can run angry birds, why not dra

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread a z
Ugh, I have to comment because to my noobness this sounds like an easy project, and an easy project to over-think. Teach a java app how to draw boxes like rio, and plug it in. Right? I would love to use Rio on a touchscreen, unfortunately I need to eat. So if I get that eating thing figured out Il

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread erik quanstrom
> What the hell? They're not saying, "Screw running on hardware, let's > just boot the whole system in Javascript under a browser", they want > to let you connect to your Plan 9 system from a web browser, because > you can find a Javascript-supporting web browser anywhere (except Plan > 9) these da

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Skip Tavakkolian
i don't know what compromise you're talking about; anything that can implement and use 9P is a legitimate component to attach to Plan 9. browsers are the predominant way that users connect to the Net; websockets in html5 provide the ability to establish a full duplex tcp connection. why shouldn't w

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Jason Dreisbach
This article seems to have all the pieces for mouse button management. http://unixpapa.com/js/mouse.html - Jason On Tue, May 17, 2011 at 11:04 AM, Joseph Stewart wrote: > (embarrassed) and didn't read the first post. > > > On Tue, May 17, 2011 at 1:57 PM, John Floren wrote: > >> On Tue, May 17

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Joseph Stewart
(embarrassed) and didn't read the first post. On Tue, May 17, 2011 at 1:57 PM, John Floren wrote: > On Tue, May 17, 2011 at 10:53 AM, Joseph Stewart > wrote: > > (kinda off-topic) > > Just saw this show up today... QEMU+Linux running under JavaScript on > > Chrome/FireFox. > > http://bellard.or

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Russ Cox
> http://bellard.org/jslinux/ That's the link that started this thread. :-) I think the HTML Canvas and WebSockets would make drawterm a bit easier now than it was the last time I tried. The main problem now is that I don't believe it's possible to grab all three mouse button clicks reliably. R

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread John Floren
On Tue, May 17, 2011 at 10:53 AM, Joseph Stewart wrote: > (kinda off-topic) > Just saw this show up today... QEMU+Linux running under JavaScript on > Chrome/FireFox. > http://bellard.org/jslinux/ > -joe It's not really off-topic, since that's the site that the OP's slashdot link was about :) Jo

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Joseph Stewart
(kinda off-topic) Just saw this show up today... QEMU+Linux running under JavaScript on Chrome/FireFox. http://bellard.org/jslinux/ -joe

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread John Floren
On Tue, May 17, 2011 at 10:23 AM, Peter A. Cejchan wrote: > Folks, > i am very unhappy seeing this kind of discussions here (and, the wasted > potential to do something more useful in my eyes, sorry, but IMHO)... it > resembles me very much the times when Steve Jobbs compromised the ideas of > the

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Peter A. Cejchan
Folks, i am very unhappy seeing this kind of discussions here (and, the wasted potential to do something more useful in my eyes, sorry, but IMHO)... it resembles me very much the times when Steve Jobbs compromised the ideas of the NeXTstep, first downgrading it to the OpenStep for Windoze users, th

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Skip Tavakkolian
I suggested a simple draw server in HTML5+websockets for a GSoC project this year. If anyone wants to work on it let me know. http://www.plan9.bell-labs.com/wiki/plan9/gsoc-2011-ideas/index.html -Skip On Tue, May 17, 2011 at 12:00 AM, Adrian Tritschler wrote: > If this can be done > http://lin

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Russ Cox
On Tue, May 17, 2011 at 3:38 AM, erik quanstrom wrote: >> http://linux.slashdot.org/story/11/05/17/0242244/Boot-Linux-In-Your-Browse >> then how about drawterm in javascript?  Serve it over http and access >> your CPU server from anywhere that's got a web browser. > > russ implemented samterm in j

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Eric Van Hensbergen
While not exactly the same, http://guacamole.sourceforge.net/ might be a good starting point for what would need to be done. There are actually several variations of this around (vnc in javascript). Not sure which would be the most simple as a starting point. -eric On Tue, May 17,

Re: [9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread erik quanstrom
> http://linux.slashdot.org/story/11/05/17/0242244/Boot-Linux-In-Your-Browse > then how about drawterm in javascript? Serve it over http and access > your CPU server from anywhere that's got a web browser. russ implemented samterm in js. - erik

Re: [9fans] toy: pseudo-sparklines

2011-05-17 Thread erik quanstrom
> Roughly inspired by a writeup of some guy's python > implementation[2] of a generator, I threw one together this > afternoon in rc and hoc: [3] > > :; sparkline 0 2 4 7 12 16 3 11 9 0 4 > ▁▂▃▄▇█▂▆▅▁▃:; > > The internet has noted that in some contexts the baseline gets > messed up,

[9fans] crazy idea - drawterm in javascript?

2011-05-17 Thread Adrian Tritschler
If this can be done http://linux.slashdot.org/story/11/05/17/0242244/Boot-Linux-In-Your-Browse then how about drawterm in javascript? Serve it over http and access your CPU server from anywhere that's got a web browser. Anyone up for a challenge? Sorry, I'll be quiet now -- Adrian Screw the e