Re: Terminal messed up after exiting bash

2014-09-09 Thread Jan Rome
I use ash to run a script which has #!/bin/bash if I run bash and then run the script, the script exits to bash, and if i then exit bash back to ash, I dont see the problem. Best regards, Jan On 9.9.2014 1:58, Ryan Cunningham wrote: This isn't clear to me. Are you using the Almquist Shell to

Terminal messed up after exiting bash

2014-09-08 Thread Jan Rome
Hello, I'd like to report an obscure bug I came across in pfsense which runs on top of FreeBSD. If I run a bash script in which I have read -r -n1 -p "prompt: " and instead of providing input, i ctrl-c the script, the ash shell doesn't recover the terminal properly; backspace echos ^? and