Shell.Canonical

From Xojo Documentation

Revision as of 12:53, 21 September 2012 by PLefebvre (talk | contribs) (Created page with '{{PropertyBox | name=Canonical | owner=Shell | ownertype=class | scope=public | type=Boolean | platform=all }} {{Description |text = True to allow control characters …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )
aShell.Canonical = newBooleanValue
or
BooleanValue = aShell.Canonical

Supported for all project types and targets.

True to allow control characters to be sent to the shell.

Notes

Use this property to support special control characters like Ctrl+A (go to first line), and Ctrl-E (go to last line), etc. which normally just transmit as actual binary data to the shell.

False (default) means current behavior (i.e. receiving input without the need for a new-line), but if enabled then the shell will operate in Canonical mode (i.e. waiting on input until a new-line is received which allows these special character to work). The Canonical mode must be set before calling Execute to be effective, just like the Shell.Mode property.