> Today's Topics:
>
>    1. Socket code (John Chludzinski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 21 Dec 2015 12:24:19 -0500
> From: John Chludzinski <[email protected]>
> To: Gforth <[email protected]>
> Subject: [gforth] Socket code
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> As a gforth newbie I went online and downloaded sock.fs and tcpserver.fs
> from GitHub. Tried putting the shabang: #! /usr/bin/gforth in the file
> and ruuning it. I have an x86-64 box running Fedora 23.

I think your problem starts here, but I'm not sure which file(s) you
edited.  Undo your edits, then try starting gforth from the command line
and:
     include sock.fs             \   < --edit for file path
     include  tcpserver.fs   \              ditto.
If this works you'll get "ok" s.  I think Gforth is trying to interpret the
file it was just loaded from (including the shebang).

Then look to the manual, info, "gforth --help",etc. to find the startup
options you want.  Probably, "gforth -e " or "gforth -i" .  Then you can
write your script file.
> *************************************

Reply via email to