From 49dce2681406e73e92519a43ba0a412225eb0136 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 5 Jun 2015 03:32:41 +0300 Subject: network/asciinema: Updated for version 1.1.0. Signed-off-by: Dimitris Zlatanidis --- network/asciinema/asciinema.1 | 39 ++++++++++++++++++++++------------ network/asciinema/asciinema.SlackBuild | 4 ++-- network/asciinema/asciinema.info | 10 ++++----- 3 files changed, 33 insertions(+), 20 deletions(-) (limited to 'network') diff --git a/network/asciinema/asciinema.1 b/network/asciinema/asciinema.1 index 17a5a4770d..f7de678fa2 100644 --- a/network/asciinema/asciinema.1 +++ b/network/asciinema/asciinema.1 @@ -3,7 +3,7 @@ asciinema \- Terminal recorder for asciinema.org service .SH "SYNOPSIS" .I asciinema -[\-h] [\-v] command [] +[\-h] [\-\-version] command [] .SH "DESCRIPTION" Command line client (terminal recorder) for asciinema.org service. .PP @@ -11,16 +11,12 @@ If you run .I asciinema with no arguments, help will be displayed showing all available commands. .PP -In addition to this, you can run any asciinema command with the -.B -h -switch to display help about that specific command. For example, try running \fBasciinema rec -h\fP. This will display a list of all of the options \fBrec\fP command accepts, with their defaults. -.PP .SH "OPTIONS" .TP \-h, \-\-help Display help message .TP -\-v, \-\-version +\-\-version Display version information .SH "COMMANDS" .B rec @@ -36,23 +32,40 @@ Recording finishes when you exit the shell (hit \fBCtrl+D\fP or type \fIexit\fP) \fBASCIINEMA_REC=1\fP is added to recorded process environment variables. This can be used by your shell's config file (\fI.bashrc\fP, \fI.zshrc\fP) to alter the prompt or play a sound when shell is being recorded. .RS 4 .TP -\-c +\-c, \-\-command command to record (if none given a new shell instance is recorded) .TP -\-h, \-\-help -Display help message -.TP -\-\-max\-wait +\-w, \-\-max\-wait reduce recorded terminal inactivity to maximum of seconds (0 turns off) .TP \-t -set asciicast title (can be also set later, on the site) +specify title of the asciicast .TP -\-y +\-y, \-\-yes upload immediately after shell exits, without asking for confirmation .RE .RE .PP +.B play +.RS 4 +Replay recorded asciicast in a terminal. +.PP +This command replays given asciicast (as recorded by \fIrec\fP command) directly in your terminal. +.PP +NOTE: it is recommended to run it in a terminal of dimensions not smaller than the one used for recording as there's no "transcoding" of control sequences for new terminal size. +.RS 4 +.TP +\-w, \-\-max\-wait +reduce replayed terminal inactivity to maximum of seconds (0 turns off) +.RE +.PP +.B upload +.RS 4 +Upload recorded asciicast to asciinema.org site. +.PP +This command uploads given asciicast (as recorded by \fIrec\fP command) to asciinema.org for further playback in a web browser. +.RE +.PP .B auth .RS 4 Assign local API token to asciinema.org account. diff --git a/network/asciinema/asciinema.SlackBuild b/network/asciinema/asciinema.SlackBuild index b2c2cb4f02..0967ab55c3 100644 --- a/network/asciinema/asciinema.SlackBuild +++ b/network/asciinema/asciinema.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for asciinema -# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=asciinema -VERSION=${VERSION:-1.0.0} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/asciinema/asciinema.info b/network/asciinema/asciinema.info index 66294bcbec..341d6a0cc9 100644 --- a/network/asciinema/asciinema.info +++ b/network/asciinema/asciinema.info @@ -1,10 +1,10 @@ PRGNAM="asciinema" -VERSION="1.0.0" +VERSION="1.1.0" HOMEPAGE="http://asciinema.org" -DOWNLOAD="https://github.com/asciinema/asciinema/releases/download/v1.0.0/asciinema-1.0.0-linux-386.tar.gz" -MD5SUM="2374827169fc7a4fe29c013388627792" -DOWNLOAD_x86_64="https://github.com/asciinema/asciinema/releases/download/v1.0.0/asciinema-1.0.0-linux-amd64.tar.gz" -MD5SUM_x86_64="46bbe640093f6d5c43a1a56913c89927" +DOWNLOAD="https://github.com/asciinema/asciinema/releases/download/v1.1.0/asciinema-1.1.0-linux-386.tar.gz" +MD5SUM="be034c9fa69c02842eeb1d5431ce59d7" +DOWNLOAD_x86_64="https://github.com/asciinema/asciinema/releases/download/v1.1.0/asciinema-1.1.0-linux-amd64.tar.gz" +MD5SUM_x86_64="bd9994e17d4cbba92b919d5de75b6ca4" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" -- cgit v1.2.3