[fpc-pascal]Linux RedHat v.8.0, fpc and Characters Set output.

Stephen Hurd shurd at sasktel.net
Tue Jul 1 19:10:47 CEST 2003

On Tue, 01 Jul 2003 08:43:02 -0400
Alex Dingle <adingle at crud.net> wrote:

> For best results be sure to set your TERM environment variable to ansi
> (export TERM=ansi in bash).
> -Alex

Huh?  That is manifestly NOT a good idea.  The TERM variable enables programs
to know what capabilities the terminal you are currently useing have and how to
use those capabilities.  They do not change those capabilities in any way.

Generally the ansi termcap/terminfo entry is a lowest common denominator... and
it will cause many programs to stop using optimised output at all... most ansi
termcap entries don't even support colour.

Further, especially at the console, almost all of the extended keys will stop
working becuase Linux does not use a VT style keyboard.

Your TERM variable should be set to what you are using... that's what it's for.

More information about the fpc-pascal mailing list