Infrastructure // PC & Servers
News
6/28/2011
04:46 AM
50%
50%

How To Play Games In the OS X Terminal

You can actually play simple games in your Mac's Terminal.

BYTE -- Here's a fun geek trick in OS X. Within the Terminal on your Mac is something called emacs. It's a text editor tool found in most Unix-based systems. Hardcore geeks love it, and you can have some fun with it too. It's easier than you think.

To access the Terminal, go to: Applications>Utilities>Terminal


When the Terminal window pops up, type in the following command:emacs


Then hit Enter. You will see GNU emacs. There, you can see the version number (22.1, highlighted in the image below). Keep that in mind for later.


After that, press [ESC]X.


You'll be prompted to enter an M-x command. You can enter any of the commands shown below.

You can view this list by opening a new terminal window and typing in this command (note the space after “ls”): ls /usr/share/emacs/(version number)/lisp/play

So mine looks like this: ls /usr/share/emacs/22.1/lisp/play


Previous
1 of 2
Next
Comment  | 
Print  | 
More Insights
Server Market Splitsville
Server Market Splitsville
Just because the server market's in the doldrums doesn't mean innovation has ceased. Far from it -- server technology is enjoying the biggest renaissance since the dawn of x86 systems. But the primary driver is now service providers, not enterprises.
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest, Dec. 9, 2014
Apps will make or break the tablet as a work device, but don't shortchange critical factors related to hardware, security, peripherals, and integration.
Video
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join us for a roundup of the top stories on InformationWeek.com for the week of December 14, 2014. Be here for the show and for the incredible Friday Afternoon Conversation that runs beside the program.
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.