* tune new variable TerminalSupportsBold and TerminalSupportsHighIntensityColors

for BeOS and Haiku.
  * BeOS : the terminal is very limited. Disabling both give best result.
  * Haiku : Haiku's terminal claims to be xterm but has it's own problems.

git-svn-id: trunk@13741 -
This commit is contained in:
olivier 2009-09-19 16:10:36 +00:00
parent 5c64c75dd7
commit 2e8a93da16

View File

@ -1116,14 +1116,24 @@ begin
cur_term_strings:=terminal_data[i];
if cur_term_strings=@term_codes_xterm then
begin
{$ifdef haiku}
TerminalSupportsBold := true;
TerminalSupportsHighIntensityColors := false;
{$else}
TerminalSupportsBold := false;
TerminalSupportsHighIntensityColors := true;
{$endif}
end
else
begin
TerminalSupportsBold := true;
TerminalSupportsHighIntensityColors := false;
end;
if cur_term_strings=@term_codes_beos then
begin
TerminalSupportsBold := false;
TerminalSupportsHighIntensityColors := false;
end;
if cur_term_strings=@term_codes_freebsd then
console:=ttyFreeBSD;
{$ifdef linux}