Reset terminal modes with RIS

"\033c"(RIS - hard reset) is expected to reset the terminal to "power-on state".
But in current HEAD of master, the following example is not work well.

```
    $ printf "\033[?1003h\033[?7l"
    $ reset
```

With above command, the mouse mode should be "off" and the auto-wrap mode should be "on".