Embedded TCP/IP stack: FNET_SHELL_ESCAPE_SYMBOL

FNET

#define FNET_SHELL_ESCAPE_SYMBOL   '\\'

The escape symbol ().

The escape character () provides the way to include the FNET_SHELL_QUOTE_SYMBOL quote symbol and the FNET_SHELL_COMMAND_SPLITTER split symbol inside a string argument.
For example, to set the bootscript parameter to the value:

1 dhcp ; tftp; set bootscript 'tftp\; go 0x20000'

In the shell prompt, you should enter:

1 FNET> set bootscript `dhcp \; info\; set bootscrpt \` tftp\\; go 0x20000\``

Definition at line 128 of file fnet_shell.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net