1. Telnet Console Won't Show Output?
- Posted by cklester <cklester at yahoo.com> Sep 13, 2005
- 541 views
- Last edited Sep 14, 2005
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/
2. Re: Telnet Console Won't Show Output?
- Posted by Greg Haberek <ghaberek at gmail.com> Sep 13, 2005
- 527 views
- Last edited Sep 14, 2005
> 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
3. Re: Telnet Console Won't Show Output?
- Posted by cklester <cklester at yahoo.com> Sep 14, 2005
- 524 views
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/
4. Re: Telnet Console Won't Show Output?
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Sep 14, 2005
- 505 views
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
5. Re: Telnet Console Won't Show Output?
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 14, 2005
- 511 views
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
6. Re: Telnet Console Won't Show Output?
- Posted by cklester <cklester at yahoo.com> Sep 14, 2005
- 517 views
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/
7. Re: Telnet Console Won't Show Output?
- Posted by Ron Weidner <xecronix at yahoo.com> Sep 14, 2005
- 541 views
--- 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.
8. Re: Telnet Console Won't Show Output?
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Sep 14, 2005
- 533 views
- Last edited Sep 15, 2005
>--- 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
9. Re: Telnet Console Won't Show Output?
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Sep 14, 2005
- 533 views
- Last edited Sep 15, 2005
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