View Single Post
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2018-12-13, 17:25

Quote:
Originally Posted by turtle View Post
The only concern I would have it if a password had to be typed in.
Good news! It doesn't capture keystrokes. It only captures the terminal output.

asciinema acts like a thin middle-man between you and the actual shell, kind of like screen or tmux. So, technically the program sees everything you type during runtime because it has to pass everything through to the shell, but none of that is captured in the output. You can verify this by telling it to save to disk instead of uploading to asciinema.org, and then you can look at the output yourself, which is a surprisingly simple and pretty self-explanatory format once you see it.

Here's a sample capture of:
Code:
bradsmith@Novus: ~ » echo "hello world" hello world bradsmith@Novus: ~ » sudo echo "secrets!" Password: secrets!
Hopefully it didn't show you my actual password when I used sudo.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote