Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annoying stuff: colorizing breaks less #656

Closed
citibeth opened this issue Mar 27, 2016 · 4 comments
Closed

Annoying stuff: colorizing breaks less #656

citibeth opened this issue Mar 27, 2016 · 4 comments

Comments

@citibeth
Copy link
Member

Try the following to see the problem:

spack spec git | less
@tgamblin
Copy link
Member

spack spec git | less -R

@tgamblin
Copy link
Member

Something like ls --color=auto where there's better tty detection would probably be good, though.

@citibeth
Copy link
Member Author

Thanks for the magic -R flag. Now, why doesn't less turn that on by
default?

On Sat, Mar 26, 2016 at 11:25 PM, Todd Gamblin notifications@github.com
wrote:

Something like ls --color=auto where there's better tty detection would
probably be good, though.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#656 (comment)

@citibeth
Copy link
Member Author

I've added documentation to this effect in a PR: #663
Since less with colorized output is more useful than less without, I don't think it's worth the effort to have Spack de-colorize output when using less. Therefore, I'm closing this Issue.

matz-e pushed a commit to matz-e/spack that referenced this issue Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants