Re: systemd editor/pager
On 18/02/16 15:35, Pol Hallen wrote:
Ciao a tutti :)
prima di migrare tutto a systemd ho iniziato con delle prove...
qualcuno ha idea di come cambiare editor/pager?
per intenderci:
systemctl mostra l'elenco dei servizi usando "more", vorrei utilizzare vim
export SYSTEMD_EDITOR non funziona e anche cercando non ho trovato come
risolvere...
A me funziona:
$ SYSTEMD_PAGER=vim systemctl
Vim: Warning: Input is not from a terminal
...
anche se non ho la minima idea di come si convinca Vim ad aprire lo
stdin. :)
federico
--
Federico Di Gregorio federico.digregorio@dndg.it
DNDG srl http://dndg.it
To prepare such test data, I get into the meaniest, nastiest frame of
mind that I can manage, and I write the cruelest code I can think of;
then I turn around and I embed that in even nastier constructions
that are almost obscene. -- D.E.Knuth
Reply to: