Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-16 Thread Anton Shepelev
Nikolay Nikolov: [kbd_mode] only works on the linux console. It doesn't work under xterm, gnome-terminal, konsole, etc and we still need a way to detect if they are in UTF-8 mode or not. But at least that will make the IDE work correctly in the true console... As for the graphical

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-15 Thread Anton Shepelev
Nikolay Nikolov: Basically, all it does is, it checks if the LANG variable contains ґUTF-8' as a substring (not sure if it is the right way to do it, but it works for Fedora, Ubuntu, OpenSUSE, Mandriva and latest Debian) and if it does, it writes UTF-8 characters to the console, by

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-15 Thread Nikolay Nikolov
On 06/15/2011 04:15 PM, Anton Shepelev wrote: Nikolay Nikolov: Basically, all it does is, it checks if the LANG variable contains ґUTF-8' as a substring (not sure if it is the right way to do it, but it works for Fedora, Ubuntu, OpenSUSE, Mandriva and latest Debian) and if it does, it

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-14 Thread Graeme Geldenhuys
On 13 June 2011 22:12, Anton Shepelev wrote: Try changing it to LANG=en_US.UTF-8 Thank  you  very much, it works well now. Maybe this should be mentioned on the WIKI? You are welcome to add it to the wiki. I would suggest you mention it to the Puppy Linux distro maintainers too. There is no

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-14 Thread Anton Shepelev
Graeme Geldenhuys: You are welcome to add it to the wiki. I still do not fully understand the problem, so please, review what I have come up with: On Linux/Unix the FP-IDE calculates the addresses of the drawing charactes (also called pseudagraphics) based on the

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-14 Thread Nikolay Nikolov
On 06/14/2011 09:33 PM, Anton Shepelev wrote: Graeme Geldenhuys: You are welcome to add it to the wiki. I still do not fully understand the problem, so please, review what I have come up with: On Linux/Unix the FP-IDE calculates the addresses of the drawing charactes

[fpc-pascal] Pseudographics in FPC-IDE

2011-06-13 Thread Anton Shepelev
Hello all, I have installed FPC on a Linux machine to find that in the virtual terminal (true text-mode, not GUI-based emulator) FP-IDE does not dispaly pseudographics correctly. It turned out that changes to the SFM (Screen Font Map) doesn't have any effect inside the IDE, and I count'd

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-13 Thread Nikolay Nikolov
On 06/13/2011 08:39 PM, Anton Shepelev wrote: Hello all, I have installed FPC on a Linux machine to find that in the virtual terminal (true text-mode, not GUI-based emulator) FP-IDE does not dispaly pseudographics correctly. It turned out that changes to the SFM (Screen Font Map) doesn't

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-13 Thread Anton Shepelev
Nikolay Nikolov: Modern FPC versions should support UTF-8 output for the IDE. I made a patch for this, that was included in fpc 2.4.2 IIRC. Which FPC version are you using and on which linux distro/version? What is the value of the LANG envi- ronment variable? I am using FPC 2.4.4

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-13 Thread Nikolay Nikolov
On 06/13/2011 09:17 PM, Anton Shepelev wrote: Nikolay Nikolov: Modern FPC versions should support UTF-8 output for the IDE. I made a patch for this, that was included in fpc 2.4.2 IIRC. Which FPC version are you using and on which linux distro/version? What is the value of the LANG

Re: [fpc-pascal] Pseudographics in FPC-IDE

2011-06-13 Thread Anton Shepelev
Nikolay Nikolov: Try changing it to LANG=en_US.UTF-8 Thank you very much, it works well now. Maybe this should be mentioned on the WIKI? Anton ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org