read only for shell-mode