Terminal rw proc