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

Re: Bug#13287: less uses /usr/bin/editor without it necessarily being there.



On 23 Sep 1997, Darren/Torin/Who Ever... wrote:

> Package: less
> Version: 332-2
> 
> -----BEGIN PGP DECRYPTED MESSAGE-----
> If the envar EDITOR isn't set, less uses /usr/bin/editor.  This is
> problematic since there are no editor packages yet that register that as
> an alternative.  So, possibly it should depend on
> /usr/bin/sensible-editor since that's actually in a package and mentions
> that you should set $EDITOR.  But the way it is now, actually complies
> with the 2.3.0.0 packaging standards.  So, it might be a bug against
> debian-policy but not until it's been discussed.  Therefore, I'm cc'ing
> this to debian-policy (this could be considered a bug of this message.)

I think this is actually a bug of less or debian-policy, it a bug of your
preferred editor not providing /usr/bin/editor. Please assign this bug to
the editor package.

A work-around:
	# ln -s /etc/alternatives/vi /usr/bin/editor


Thanks,

Chris

--                 Christian Schwarz
Do you know         schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian GNU/Linux?    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.debian.org   http://fatman.mathematik.tu-muenchen.de/~schwarz/


Reply to: