Re: [AOLSERVER] Control Port on AOLserver 4.5

1 view
Skip to first unread message

Rusty Brooks

unread,
Jun 10, 2008, 11:40:49 AM6/10/08
to AOLS...@listserv.aol.com
Weird. Does it show up in the server log or something?

Rusty

Bernhard van Woerden wrote:
> I'm trying out AOLserver4.5 on FreeBSD7 and can't get the control port
> to echo back the results of a command
>
> e.g.
>
> Welcome to nsd running at /usr/local/aolserver/bin/nsd (pid 1522)
> AOLserver/4.5.0 (aolserver4_5) for freebsd built on May 23 2008 at 17:06:51
> CVS Tag: $Name: aolserver_v45_r0 $
> tlc:nscp 1> expr 2+2
> tlc:nscp 2>
>
>
> Has anyone else seen this or know how to fix it ?
> I'm not sure of this is FreeBSD specific but AOLserver 4.10 worked fine.
>
>
> Many thanks
> Bernhard
>
> -- AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <list...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the
> email message. You can leave the Subject: field of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Bernhard van Woerden

unread,
Jun 10, 2008, 11:37:40 AM6/10/08
to AOLS...@listserv.aol.com

Vlad Seryakov

unread,
Jun 10, 2008, 11:56:02 AM6/10/08
to AOLS...@listserv.aol.com
I assume you are running new Tcl, in nscp.c line 366
replace

res = interp->result;

with

res = Tcl_GetStringResult(interp);

Bernhard van Woerden

unread,
Jun 10, 2008, 1:04:13 PM6/10/08
to AOLS...@listserv.aol.com
Thanks Vlad, that worked perfectly.
I compiled against Tcl8.5

I can't live without the control port so I'm really grateful.

2008/6/10 Vlad Seryakov <vl...@crystalballinc.com>:

Bernhard van Woerden

unread,
Jun 10, 2008, 1:08:19 PM6/10/08
to AOLS...@listserv.aol.com
Hi Rusty,
the comand logging and password echo options worked fine - just the result echo that was the problem but Vlad's patch worked a treat.
Cheers
Bernhard

2008/6/10 Rusty Brooks <m...@rustybrooks.com>:
Reply all
Reply to author
Forward
0 new messages