Re:An a-bit-silly/futuristic idea I had today...
Posted: Thu Sep 21, 2006 2:07 am
well, i don't quite agree. In a well-designed set of CLI tools, there are common flags such as --verbose, --quiet, --force, --recursive, --help that all the tools implements and that (quite) the same way with all tools. There are other things you can learn to make interaction easier such as "*.mp3" stands for "all the MP3 files", or that hitting "TAB" will complete the current word, and that hitting TAB twice provides you a list of possible completions if there's more than one option.Jo?o Jer?nimo wrote: there is no concept of learning while you use a CLI tool, as you have always to consult either the handbook, the man pages, or the --help option before knowing how to do something...
Now, i have to admit it's far from being the easiest way to "jump into" computer. If all you have to do is "open a document with the only one program that can handle it" or "start the all-in-one application that i use for CD burning", an icon is just fine...
What makes the slave "easier to use" is that it has brain of is own. A computer doesn't: it only has the knowledge developers put in it. That being said, what would have you said to your computer if you want to put audio tracks on a fresh writable CD ?Also, the fact that the text shell languages are more or less interpreted programming languages makes CLI shells a bit harder to learn than a slave that speaks english or some other human language (like portuguese, for exemple)! It also makes them impossible to be read, thus not allowing us to pipe a speech recognising program to the shell's stdin...
U: "i want to burn a new CD"
suppose i don't know what application on my Linux system is capable of "burn a new CD" ... I just type "apropos burn", which just replies "k3b (1) -- KDE CD burning program". that's almost unambiguous. If some "speaking shell" is there, it can identify "i want to" as being just informative and "burn" and "CD" as being interesting keywords, then it'll run "apropos burn" and "apropos CD", and use the lines that match both to consider the options.
What you'll probably want then is information about whether starting a program is "sensible" or not. Launching K3B by mistake isn't an issue, launching re-partitioning tool, etc. could be ... So the computer would silently run the application (that is, it will launch it, tell the user it has done so, but won't wait for the user to confirm "CP: shall we start "k3b, KDE CD burning program", milord? " -- "U: make it so!")
Now, honnestly, in a futuristic house, do you think you're going to dictate "U: from author 'Madonna', pickup song 'Music' and 'Like a Virgin'" or do you think you're rather ask to see it "on screen" and expect the computer to locate you in the living room, turn on TV, and send the list of your favourite tunes on the screen, so that you can pick what to be burnt.
Oh, and you know when i'd really love a speech interface ? when i'm below the desk messing with the cables
I'd like to take "text searching" as an example here:they can be or not be easy to use, and can be more flexible or less flexible, depending on how they are designed...
---- start a new program (grep) to do the test search
+--- click an icon/menu to pop up a search box
++-- hit a keycombo ('/' or 'CTRL+F' or 'CTRL+S') to pop up the box
+++- just hit the keycombo, then type the word you search ... the matches are highlighted and you're told what combo to hit if you want to search for the next/previous occurence.
++++ same as above, but working on all programs, with the same combo, and responding immediately.
For latex documents, my emacs does +++- and responds immediately. That means if i've spotted a typo on a printed document, i just have to hit "CTRL+S", start typing the words around the typo until i see the sentence on screen. When i have it, i just hit one of the arrow key to move back to the begin/end of the word, and fix the typo. Never experienced something similar in MS-Word (though i might be guilty of not asking clipper )