If you grep the fpc sources you could have known this is not in FreePascal at all.
Look elsewhere....
I did:
grep -nHIirF -- Your Terminal type is unknown
No matches found.
On my fpc base directory
Noone result...Nothing whatsoever...
I'd recommend everyone to have at least a grasp of
Grep. or similar tools.....Saves a lot of answering the obvious.
When asked a question, I expect you do some effort before I can seriously and quickly answer it.
This is
a known bug in most of the forum members, though, just do not try this too often without putting in some research yourself....
Try: "Google, can you look up this text in the freepascal manuals: Your terminal type is not supported.'
Or the same with Alexa ....
90% or more do not even read the excellent manuals....<grumpy
, a little>