Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!rex!ginosko!uunet!mcvax!ukc!mucs!liv-cs!rkl From: rkl@mva.cs.liv.ac.uk Newsgroups: comp.sys.hp Subject: HP Pascal + curses blues / X11 interface / HP-UX 6.5 Message-ID: <29@mva.cs.liv.ac.uk> Date: 3 Aug 89 15:48:57 GMT Organization: Computer Science CSMVAX, Liverpool University Lines: 22 We have HP 9000 Series 300 workstations (318s/319s) here running HP-UX 6.2. I want to be able to use curses (and/or mini-curses) from HP Pascal. HP Pascal can access external functions and procedures, but doesn't seem to be able to get at external ints inside C libraries (e.g. LINES and COLS defined in procedure initscr() inside the library libcurses.a). At the moment, I'm using a C 'glue' routine to get at these integers and pass them back to Pascal, but can some kind soul please tell me an easier way that I've missed in the manuals ? Is there any equivalent of the X11 include files for HP Pascal ? I don't fancy transating megabytes of .h files into Pascal... P.S. Is HP-UX 6.5 now *officially* available in the UK ? We've been waiting for quite some for it now - our HP rep says "it's being shipped" but that was at the beginning of the year. Richard K. Lloyd, **** This is a MicroVAX II running VAX/VMS V5.1 **** Computer Science Dept., * JANET : RKL@UK.AC.LIV.CS.MVA or * Liverpool University, * RKL@000010500211.FTP.MAIL * Merseyside, England, * Internet : RKL%mva.cs.liv.ac.uk@cunyvm.cuny.edu * Great Britain. ****************************************************