Any idea why the discrepancy in output?
Perhaps the terminal doesn't support full ANSI graphics, perhaps a codepage thing... also the colors don't match, which is "normal" now days, even from the era of Windows 98+.
For the colors, if the terminal supports 256+ colors, you should find and us the proper colors that match the original 16colors palette and display the graphics with them. Not easy to do it with just a print() command.
Perhaps the terminal doesn't support full ANSI graphics, perhaps a codepage thing... also the colors don't match, which is "normal" now days, even from the era of Windows 98+.
For the colors, if the terminal supports 256+ colors, you should find and us the proper colors that match the original 16colors palette and display the graphics with them. Not easy to do it with just a print() command.
I think it is a code page thing. The terminal that I'm using this on is the same I bbs on, which is the basic linux terminal.
Does this make sense? https://www.freepascal.org/docs-html/current/rtl/cp437/in dex.html
I am using Ubuntu 18.04/18.10 and in my fresh install, i tried a lot to find a terminal app that supports CP437 out of the box... my best choice until now is Gnome Terminal, but even so, i can only use CP866 or similar.. not CP437.
I am using Ubuntu 18.04/18.10 and in my fresh install, i tried a lot to find terminal app that supports CP437 out of the box... my best choice until now Gnome Terminal, but even so, i can only use CP866 or similar.. not CP437.
If you are planning to release an app. that works in a linux terminal, you will disappointed, cause every user has its own preferences about the termin app and not all (if any) still support CP437. When i started the NULL mag. project i did the same thing and it was troublesome. After making my own SDL "terminal environment" i finally ended using DOS and DOSBOX :)
I don't want to discourage you, but this is how things are :)
Yes and no :) You are using Freepascal under linux?
Yes, we both are. Everything will be written on 64bit linux, then we'll work on a massive port project to give as many sysops the ability to run it. And I'll be seeking assistance on that effort too.
So, effectively, the font itself is so retro that no terminal emulator written today supports it. So, I can either do a massive research
project to see which standards they all have in common and see how the characters render on the terminal side. Unfortunately, I can't think of
a way to add font support to a terminal to make it work.
tenser wrote to calcmandan <=-
It's not really a font issue. Most BBS people who talk about
"ANSI graphics" are conflating two separate things:
1. ANSI terminal control codes
2. The CP437 character set used by the IBM PC
(1) is just about cursor control and screen attributes; where
the cursor is and fore- and background colors. (2) is about
WHAT is displayed. In particular, CP437 allowed for displaying
numbers and (Latin) letters and basic punctuation, but also pseudo-graphical glyphs that creative software developers used
to draw things that looked vaguely like lines, boxes, etc.
Almost all terminal emulators will do (1) in some form. (2)
is a little harder, but there exist fonts that can be used
with X11 and Wayland compositors that will show CP437-style
glyphs. All of the CP437 glyphs are also available in the
Unicode character set, and can be used with UTF-8. Fonts like
unscii will display them, given proper translation.
Aside from compatibility with legacy software, everyone really
ought to just use UTF-8 and something like unscii.
I'm so glad you jumped into the thread becaue this is the most
complete explaination I've yet to see.
All I want is to have my new game render properly on as many
systems as possible. Up until now, I was expecting to release it
as a dos door game to allow full CP437 support but now you've
given me a different perspective.
I've used many terminals across Windows and Linux and none of them
render ANSI graphics properly, at all.
I load syncterm and it works beautifully, and it supports CP437.
I'll talk to my collaborator and we'll play with UTF-8 with our
existing ansi designs and see how it'll translate.
Thanks again for your great advice.
Thank you; that's very kind of you to say. I wrote
more extensively about this on The Fat Dragon: http://fat-dragon.org/post/terminals/
This message as well as the linked write-up are fantastic - thanks for taking the time and effort. I feel like I actually understand all of
this now.
tenser wrote to calcmandan <=-
Thank you; that's very kind of you to say. I wrote
more extensively about this on The Fat Dragon: http://fat-dragon.org/post/terminals/
In the end, I suspect you may find using CP437 is
the easiest route, and you get compatibility with
other terminals using something like the `cp437`
program Ryan pointed you at earlier.
Sure thing! I don't know how great it's going to
be, though. :-P
On 04-22-20 16:09, tenser wrote to calcmandan <=-
A more robust solution is to always use UTF-8 in your
terminal: since the CP437 glyphs all appear in the
Unicode character set, they can all be represented as
Aside from compatibility with legacy software, everyone really
ought to just use UTF-8 and something like unscii.
Vk3jed wrote to tenser <=-
A more robust solution is to always use UTF-8 in your
terminal: since the CP437 glyphs all appear in the
Unicode character set, they can all be represented as
I agree totally. Only reason I still use CP437 is because SyncTerm doesn't support UTF-8. I'd rather use UTF-8 all round.
Do we know the developer of syncterm? Maybe we can convince him/her
to support UTF-8.
Also, I was just watching Digital Man's video from last year regarding Synchronet's support for UTF-8 terminals and how SBBS can transcode display for non-UTF-8 terminals. Nice.
tenser wrote to Alpha <=-
On 23 Apr 2020, Alpha said the following...
Also, I was just watching Digital Man's video from last year regarding Synchronet's support for UTF-8 terminals and how SBBS can transcode display for non-UTF-8 terminals. Nice.
Interesting. I'm watching that now, but it seems like he's
going from UTF-8 to CP437 on the server side. Tantalizingly,
he does say that syncterm doesn't support UTF-8 "yet", which
one may take to imply he's at least open to the idea.
Do we know the developer of syncterm? Maybe we can convince him/her
to support UTF-8.
That would be Rob Swindell, aka "Digital Man", who is also
the lead developer of Synchronet BBS. I'd start by shooting
That would be Rob Swindell, aka "Digital Man", who is also
the lead developer of Synchronet BBS. I'd start by shooting
No - Deuce is the author of SyncTERM.
The "official" way to request features is through its Sourceforge site,
I think - and there's already one in for this:
https://sourceforge.net/p/syncterm/feature-requests/3/
On 04-22-20 21:32, calcmandan wrote to Vk3jed <=-
Do we know the developer of syncterm? Maybe we can convince him/her
to support UTF-8.
I suppose I could create two versions but I'd rather not.
I'm already planning on doing something for the C64 crowd
and petscii+40char. That'll be a load of work in its own
right.
tenser wrote to calcmandan <=-
On 22 Apr 2020, calcmandan said the following...
Do we know the developer of syncterm? Maybe we can convince him/her
to support UTF-8.
That would be Rob Swindell, aka "Digital Man", who is also
the lead developer of Synchronet BBS. I'd start by shooting
him an email.
Vk3jed wrote to calcmandan <=-
Interesting. :) I never had much to do with the C64. I was more an
Apple person in those days, and could make just about any BASIC
computer of the day do something with few lines of code off the top of
my head (TRS-80, Applesoft/ProDOS, MBASIC under CP/M, VZ200, and some random systems at computer shows), EXCEPT for the C64 - something about its dialect of BASIC, as well as the illogical disk commands that it
used didn't agree with me. :(
... Homosexuality must be hereditory -- most gays have heterosexualparents.
On 04-24-20 01:19, calcmandan wrote to Vk3jed <=-
My early elementary school had a PET. When I transferred to public
school in 1986, we had apple IIc's and that was the platform I learned
basic on. Then junior high had Apple IIe's. By high school, the apple
II in the library was unused and acting as an large dust collector. The school system had already moved to a PC based network by 1990. Our
computer lab had HP workstations and I took tech classes particularly
to learn coding in Pascal.
My interest in 8-bit machines are more-or-less two years old. I particularly like the C64 breadbin. I know how you feel about teh disk
commands but, the nice thing is the documentation is there and they
didn't leave the user high and dry.
... Homosexuality must be hereditory -- most gays have heterosexual
parents.
Interesting tagline.
Vk3jed wrote to calcmandan <=-
I have a nostalgia for the old Apples, because they were the first machines I seriously used, and also CP/M, because of its relationship
to DOS, and for me it ended up being a precursor to using DOS anyway.
On 04-25-20 15:32, calcmandan wrote to Vk3jed <=-
For me, the only real nostalgia I have for anything is software
related. BBS'ing, for instance, ANSI games, text based adventure games, things like that. The platforms seem to not matter as many titles were avilable across the board. If I wanted to play dark castle, the only significant difference between playing it at hom on the mac+ or at my bro's house on his 8086, was color. My system had no color but good
sound, his had color but crappy pc speaker sound. The game was the same so..
Vk3jed wrote to calcmandan <=-
On 04-25-20 15:32, calcmandan wrote to Vk3jed <=-
For me, the only real nostalgia I have for anything is software
related. BBS'ing, for instance, ANSI games, text based adventure games, things like that. The platforms seem to not matter as many titles were avilable across the board. If I wanted to play dark castle, the only significant difference between playing it at hom on the mac+ or at my bro's house on his 8086, was color. My system had no color but good
sound, his had color but crappy pc speaker sound. The game was the same so..
Other than a couple of classic arcade games from the early days, I
don't have much nostalgia for games, they were never really my thing. Other software, sure - OS/2, RA, etc. And yeah hardware, as I've used
all sorts of hardware, and that's not limited to computers either.
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 68 |
Nodes: | 4 (0 / 4) |
Uptime: | 06:30:59 |
Calls: | 891 |
Files: | 7,880 |
Messages: | 294,329 |