Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mcedit won't show up in eselect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Mike81
n00b
n00b


Joined: 05 Jan 2011
Posts: 39

PostPosted: Mon Aug 01, 2011 10:08 am    Post subject: [SOLVED] mcedit won't show up in eselect Reply with quote

Hi,

I installed Gentoo from the latest LiveCD today.

I emerged app-misc/mc-4.7.0.3.

I expected that mcedit will be listed in

Code:
mygentoo ~ # eselect editor list
Available targets for the EDITOR variable:
  [1]   /bin/nano *
  [ ]   (free form)


but it doesn't. The program itself is working fine... Do I need to refresh/regenerate a list/register something manually?

Thanks.


Last edited by Mike81 on Mon Aug 01, 2011 11:13 am; edited 1 time in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Aug 01, 2011 10:18 am    Post subject: Reply with quote

/usr/share/eselect/modules/editor.eselect:
...
EDITOR_LIST="/bin/nano
        /bin/ed
        /usr/bin/emacs
        /usr/bin/ex
        /usr/bin/vi
        /usr/bin/xemacs
        /usr/bin/zile"
...

You should be able to set it to mcedit using the freeform entry.
Code:
# eselect editor set `which mcedit`

_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Mike81
n00b
n00b


Joined: 05 Jan 2011
Posts: 39

PostPosted: Mon Aug 01, 2011 11:12 am    Post subject: Reply with quote

Thank you! Worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum