set raw mode to memstre scanner