tcl_server: switch to ctrl-z
authorØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 8 Sep 2010 18:04:27 +0000 (20:04 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 20 Sep 2010 18:45:48 +0000 (20:45 +0200)
commit6000411dddd9930b99a4931bc363f425cc0fdcda
tree42737f790fb6b0690c97a3b752a56a453f1552b8
parent241fd0b5a8a95e814395f79b5ea7715c1862f045
tcl_server: switch to ctrl-z

by using ctrl-z instead of line end, multi-line tcl scripts
can be handled.

Testing: send ctrl-z a couple of times to make telnet enter the
mode where it sends ctrl-z unencoded.

Programs that talk to the tcl_server can send ctrl-z to
indicate end of tcl-let to be executed without having
to worry about telnet protocols.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/server/tcl_server.c