On 9/9/14, 4:02 AM, Jan Rome wrote: > 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.
The reason is the same as the one in my reply from yesterday to a different report: bash saves the terminal state before running a command and restores it if that command exits due to a signal. This masks any effects of a command -- including the one in the original report -- leaving the terminal in an unusable state. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/