How to run console emacs after login in the terminal?

There is a computer without a count. shell, and the desire immediately after authorization to run emacs.
If you cannot resolve the problem by adding to .profile or .bashrc lines
emacs
eval 'emacs'
bash -c emacs

remains one big disadvantage: when you press CTRL-Z it minimizes, but not to the command line (as if it was launched manually), and "endless stdin", a certain emptiness from which you cannot return.

How to overcome such a problem? Thank you.
July 2nd 19 at 17:59
1 answer
July 2nd 19 at 18:01
Solution
Try
exec emacs -nw
now CTRL-Z does not fall in the "eternal stdin", just not minimized. We can say collapses "into itself". - bernard_Krajcik commented on July 2nd 19 at 18:04
: this, too, is not satisfied? - charity84 commented on July 2nd 19 at 18:07
: it certainly is something, but I would like to still have access to the console. - bernard_Krajcik commented on July 2nd 19 at 18:10
: why not hands to run emacs after login? + do not forget about shell and eshell (run via M-x) - charity84 commented on July 2nd 19 at 18:13
: you can. And you can run the machine with the --eval '(dired "~")' - bernard_Krajcik commented on July 2nd 19 at 18:16

Find more questions by tags * nix-like systemsEmacsLinuxbash