Is there a way on earth to trap the CTRL-D combination in my script. It's not a signal so I can't trap it with my signal handlers. it's supposed to send 'end of file' to the input and by that ending an interactive input from the keyboard.
anyone to the rescue?