Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173201 - system not setting $EDITOR right
Summary: system not setting $EDITOR right
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 21:07 UTC by Caleb Cushing
Modified: 2007-04-03 05:43 UTC (History)
0 users

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 Caleb Cushing 2007-04-02 21:07:49 UTC
EDITOR is set properly in rc.conf but the rest of the system doesn't seem to recognize this. 

bug is reproducable on 3 different 2006.1 systems.

nano for crontab is really starting to get on my nerves

export EDITOR=/usr/bin/vim is a temporary fix.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2007-04-02 22:42:19 UTC
my guess is you're testing this by simply loading up a new shell

EDITOR is only read from /etc/rc.conf when EDITOR is not set in your environment, so simply changing the file and loading a new shell probably seems broken as you have EDITOR set in your environment already
Comment 2 Caleb Cushing 2007-04-03 03:06:55 UTC
I haven't set it anywhere. so where is gentoo setting it. and more importantly why? 
Comment 3 Caleb Cushing 2007-04-03 03:10:50 UTC
to correct myself I haven't set it outside of rc.conf. and the only reference I've found to it is in /etc/profile. which seems to be saying check rc.conf or set editor to nano. I could be wrong though. this is an unaltered /etc/profile from the 2006.1 tarball. I've tried removing the nano line but it doesn't fix the issue.
Comment 4 SpanKY gentoo-dev 2007-04-03 05:43:05 UTC
basically you're screwed until you reboot

so reboot your system and then see if EDITOR is still hoked