1. Telnet Console Won't Show Output?

If I were to run a Euphoria program from a telnet console, shouldn't I see
any puts() output?! Or does it go somewhere else?

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view message » categorize

2. Re: Telnet Console Won't Show Output?

> If I were to run a Euphoria program from a telnet console, shouldn't I se=
e
> any puts() output?! Or does it go somewhere else?

I'm gonna bet all your output is just hanging in a buffer somewhere.
Try calling flush() occasionally, or using something like this:

-- force data instead of putting it :)
global procedure forces( integer fn, object data )
    puts( fn, data )
    flush( fn )
end procedure


~Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: Telnet Console Won't Show Output?

Greg Haberek wrote:
> 
> > If I were to run a Euphoria program from a telnet console, shouldn't I se=
> e
> > any puts() output?! Or does it go somewhere else?
> 
> I'm gonna bet all your output is just hanging in a buffer somewhere.

It doesn't even show up after the program ends. I'll try your suggestion and
see what happens. Thanks! :)

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

4. Re: Telnet Console Won't Show Output?

cklester wrote:
>
> Greg Haberek wrote:
> >
> > > If I were to run a Euphoria program from a telnet console, shouldn't =
I se=
> > e
> > > any puts() output?! Or does it go somewhere else?
> >
> > I'm gonna bet all your output is just hanging in a buffer somewhere.
>
> It doesn't even show up after the program ends. I'll try your suggestion =
and
> see what happens. Thanks! :)
>

Euphoria for linux uses ncurses. This looks to me like telnet doesn't
support ncurses.

Regards, Alexander Toresson

new topic     » goto parent     » topic index » view message » categorize

5. Re: Telnet Console Won't Show Output?

cklester wrote:
> If I were to run a Euphoria program from a telnet console, shouldn't I see
> any puts() output?! Or does it go somewhere else?

exu works fine for me over Telnet,
on both RapidEuphoria.com (FreeBSD) and ListFilter.com (Linux).
I can even run the text-mode version of Language War in color
over Telnet.

You might want to try the uncompressed versions of
exu, ecu and backendu at:
   
   http://www.rapideuphoria.com/25/eu25notcomp.zip

or try changing your TERM. Also, try typing:
   exu
by itself and see if you get the prompt.
Maybe your program outputted something to a window, 
but it disappeared before you could see it.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

6. Re: Telnet Console Won't Show Output?

Robert Craig wrote:
> cklester wrote:
> > If I were to run a Euphoria program from a telnet console, shouldn't I see
> > any puts() output?! Or does it go somewhere else?
> exu works fine for me over Telnet,
> on both RapidEuphoria.com (FreeBSD) and ListFilter.com (Linux).
> I can even run the text-mode version of Language War in color
> over Telnet.
> 
> or try changing your TERM. Also, try typing:
>    exu
> by itself and see if you get the prompt.

No prompt when typing exu. In fact, I get

   -bash: exu: command not found

If I type "export TERM=ansi," that doesn't help either.

Typing "./exu" doesn't do anything and just gets me to another prompt.

So how do I get it to display the prompt when I type exu?!

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

7. Re: Telnet Console Won't Show Output?

--- cklester <guest at RapidEuphoria.com> wrote:

> 
> 
> posted by: cklester <cklester at yahoo.com>
> 
> Robert Craig wrote:
> > cklester wrote:
> > > If I were to run a Euphoria program from a
> telnet console, shouldn't I see
> > > any puts() output?! Or does it go somewhere
> else?
> > exu works fine for me over Telnet,
> > on both RapidEuphoria.com (FreeBSD) and
> ListFilter.com (Linux).
> > I can even run the text-mode version of Language
> War in color
> > over Telnet.
> > 
> > or try changing your TERM. Also, try typing:
> >    exu
> > by itself and see if you get the prompt.
> 
> No prompt when typing exu. In fact, I get
> 
>    -bash: exu: command not found
> 
> If I type "export TERM=ansi," that doesn't help
> either.
> 
> Typing "./exu" doesn't do anything and just gets me
> to another prompt.
> 
> So how do I get it to display the prompt when I type
> exu?!
> 
>

try...

export PATH=/dir/exu/resides:$PATH

Also, it may not be obvious but, export TERM=ansi is
very important.  

good luck


--
Ronald Weidner
http://www.techport80.com
PHP Software developer for hire.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Telnet Console Won't Show Output?

>--- cklester <guest at RapidEuphoria.com> wrote:
>> No prompt when typing exu. In fact, I get
>> 
>>    -bash: exu: command not found
is it just me or is that not rather significant?

Pete

new topic     » goto parent     » topic index » view message » categorize

9. Re: Telnet Console Won't Show Output?

Sorry,
>> Typing "./exu" doesn't do anything and just gets me
>> to another prompt.
I probably reacted too fast, please ignore my last post.

Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu