I can't pipe output from bcrypt -o to less. To reproduce this, run this at the shell:
bcrypt -o super-secret.txt.bfe | less
You won't get a prompt, but type in your password. You'll see the contents of super-secret.txt with a less prompt (:) at the bottom of the screen. If you enter until you get to the bottom of the file, you'll see the less (END) prompt. Hit enter again, and it will exit, but the shell will be messed up. You won't be able to see your input as you type it, but you will be able to execute commands. Also, hitting enter multiple times will result in multiple prompts, but they'll all be on the same line.
Tested on centos.
...snip...
Installed Packages
bcrypt.x86_64 1.1-1.el6.rf @rpmforge
Let me know if there's anything else I can do to help reproduce this.
Apologies for the funny formatting of "yum list bcrypt". I was trying to show the output I get when I run that yum command as root...
Last edit: Roman Zabicki 2014-05-16