scm shell gets stuck in "..." prompt

Bug #538307 reported by ferrouswheel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenCog
Won't Fix
Low
Unassigned

Bug Description

opencog> scm
Entering scheme shell; use ^D or a single . on a line by itself to exit.
opencog> (ConceptNode "test"))
...

The extra closing bracket doesn't generate an error.

... ^C
guile>

Will return out of "..." but will otherwise stay permanently like that. Including if you close the connection, reconnect to the OC shell and enter the scm shell.

... ^]

telnet> q
Connection closed.
joel@xxxx:~/src/opencog/trunk/bin$ telnet localhost 17001
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
opencog> scm
Entering scheme shell; use ^D or a single . on a line by itself to exit.
opencog>
...

Tags: scm
Revision history for this message
linas (linasvepstas) wrote :

Is this with rlwrap, or without it? Without rlwrap, ctrl-C should break out of this behaviour, although I admit I have had to sometimes hit it repeatedly. I have noticed that rlwrap will eat ctrl-C instead of passing it through. Also -- last time I tested, it was before the change away from CSockets. It is possible that the sockets layer is eating the ctrl-C instead of passing it on to the scheme interpreter (which does clear this).

Revision history for this message
ferrouswheel (joel-pitt) wrote :

Without rlwrap this happens.

Yes, CTRL-C will escape out of this, so it's not a huge issue. The bug is more the fact that the prompt remains expecting input with "..." when the user terminates the connection and reconnects.

linas (linasvepstas)
Changed in opencog:
importance: Undecided → Low
linas (linasvepstas)
tags: added: scm
linas (linasvepstas)
Changed in opencog:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.