DavidGriffith / daphne

First Ever Multiple Arcade Laserdisc Emulator
http://www.daphne-emu.com
GNU General Public License v2.0
24 stars 7 forks source link

Shell front end fixes #6

Closed hackerb9 closed 5 years ago

hackerb9 commented 5 years ago

This makes the shell interface slightly nicer by showing which games are actually available. If no games are available, a notice where DVDs can be purchased is shown. The only downside is an added dependency on "fold". However, since UNIX has had fold(1) since Bill Joy wrote it in 1977, I'm not too worried about anyone not having it.

hackerb9 commented 5 years ago

P.S. What would you think about using bash instead of sh for the interpreter? It would make a lot of things nicer. For example, we could use select to let the user pick which game to run from a list, instead of bombing out.

DavidGriffith commented 5 years ago

Bash is great. I doubt anyone would be using Daphne on a Unix where bash would be unavailable or difficult to install.