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

Can't pipe infinite data to lolcat #25

Closed
tyilo opened this issue Apr 8, 2013 · 4 comments
Closed

Can't pipe infinite data to lolcat #25

tyilo opened this issue Apr 8, 2013 · 4 comments

Comments

@tyilo
Copy link

tyilo commented Apr 8, 2013

With cat you can do this to get boring infinite white text:

cat /dev/random | base64 | cat

However, when doing the same with lolcat, it never shows any awesome rainbow colored output:

cat /dev/random | base64 | lolcat
@m-o-e
Copy link
Member

m-o-e commented Mar 30, 2014

cat /dev/urandom | base64 | lolcat works for me.

@m-o-e m-o-e closed this as completed Mar 30, 2014
@p-s-
Copy link

p-s- commented Jul 11, 2016

I havethe same problem,

cat /dev/urandom | base64 | lolcat

doesn't work for me, no output.

This issue is closed, i just found it because I'm having troubles running another program in terminal, and getting awesome rainbow colored output while piping it through lolcat ...

why does it work for you, @m-o-e ?
Are there settings in terminal I have to adjust?!

@m-o-e
Copy link
Member

m-o-e commented Jul 11, 2016

There are certain versions of base64 that buffer all input before doing anything.

Does this one work for you: cat /dev/urandom | hexdump | lolcat ?

@p-s-
Copy link

p-s- commented Jul 11, 2016

thank you for helping a newbie @m-o-e : )
this one works for me!

So I guess https://github.com/houeland/kolproxy from @houeland doesn't give me live-lolcat greatness, because of its "buffer design"?! It's a shame 🙈

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

3 participants