[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Unnecessary dependency on vi???
From: |
Ralph Corderoy |
Subject: |
Re: [nmh-workers] Unnecessary dependency on vi??? |
Date: |
Sun, 18 Mar 2018 12:23:08 +0000 |
Hi David,
> > sensible-editor(1) that programs can fall back on.
>
> That Debian package is available (sensible-utils) on Fedora. If a
> suitable editor can't be found via VISUAL, EDITOR, etc., it falls back
> to nano.
It tries
$VISUAL
. ~/.selected_editor
# Maybe run select-editor.
$EDITOR
$SELECTED_EDITOR
nano
nano-tiny
vi
# Error: tell user to set $EDITOR.
select-editor is run if $EDITOR isn't set and stdin is a TTY.
> It breaks when run under env -i.
No PATH confuses which(1). I expect no PATH confuses quite a few
things. :-)
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- Re: [nmh-workers] Unnecessary dependency on vi???, (continued)
- Message not available
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Fox, 2018/03/14
- Re: [nmh-workers] Unnecessary dependency on vi???, Andy Bradford, 2018/03/16
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Vixie, 2018/03/16
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Fox, 2018/03/16
- Re: [nmh-workers] Unnecessary dependency on vi???, Ralph Corderoy, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, David Levine, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Vixie, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Andy Bradford, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Ralph Corderoy, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, David Levine, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???,
Ralph Corderoy <=
- Re: [nmh-workers] Unnecessary dependency on vi???, Ken Hornstein, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, David Levine, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Vixie, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Ken Hornstein, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, David Levine, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Paul Fox, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Ken Hornstein, 2018/03/17
- Re: [nmh-workers] Unnecessary dependency on vi???, Ralph Corderoy, 2018/03/18
- Re: [nmh-workers] Unnecessary dependency on vi???, Andy Bradford, 2018/03/18
- Re: [nmh-workers] Unnecessary dependency on vi???, David Levine, 2018/03/18