An archive of community.esquilo.io as of Saturday January 26, 2019.

Exiting the Squirrel shell?

rb1

So I telnet in and type: "sq" to get a Squirrel shell.

I cannot figure out how to exit.

sq> return()

%%Compiler error [expression expected]

LOCATION
sq line [1]
Unable to execute
sq> return(0)
sq> exit(0)

%%Runtime error [the index 'exit' does not exist]

CALLSTACK
*FUNCTION [main()] sq line [1]

LOCALS
[vargv] ARRAY
[this] TABLE
sq> quit()

%%Runtime error [the index 'quit' does not exist]

CALLSTACK
*FUNCTION [main()] sq line [1]

LOCALS
[vargv] ARRAY
[this] TABLE
sq>

If you terminate the telnet session while in the Squirrel shell, you can no longer telnet in, and you can no longer access the the Esquilo via the Web. Pretty serious consequences. You have to manually remove and reapply power.

Scott_Shumate

Both the EOS and Squirrel shells are exited with Ctrl-D (ASCII EOT) which we borrowed from Unix. We'll add that to the docs.

rb1

Thx. I think the more important issue here is that a lost connection results in a hung Esquilo.