- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2022-12-18T12:06:08+09:00","","")
#topicpath();
//////////////////////////////////////////////////////////////////////////////
* 目次 [#qc5c9193]
#contents();
//////////////////////////////////////////////////////////////////////////////
* ttyrec とは? [#e6313136]
- tty(端末)で行われたことを「録画」するレコーダー。
- tty上で動作するプログラムなら、何でも録画出来る。
- ttyrecで記録したものは、ttyplay という同梱コマンドで再生出来る。
//////////////////////////////////////////////////////////////////////////////
* 主な使い方 [#medfaac8]
//============================================================================
** ttyrec [#ieadde21]
- 普通に起動
$ ttyrec
(色々やって、exit)
-- 出力ファイル <outfile> を指定
$ttyrec <outfile>
- 指定した <command> を実行し、それが終了するまでを録画
$ ttyrec -e <command>
-- <command> に引数がある場合は、<command> を含めてダブルクォートすると良い。
$ ttyrec -e "<command> arg1 arg2 ..."
-- 更に出力ファイル <outfile> を指定する場合は、
$ ttyrec -e "<command> arg1 arg2 ..." <outfile>
//============================================================================
** ttyplay [#f7f76c5a]
- 再生
$ ttyplay <ttyrecord>
//============================================================================
** ttyrec で撮ったデータを GIF アニメ化する [#ad66da4f]
- ttygif を使用して変換する
$ ttygif <in-file>