main/erlang: vi can't read user input after quitting erl
How to reproduce:
$ apk add erlang
$ erl
Quit erl with double ctrl-c
$ vi anyfile.txt
Output:
vi: can't read user input
The problem only happens on version 18. Package erlang17 is ok.
Related to http://bugs.alpinelinux.org/issues/2259
(from redmine: issue id 4497, created on 2015-07-30)