From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Supported for all project types and targets.

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


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.