Remix.run Logo
SeeManDo 7 days ago

Same here

SeeManDo 7 days ago | parent [-]

Bash Screensavers v0.0.27 (Mystic Shine)

./screensaver.sh: line 79: mapfile: command not found 1 .

(Press ^C to exit)

Choose your screensaver: 1 404 Screensaver Not Found:

Oh no! Screensaver had trouble! Error code: 1

seba_dos1 7 days ago | parent | next [-]

Get a Bash that's not ancient. mapfile is there since version 4.0 from 2009.

7 days ago | parent [-]
[deleted]
SeeManDo 7 days ago | parent | prev [-]

Seems to be a old version of bash installed and used by default on macos

SeeManDo 7 days ago | parent [-]

Even after updating still getting the same error

checked active bash version:

echo $BASH_VERSION

5.3.3(1)-release

seba_dos1 7 days ago | parent [-]

What's relevant is whether "/usr/bin/env bash" runs the correct one.

kridsdale3 6 days ago | parent [-]

I used "brew install bash && brew info bash" to get the path, then ran that shell (zsh doesn't work), then inside that new bash, ran the screensaver app.

I found the 4k fullscreen perf in iTerm2 to be not-great, so I did it again in the kitty (GPU powered) terminal macos app, and it was good.