Terminal Matrix Screensaver

#code for the matrix
#set terminal font very small

for a1 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a2 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a3 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a4 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a5 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a6 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
for a7 in {a..z} {0..9} {A..Z} "!" "_" "-";
do
echo -en $a1$a2$a3$a4$a5$a6$a7" ";
done
done
done
done
done
done
done

250 Piece Survival Gear First Aid Kit

LifeStraw Water Filter for Hiking and Preparedness

250 Piece Survival Gear First Aid Kit

  1. 1 year ago
    Anonymous

    Terrible, that would just produce scrolling text. If you actually wanted to do this you should use ncurces, not that difficult for this and you could get it identical to how it is in the movie.

    • 1 year ago
      Anonymous

      Actually, you probably could get this fairly decent with a shell script using tput, but the refresh/update would be a bit slow so will not look as good as curses.

    • 1 year ago
      Anonymous

      how about installing a very old linux libc for svgalib and quake support

      • 1 year ago
        Anonymous

        You might as well just use one of the already made matrix screen savers at that point. Also won't work on console.

        • 1 year ago
          Anonymous

          just made this one

          • 1 year ago
            Anonymous

            Still just scrolling text. Dig into ncurses, you can make the letters drip down the screen like they are supposed to. It is not very difficult, a dedicated weekend is probably enough to get it working, almost the same code as the shell script just need to write the logic for printing to the screen.

  2. 1 year ago
    Anonymous
    • 1 year ago
      Anonymous

      You could actually get an ok rendition in pure shell scripting, get the terminals column and row count, print one screen of text, send clear, do the next, repeat. The matrix screen is actually an interesting exercise, so many ways it can be accomplished.

  3. 1 year ago
    Anonymous

    Embarrassing. Just embarrassing. Even this pathetic foray into lptest could be accomplished in one loop.
    Actual code with so many options it makes linux ls authors tug at their beards. And whose core is not many more lines than yours.
    https://github.com/abishekvashok/cmatrix/blob/master/cmatrix.c

  4. 1 year ago
    Anonymous

    Have you ever actually looked at the matrix? It's barely any English

  5. 1 year ago
    Anonymous

    There's already a better matrix Screensaver than you can make its called xmatrix I've been using it for almost 20 years.

Your email address will not be published. Required fields are marked *