Wednesday May 23, 2012 11:55 PM AEST

Command lines: Way of the Future

By David Kidd
10:26 Nov 4, 2005
Tags: dos | command | line | prompt | c
Command lines: Way of the Future

David Kidd is master and commander, holding on to the past so hard it has become his future.

There’s one area of computing that I secretly love more than any other: interface design. Silicon, artificial intelligence, programming and other popular fields get more attention, but they mean naught if the interface is an unholy mess. I’ve seen more interface abuse than I care to imagine, which stems in part from the wholesale inappropriate reliance on a GUI as the be all and end all of user interfaces.

See, I’m a command line boy. I wouldn’t suggest that it’s easier to use; learning the rules and language of the command line has a steep learning curve, and like the GUI, it’s far from a complete solution. But, similarly it has its place, if not as an input mechanism, then as the foundation for future interfaces.

If we think about how we use a computer, we construct a top level order, and then give that to the application. If I want to see how many pages are waiting for me to edit on our fileserver, I simply think ‘how many pages are waiting in my editor’s folder?’. In a command line, it would be a one line translation of that into the command line language, which is simply the quickest, and for this particular action, most intuitive interface (provided you know the language).

To do so in a GUI, I would need to create more requests as I peel through the layers, like ‘go to My Computer’, ‘go to Network Places’, and so on until I hit my folder. Hotkeys and shortcuts can take some pain out of it, but they’re still trying to make me adapt to the rules of a GUI, which simply isn’t up to the task. In fact, it puts in extra steps, where each step must be learned. Where a GUI is necessary is in anything that requires a spatial representation. Browsing files, for example, is far better in a GUI. Games and graphics, too, are clearly better in a GUI. But for specific directives, it’s inappropriate and places unnecessary steps and restrictions to what users can do.

Watch a new user sit at a PC and you’ll hear them make statements like ‘how many emails did I get from John in the last week?’, or ‘what’s the weather going to be on Wednesday?’. It’s up to the user to translate them into meaningful steps that the GUI can understand. A command line, by its nature, can take the raw statement and produce the results from a single input -- that’s a real interface.

The problem is that such a command line interface doesn’t exist today. Regardless of the drawbacks to a GUI, it is still easier to use than learning the communication rules of a command line application. What we need is a natural language parser. Something that can take commands as close to the user’s language as possible, and then translate it into something a computer can understand. And when you have a natural language parser, you’re one step away from a full voice recognition system, which is the simplest way a human can communicate.

It’s not new -- think Star Trek. The crew would use voice commands for exactly the type of tasks that you’d use a command line for -- specific directives, based on pipes, greps, inputs and outputs -- all in natural language. The famed LCARS graphic interface on Star Trek: The Next Generation and onwards is used for tasks that require spatial representation, like plotting a course.

So, while Spielberg might reckon we’ll all be flapping around in front of a computer screen like Minority Report, I reckon that’ll just make our arms tired. The reliance on GUIs is an interim, and no amount of spinning, translucent 3D widows in Vista will drag it into the future. Keep the command line, focus on natural language, and throw some more weight behind voice recognition. That’s the future.

Vive la ligne de commande!

Icon taken from Tango Icon library

http://tango-project.org

 
 
This article appeared in the Online issue of Atomic.

Aliens: Colonial Marines in depth; Z-77 Motherboard round-up; strategy gaming special; Home Server tutorial. PLUS MUCH MORE - ON SALE NOW!
 
Atomic Magazine

Issue: 137 | June, 2012

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
 
Latest User Reviews
Battlefield 3 is the new benchmark online FPS
90%
A very fun and realistic multiplayer ride.
 
Antec Kuhler 920 - liquid cool
90%
Antec Kuhler 920 silent but effientive out of the box no maintence water cooling kit
 
Antec's Lanboy Air - our new favourite case
90%
Antec Lan boy Air in red a very cool design
 
Antec's Lanboy Air - our new favourite case
90%
This product overall is awesome.
 
MSI's GT780 laptop as fast as it gets
90%
Nice laptop