Bug 174983 - comp calls "no" instead of "prompter"
comp calls "no" instead of "prompter"
Product: Fedora
Classification: Fedora
Component: nmh (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Josh Bressers
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-12-05 07:40 EST by Jón Fairbairn
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-05 17:14:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jón Fairbairn 2005-12-05 07:40:30 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
with no editor: in .mh-profile, comp complains about a non-existent programme "no"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual Results:  Outputs 

unable to exec no: No such file or directory

and exits with 1

Expected Results:  should run prompter and prompt with 


Additional info:

"comp -editor prompter" works as expected.
Adding a line "editor: prompter" also works around the bug.

Given that it searches the path for a programme called "no", if one were to exist, the effect would not be as I describe above. Could be far worse!
Comment 1 Jón Fairbairn 2005-12-05 07:42:03 EST
That should read 'Adding a line "editor: prompter" 
to one's .mh-profile
also works around the bug.'
Comment 2 Josh Bressers 2005-12-05 08:34:35 EST
If you wish to solve the problem yourself, simply rebuilding the src.rpm on your
system should work.  I need to add a BuildRequires on /bin/vi (which should
already exist on your running system, and be picked up properly during the
build).  I'll get some new packages into the build system later today.
Comment 3 Jón Fairbairn 2005-12-05 16:25:05 EST
rebuilding it did work, though it defaults to vi, which I try to avoid.

Surely a default of prompter would be better? You wouldn't need a dependency on
vi then.
Comment 4 Josh Bressers 2005-12-05 17:14:54 EST
vi is the nmh default, which I think is a good choice.  Most users without much
customization may be confused by prompter.  I'm under the impression that if
you're using prompter, you know enough to define which editor you wish to use.

nmh-1.1-12.fc[345] is currently making its way through the extras build system,
and I have fixed this issue upstream as well.

Note You need to log in before you can comment on or make changes to this bug.