mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 03:59:13 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() modern Linuxes by a patch for UTF-8 console output. Previously, only BeOS used UTF-8. Tested with: - the linux console - xterm - gnome-terminal - konsole - rxvt-unicode using Fedora 11. Tested with - gnome-terminal - xterm - konsole using Ubuntu 9.04 Known "features": * high intensity colours were actually normal intensity, with a bold attribute set. This worked fine under gnome-terminal, but xterm didn't have bold versions of all cp437 characters, which screwed up the window borders in the IDE. And although konsole had them, I didn't like the font - it converted all the double window borders to a very thick single-line border. So I disabled the bolding of high intensity colours in all X11 terminals (TERM=xterm) and replaced it with another ANSI attribute, that actually sets high intensity colours, but is not (in theory) supported by all terminals. The linux console doesn't support it - it actually wants a bold attribute, to set high intensity, so that's why I enabled it only for X11 terminals. All the ones, that I tried, worked fine (xterm, gnome-terminal, konsole, rxvt-unicode, also the plain old rxvt, with a non-UTF-8 locale). * Fedora 11 by default uses a 512-characters font, called latarcyrheb-sun16 for the linux text mode console, which disables the high intensity colours, effectively reducing the set of available colours to only 8. This is a hardware limitation of the VGA hardware and can be avoided by using a 256-character font. It does not need to be cp437, but it has to have an unicode mapping. * I haven't tried other linux distros (and unix-like OSes, i.e. FreeBSD and Mac OS X) - although they should work in theory, they might look bad, due to different fonts, etc. git-svn-id: trunk@13651 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
Makefile.fpc |