Re: [Sugar-devel] Sharing in Terminal

2009-11-22 Thread Eben Eliason
On Sun, Nov 22, 2009 at 6:10 PM, Wade Brainerd  wrote:
> Hey Sayamindu,
>
> This sounds great to me!  It was on my TODO list when I added tabs,
> but I never got around to attempting it.  I too like the idea of
> shared tabs.
>
> The way I would do the UI is:
>
> When the Terminal activity is shared (either the Share toolbar button
> has been clicked, or the activity was launched in response to an
> invitation), an extra button appears in the Tabs toolbar: New Shared
> Tab
>
> Any user can click this button; tab that is created will be visible by
> all participants.  The shared tab's title bar will be prefixed with
> the owner's buddy name and could even display their buddy icon.

That sounds pretty good. It would actually be nice to have a Shared
Tab control that rendered the tab itself in XO colors, instead of just
putting the XO icon inside a generic tab.

Eben
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sharing in Terminal

2009-11-22 Thread Wade Brainerd
Hey Sayamindu,

This sounds great to me!  It was on my TODO list when I added tabs,
but I never got around to attempting it.  I too like the idea of
shared tabs.

The way I would do the UI is:

When the Terminal activity is shared (either the Share toolbar button
has been clicked, or the activity was launched in response to an
invitation), an extra button appears in the Tabs toolbar: New Shared
Tab

Any user can click this button; tab that is created will be visible by
all participants.  The shared tab's title bar will be prefixed with
the owner's buddy name and could even display their buddy icon.

-Wade

On Sun, Nov 22, 2009 at 5:32 PM, Sayamindu Dasgupta  wrote:
> On Tue, Nov 17, 2009 at 8:09 AM, Benjamin M. Schwartz
>  wrote:
>> Sayamindu Dasgupta wrote:
>>> Hello,
>>> While going through  Ben Schwartz's Shared Term feature proposal
>>> discussion page
>>> (http://wiki.sugarlabs.org/go/Talk:Features/Terminal_Sharing), I
>>> started to wonder if we could somehow implement "readonly" mode for
>>> sharing in the Terminal activity.
>>> After a weekend of hacking : I have managed to come up with the following:
>>
>> I like it.  A read-only mode is definitely useful, albeit in a very
>> different way from a shared interactive terminal.  I couldn't figure out a
>> way to grab the text from the terminal, so I ended up implementing Watch
>> Me, which provides the same functionality (and much more general
>> functionality), but in a much less efficient and integrated way.
>>
>> There are some UI things that will need to be worked out.  Most obviously,
>> the hidden split-screen is currently totally non-discoverable.  I also
>> think that N-to-N sharing might be more generally useful.  For example, it
>> could use the Terminal's tabs mechanism to show one tab for each user to
>> all users.  Perhaps both modes could be subsumed into one by providing a
>> button for each user to show or hide her terminal.
>>
>
>> I can't tell from your e-mail what is working, exactly.  I think it's
>> important that TUIs like nano and less work properly, as far as possible.
>>  For users with different screen or font sizes, some difficulty is 
>> inevitable.
>
> Thanks for the feedback. I checked with Nano and VIM and they render
> fine (though a small problem is that the "action" is often hidden from
> view as the initial text manipulation happens in the top of the
> screen, which remains out of the viewport in the shared terminal
> view). I like your ideas on utilizing the tab mechanism for N-N
> sharing, since at the moment, the sharing happens blindly in 1->N
> fashion from the first tab only, which I think is a bit clumsy.
>
> I think I'll propose read only shared terminal as a feature for 0.88
> Thanks again,
> Sayamindu
>
> --
> Sayamindu Dasgupta
> [http://sayamindu.randomink.org/ramblings]
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sharing in Terminal

2009-11-22 Thread Edward Cherlin
Excellent ideas. I would like to see the same option for programming.
There are doubtless applications for joint programming, but RO would
be great for XP pair programming and for code reviews.

Now if we can integrate all of this with chat...Have a look at the
Write interface in Floss Manuals. http://en.flossmanuals.net/write You
have to log in in order to see the chat box activated.

On Mon, Nov 16, 2009 at 13:20, Sayamindu Dasgupta  wrote:
> Hello,
> While going through  Ben Schwartz's Shared Term feature proposal
> discussion page
> (http://wiki.sugarlabs.org/go/Talk:Features/Terminal_Sharing), I
> started to wonder if we could somehow implement "readonly" mode for
> sharing in the Terminal activity.
> After a weekend of hacking : I have managed to come up with the following:
>
> * First user shares Terminal - nothing in the UI changes
> * Second user joins - and gets a split screen: on the top, the shell
> running in her own machine, and the lower half showing a read only
> version of the Terminal Activity canvas in the first user's machine
> * Third user and so forth get the same experience as the second user.
>
> http://people.sugarlabs.org/sayamindu/shared_terminal.ogv shows a very
> barebones implementation of this. I was wondering if this would be
> useful, and if so, what would be the extra UI elements ? Probably
> there should be some way of showing the first user who has joined (in
> the activity itself), and for the other users, there should probably
> be some way to indicate/differentiate the read-only part and the
> read-write part.
>
> Of course, this has got a lot of limitations (the major one being that
> only plain text elements can be transferred, etc). I'm using the
> accessibility features of the VTE widget to scrape the screen and then
> sending the data across.
>
> Thanks,
> Sayamindu
>
> --
> Sayamindu Dasgupta
> [http://sayamindu.randomink.org/ramblings]
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Edward Mokurai (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) Cherlin
Silent Thunder is my name, and Children are my nation.
The Cosmos is my dwelling place, the Truth my destination.
http://www.earthtreasury.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sharing in Terminal

2009-11-22 Thread Sayamindu Dasgupta
On Tue, Nov 17, 2009 at 8:09 AM, Benjamin M. Schwartz
 wrote:
> Sayamindu Dasgupta wrote:
>> Hello,
>> While going through  Ben Schwartz's Shared Term feature proposal
>> discussion page
>> (http://wiki.sugarlabs.org/go/Talk:Features/Terminal_Sharing), I
>> started to wonder if we could somehow implement "readonly" mode for
>> sharing in the Terminal activity.
>> After a weekend of hacking : I have managed to come up with the following:
>
> I like it.  A read-only mode is definitely useful, albeit in a very
> different way from a shared interactive terminal.  I couldn't figure out a
> way to grab the text from the terminal, so I ended up implementing Watch
> Me, which provides the same functionality (and much more general
> functionality), but in a much less efficient and integrated way.
>
> There are some UI things that will need to be worked out.  Most obviously,
> the hidden split-screen is currently totally non-discoverable.  I also
> think that N-to-N sharing might be more generally useful.  For example, it
> could use the Terminal's tabs mechanism to show one tab for each user to
> all users.  Perhaps both modes could be subsumed into one by providing a
> button for each user to show or hide her terminal.
>

> I can't tell from your e-mail what is working, exactly.  I think it's
> important that TUIs like nano and less work properly, as far as possible.
>  For users with different screen or font sizes, some difficulty is inevitable.

Thanks for the feedback. I checked with Nano and VIM and they render
fine (though a small problem is that the "action" is often hidden from
view as the initial text manipulation happens in the top of the
screen, which remains out of the viewport in the shared terminal
view). I like your ideas on utilizing the tab mechanism for N-N
sharing, since at the moment, the sharing happens blindly in 1->N
fashion from the first tab only, which I think is a bit clumsy.

I think I'll propose read only shared terminal as a feature for 0.88
Thanks again,
Sayamindu

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sharing in Terminal

2009-11-16 Thread Benjamin M. Schwartz
Sayamindu Dasgupta wrote:
> Hello,
> While going through  Ben Schwartz's Shared Term feature proposal
> discussion page
> (http://wiki.sugarlabs.org/go/Talk:Features/Terminal_Sharing), I
> started to wonder if we could somehow implement "readonly" mode for
> sharing in the Terminal activity.
> After a weekend of hacking : I have managed to come up with the following:

I like it.  A read-only mode is definitely useful, albeit in a very
different way from a shared interactive terminal.  I couldn't figure out a
way to grab the text from the terminal, so I ended up implementing Watch
Me, which provides the same functionality (and much more general
functionality), but in a much less efficient and integrated way.

There are some UI things that will need to be worked out.  Most obviously,
the hidden split-screen is currently totally non-discoverable.  I also
think that N-to-N sharing might be more generally useful.  For example, it
could use the Terminal's tabs mechanism to show one tab for each user to
all users.  Perhaps both modes could be subsumed into one by providing a
button for each user to show or hide her terminal.

I can't tell from your e-mail what is working, exactly.  I think it's
important that TUIs like nano and less work properly, as far as possible.
 For users with different screen or font sizes, some difficulty is inevitable.

--Ben





signature.asc
Description: OpenPGP digital signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sharing in Terminal

2009-11-16 Thread Sayamindu Dasgupta
Hello,
While going through  Ben Schwartz's Shared Term feature proposal
discussion page
(http://wiki.sugarlabs.org/go/Talk:Features/Terminal_Sharing), I
started to wonder if we could somehow implement "readonly" mode for
sharing in the Terminal activity.
After a weekend of hacking : I have managed to come up with the following:

* First user shares Terminal - nothing in the UI changes
* Second user joins - and gets a split screen: on the top, the shell
running in her own machine, and the lower half showing a read only
version of the Terminal Activity canvas in the first user's machine
* Third user and so forth get the same experience as the second user.

http://people.sugarlabs.org/sayamindu/shared_terminal.ogv shows a very
barebones implementation of this. I was wondering if this would be
useful, and if so, what would be the extra UI elements ? Probably
there should be some way of showing the first user who has joined (in
the activity itself), and for the other users, there should probably
be some way to indicate/differentiate the read-only part and the
read-write part.

Of course, this has got a lot of limitations (the major one being that
only plain text elements can be transferred, etc). I'm using the
accessibility features of the VTE widget to scrape the screen and then
sending the data across.

Thanks,
Sayamindu

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel