Skip to content

Instantly share code, notes, and snippets.

@worldofprasanna
Last active April 12, 2025 11:08

Revisions

  1. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -5,10 +5,10 @@
    - vertical split `<C-b>"`
    - horizontal split `<C-b>%`
    3. To navigate between the panes,
    a. To goto Left pane `<C-b> left-key`
    b. To goto Right pane `<C-b> right-key`
    c. To goto Top pane `<C-b> up-key`
    d. To goto Down pane `<C-b> down-key`
    - To goto Left pane `<C-b> left-key`
    - To goto Right pane `<C-b> right-key`
    - To goto Top pane `<C-b> up-key`
    - To goto Down pane `<C-b> down-key`
    4. Detach the session `tmux <C-b>+d`
    5. Record the tmux session with asciinema `asciinema rec -c "tmux attach -t terminal-capture"`
    6. Detach the tmux session, save the recording and convert it into gif
  2. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    1. Start a new tmux named session `tmux new -s terminal-capture`
    2. Split the screen using these commands,
    - vertical split <C-b>"
    - horizontal split <C-b>%
    - vertical split `<C-b>"`
    - horizontal split `<C-b>%`
    3. To navigate between the panes,
    a. To goto Left pane `<C-b> left-key`
    b. To goto Right pane `<C-b> right-key`
  3. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    1. Start a new tmux named session `tmux new -s terminal-capture`
    2. Split the screen using these commands,
    a. vertical split <C-b>"
    b. horizontal split <C-b>%
    - vertical split <C-b>"
    - horizontal split <C-b>%
    3. To navigate between the panes,
    a. To goto Left pane `<C-b> left-key`
    b. To goto Right pane `<C-b> right-key`
  4. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Steps to capture multiple terminals using asciinema
    # Commands Reference

    1. Start a new tmux named session `tmux new -s terminal-capture`
    2. Split the screen using these commands,
  5. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 6 additions and 7 deletions.
    13 changes: 6 additions & 7 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # To capture multiple terminals using asciinema
    # Steps to capture multiple terminals using asciinema

    1. Start new tmux named session `tmux new -s terminal-capture`
    1. Start a new tmux named session `tmux new -s terminal-capture`
    2. Split the screen using these commands,
    a. vertical split <C-b>"
    b. horizontal split <C-b>%
    @@ -9,8 +9,7 @@
    b. To goto Right pane `<C-b> right-key`
    c. To goto Top pane `<C-b> up-key`
    d. To goto Down pane `<C-b> down-key`
    4. To detach the session `tmux <C-b>+d`
    5. To list the tmux sessions `tmux ls`
    6. Record the tmux session with asciinema `asciinema rec -c "tmux attach -t terminal-capture"`
    7. Detach the tmux session and save the recording.
    8. Enjoy !!!
    4. Detach the session `tmux <C-b>+d`
    5. Record the tmux session with asciinema `asciinema rec -c "tmux attach -t terminal-capture"`
    6. Detach the tmux session, save the recording and convert it into gif
    7. Enjoy !!!
  6. worldofprasanna revised this gist Feb 28, 2019. 1 changed file with 13 additions and 4 deletions.
    17 changes: 13 additions & 4 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,16 @@
    # To capture multiple terminals using asciinema

    1. Start new tmux named session `tmux new -s terminal-capture`
    2. Split the screen as needed and detach the session `tmux <key>+d`
    3. Attach the tmux session again with asciinema `asciinema rec -c "tmux attach -t session-name"`
    4. Detach the tmux session.
    5. Enjoy !!!
    2. Split the screen using these commands,
    a. vertical split <C-b>"
    b. horizontal split <C-b>%
    3. To navigate between the panes,
    a. To goto Left pane `<C-b> left-key`
    b. To goto Right pane `<C-b> right-key`
    c. To goto Top pane `<C-b> up-key`
    d. To goto Down pane `<C-b> down-key`
    4. To detach the session `tmux <C-b>+d`
    5. To list the tmux sessions `tmux ls`
    6. Record the tmux session with asciinema `asciinema rec -c "tmux attach -t terminal-capture"`
    7. Detach the tmux session and save the recording.
    8. Enjoy !!!
  7. worldofprasanna created this gist Feb 18, 2019.
    7 changes: 7 additions & 0 deletions terminal-capture.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # To capture multiple terminals using asciinema

    1. Start new tmux named session `tmux new -s terminal-capture`
    2. Split the screen as needed and detach the session `tmux <key>+d`
    3. Attach the tmux session again with asciinema `asciinema rec -c "tmux attach -t session-name"`
    4. Detach the tmux session.
    5. Enjoy !!!