summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Dimitris Zlatanidis2015-06-05 02:32:41 +0200
committer Willy Sudiarto Raharjo2015-06-07 17:09:56 +0200
commit49dce2681406e73e92519a43ba0a412225eb0136 (patch)
tree23e1cd8c26d725177a207b6b4c08062bb516ba23 /network
parente0ed0239a06b7eda34b458faf51c5bc79e58d0f3 (diff)
downloadslackbuilds-49dce2681406e73e92519a43ba0a412225eb0136.tar.gz
network/asciinema: Updated for version 1.1.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network')
-rw-r--r--network/asciinema/asciinema.139
-rw-r--r--network/asciinema/asciinema.SlackBuild4
-rw-r--r--network/asciinema/asciinema.info10
3 files changed, 33 insertions, 20 deletions
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 [<args>]
+[\-h] [\-\-version] command [<args>]
.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 <filename>
+.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 <filename>
+.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"