prompt() added. better linux handling.