1. Linux problem (and feature idea)

I recently installed Ubuntu Linux on one of our machines at work and tried to
install Euphoria today. Ubuntu uses the GNOME terminal as it's default terminal
emulator. However, Euphoria can not run in the GNOME terminal for some reason. It
will run fine in xterm but not in the GNOME terminal. I haven't tried Konsole
(the KDE terminal emulator) nor eterm yet so I don't know if it works with them
or not but from the error message it seems Euphoria requires xterm. This should
either be fixed or a message should be in the documentation about it since xterm
might not be in all Linux distros.

Also, a really good feature to add would be a true Linux/BSD console version of
the interpreter, one that will use STDOUT and not ncurses. People at work often
think my program crashes or doesn't work because their terminal will change when
displaying stuff. The Windows interpreter has exwc so exuc makes just as much
sense.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » topic index » view message » categorize

2. Re: Linux problem (and feature idea)

D. Newhall wrote:
> 
> I recently installed Ubuntu Linux on one of our machines at work and tried to
> install Euphoria today. Ubuntu uses the GNOME terminal as it's default
> terminal
> emulator. However, Euphoria can not run in the GNOME terminal for some reason.
> It will run fine in xterm but not in the GNOME terminal. I haven't tried
> Konsole
> (the KDE terminal emulator) nor eterm yet so I don't know if it works with
> them
> or not but from the error message it seems Euphoria requires xterm. This
> should
> either be fixed or a message should be in the documentation about it since
> xterm
> might not be in all Linux distros.
> 
> Also, a really good feature to add would be a true Linux/BSD console version
> of the interpreter, one that will use STDOUT and not ncurses. People at work
> often think my program crashes or doesn't work because their terminal will
> change
> when displaying stuff. The Windows interpreter has exwc so exuc makes just as
> much sense.

Ncurses seems to cause alot of problems with screen and file output. When escape
characters are used, they often emit strange characters instead of functioning
like their suppost to.

Ncurses allows the Linux and FreeBSD versions have pixel graphics on many Unix
terminals. The Linux and FreeBSD Language War game are an example of color ASCII
graphics in use.

I'm not sure how Euphoria could do without it and still have working pixel
graphics. Maybe if Robert used the latest version of the Ncurses library, things
would work better?


Regards,
Vincent

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

3. Re: Linux problem (and feature idea)

Vincent wrote:
> 
(snip)
> 
> I'm not sure how Euphoria could do without it and still have working pixel
> graphics.
> Maybe if Robert used the latest version of the Ncurses library, things would
> work better?

It may work better (at the expense of breaking compatibility perhaps) but for
many tasks (such as all the stuff I've replaced bash and perl scripting with
Euphoria) it'd be fine to give up pixel graphics just to have "normal" Unix text
output. I would still use the ncurses version but for somethings you just need
vanilla text output.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

4. Re: Linux problem (and feature idea)

D. Newhall wrote:
> 
> I recently installed Ubuntu Linux on one of our machines at work and tried to
> install Euphoria today. Ubuntu uses the GNOME terminal as it's default
> terminal
> emulator. However, Euphoria can not run in the GNOME terminal for some reason.
> It will run fine in xterm but not in the GNOME terminal. I haven't tried
> Konsole
> (the KDE terminal emulator) nor eterm yet so I don't know if it works with
> them
> or not but from the error message it seems Euphoria requires xterm. This
> should
> either be fixed or a message should be in the documentation about it since
> xterm
> might not be in all Linux distros.
> 
> Also, a really good feature to add would be a true Linux/BSD console version
> of the interpreter, one that will use STDOUT and not ncurses. People at work
> often think my program crashes or doesn't work because their terminal will
> change
> when displaying stuff. The Windows interpreter has exwc so exuc makes just as
> much sense.
> 

I just tried running euphoria from gnome-termal 2.2.1 on RedHat 9.0
  and it works ok.

Exactly what kind of problem are you having ?
Are you getting any error messages ?
What type of program are you running ?


Bernie

My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.exw

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

5. Re: Linux problem (and feature idea)

Bernie Ryan wrote:
> 
(snip)
> 
> I just tried running euphoria from gnome-termal 2.2.1 on RedHat 9.0
>   and it works ok.

Interesting. I wouldn't be surprised if it was a Ubuntu thing (you know how tose
Debian-based distros are...)


> Exactly what kind of problem are you having ?

Returns to prompt with an error message. Nothing executed.


> Are you getting any error messages ?

Yes, it says something regarding xterm but I can't remember it offhand and do
not have a computer to test it on right now.


> What type of program are you running ?

Just the interpreter: /usr/local/euphoria/bin/exu
It works in xterm but not the GNOME terminal.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

6. Re: Linux problem (and feature idea)

Hi

its an environment xterm export thing.

Before running your program, enter

export TERM=linux

or

export TERM=xterm

Other part - pixel graphics with ncurses? Show me an example please!

Chris


http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

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

7. Re: Linux problem (and feature idea)

Vincent wrote:
> 
> D. Newhall wrote:
> > 
> > I recently installed Ubuntu Linux on one of our machines at work and tried
> > to
> > install Euphoria today. Ubuntu uses the GNOME terminal as it's default
> > terminal
> > emulator. However, Euphoria can not run in the GNOME terminal for some
> > reason.
> > It will run fine in xterm but not in the GNOME terminal. I haven't tried
> > Konsole
> > (the KDE terminal emulator) nor eterm yet so I don't know if it works with
> > them
> > or not but from the error message it seems Euphoria requires xterm. This
> > should
> > either be fixed or a message should be in the documentation about it since
> > xterm
> > might not be in all Linux distros.
> > 
> > Also, a really good feature to add would be a true Linux/BSD console version
> > of the interpreter, one that will use STDOUT and not ncurses. People at work
> > often think my program crashes or doesn't work because their terminal will
> > change
> > when displaying stuff. The Windows interpreter has exwc so exuc makes just
> > as
> > much sense.
> 
> Ncurses seems to cause alot of problems with screen and file output. When
> escape
> characters are used, they often emit strange characters instead of functioning
> like their suppost to.
> 
> Ncurses allows the Linux and FreeBSD versions have pixel graphics on many Unix
> terminals. The Linux and FreeBSD Language War game are an example of color
> ASCII
> graphics in use.
> 
> I'm not sure how Euphoria could do without it and still have working pixel
> graphics.
> Maybe if Robert used the latest version of the Ncurses library, things would
> work better?
> 
> 
> Regards,
> Vincent

I'm sure you didn't mean to say "pixel graphics" here.

Otherwise, I think ncurses should be removed as well. People who need ncurses
could still wrap it and call the .so couldn't they?


--
"Actually, I'm sitting on my butt staring at a computer screen."
                                                  - Tom Tomorrow

j.

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

8. Re: Linux problem (and feature idea)

Chris Burch wrote:
> 
> Hi
> 
> its an environment xterm export thing.
> 
> Before running your program, enter
> 
> export TERM=linux
> 
> or
> 
> export TERM=xterm
> 
> Other part - pixel graphics with ncurses? Show me an example please!
> 
> Chris
> 
> 
> <a
> href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> <a
> href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>

I'm almost sure that you meant:

export TERM=ansi

Ah, and btw: I've built a debian package of the public domain version of
Euphoria. That is, the non-commercial parts of euphoria. It puts the files in
sane locations instead of in one monolithic directory, and it also gets rid of
the annoyance of having to set TERM and EUDIR every time you want to use it, as I
have added wrappers for exu and ecu that set those environment variables before
executing the real binaries.

This reminded me of actually uploading it too :)

I believe that I am allowed to repackage it, as the license of the full
non-commercial parts seem to be Public Domain.

Regards, Alexander Toresson

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

9. Re: Linux problem (and feature idea)

Alexander Toresson wrote:
> 
> I'm almost sure that you meant:
> 
> export TERM=ansi
> 

I tried that already and it didn't work.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

10. Re: Linux problem (and feature idea)

Alexander Toresson wrote:
> 
> Chris Burch wrote:
> > 
> > Hi
> > 
> > its an environment xterm export thing.
> > 
> > Before running your program, enter
> > 
> > export TERM=linux
> > 
> > or
> > 
> > export TERM=xterm
> > 
> > Other part - pixel graphics with ncurses? Show me an example please!
> > 
> > Chris
> > 
> > 
> > <a
> > href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> > <a href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> > <a
> > href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>
> 
> I'm almost sure that you meant:
> 
> export TERM=ansi
> 
> Ah, and btw: I've built a debian package of the public domain version of
> Euphoria.
> That is, the non-commercial parts of euphoria. It puts the files in sane
> locations
> instead of in one monolithic directory, and it also gets rid of the annoyance
> of having to set TERM and EUDIR every time you want to use it, as I have added
> wrappers for exu and ecu that set those environment variables before executing
> the real binaries.
> 
> This reminded me of actually uploading it too :)
> 
> I believe that I am allowed to repackage it, as the license of the full
> non-commercial
> parts seem to be Public Domain.
> 
> Regards, Alexander Toresson

Hi

No, I didn't smile

To see what your terminal or consle is running, type

echo $TERM

ansi as a terminal may not work in some cases - it seems to depend on the
system,
and as far as I can tell there may also be some influence with UTF encoding
(but I haven't looked into it too much)

Note if you're using a program that doesn't write to the console, then it won't
make a hal'peth of difference what your term type is.

Chris

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

11. Re: Linux problem (and feature idea)

ChrisBurch2 wrote:
> 
> Alexander Toresson wrote:
> > 
> > Chris Burch wrote:
> > > 
> > > Hi
> > > 
> > > its an environment xterm export thing.
> > > 
> > > Before running your program, enter
> > > 
> > > export TERM=linux
> > > 
> > > or
> > > 
> > > export TERM=xterm
> > > 
> > > Other part - pixel graphics with ncurses? Show me an example please!
> > > 
> > > Chris
> > > 
> > > 
> > > <a
> > > href="http://members.aol.com/chriscrylex/euphoria.htm">http://members.aol.com/chriscrylex/euphoria.htm</a>
> > > <a
> > > href="http://uboard.proboards32.com/">http://uboard.proboards32.com/</a>
> > > <a
> > > href="http://members.aol.com/chriscrylex/EUSQLite/eusql.html">http://members.aol.com/chriscrylex/EUSQLite/eusql.html</a>
> > 
> > I'm almost sure that you meant:
> > 
> > export TERM=ansi
> > 
> > Ah, and btw: I've built a debian package of the public domain version of
> > Euphoria.
> > That is, the non-commercial parts of euphoria. It puts the files in sane
> > locations
> > instead of in one monolithic directory, and it also gets rid of the
> > annoyance
> > of having to set TERM and EUDIR every time you want to use it, as I have
> > added
> > wrappers for exu and ecu that set those environment variables before
> > executing
> > the real binaries.
> > 
> > This reminded me of actually uploading it too :)
> > 
> > I believe that I am allowed to repackage it, as the license of the full
> > non-commercial
> > parts seem to be Public Domain.
> > 
> > Regards, Alexander Toresson
> 
> Hi
> 
> No, I didn't smile
> 
> To see what your terminal or consle is running, type
> 
> echo $TERM

This returns 'xterm' on all X terminal emulators on my system, and 'linux' in a
text console.

> ansi as a terminal may not work in some cases - it seems to depend on the
> system,
> and as far as I can tell there may also be some influence with UTF encoding
> (but I haven't looked into it too much)

I tried setting a few different locales, both UTF and ISO. ansi did work in all
cases, It did work in a text console too.

> Note if you're using a program that doesn't write to the console, then it
> won't
> make a hal'peth of difference what your term type is.

That's right. I didn't know that. I assumed that exu would try to open the
console when it started and close it when it exited, but that doesn't seem to be
the case.

Regards, Alexander Toresson

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

12. Re: Linux problem (and feature idea)

Ah ha! Fixed it! I just had to add export term=ansi (which I did).

The real problem was that editing .bashrc makes no difference when you're
running tcsh....


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

13. Re: Linux problem (and feature idea)

D. Newhall wrote:
> 
> Ah ha! Fixed it! I just had to add export term=ansi (which I did).
> 
> The real problem was that editing .bashrc makes no difference when you're
> running
> tcsh....
> 

I love Ah ha moments!

Chris

> 
> The Euphoria Standard Library project :
>     <a href="http://esl.sourceforge.net/">http://esl.sourceforge.net/</a>
> The Euphoria Standard Library mailing list :
>     <a
>     href="https://lists.sourceforge.net/lists/listinfo/esl-discussion">https://lists.sourceforge.net/lists/listinfo/esl-discussion</a>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu