Discussion:
glulx interpreter for Linux TTY
(too old to reply)
a***@openbsd.home
2021-01-26 14:35:38 UTC
Permalink
Hello, I am using Linux under TTY with Unicode support, and, just in case
fbterm plus the GNU Unifont font so I can read all the examples from the
infamous utf8-demo.txt file (google it).
Thus, I see no issues with Unicode under the terminal.

Still, I tried playing "Counterfeit Monkey' with both gluxle
and git interpreters, and yet the Greek characters are either
not displayed or scrambled as an ASCII mess.

Is there any terminal interpreter with proper Unicode support?
I tried them under an UXTerm and Noto as the font, but I had no luck.

Frotz, nfrotz and fizmo play Spanish games with accents and 'ñ' with
no issues at all either under X or the TTY, so I guess something
is wrong with these interpreters.

I know about Lectrote, but I'd like to avoid using X and a Chrome
instance to save some resources.
n***@zzo38computer.org.invalid
2021-01-26 17:49:58 UTC
Permalink
Post by a***@openbsd.home
Still, I tried playing "Counterfeit Monkey' with both gluxle
and git interpreters, and yet the Greek characters are either
not displayed or scrambled as an ASCII mess.
[...] so I guess something is wrong with these interpreters.
It isn't Glulx which is the issue here, but Glk. You will need to link
the Glulx interpreter with a Glk implementation which supports Unicode
(which requires recompiling the Glulx interpreter).

However, I don't know which Glk implementations support a Unicode terminal.
GlkTerm supports Unicode I/O with files, but not with the terminal (it will
display a question mark instead).
--
This signature intentionally left blank.
(But if it has these words, then actually it isn't blank, isn't it?)
a***@openbsd.home
2021-01-26 19:35:25 UTC
Permalink
Post by n***@zzo38computer.org.invalid
Post by a***@openbsd.home
Still, I tried playing "Counterfeit Monkey' with both gluxle
and git interpreters, and yet the Greek characters are either
not displayed or scrambled as an ASCII mess.
[...] so I guess something is wrong with these interpreters.
It isn't Glulx which is the issue here, but Glk. You will need to link
the Glulx interpreter with a Glk implementation which supports Unicode
(which requires recompiling the Glulx interpreter).
However, I don't know which Glk implementations support a Unicode terminal.
GlkTerm supports Unicode I/O with files, but not with the terminal (it will
display a question mark instead).
I tried with remglk, glkterm and cheapglk, no luck.
Peter Hull
2021-05-05 09:13:02 UTC
Permalink
Post by a***@openbsd.home
I tried with remglk, glkterm and cheapglk, no luck.
I was able to display unicode characters on fbterm using glulxe with cheapglk, but I had to use the '-u' flag to glulxe, i.e.
glulxe -u [FILE].gblorb

This is with cheapglk 1.0.6 and the current master of glulxe, which I compiled myself on Debian 10.

Hope that helps.

Loading...