virtual package (x-)editor ?
* Now that the defacto-virtual package "editor" is handled by the
alternatives mechanism [1], is there any reason not to include "editor"
in the virtual packages?
* I require a program that opens up an editor under X. Right now I am
using:
Suggests: editor, x-terminal-emulator
and then I do a:
/etc/alternatives/x-terminal-emulator -e /etc/alternatives/editor
which seems rather awkward to me. I would much prefer:
/etc/alternatives/x-editor
which would be a link to the following shellsctipt:
#!/bin/sh
/etc/alternatives/x-terminal-emulator -e /etc/alternatives/editor $*
in case the user doesn't have any x-editor
Mmh?
*t
[1] http://www.geocrawler.com/archives/3/216/1996/11/50/1116453/
----------------------------------------------------------------------------
Tomas Pospisek
SourcePole - Linux & Open Source Solutions
http://sourcepole.ch
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel: +41 (81) 330 77 11
----------------------------------------------------------------------------
Reply to: