[fpc-pascal]Keyboard unit questions

John Coppens john at jcoppens.com
Sat Sep 11 07:52:38 CEST 2004


On Fri, 10 Sep 2004 16:00:34 -0700 (PDT)
Alan Mead <cubrewer at yahoo.com> wrote:

> 

> John, thanks for your reply... Sorry, I should have been clearer. 
> And I typed wrong.  The library was in /usr/lib but I guess FPC is
> looking for 'libgpm.so' rather than 'libgpm.so.1' .. it's the '.1'
> that fools FPC and it's happened before.  I don't know if it's a
> RedHat thing .. because /usr/lib/libgpm.so.1 is, itself, a sim link
> to something like /usr/lib/libgpm.so.1.18.1.. I gather that's the way
> that one reconciles having the version number in the shared library
> while trying to let linkers find the libraries... I just wonder why
> FPC doesn't understand... Maybe this is considered such a trivial
> matter to people that can write compilers :) Or maybe this is an
> incompatibility between Linux distro's and RH just loses?

If I'm not terribly mistaken, executing ldconfig should generate those
links automatically. libgpm.so.1 should automatically generate a libgpm.so
if you run it (and you should after installing a new library).

That is, of course if /etc/ld.so.conf contains the directory where libgpm
is installed.

an't help you there. 
> 
> I've had other programs mis-behave... The command history bits of my
> favorite text adventure game works fine in console mode but screws
> things up when I'm in Konsole.  I spent a little while goggling
> around about keyboards and character sets and X ... but X is probably
> the area of Linux that I know the least and I didn't understand any
> of the stuff I found.
> 

As I said - I can't help you there. I've suffered to get fonts working
like I wanted under X. I had quite a few problems getting 'composing'
working on the keyboard (te get accented characters). The only thing I can
recommend is to read the "Keyboard-and-Console-HOWTO" which is probably
installed somewhere on your machine and is quite extensive.

I have seen that Xterm has its own ways with many things, which could
cause your differences. Almost any other program will act in a more
standard way.

Greetings,
John




More information about the fpc-pascal mailing list