View previous topic :: View next topic |
Author |
Message |
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Mon Sep 23, 2024 4:37 pm Post subject: No color coding on fresh install? |
|
|
On all my other gentoo installs (and liveCD) my text was color coded. In nano comments were blue, use flags red and blue, macros red etc. On this new fresh install I don't have this feature.
I have no idea how it's called (im sure even color coding is wrong) and I don't know how to enable it/where to find it. I don't even know if it's a gentoo feature or a nano feature? The portage stuff in the tty is colored.
Any suggestions? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1752 Location: Germany
|
|
Back to top |
|
|
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Tue Sep 24, 2024 12:39 pm Post subject: |
|
|
Thanks for the answer.
I found out why my syntax highlighting was turned off: I turned on the minimal USE Flag globally and it turns off syntax highlighting in nano. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1977
|
Posted: Tue Sep 24, 2024 2:42 pm Post subject: |
|
|
I really wouldn't set minimal system-wide. Per-package at best. |
|
Back to top |
|
|
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Tue Sep 24, 2024 8:29 pm Post subject: |
|
|
Haven't had any problems besides the nano syntax highlighting. What are the arguments against turning it off globally? |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1977
|
Posted: Wed Sep 25, 2024 10:23 am Post subject: |
|
|
The effects really vary quite drastically across packages. It doesn't do the same thing consistently.
It's part of why we're trying to phase it out and stop doing "negative USE flags". |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 822 Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.
|
Posted: Wed Sep 25, 2024 4:11 pm Post subject: |
|
|
Does that mean minimal will simply go away or what minimal does with whatever package will be replaced with one or several more descriptive flags? _________________ I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly. |
|
Back to top |
|
|
Slippery Jim Apprentice
Joined: 08 Jan 2005 Posts: 281
|
Posted: Tue Oct 08, 2024 1:44 am Post subject: |
|
|
mrbassie wrote: | Does that mean minimal will simply go away or what minimal does with whatever package will be replaced with one or several more descriptive flags? |
Yeah, I think that's the right thing to do. Whatever minimal turned off should be replaced by use flags to turn those features on instead. I believe that's what sam_ was referring to when he said we should stop using "negative USE flags".
I personally like to add USE="-*" to my make.conf to turn off ALL the USE flags for my system. I do that and explicitly turn on what I want or what each package complains that it needs. I find it useful for testing ebuild dependencies. |
|
Back to top |
|
|
|