Very small editor "window"
Christoph Pleger
Christoph.Pleger at cs.tu-dortmund.de
Wed Oct 12 06:58:00 UTC 2016
Hello,
In Ubuntu 16.04, I created an additional systemd target. This target
contains only one service, both of them are defined to be executed after
target multi-user.target has been reached. My new systemd service is to
open an editor (for editing hostname, ip address. etc.) on a text console.
But I have three problems:
1. The editor is not shown before a key has been pressed.
2. The editor only displays a maximum of three lines and eight columns
(that is not the normal behaviour of the editor) at one time, that makes
it very difficult to edit anything.
3. The usual key combinations to end the editor session do not work;
instead, when for example I press first Ctrl+C and then 'y' to confirm
that I want to leave the editor without file saving, the 'y' is inserted
in the edited file.
Any ideas for a solution? Obviously, as the described problems are not the
normal bahaviour of the used editor, they are caused by the time and
environment of when the editor is called (during boot), but as it is
called after multi-user.target has been reached, everything should have
been configured before ...
Regards
Christoph
More information about the ubuntu-users
mailing list