3
1
I'm looking for some software that would be useful for giving demonstrations.
I regularly have to show the effects of scrips ect to classes while talking about their effects, and equaly regularly I have finger trouble and have to rewrite various commands - wasting class time and general energy.
I'd like to be able to record a sequence of commands in advance, and then play them back at the speed of my choosing.
So I might have a file that containes the commands:
echo "hello world!"
ls ls -l
ls -l | sort
I'd like to be able to play these commands back by typing similar ones in.
So I'd have a blinking command prompt and if I typed 'echo "hxxx' the command prompt would read
home$echo "hell
and if I typed any other letters the terminal would fill up with the remainder of the command until I press enter, when it executes the command. The point is that even if I screw up the command when typing it, the command that I'd prepared in advance would be executed.
My question is - does similar software exist for giving demonstrations? or even, is this an easy thing to script up...?
EDIT - two quick things first of all I'm on osx - but it would be nice to get a general solution for other people who arrive here from google. and second a lot of the comments/answers are concentrating on, in effect, making it fast and easy to enter long commands by means of hotkeys and the like. Actually I'd like it to at least look like I'm typing live - that's why I put in the bit about the one-to-one keymapping, but I don't think I explained that quite as well as I could have...
What OS are you on? – slhck – 2012-12-16T15:44:58.833
1Have you tried aliases? It wouldn't look as nice, but you could just type a1, a2, a3, a4, a5... – bb010g – 2012-12-16T15:52:10.410
Why not just use screencasting software to record you doing it slowly, carefully in your office, then play the video back in class at the desired speed? For example, VLC lets you adjust playback speed in increments as little as 10%. – Synetech – 2012-12-16T16:11:37.210
@slhck - OSX - will add, although I'm interested in general solutions – Joe – 2012-12-16T16:42:04.247
@bb010g, that's going to be my backup plan I think... :) – Joe – 2012-12-16T16:42:25.090
@Synetech - partly because then it will probably be obvious to the class that I'm just showing them the video - but more fundermentaly I might want to quit the app after a certain stage and show some other aspects of the files that are being produced created - perhaps in response to a question - with a video you'd lose any possibility of the interaction. :( – Joe – 2012-12-16T16:44:12.233
I looked at the question again, and if you are willing to type out the whole thing each time, ZSH has corrections and tab-complete for commands at least. – bb010g – 2012-12-16T16:49:16.550
partly because then it will probably be obvious to the class that I'm just showing them the video
So?I might want to… possibility of the interaction.
Fair enough. Plus, with a video, you lose the possibility of unexpected things happening and livening up what might otherwise be a dull class.;-D
– Synetech – 2012-12-16T20:11:55.933there's a program mentioned once on a youtube program called hack5 though i don't recall it offhand. – barlop – 2012-12-16T21:51:04.693
Keeping open because of the very narrow nature of the question. See http://meta.superuser.com/questions/2324/in-defense-of-obscure-niche-hardware-recommendation-questions
– bwDraco – 2014-04-22T12:16:20.267