[TTY] Record your TTY

Forum rules
Share your brain ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

[TTY] Record your TTY

Unread post by machinebacon » Tue Oct 15, 2013 11:12 am

1) Preparation work

Code: Select all

#get required packages
sudo apt-get install imagemagick ttyrec build-essential gcc
# get tty to gif converter
git clone https://github.com/icholy/ttygif.git
# build it
cd ttygif
make
2) Actual work ;)

Code: Select all

# change to a tty
# ttyrec -e <command> -a <output-file>
ttyrec -e emacs -a emacs_tutorial_1
# it will record until you explicitly exit the shell or press Ctrl-D
3) convert

Code: Select all

./ttygif emacs_tutorial_1 -f
./concat.sh emacs_tutorial.gif
Please note that *all* ttyrec recordings are stitched together with the last command. So, better create a ~/tty/ folder with subfolders, task-specific.

4) share: in the HOWTOs section, post a new thread and tag it with [TTY]. You can attach .gif files when using the "Full Editor". Anything in a terminal can be recorded, even emacs, vi, links2 etc.
short_demo.gif
short_demo.gif (4.31 KiB) Viewed 2137 times
..gnutella..

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: [TTY] Record your TTY

Unread post by DebianJoe » Tue Oct 15, 2013 11:55 am

Well, that's neat. ;)...but mine doesn't preview well, probably because it's full-screen. :(
Attachments
testing.gif
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: [TTY] Record your TTY

Unread post by machinebacon » Tue Oct 15, 2013 11:56 am

No matter, opening in a new tab/window works like a bliss :)
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [TTY] Record your TTY

Unread post by wuxmedia » Tue Oct 15, 2013 2:14 pm

fucking brilliant.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [TTY] Record your TTY

Unread post by wuxmedia » Wed Oct 16, 2013 6:36 pm

doesn't work very well with fbterm, better than I though, It records the 'events'
I ran tmux, and ttyplay recreated it quite well. Too big for the tty screen.
without the fancy fonts.
ttygif wouldn't render it.

although seems not to want to render any - even a normal ttyrec session.
"Seek, and Ye shall find"
"Github | Chooons | Site"

Post Reply