On 12/18/14 12:14 PM, Jiri Kukacka wrote:
>> OK, this is the problem part. This looks like a bug in Solaris.
>> There's
>> no indication that the kernel sent SIGHUP before changing the behavior
>> of
>> read and write upon disconnect.
>>
>> Can you see whether or not the first bash in the chain
steps to produce
hide cursor
setterm -cursor off
call the bash built-in read command as follows: silent, wait 1 second, read
1 character to variable KEY
read -s -t 1 -n 1 KEY
while the read command is in a loop, control + c is trapped successfully
and the cursor is un-hidden
setterm