Brooker, Steve wrote:
[...] The question I have is can I keep the same user interface, i.e. direct X-Windows and MOTIF calls from the Pascal code, i.e. is there an X-Windows/MOTIF binding for GNU Pascal. [...]
You can call C functions (like the X11 and Motif library functions) just by writing Pascal declarations for them. For examples, see the GPC FAQ list:
http://home.pages.de/~GNU-Pascal/gpc-faq.html
There is no ready-to-use unit for X11 or Motif yet (we are planning to introduce a mechanism to use C headers from Pascal somewhere in the future), but the task to write all needed declarations is straightforward and should not be too hard for a given program (in contrast to the general task to translate it manually).
Hope this helps,
Peter