Difference between revisions of "Features/Terminal Sharing"

From Sugar Labs
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{GoogleTrans-en}}{{TOCright}}</noinclude>
+
<noinclude>{{GoogleTrans-en}}{{TOCright}}
 +
[[Category:Feature Page Incomplete]]
 +
[[Category:Feature|Terminal Sharing]]
 +
[[Category:Collaboration]]</noinclude>
  
 
== Summary ==
 
== Summary ==
Line 10: Line 13:
  
 
== Current status ==
 
== Current status ==
* Targeted release: 0.86
+
* Targeted release:
 
* Last updated: 2009-07-22
 
* Last updated: 2009-07-22
 
* Percentage of completion: 100%
 
* Percentage of completion: 100%
Line 17: Line 20:
 
ShareTerm is
 
ShareTerm is
 
a variant of Terminal designed to enable collaborative work at the command
 
a variant of Terminal designed to enable collaborative work at the command
prompt.  ShareTerm works by starting an unprivileged SSH daemon and a GNU Screen
+
prompt.  ShareTerm works by starting an unprivileged SSH daemon and a [http://en.wikipedia.org/wiki/GNU_Screen GNU Screen] session.  The SSH daemon is tunneled over a Telepathy Stream Tube.  To avoid the need for passwords, public-key authentication is used.  The system should support an arbitrary number of participants, though at the moment the sshd is configured with a maximum of 10.
session.  The SSH daemon is tunneled over a Telepathy Stream Tube.  To
 
avoid the need for passwords, public-key authentication is used.  The
 
system should support an arbitrary number of participants, though at the
 
moment the sshd is configured with a maximum of 10.
 
 
 
  
 
== Benefit to Sugar ==
 
== Benefit to Sugar ==
Line 34: Line 32:
 
== How To Test ==
 
== How To Test ==
 
* Install the bundle from:
 
* Install the bundle from:
http://dev.laptop.org/~bemasc/ShareTerm-1.xo
+
:[http://dev.laptop.org/~bemasc/ShareTerm-1.xo Shareterm]
* Install GNU Screen on your system.  MANDATORY.  NOTE: GNU Screen is not
+
* Install GNU Screen on your system.  MANDATORY.  NOTE: GNU Screen is _not_ installed by default on many Sugar systems, including OLPC's XO distributions.
installed by default on many Sugar systems, including OLPC's XO distributions.
 
 
* Make sure you are running with Rainbow enabled!
 
* Make sure you are running with Rainbow enabled!
* Start ShareTerm from the Sugar UI, and then share it like any
+
* Start ShareTerm from the Sugar UI, and then share it like any collaborative Activity.
collaborative Activity
 
  
 
== User Experience ==
 
== User Experience ==
Line 48: Line 44:
  
 
== Contingency Plan ==
 
== Contingency Plan ==
Tell people to install GNU Screen and openssh manually before installing shareterm, or possibly try to package static binaries into the .xo.  Neither is ideal, especially because ShareTerm is most appropriate for users who are not yet comfortable with the command line.
+
Tell people to install GNU Screen and OpenSSH manually before installing ShareTerm, or possibly try to package static binaries into the .xo.  Neither is ideal, especially because ShareTerm is most appropriate for users who are not yet comfortable with the command line.
  
 
== Documentation ==
 
== Documentation ==
Line 58: Line 54:
 
== Comments and Discussion ==
 
== Comments and Discussion ==
 
* See [[{{TALKPAGENAME}}|discussion tab for this feature]] <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
 
* See [[{{TALKPAGENAME}}|discussion tab for this feature]] <!-- This adds a link to the "discussion" tab associated with your page.  This provides the ability to have ongoing comments or conversation without bogging down the main feature page -->
 
[[Category:Feature_Ready_for_Release_Manager]]
 
[[Category:Feature]]
 

Latest revision as of 07:24, 6 December 2009

Summary

This feature represents ShareTerm, an Activity providing a shareable version of Terminal so that users can interact over the network at a single command prompt.

Owner

  • Email: bmschwar@fas.harvard.edu

Current status

  • Targeted release:
  • Last updated: 2009-07-22
  • Percentage of completion: 100%

Detailed Description

ShareTerm is a variant of Terminal designed to enable collaborative work at the command prompt. ShareTerm works by starting an unprivileged SSH daemon and a GNU Screen session. The SSH daemon is tunneled over a Telepathy Stream Tube. To avoid the need for passwords, public-key authentication is used. The system should support an arbitrary number of participants, though at the moment the sshd is configured with a maximum of 10.

Benefit to Sugar

I hope that ShareTerm will be useful for teaching UNIX and programming skills to novices. For experts, the window management of Screen will be especially useful.

Scope

The only change required to Sugar is to add a dependency on GNU Screen and OpenSSH, which are available in every distro's package system. I think ShareTerm may merit inclusion in Fructose, but the important thing is to make Sugar-0.86 depend on Screen.

How To Test

  • Install the bundle from:
Shareterm
  • Install GNU Screen on your system. MANDATORY. NOTE: GNU Screen is _not_ installed by default on many Sugar systems, including OLPC's XO distributions.
  • Make sure you are running with Rainbow enabled!
  • Start ShareTerm from the Sugar UI, and then share it like any collaborative Activity.

User Experience

Shared Terminal. Each user can type into the same shared instance from different machines, and their keystrokes will all register. The instance actually runs on the initiator's computer.

Dependencies

GNU Screen and OpenSSH. If security is a consideration, then Rainbow is an important requirement as well. Running ShareTerm allows any friend who joins the activity to run arbitrary commands on your computer. Rainbow ensures that these commands are run as a restricted, unprivileged account. If you are running without Rainbow, you should be sure to invite only people you trust to your ShareTerm!

Contingency Plan

Tell people to install GNU Screen and OpenSSH manually before installing ShareTerm, or possibly try to package static binaries into the .xo. Neither is ideal, especially because ShareTerm is most appropriate for users who are not yet comfortable with the command line.

Documentation

http://lists.sugarlabs.org/archive/sugar-devel/2009-May/014165.html

Release Notes

No significant changes are noteworthy here.

Comments and Discussion