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

Re: Debian-Policy Manual

On Mon, 16 Jun 1997, Mark Baker wrote:

> In article <m0wdLLe-000AHbC@eos>,
> 	David Frey <david@eos.lugs.ch> writes:
> >>TOPIC 4: editor/pager policy
> > What is the benefit of /usr/bin/sensible-{editor,pager}?
> > Why don't we just default to EDITOR=/usr/bin/vi and PAGER=/usr/bin/more
> > if both variables are unset? (auch, don't beat me)
> That might enable us to get rid of /usr/bin/{editor,pager} though it's an
> inferior solution to what we're doing at the moment. It won't enable us to
> get rid of /usr/bin/sensible-{editor,pager} which are for progams that don't
> understand EDITOR and PAGER.

Not exactly.

The files /usr/bin/{editor,pager} will be managed through alternatives.
Since alternatives can be changed by the sysadmin only, we allow the user
to define EDITOR and PAGER to override this.

That's why we need "sensible-{editor,pager}". These are two simply shell
scripts that test if EDITOR/PAGER is set and launches either that program,
or /usr/bin/{editor,pager}. 



--                 Christian Schwarz
                    schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Don't know Perl?     schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.perl.com     http://fatman.mathematik.tu-muenchen.de/~schwarz/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: