C68 Curses Companion Disk - where?

Anything QL Software or Programming Related.
Post Reply
User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

C68 Curses Companion Disk - where?

Post 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


User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: C68 Curses Companion Disk - where?

Post 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


Derek_Stewart
Font of All Knowledge
Posts: 4730
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: C68 Curses Companion Disk - where?

Post 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.


Regards,

Derek
User avatar
dilwyn
Mr QL
Posts: 3098
Joined: Wed Dec 01, 2010 10:39 pm

Re: C68 Curses Companion Disk - where?

Post 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.


Derek_Stewart
Font of All Knowledge
Posts: 4730
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: C68 Curses Companion Disk - where?

Post 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.


Regards,

Derek
User avatar
dilwyn
Mr QL
Posts: 3098
Joined: Wed Dec 01, 2010 10:39 pm

Re: C68 Curses Companion Disk - where?

Post by dilwyn »

Thank you, Derek.


Silvester
Gold Card
Posts: 436
Joined: Thu Dec 12, 2013 10:14 am
Location: UK

Re: C68 Curses Companion Disk - where?

Post by Silvester »

Is this what is missing?

see : http://www.dilwyn.me.uk/c/cursesex.zip
Last edited by Silvester on Thu Apr 21, 2016 10:57 am, edited 1 time in total.


David
User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: C68 Curses Companion Disk - where?

Post 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


User avatar
dilwyn
Mr QL
Posts: 3098
Joined: Wed Dec 01, 2010 10:39 pm

Re: C68 Curses Companion Disk - where?

Post 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.


Post Reply