Like many people here, I learned to program in a windowed OS environment. I learned to write windowed applications because I wanted to write real programs. I never had an interest in doing anything with Flash or the like.
I think all it takes is the right personality and the right inclination. The idea that you have to subvert modern technology to teach kids how to program is ludicrous; the kids who actually want to learn this stuff are going to learn it.