Page 1 of 1

C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 11:00 am
by ppe
Hello everybody,

I'm trying to compile a curses based program using c68 and am hitting some bumps, namely 'ld' complaining about undefined symbols related to curses (e.g. _WGETCH et al.) Checking LIB_libcurses_a with slb I can see that the library does contain said functions. My command line is:

Code: Select all

ex cc;'-O -lcurses -o curstest curstest_c'
Code compiles correctly and the map file shows that libcurses is linked in but for some reason the functions from the library are not brought into the fold.

I was hoping maybe the Curses Companion Disk might have some material to help with this. Unfortunately the link from the C68 home site http://homepage.ntlworld.com/itimpi/qdosdown.htm#CURSES to the download http://homepage.ntlworld.com/itimpi/ql/cursesex.zip seems to be broken. Dilwyn's site does not seem to have this download, either.

Any ideas where I could obtain the companion disk?

Thanks in advance for any help!

Kind regards,
Petri

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 11:33 am
by ppe
ppe wrote:Hello everybody,

I'm trying to compile a curses based program using c68 and am hitting some bumps, namely 'ld' complaining about undefined symbols related to curses (e.g. _WGETCH et al.) Checking LIB_libcurses_a with slb I can see that the library does contain said functions. My command line is:

Code: Select all

ex cc;'-O -lcurses -o curstest curstest_c'
Code compiles correctly and the map file shows that libcurses is linked in but for some reason the functions from the library are not brought into the fold.
The compilation problem was a stupid error - order of the arguments *does* matter (as I now recall from the 90s...) !

Code: Select all

ex cc;'-O -o curstest curstest_c -lcurses '
produces a working binary.

But I'm still keen to see what's on the companion disk!

Cheers,
Petri

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 2:02 pm
by Derek_Stewart
Hi Petri,

I thought I had a copy of the Companion Disk, which I do not have a copy.

I have sent Dave Walker an email to ask for the link to be fixed or a copy of the disk.

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 2:05 pm
by dilwyn
There is a Feedback link on the bottom of the home page of Dave Walker's website which lets you send an email to him.

Some time ago, I downloaded most of the packages from Dave's site to preserve them, but I just checked and cursesex.zip is not among them, sorry. I tried a google sites: search on Dave's site to see if it would show me if cursesex.zip existed (e.g. different case filename) but no joy.

If this comes to light, I'd be happy to add it to my site of course.

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 7:41 pm
by Derek_Stewart
Hi,

I have been told by Dave Walker, that the Curses Companion Disk is not on the Web site. He is going send me a copy.

I will forward a copy to Dilwyn for inclusion on his Web site.

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 11, 2016 8:23 pm
by dilwyn
Thank you, Derek.

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 18, 2016 12:38 pm
by Silvester
Is this what is missing?

see : http://www.dilwyn.me.uk/c/cursesex.zip

Re: C68 Curses Companion Disk - where?

Posted: Mon Apr 18, 2016 1:23 pm
by ppe
Hey Silvester,

Silvester wrote:Is this what is missing?

(I'll delete it next week)
that's it, thank you very much! And thanks also to Derek and Dilwyn!

Cheers,
Petri

Re: C68 Curses Companion Disk - where?

Posted: Wed Apr 20, 2016 1:09 pm
by dilwyn
Silvester wrote:Is this what is missing?

(I'll delete it next week)
Thank you Silvester - added it to C page on my site.