Hi Maxime,

As Trevor mentions, shellther uses the script command under the hood to do most 
of the work (thus, it doesn't work under windows).

Every few seconds, shellther takes the typescript file produced by the script 
command and sends it to an etherpad (instead of a github repo).

Shellther has two modes: "dedicated" or "section":

 - In dedicated mode, it assumes that the given etherpad is used exclusively 
for the output of this session, so it replaces the whole content of the pad 
with the content of the typescript file.

 - In section mode, it assumes that the terminal session is only part of the 
given etherpad, so it inserts section markers ("-----random-marker----") and 
places the content of the typescript file between these markers.

I agree in that we shouldn't be duplicating efforts -- I'm not sure what would 
be the best approach to make either of these tools part of the 'standard' tools 
that all SWC instructors use. 

Cheers,
Carlos

________________________________________
From: W. Trevor King <[email protected]>
Sent: 14 March 2016 18:10
To: Maxime Boissonneault
Cc: Carlos Martinez Ortiz; [email protected]; Inigo 
Aldazabal; [email protected]
Subject: Re: [Discuss] Logging console output

On Mon, Mar 14, 2016 at 10:50:37AM -0400, Maxime Boissonneault wrote:
> Can you describe a bit how it works ?  I sent a few months ago an
> email pointing to a Github repo with a recording script which posts
> to a github repo.  It uses the "script" command as well as an
> "ansi2html" tool to convert this to a readable webpage.

Carlos' package looks like it's also using ‘script’ for the
pseudo-terminal gymnastics [1].  Perhaps links from somewhere under
the SWC umbrella to tools like this would help avoid duplicated
effort?  I'm not sure where those links would live though…

Cheers,
Trevor

[1]: 
https://github.com/c-martinez/shellther/blob/246270a487d9d2ecc1022917557ce8e51be8643f/shellther/main.py#L16-L27

--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org

Reply via email to