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

Re: virtual package (x-)editor ?



On 24-Nov-2001 Tomas Pospisek wrote:
> * 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:
> 
>   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
> 

sounds like a good idea.  emacs, vim, the gtk, the kde, all can provide it. 
Most excellent.



Reply to: