If I press ctrl-b that ought to give me ASCII code 2, but ctrl-c is going to be interpreted as a Break.
So I figure I've got to redirect a file in. How do I get these characters into a file?
If I press ctrl-b that ought to give me ASCII code 2, but ctrl-c is going to be interpreted as a Break.
So I figure I've got to redirect a file in. How do I get these characters into a file?
perl -e 'print "\xFF"', where FF is the hex code of the ACSII code you want to print. So for ACSII code 2, it would be \x02.
Ctrl-V escapes the next keystoke. That's how you can get a Ctrl-C out: Ctrl-V Ctrl-C