Most of the modern Frotz ports have an auto-complete (Enter part of
a word and press the tab key) but personally I've never found it all
that helpful, even though I can't touch type. Possibly this is because
it just matches what's been typed against the entire dictionary. Two
possible extensions to this, neither easy:
1) Some sort of context sensitivity in scanning the dictionary for
words to auto complete against. This would require some sort of
interaction between the game and the interpreter.
2) A more complex algorithym to cope with common spelling errors.
David
--
http://phasefx.home.mindspring.com/
Add xyzzy to your message body if replying by e-mail
ADRIFT has this feature on by default, but many authors disable it, as it's
a little too powerful -- quickly completing partial nouns, as well as verbs.
It all but eliminates guess-the-noun problems, though.
--
Jonathan Penton
http://www.unlikelystories.org
Actually, ADRIFT has this in the game runner; I thought it intensely
annoying.
-- Gunther
Ditto. Having to pause and check that what is on the screen is the
command that you typed before pressing Return actually slows things up.
If I forget to check, which I often do, the result is often a valid
command that I didn't intend, and which requires a mimesis-breaking
undo.
IMHO 'autocomplete' is almost always a bad idea wherever it is found.
E.g. many people are confused when they type '2002' at the end of a line
in MSWord and then find it has somehow become '2002-10-26'. (On
salon.com Jaron Lanier slags off the idea of adding 'helpful' or
'pseudo-AI' features like this to applications.)
One exception is the feature in WinFrotz which allows you to type a few
letters (e.g. 'pu'), and then press the up-arrow to scan through the
history of commands that begin with those letters. This is useful when
there's a need to repeatedly return to the same location and type, e.g.
'put power crystal on altar with tongs', and principally works because
the command to invoke autocomplete is a dedicated key rather than space
or CR which most users expect to be unambiguous.
CK
I've tried it with Adrift, but their implementation wasn't very good
(it got in the way of ordinary typing). It also has the potential to
be spoilery if it reveals information the player shouldn't know.
Normally, I don't see it as being a big deal. Most commands are short
or have abbreviations (does the first-six/nine-letters trick work in
modern systems? I never use it), there are other convenient features
like OOPS, and even for a non-touch-typist most of the time is spent
reading and thinking.
Jeff
Frotz has always had tab-completion at least as far back as 2.32
--
David Griffith
dgr...@cs.csubak.edu
This is better than other approaches because it works just like in any
other text input area on the computer.
Another approach which at least doesn't get in the way is to have the
auto-completed parts be displayed in grey, and when you hit tab they
become black. That way, you also explicitly turn on auto-completion.
But I can't tell you how annoyed I am by the kind of auto-completion in
Mozilla or iTunes, where whatever you type is automatically completed.
iTunes goes as far as changing the case of characters, meaning when I
enter "Abbattoir" I get "ABBAttoir" and such horrible things. It gets
even worse when I've already entered a word in another entry with the
wrong case, because auto-completion will always "correct" case for me
based on the wrong spelling.
In Mozilla it's sometimes impossible to get to the home page of a
server, because it insists on auto-completing after I hit delete :-(
People who write such auto-completion code should be court-ordered to
use that software, if you ask me >:-(
Just my $0.02 in case someone who plans to implement auto-completion
reads this thread.
-- Uli
http://www.zathras.de
The bottom line is--if you have autocomplete, have a way to turn it off.
Philip
"GG" <ggus...@yahoo.com> wrote in message
news:ddf55ea9.02102...@posting.google.com...
Thumbs down in a standard Inform game, which takes pains to hide
the dictionary.
If you aren't hiding the dictionary, then thumbs up. I suggest a
bash-shell-like "tab" system that shows alternatives when there's
no unambiguous match. This will be very tricky to implement
though, since a command line editor can only assume very simple
things about the context. The first word is a verb, and every
word after that could be anything in the dictionary, plus some
things that are not.
--
Neil Cerutti <cer...@trans-video.net>
I dislike the "auto", rather than the "complete". Have a way to turn it
off, or have completion occur on a special key press.
David
Frotz has tab-completion but since it matches against the entire
dictionary it's next to useless. I emailed someone (I think David Kinder)
about this some time ago and he said that the only way to do match
against just, say, objects in scope, would be a in the game code (e.g.
when one presses F1 it checks the input thus far and attempts to complete
the last word as far as possible.) There're already libraries that fiddle
with input using function keys, but I don't know how difficult it would
be to make one handling input completion.
--
Alex Watson
http://www.aglami.com/watson/
Replies to me[AT]watson1999-69.freeserve.co.uk
"Does anyone care? No. No one cares about the Amazing Exploding
Tobgoblin. He is all alone, and exploded too." - Jon [aglami]