mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +02:00
* Modify code to set xterm in rigth font.
git-svn-id: trunk@6243 -
This commit is contained in:
parent
a0813b42bf
commit
f60b66fba0
@ -984,7 +984,7 @@ var
|
|||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
const font_vga:array[0..11] of char=#15#27'%@'#27'(U'#27'[3h';
|
const font_vga:array[0..11] of char=#15#27'%@'#27'(U'#27'[3h';
|
||||||
font_custom:array[0..2] of char=#27'(K';
|
font_lat1:array[0..5] of char=#27'%@'#27'(B';
|
||||||
|
|
||||||
begin
|
begin
|
||||||
{ check for tty }
|
{ check for tty }
|
||||||
@ -1052,7 +1052,7 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
{No VGA font :( }
|
{No VGA font :( }
|
||||||
fpwrite(stdoutputhandle,font_custom,sizeof(font_custom));
|
fpwrite(stdoutputhandle,font_lat1,sizeof(font_lat1));
|
||||||
{ running on a remote terminal, no error with /dev/vcsa }
|
{ running on a remote terminal, no error with /dev/vcsa }
|
||||||
{$ifdef linux}
|
{$ifdef linux}
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user