| View previous topic :: View next topic |
| Author |
Message |
ddriver n00b

Joined: 24 Feb 2005 Posts: 53
|
Posted: Thu Feb 24, 2005 5:02 pm Post subject: Why do I have to have nano? |
|
|
I've been running gentoo for a few months. I'm a bit annoyed that I can't get rid of nano. I don't want nano for a couple of reasons:
(1) I prefer vi. I've been using vi for 18 years, it's always the same no matter what flavour of Unix you're using. It's powerful and easy to use, once you know it. I don't need some half-arsed non-standard editor such as nano.
(2) It doesn't fit in with the gentoo philosophy of giving users choice. It should NOT be part of the base build, users should be able to make the choice of editor when they install. RedHat and others give you a load of stuff you don't want in a bloated distro, gentoo shouldn't.
So OK I thought, just unmerge nano. I did - on all my gentoo systems. Only problem is, a while later I'm doing an update, and I find nano being installed again. Aaaaarrrrgh!! I don't want it. unmerged it again. Checked by doing emerge --update --pretend world, and it STILL wants to install it again.
HOW DO I GET RID OF POXY NANO? |
|
| Back to top |
|
 |
psychomunky Guru


Joined: 02 Nov 2004 Posts: 337 Location: Canada
|
Posted: Thu Feb 24, 2005 5:08 pm Post subject: |
|
|
Something must be pulling nano in...
Have you tried an emerge --pretend --update --tree world to see where nano appears in that list?? |
|
| Back to top |
|
 |
solomonHk Apprentice


Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Thu Feb 24, 2005 5:13 pm Post subject: |
|
|
The fact is, there are many applications out there that are designed to import nano and require it as support as default. So, it is not so much gentoo, as it is the applications out there. Nano is not that large. So why not just use vim or vi and forget nano is even installed? Besides, nano isn't meant to compete with VI, it is a pico clone meant to replace pico and pico only.
Last edited by solomonHk on Thu Feb 24, 2005 5:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
dfy Tux's lil' helper

Joined: 05 Apr 2004 Posts: 79
|
Posted: Thu Feb 24, 2005 5:14 pm Post subject: |
|
|
| As far as I know, nano is part of the "system" profile - you can't get rid of it (you'd have to edit the profile to do so). The reason for nano being installed is that you need a text editor for many things you do in gentoo (starting with the chrooted environment you get into during installation), and newbies can't handle vi/vim effectively. Seriously, is nano a problem? It just takes a few kilobytes, no? |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Feb 24, 2005 5:33 pm Post subject: |
|
|
| Wrong! virtual/editor is in the profile. virtual/editor is provided by various things, including vim. By default some profiles set it to nano, but you can change this by unmerging nano and merging vim without using oneshot or =pkg-version or /path (so that it ends up in world). |
|
| Back to top |
|
 |
solomonHk Apprentice


Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Thu Feb 24, 2005 5:36 pm Post subject: |
|
|
| ciaranm wrote: | | Wrong! virtual/editor is in the profile. virtual/editor is provided by various things, including vim. By default some profiles set it to nano, but you can change this by unmerging nano and merging vim without using oneshot or =pkg-version or /path (so that it ends up in world). |
You will still end up finding nano reinstalled when you build certain applications. As I said, some applications dont go by what your system defaults are, but go by what has been selected in the program design. But, this is all covered well in the nano-editor website. |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Feb 24, 2005 6:15 pm Post subject: |
|
|
| solomonHk wrote: | | You will still end up finding nano reinstalled when you build certain applications. As I said, some applications dont go by what your system defaults are, but go by what has been selected in the program design. But, this is all covered well in the nano-editor website. |
You'll only get nano installed if a package has a hard dep upon nano, rather than virtual/editor.
There are zero packages in the tree that hard depend upon nano.
Thanks for playing. |
|
| Back to top |
|
 |
solomonHk Apprentice


Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Thu Feb 24, 2005 6:24 pm Post subject: |
|
|
| ciaranm wrote: | | solomonHk wrote: | | You will still end up finding nano reinstalled when you build certain applications. As I said, some applications dont go by what your system defaults are, but go by what has been selected in the program design. But, this is all covered well in the nano-editor website. |
You'll only get nano installed if a package has a hard dep upon nano, rather than virtual/editor.
There are zero packages in the tree that hard depend upon nano.
Thanks for playing. |
Gotta love the people skills some gentoo devs have. Small winky syndrom to the nth degree.  |
|
| Back to top |
|
 |
ddriver n00b

Joined: 24 Feb 2005 Posts: 53
|
Posted: Wed Mar 02, 2005 4:06 pm Post subject: |
|
|
Thanks for all the replies. So how about adding a line:
to /etc/portage/package.mask ?
Is there any reason why doing this would be a bad thing? |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Wed Mar 02, 2005 4:10 pm Post subject: |
|
|
| ddriver wrote: | | Is there any reason why doing this would be a bad thing? |
nano ist part of system. |
|
| Back to top |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Mar 02, 2005 4:11 pm Post subject: |
|
|
well, afaik portage will complain, but 'emerge -C nano && emerge vim' will sort it out for you anyway _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Wed Mar 02, 2005 4:20 pm Post subject: |
|
|
| UncleOwen wrote: | | ddriver wrote: | | Is there any reason why doing this would be a bad thing? |
nano ist part of system. |
No it isn't. |
|
| Back to top |
|
 |
Cr0t l33t


Joined: 27 Apr 2002 Posts: 817 Location: USA
|
Posted: Thu Apr 14, 2005 6:31 pm Post subject: |
|
|
Same issue here... so we do not really have an answer to the question or do we? _________________ cya |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Apr 14, 2005 6:38 pm Post subject: |
|
|
| Cr0t wrote: | | Same issue here... so we do not really have an answer to the question or do we? |
We do. Use something else as your virtual/editor provider. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4219 Location: Suzhou, China
|
Posted: Thu Apr 14, 2005 9:22 pm Post subject: |
|
|
Any recommendations for a good console editor like nano, but that can handle utf-8?
I don't like vi - too complicated for my taste. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
appro Tux's lil' helper


Joined: 21 Jul 2003 Posts: 144 Location: Germany/Rosenheim
|
Posted: Thu Apr 14, 2005 9:26 pm Post subject: |
|
|
vim :) _________________ If a packet hits a pocket on a socket on a port, and the bus is interrupted and the interrupt's not caught, then the socket packet pocket has an error to report. |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Apr 14, 2005 9:50 pm Post subject: |
|
|
You might want to try app-editors/easyedit. It's meant to be powerful but simple enough for anyone to use. _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Apr 14, 2005 10:03 pm Post subject: |
|
|
| codergeek42 wrote: | | You might want to try app-editors/easyedit. It's meant to be powerful but simple enough for anyone to use. |
But not using vim is basically admitting to the whole world that you have a short wang. So I say just learn vim and have done with it -- it's something you'll need to know at some point anyway. |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Apr 14, 2005 10:26 pm Post subject: |
|
|
| ciaranm wrote: | | But not using vim is basically admitting to the whole world that you have a short wang. So I say just learn vim and have done with it -- it's something you'll need to know at some point anyway. | I agree that Vim is definitely very very useful (and knowing Vim means learning Vi for use on other *nix systems is much easier). But he did say it was "too complicated for [his] taste".  _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
Cr0t l33t


Joined: 27 Apr 2002 Posts: 817 Location: USA
|
Posted: Fri Apr 15, 2005 9:00 pm Post subject: |
|
|
| ciaranm wrote: | | Cr0t wrote: | | Same issue here... so we do not really have an answer to the question or do we? |
We do. Use something else as your virtual/editor provider. | I am using VI, but I am getting frustrated when portage is forcing nano on my system. _________________ cya |
|
| Back to top |
|
 |
appro Tux's lil' helper


Joined: 21 Jul 2003 Posts: 144 Location: Germany/Rosenheim
|
Posted: Fri Apr 15, 2005 9:28 pm Post subject: |
|
|
| Cr0t wrote: | | I am using VI ... |
What package would that be? (like foo/bar) _________________ If a packet hits a pocket on a socket on a port, and the bus is interrupted and the interrupt's not caught, then the socket packet pocket has an error to report. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Fri Apr 15, 2005 10:49 pm Post subject: |
|
|
Jeezus , what is the matter with you lot ?
You have one of the top Gentoo devs giving you full, clear and concise explainations that you dont read, contradict and then ask the same damn qu that was fully explained two posts earlier.
I am surprised anyone bothers to reply to such dumb posts
Anyway I'm off to read the doc on using vim , I have it on good authority that my dick will get bigger.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
bet1m l33t


Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
Posted: Fri Apr 15, 2005 10:54 pm Post subject: |
|
|
nano rocks at all  _________________ #370559 |
|
| Back to top |
|
 |
ciaranm Retired Dev


Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Sat Apr 16, 2005 6:33 am Post subject: |
|
|
| Cr0t wrote: | | ciaranm wrote: | | Cr0t wrote: | | Same issue here... so we do not really have an answer to the question or do we? |
We do. Use something else as your virtual/editor provider. | I am using VI, but I am getting frustrated when portage is forcing nano on my system. |
Nano is not forced upon your system.
| appro wrote: | | Cr0t wrote: | | I am using VI ... |
What package would that be? (like foo/bar) |
'Traditional' vi is no longer in the tree, since it only works with termcap, which we're trying to remove in favour of terminfo. Your choices are vim, nvi or elvis -- they're all in app-editors. |
|
| Back to top |
|
 |
transienteagle Apprentice


Joined: 24 Dec 2003 Posts: 190 Location: UK
|
Posted: Sat Apr 16, 2005 3:27 pm Post subject: |
|
|
Peeps,
Personally I love nano, nothing wrong with it (imho). emacs is horrible and vim is for hairy chested C programming girlies.
rgds
TE |
|
| Back to top |
|
 |
|