[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

update-alternatives priorities for editors



Hallo!

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=121303

This bugreport says that the elvis package (a vi clone) uses a too
high priority for the 'editor'-alternative (or for all
alternatives?).

>From the postinstall-script:

#added to comply with the new editor standard
update-alternatives --install /usr/bin/editor editor /usr/bin/elvisnox 120 \
  --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/elvis.1.gz

#Changed priority to comply with the new editor standard
update-alternatives --install /usr/bin/vi vi /usr/bin/elvisnox 120 \
  --slave /usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/elvis.1.gz

update-alternatives --install /usr/bin/ex ex /usr/bin/elvisnox 120 \
  --slave /usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/elvis.1.gz

update-alternatives --install /usr/bin/view view /usr/bin/elvisnox 120 \
  --slave /usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/elvis.1.gz

update-alternatives --install /usr/bin/input input /usr/bin/elvisnox 120 \
  --slave /usr/share/man/man1/input.1.gz input.1.gz /usr/share/man/man1/elvis.1.gz

update-alternatives --install /usr/bin/ref ref /usr/bin/ref-elvis 120 \
  --slave /usr/share/man/man1/ref.1.gz ref.1.gz /usr/share/man/man1/ref-elvis.1.gz

Which changes do you propose?

Gruß, Georg



Reply to: