raw mode, handle quits