Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575026 - dispatch-conf should print an error if EDITOR and VISUAL are not defined or empty
Summary: dispatch-conf should print an error if EDITOR and VISUAL are not defined or e...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 10:56 UTC by Cedric Sodhi
Modified: 2016-02-22 08:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Sodhi 2016-02-18 10:56:10 UTC
Pressing either "e" or "l" in dispatch conf does not have any effect. I haven't tried others because I did not want to mess up my config but I suspect the problem may be the same. "z" and "u" seem to work.
Comment 1 Alex Xu (Hello71) 2016-02-21 16:12:25 UTC
set an EDITOR in your sudoers.
Comment 2 Zac Medico gentoo-dev 2016-02-21 19:56:59 UTC
Currently, it just calls nano when EDITOR is unset:

https://gitweb.gentoo.org/proj/portage.git/tree/bin/dispatch-conf?h=v2.2.27#n340
Comment 3 Cedric Sodhi 2016-02-22 08:12:09 UTC
My EDITOR variable is not set although I set "eselect editor" to a value (vi). Is that a bug or possibly my mistake?

FWIW, I had nano depclean'ed.