The mcedit which is internal editor for mc, does not include EOL at the end of
file (try create file, put one char into it, then save & close and thet try to
open it in vim - missing oel message will appear - you will have to modify &
save to simply fix ie include EOL).
This is longstanding bug. But a lot of programs simply ignore last
(configuration) line if there is no EOL at the end of file. Also this is normal
to put EOL at the end of file in any UNIX.
i would say that this is rather a feature than a bug. if you want an eol
(newline), just type in one.
In Unix all text files should have EOL at the very end of file.
Many programs (if not all) in FC6 just ignore the last line without EOL.
VI (or ViM or any other Unix editor) always put EOL at the end of file and this
is correct behaviour.
emacs, joe, mcedit don't.
there is no way to tell if the file is an ordinary text file, the user should
decide. one more keystroke is not so much effort.
The ending EOL is a feature which is better to be proposed on the mc upstream
mailing list as I'm sure we don't want to differ here from other distros. It
should definitely be configurable.
Closing NOTABUG since it's a feature.
A possible downstream fix would introduce regression.