5 Mudding with SMM++

5.1 Input/Output Area

The picture below shows the main SMM window. The right part is dedicated for mudding. Text output is written into the above region and you enter your input in the entry widget below the output area.

5.2 Input

By clicking into the output- or input-area the focus is set to the input. If it has the focus, you will see the input cursor. You can now type in your commands. The input widget will keep a history of your last commands.

The SMM input provides some more functionality, which is bound to key sequences. Below is the list of the most useful bindings:

<Return>
Sends the input to the SMM parser. If its 'normal' text the parser sends the text to the mud. For more detailed information about the parser please see below.
<Up>, <Down>
Cycles thrue your command history.

Hidden inputs - passwords e.g. - will not be put into the history. If the last and the previous command are the same, then the last command wont be put into the command history. And finally empty lines wont be put into the history either.

<Tab>
Will invoke the tabcompletition. Again, please see below for more detailed information.
<Ctrl-Tab>
Will put a <Tab> into your input.
<Ctrl-a>
Jumps to the beginning of the line.
<Ctrl-e>
Jumps to the end of the line.
<Ctrl-k>
Deletes the rest of the line.
<Ctrl-d>
Deletes one character.
<xyz>
try it out,..
<xyz>
Bonus! You can redefine any key sequence to invoke or send any commands! Have a look at the '::smm::keycom' command in commands section.

5.2.1 The SMM Input Parser

Since version V5.0 the SMM parser has been replaced by the tcl parser. This results in more functionality and performance. So it's a good thing. For a good and detailed description of the tcl parser please follow this link: the tcl parser.

Below is a brief and incomplete description, of what the parser does with your input. The parser looks for several things and changes the input if needed:

Please keep in mind, that the parser works recursivly and the input is not checked for endless loops.

5.3 Tab completition

For the last lines on the output screen and the so called 'tab-list' tab-completition exists. If you type the beginning of a word and press the <Tab>-key the rest of the word is completed automatically. This esp. useful, when you are adventuring and are suddenly attacked by "Gorgymphula". Or if you are talking to someone, who has a ugly to type in name like "Phaidros": just type in 'P<Tab>'.

If more than one completition is possible you are asked to give in some more charakters. If you dont give in more characters but type in more <Tab>'s you begin to cycle thrue all possible completitions.