DavidGriffith / frotz

Infocom-style interactive fiction player for Unix and DOS (moved to https://gitlab.com/DavidGriffith/frotz)
GNU General Public License v2.0
209 stars 64 forks source link

"Hard Drive on Fire!" error message #79

Open nshram opened 6 years ago

nshram commented 6 years ago

I'm using a ported 2.43 version on a Kindle, using its inbuilt Linux. I get a "Hard drive on fire!" error message when trying to run frotz. What does this error indicate and how to avoid it at runtime? Browsing through the code, I see that it has something to do with the HOMEDIR environment variable.

DavidGriffith commented 6 years ago

I never expected "Hard drive on fire!" to actually appear in a functional system. It was intended as a test to check to make sure something hadn't gone horribly wrong with the operating system, specifically, the $HOME environmental variable being absent. Where did you get this port of Frotz?

nshram commented 6 years ago

I got the port here: https://www.mobileread.com/forums/showthread.php?t=186007 Have fixed the error by defining $HOME in a script which calls frotz.

DavidGriffith commented 6 years ago

I posted to that thread asking for whoever packaged up Frotz to contact me so we can work out what went wrong and to see what changes I can make so that the Kindle port works better.

nshram commented 6 years ago

That port was made by the thread starter: fvek. But it's an old thread and I don't know if he's still active. Also, the error doesn't occur in the older kindles(KT, PW1, PW2). "echo $HOME" gives /tmp/root. But in some of the newer kindles(PW3, KT3), $HOME is undefined. So, this error pops up. The fix, as mentioned above, is to define $HOME in a shell script which then calls frotz.