neves@ai.cs.wisc.edu (David M. Neves) (02/04/89)
We are having problems with 2 languages on our Bobcats and I wonder if anyone else has them solved. 1. HP Pascal (with HP-UX -- or whatever they call it). There are several problems here. a. File output doesn't work right (rewrite won't create a file unless it first already exists. if it does exist it doesn't erase the old contents). b. PDB (pascal debugger) does work. We have students using CDB instead. c. Bad runtime error messages. All errors at said to occur on line 0. We have had these bugs for at least a year. Anyone know of fixes? 2. KCL (Kyoto Common Lisp). The fellow who brought up KCL doesn't know how to get the floating point functions (like round) to work. I believe this involves modifications to the file num_co.c. Anyone done this? -thanks, david ;David Neves, Computer Sciences Department, University of Wisconsin-Madison ;Usenet: {rutgers,ucbvax}!uwvax!neves ;Arpanet: neves@cs.wisc.edu
neves@ai.cs.wisc.edu (David M. Neves) (02/04/89)
p.s. to previous message. I should have said that PDB does NOT work. When we try to run it we get the following error message: pdb panic: GetUser() failed (027776, -1) ;David Neves, Computer Sciences Department, University of Wisconsin-Madison ;Usenet: {rutgers,ucbvax}!uwvax!neves ;Arpanet: neves@cs.wisc.edu
web@hpubmaa.HP.COM (Bill Bennett) (02/07/89)
>it doesn't erase the old contents). b. PDB (pascal debugger) does >work. We have students using CDB instead. c. Bad runtime error >messages. All errors at said to occur on line 0. Interesting. cdb, pdb, and fdb are the same program, they're links to each other. Try running cdb and setting $lang=2 to adopt the Pascal personality.
mikef@hpsad.HP.COM (Mike Ferrara) (02/07/89)
Bill Schelter, wfs@rascal.ics.utexas.edu, has done the port of KCL to HP-UX, along with some other extensions ... it's called AKCL (Austin-Kyoto Common Lisp). Works very well! -Mike Ferrara HP Signal Analysis Div Rohnert Park, CA mikef@hpsadle.hp.com
zac@hpfcdc.HP.COM (Steve Elbinger) (02/15/89)
>> 1. HP Pascal (with HP-UX -- or whatever they call it). There are >> several problems here. a. File output doesn't work right (rewrite >> won't create a file unless it first already exists. if it does exist >> it doesn't erase the old contents). b. PDB (pascal debugger) does >> work. We have students using CDB instead. c. Bad runtime error >> messages. All errors at said to occur on line 0. >> We have had these bugs for at least a year. Anyone know of fixes? a. This is two problems. I. rewrite won't create a file unless it first already exists. This is expected behavior. If you close the file using close(f,'SAVE'); the file will remain. This is in the documentation. I know, I know; this is different from just about every other pascal in existence, but due to historical reasons, HP has been unwilling to change. II.if it does exist it doesn't erase the old contents. I've never seen this problem. Could you send me (please email or Postal - I usually don't read this notes group) some what strings and a code sample? what /usr/lib/pascomp what /lib/libpc.a uname -a b. I use pdb all the time on complex pascal code without problems. What version of pdb are you running? c. if you use the $DEBUG$ compiler option, line numbers will be correctly reported. Steve Elbinger hplabs!hpdcdb!zac Hewlett Packard Colorado Language Lab 3404 East Harmony Road (MS 96) Fort Collins, Colorado 80525
neves@ai.cs.wisc.edu (David M. Neves) (02/18/89)
I would like to thank everyone for the messages they sent in response to my Lisp and Pascal query. It turns out that HP Pascal DID NOT have the bugs I mentioned. I found out today that our systems lab modified the HP Unix kernal to install NFS and that caused all our problems. They have since been fixed. -david ;David Neves, Computer Sciences Department, University of Wisconsin-Madison ;Usenet: {rutgers,ucbvax}!uwvax!neves ;Arpanet: neves@cs.wisc.edu