Re: Linux problem (and feature idea)
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Jan 04, 2006
- 476 views
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 > > 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