Re: nano vs VI
On Thu, Jan 02, 2014 at 11:17:24AM +0000, Curt wrote:
> On 2014-01-02, Paul Cartwright <pbcartwright@gmail.com> wrote:
> > On 01/01/2014 08:01 PM, John Hasler wrote:
> >> man select-editor
> > man select-editor
> > No manual entry for select-editor
>
> I think you need to install 'sensible-utils', which provides
>
> /usr/bin/sensible-browser
> /usr/bin/sensible-editor
> /usr/bin/sensible-pager
>
> I guess it's the sensible thing to do (I haven't done it!)
>
> Oops; he said 'select-editor'. Mmm, maybe he meant what I 'read' 'cause I
> can't find select-editor anywhere.
I never heard about it :-) but I have it here.
$ select-editor
Select an editor. To change later, run 'select-editor'.
1. /bin/ed
2. /usr/bin/emacs23
3. /usr/bin/mcedit
4. /usr/bin/vim.basic
5. /usr/bin/vim.gtk
6. /usr/bin/vim.nox
7. /usr/bin/vim.tiny
Choose 1-7 []: 6
$ dpkg -S select-editor
sensible-utils: /usr/bin/select-editor
sensible-utils: /usr/share/man/man1/select-editor.1.gz
As I see its changelog, it is only in testing/sid:
sensible-utils (0.0.9) unstable; urgency=low
* Fix bashism in select-editor
Patch by Thorsten Glaser
Closes: #711321
-- Anibal Monsalve Salazar <anibal@debian.org> Thu, 06 Jun 2013 22:19:39 +1000
sensible-utils (0.0.8) unstable; urgency=low
* Merge 0.0.7ubuntu1
- add select-editor (Closes: #482774)
- modify sensible-editor to pick the editor from select-editor
* Removes reference to non-existent BROWSER documentation in environ(7)
Patch by Matt Kraai
Closes: #567250
* Commented-out Vcs-* headers
Closes: #661752
* Standards Version is 3.9.4
-- Anibal Monsalve Salazar <anibal@debian.org> Thu, 06 Jun 2013 12:27:15 +1000
Osamu
Reply to: